| Code | Description |
|---|---|
| 401 | The provided token is invalid |
| 404 | Record not found |
// valid token
GET /api/shopify/inventory_batches/4029
200
{
"id": 4029,
"quantity": 55,
"expired_at": null,
"expiry_date": "2023-07-13 05:48:05 UTC",
"received_date": "2023-07-03 05:48:05 UTC",
"metadata": {
"batch_name": "Inventory Batch"
},
"created_at": "2023-07-03 05:48:05 UTC",
"updated_at": "2023-07-03 05:48:05 UTC",
"notified_at": null,
"discounted": false,
"location_id": 1000,
"variant_id": 2000
}
// invalid id GET /api/shopify/inventory_batches/4031 404 Record not found
// invalid token GET /api/shopify/inventory_batches/4032 401 HTTP Token: Access denied.
| Param name | Description |
|---|---|
|
id
required |
Inventory batch ID Validations:
|
| Header name | Description |
|---|---|
|
Authorization required |
Bearer token |