Skip to main content

Update Stock for Product

PUT 

https://euwest.api.elasticpath.com/v2/inventories/:product_uuid

Updates the inventory for the specified product.

Request

Responses

Success. The stock item was updated successfully.

Authorization: http

name: bearerAuthtype: httpscheme: bearer

Request Collapse all
Base URL
https://euwest.api.elasticpath.com/v2
Auth
Parameters
— pathrequired
Body
{
  "data": {
    "id": "00000000-0000-0000-0000-000000000000",
    "type": "stock",
    "attributes": {
      "locations": {}
    }
  }
}
ResponseClear

Click the Send API Request button above and see the response here!