Set Product Final Sale
PUT/api/products/:product/final-sale
Mark a product final sale (not returnable), or remove the mark. Use it for opened items, custom orders, clearance stock or anything else sold as final.
products:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Body fields:
final_sale(boolean, required) —truemarks the product,falseremoves the mark. Marking an already-marked product changes nothing.
The mark applies to new sales only: each sales order line records final sale when it is created, so lines sold before the mark stay returnable and lines sold while marked stay final sale after it is removed. A product on an active clearance plan with final_sale on is final sale whether or not it is marked.
Returns the product's final-sale status (final_sale, final_sale_marked, final_sale_source, final_sale_clearance_plan, as on Get Product). Returns 422 when final_sale is missing or not a boolean.
Authentication: Requires Bearer token with product edit permission.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.