This API returns the inventory of the SKU code provided as a path parameter.
The following headers should be sent along with the request
Your API Key
Below table list the request parameters which can be sent to Fetch SKU Inventory API.
{info} The request parameters should be sent as path parameter in the URL.
Parameter | Type | Required | Description |
---|---|---|---|
sku_code | String | Yes | The SKU code for which you want the inventory. |
https://dev-fc-api.aymakan.net/api/v1/inventory/skus/airpods-sku
Sample response is added here:
{
"success": true,
"message": "",
"data": {
"hub_code": "ollkomHub",
"sku_code": "airpods-sku",
"available_quantity": 97
},
"meta": null
}