Promo codes
Clones a discount
Creates a copy of a discount, including its eligibility rules. The copy gets the original code with _(copy) appended and is created inactive, so you can review and rename it before activating it. Requires a company admin Bearer token with coupons update permission. Returns the new discount, or 404 when the source discount does not exist in the company.
POST
Clones a discount
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Success
Available options:
flat, percentage, free_product, free_shipping, free_enrollment_pack Available options:
promo, manual, droplet Available options:
everything, specific_products, specific_collections, except_specific_products, specific_enrollment_packs, except_specific_enrollment_packs, null Available options:
product_discount, shipping_discount Merchant-only note about the promo code. Never shown to shoppers.
Maximum string length:
1000