Errors

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

Examples

// invalid id
DELETE /api/shopify/inventory_batches/100
404
Record not found
// valid token
DELETE /api/shopify/inventory_batches/4034
200
Inventory batch deleted
// invalid token
DELETE /api/shopify/inventory_batches/4035
401
HTTP Token: Access denied.

Params

Param name Description
id
required

Inventory batch ID

Validations:

  • Must be a Integer

Headers

Header name Description
Authorization
required
Bearer token