Skip to main content

Delete Stock for Product

DELETE 

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

Deletes the inventory for the specified product. The product inventory is null and is no longer managed by Commerce. If you want to keep managing inventory but have none of the product in stock, set the inventory to 0 instead of deleting the inventory.

Request

Path Parameters

    product_uuid stringrequired

    The unique identifier of the product.

Responses

Success. Removes the stock information about the product

Authorization: http

name: bearerAuthtype: httpscheme: bearer
curl -L -X DELETE 'https://euwest.api.elasticpath.com/v2/inventories/:product_uuid' \
-H 'Authorization: Bearer <TOKEN>'
Request Collapse all
Base URL
https://euwest.api.elasticpath.com/v2
Auth
Parameters
— pathrequired
ResponseClear

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