Skip to content

Search for Shopify products by Dash product IDs

Request

Resolves Dash products to their stored Shopify product IDs and searches the given Shopify store for those products.

Security
bearerToken
Bodyapplication/jsonrequired
shopstringrequired

The shop to search within

Example:"planto.myshopify.com"
shopifyAccessTokenstringrequired

An access token obtained for the above Shopify store that will be used to make requests to Shopify with

Example:"cjuqb_6bp89123d45516c78288f433bd8bc13j"
dashProductIdsArray of strings, [ 1 .. 250 ] itemsrequired

Between 1 and 250 Dash product IDs whose stored Shopify product mappings should be searched

curl -i -X POST \
  https://api-v2.dash.app/shopify-product-id-searches \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "shop": "planto.myshopify.com",
    "shopifyAccessToken": "cjuqb_6bp89123d45516c78288f433bd8bc13j",
    "dashProductIds": [
      "string"
    ]
  }'

Responses

Success

Bodyapplication/json
resultsArray of objectsrequired

The resolved Shopify products, each paired with the Dash product ID that produced it. Dash product IDs that cannot be resolved are omitted.

Response
{ "results": [ {} ] }