Discount
Configure automatic discounts and code-based promotions with flexible eligibility rules.
Discounts allow merchants to configure automatic or code-based promotions with flexible conditions, benefit types, and customer eligibility rules.
Provides endpoints to create and update both automatic and non-automatic discounts, manage discount combinability, list and retrieve discounts, and perform batch operations such as cancel, restart, and delete.
Create automatic discount
Creates an automatic discount.
Create non-automatic discount
Creates a non-automatic discount.
Update automatic discount
Updates an automatic discount by ID.
Update non-automatic discount
Updates a non-automatic discount by ID.
Cancel discounts
Cancels one or more discounts.
Restart discount
Restarts a discount.
List discounts
Returns the discount list by query parameters.
Get discount
Gets discount details by ID.
Delete discount
Deletes a discount by ID. Only discounts with progress status finished can be deleted.
Get discount by code
Gets a discount by discount code.
Configure which discount types can be combined
Configure which discount types can be combined.
Batch delete discounts
Deletes multiple discounts by IDs. Only discounts with progress status finished can be deleted.