There is no need to update the whole product/variant data structure if only availability or status have changed.
Maximum size of batch is 1000 items.
POST
/availability
curl \
-X POST https://mpapi.proxy.omnicado.com/v1/availability?client_id=yourClientId&client_id=api_token_value \
-H "Content-Type: application/json" \
-H "X-Application-Name: myApplicationName" \
-d '[{"id":"233-45s","status":"A","in_stock":23}]'
Request example
# Headers
X-Application-Name: myApplicationName
# Payload
[
{
"id": "233-45s",
"status": "A",
"in_stock": 23
}
]
Request examples
# Headers
X-Application-Name: myApplicationName
# Payload
[
{
"id": "233-45s",
"status": "A",
"in_stock": 23
}
]