Add Inventory Stock Location
You can add a stock location and inventory to a product by specifying an SKU at the end of the URL.
Endpoint: https://YOUR-ACCOUNT-NAME.despatchcloud.co.uk/ws/v1/wsorders/add_inventory_stock_location/(product_code)
Method: POST
Example Request (POST):
Example Response:
Method: POST
| Field Name | Required | Format | Notes |
| location_id | Yes | Integer | |
| stock_level | No | Integer |
Example Request (POST):
{
"location_id": 0,
"stock_level": 10
}Example Response:
CopyCopyCopy{ "status": "SUCCESS" }