Ingest inventory snapshot batch
Validates a batch of absolute inventory positions and publishes them to Kafka for asynchronous processing. Each item overwrites the position (onHand, blocked, safetyStock) for its sku/strategyCode. Returns 202 with a correlation id shared by every published event of the batch.
Request body
Example request
{
"items": [
{
"blocked": 5,
"onHand": 150,
"safetyStock": 10,
"sku": "SKU-001",
"strategyCode": "loja-barra"
}
]
}Response
Batch accepted and published to Kafka.
Example response
{
"accepted": 150,
"correlation_id": "8f2a3b1c-7d6e-4f5a-9b8c-1d2e3f4a5b6c",
"update_type": "SNAPSHOT"
}Changes
Changed in 1 of the 9 revisions of this API.31
- ▲
added the new required request property
itemsnew-required-request-property
- ▲
removed
InventorySnapshotIngestInventoryDeltaIngestfrom the request bodyoneOflistrequest-body-one-of-removed
- ▲
the request's body type/format changed from
/toobject/request-body-type-changed
- ○
removed the
DELTAenum value from theupdate_typeresponse property for the response status202response-property-enum-value-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲