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
 
Field Name  Required FormatNotes
location_idYesInteger 
stock_levelNoInteger 

Example Request (POST):
{
  "location_id": 0,
  "stock_level": 10
}

Example Response:
CopyCopyCopy{
  "status": "SUCCESS"
}