Responds with a JSON object: {“message”: “Batch removed”} on success, or {“error”: “…”} with an appropriate HTTP status on failure.

Errors

Code Description
401 The provided token is invalid
404 Record not found

Examples

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"
}

Params

Param name Description
id
required

Inventory batch order item ID

Validations:

  • Must be a Integer

Headers

Header name Description
Authorization
required
Bearer token