Run in Apidog
master
Captures the current stock of the article at each point. Both stores and warehouses are to be included. Stock locations are also considered and can be ignored later on based on configuration.
Request Body Params application/json
array of:
The id of the stock location.
current_stock
number <double>
required
[
{
"article_id" : "string" ,
"store_id" : "string" ,
"stock_location_id" : "string" ,
"current_stock" : 0
}
]
Request samples curl --location --request POST 'https://test.your-api-server.com/master/current_stock/' \
--header 'X-SYNC-TOKEN;' \
--header 'Accept-Encoding;' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"article_id": "string",
"store_id": "string",
"stock_location_id": "string",
"current_stock": 0
}
]'
Responses
{
"status" : "string" ,
"message" : "string"
}
Modified at 2025-02-10 12:39:04