Responds with a JSON object: {“message”: “Batch removed”} on success, or {“error”: “…”} with an appropriate HTTP status on failure.
| Code | Description |
|---|---|
| 401 | The provided token is invalid |
| 404 | Record not found |
Response (200):
{ "message": "Batch removed" }
Response (404):
{ "error": "Record not found" }
// invalid id
DELETE /api/shopify/inventory_batch_order_items/100
404
{
"error": "Record not found"
}
// invalid token DELETE /api/shopify/inventory_batch_order_items/1593 401 HTTP Token: Access denied.
// valid token and id
DELETE /api/shopify/inventory_batch_order_items/1594
200
{
"message": "Batch removed"
}
| Param name | Description |
|---|---|
|
id
required |
Inventory batch order item ID Validations:
|
| Header name | Description |
|---|---|
|
Authorization required |
Bearer token |