Endpoints 11
- Pages the store's discounts.GET
/v1/stores/{store}/discounts - Creates a discount.POST
/v1/stores/{store}/discounts - Reads one discount.GET
/v1/stores/{store}/discounts/{discount} - Deletes a discount no payable checkout, unpaid commission or automation relies on.DEL
/v1/stores/{store}/discounts/{discount} - Updates a discount's fields.PATCH
/v1/stores/{store}/discounts/{discount} - Counts the store's discounts by status.GET
/v1/stores/{store}/discounts/stats - Stops a discount from applying while keeping it.POST
/v1/stores/{store}/discounts/{discount}/archive - Lets an archived discount apply again.POST
/v1/stores/{store}/discounts/{discount}/restore - Sets the products, tiers or prices a discount applies to.POST
/v1/stores/{store}/discounts/{discount}/restrict - Applies a discount to a product, tier or price.POST
/v1/stores/{store}/discounts/{discount}/attach - Stops a discount applying to a product, tier or price.POST
/v1/stores/{store}/discounts/{discount}/detach