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
- Productionhttps://api-v2.dash.app/shopify-export-jobs
- Staginghttps://api-v2.dashstaging.app/shopify-export-jobs
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
}
]
}
]
}'Response
- IN_PROGRESS
- COMPLETED
- FAILED
{ "result": { "id": "be161977-d44e-4888-af3c-66522e223963", "accountId": "cfb665ca-ce35-4418-b9d5-70ee815db4bd", "creatorId": "google-oauth2|110955770826801837334", "type": "IN_PROGRESS", "progress": { … }, "status": "PENDING" }, "permittedActions": [ { … } ] }