| Code | Description |
|---|---|
| 401 | The provided token is invalid |
// invalid token GET /api/shopify/inventory_batches?location_id=1000&variant_id=2000&page=1&search=Inventory+Batch 401 HTTP Token: Access denied.
// valid token
GET /api/shopify/inventory_batches?location_id=1000&variant_id=2000&page=1&search=Inventory+Batch
200
[
{
"id": 4037,
"quantity": 55,
"expired_at": null,
"expiry_date": "2023-07-13 05:48:06 UTC",
"received_date": "2023-07-03 05:48:06 UTC",
"metadata": {
"batch_name": "Inventory Batch"
},
"created_at": "2023-07-03 05:48:06 UTC",
"updated_at": "2023-07-03 05:48:06 UTC",
"notified_at": null,
"discounted": false,
"location_id": 1000,
"variant_id": 2000
}
]
| Param name | Description |
|---|---|
|
location_id
optional |
Shopify location ID Validations:
|
|
variant_id
optional |
Shopify variant ID Validations:
|
|
page
optional |
Page number Validations:
|
|
search
optional |
Search by inventory batch batch_name, batch_number, barcode, invoice_number description or product title or variant title or barcode Validations:
|
| Header name | Description |
|---|---|
|
Authorization required |
Bearer token |