curl --request GET \
--url 'https://api.stateset.com/api/v1/stock-snapshots/latest' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"captured_at": "string",
"id": "string",
"label": null,
"lines": [
{
"location": null,
"product_id": "string",
"quantity_available": "string",
"quantity_on_hand": "string",
"sku": "string"
}
],
"total_skus": 1,
"total_units": "string"
}
Latest
GET
/
api
/
v1
/
stock-snapshots
/
latest
curl --request GET \
--url 'https://api.stateset.com/api/v1/stock-snapshots/latest' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"captured_at": "string",
"id": "string",
"label": null,
"lines": [
{
"location": null,
"product_id": "string",
"quantity_available": "string",
"quantity_on_hand": "string",
"sku": "string"
}
],
"total_skus": 1,
"total_units": "string"
}
Responses
SnapshotResponse
ErrorBody
curl --request GET \
--url 'https://api.stateset.com/api/v1/stock-snapshots/latest' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"captured_at": "string",
"id": "string",
"label": null,
"lines": [
{
"location": null,
"product_id": "string",
"quantity_available": "string",
"quantity_on_hand": "string",
"sku": "string"
}
],
"total_skus": 1,
"total_units": "string"
}
โI