Commerce

Delete a discount

Deletes the discount; its codes stop working at checkout. This cannot be undone. Needs discounts.write.

delete/v1/commerce/discounts/{discountId}

Path parameters

discountIdstring required

Platform-native id.

Query parameters

accountIdstring required

Connected store SocialAccount id.

Response

Discount deleted

deletedboolean
discountIdstring

Changes

Changed in 2 of the 60 revisions of this API.2