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
stockis set to0and the row is kept, so the product goes out of stock and can be restocked with a later update.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the product-stock record.
The product stock was zeroed out successfully. No response body.
No content
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
No product-stock record exists with the given identifier. Zeroed-out records are still retrievable, so this answer means the record does not exist at all.
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?

