Skip to content

Export images to products in Shopify

Request

Create a Shopify export job to upload multiple assets from Dash into your Shopify account. The uploaded assets can be associated with products and their position on the product listing can be specified. Existing Shopify images can also be detached from specific products or reordered.

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"
itemsArray of anyrequired
curl -i -X POST \
  https://api-v2.dash.app/shopify-export-jobs \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "shop": "planto.myshopify.com",
    "shopifyAccessToken": "cjuqb_6bp89123d45516c78288f433bd8bc13j",
    "items": [
      {
        "type": "UPLOAD",
        "source": {
          "type": "SHOPIFY_FILE",
          "shopifyFileId": "7af90a8b-7ccd-430f-a85d-e8614015bc47"
        },
        "productFileDestinations": [
          {
            "productId": 1234,
            "position": 3
          }
        ]
      }
    ]
  }'

Responses

Success

Bodyapplication/json
resultanyrequired
permittedActionsArray of objectsrequired
Response
{ "result": { "id": "be161977-d44e-4888-af3c-66522e223963", "accountId": "cfb665ca-ce35-4418-b9d5-70ee815db4bd", "creatorId": "google-oauth2|110955770826801837334", "type": "IN_PROGRESS", "progress": {}, "status": "PENDING" }, "permittedActions": [ {} ] }