Archive a discount
discounts
Archive a discount
Archive (soft delete) a discount by its ID.
Archived discounts can no longer be used at checkout but remain in the system for reporting purposes. This action is reversible.
PATCH
Archive a discount
Path Parameters
PATCH /v0/discounts/:discountId/archive Parameter
Body
application/json
PATCH /v0/discounts/:discountId/archive Request body
The body is of type object.