See AssetDownloadBatchJob for an idea of how to use this endpoint
Security
bearerToken
- Productionhttps://api-v2.dash.app/create-shopify-product-image-batch-jobs
- Staginghttps://api-v2.dashstaging.app/create-shopify-product-image-batch-jobs
curl -i -X POST \
https://api-v2.dash.app/create-shopify-product-image-batch-jobs \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"shop": "example.myshopify.com",
"productId": 1234,
"items": [
{
"batchItemId": "my-item-1",
"assetId": "7af90a8b-7ccd-430f-a85d-e8614015bc47",
"assetFileId": "7af90a8b-7ccd-430f-a85d-e8614015bc47",
"outputFilename": "string",
"presetParameters": []
}
],
"transformationDescription": {
"type": "CUSTOM",
"candidateTransformations": [
{
"criteria": [
{
"type": "MATCHES_MEDIA_TYPES",
"mediaTypes": [
{}
]
}
],
"transformation": []
}
]
}
}'Success
Unique identifier of the job that has been created
Example:"be161977-d44e-4888-af3c-66522e223963"
The ID of the account the job is happening in
Example:"cfb665ca-ce35-4418-b9d5-70ee815db4bd"
The ID of the User who created the job
Example:"google-oauth2|110955770826801837334"
Response
- IN_PROGRESS
- COMPLETED
- FAILED
{ "id": "be161977-d44e-4888-af3c-66522e223963", "accountId": "cfb665ca-ce35-4418-b9d5-70ee815db4bd", "creatorId": "google-oauth2|110955770826801837334", "type": "IN_PROGRESS", "progress": { "steps": [ … ] }, "status": "PENDING" }