Batch delete listings API allows a user to delete up to 100 individual listings in a single API call. This API is asynchronous in nature and will return a batchId that you would need to poll using the polling APIs described later.
Ok
Bad Request
Unauthorized
Internal Server Error
{- "items": [
- {
- "listingId": "98e2e748-8000-45bf-a624-5531d6a68318"
}
]
}
{- "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"
}
}