Once you are able to create a batch successfully, you need to poll the get batch status API to track the progress of the batch. This polling is necessary because all batch operations are asynchronous in nature.
Ok
Unauthorized
Internal Server Error
curl -i -X GET \ https://api.stockx.com/v2/selling/batch/update-listing/:batchId \ -H 'Authorization: Bearer <YOUR_JWT_HERE>' \ -H 'x-api-key: YOUR_API_KEY_HERE'
{- "batchId": "98e2e748-8000-45bf-a624-5531d6a68318",
- "status": "QUEUED",
- "completedAt": "2021-11-09T12:44:31.000Z",
- "createdAt": "2021-11-09T12:44:31.000Z",
- "updatedAt": "2021-11-09T12:44:31.000Z",
- "totalItems": 10,
- "itemStatuses": {
- "queued": "20",
- "failed": "1"
}
}