Skip to main content

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.

Required scope: products:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Body fields:

  • final_sale (boolean, required) — true marks the product, false removes 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​

OK

Response Headers
    Content-Type