For the complete documentation index, see llms.txt. This page is also available as Markdown.

Zero out a product stock

Sets a product-stock record's stock to 0.

Important: This is a soft delete. The record is not removed — its stock is set to 0 and the row is kept, so the product goes out of stock and can be restocked with a later update.

delete
/product_stock/{id}/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Path parameters
idintegerRequired

The unique identifier of the product-stock record.

Responses
204

The product stock was zeroed out successfully. No response body.

No content

delete/product_stock/{id}/
DELETE /api/v1/remote/1/product_stock/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*

No content

Last updated

Was this helpful?