Create Discount
Discounts
Create Discount
Create a new discount code as a vendor
POST
Create Discount
V2 Alpha — This endpoint is part of the V2 API preview. Breaking changes may occur.
Overview
Create a new discount code for the authenticated vendor’s products.Use Cases
- Launch vendor-specific promotions
- Automate discount creation from marketing campaigns
Request Body
Discount code for checkout.
Internal title/description.
Start date (ISO 8601).
End date (ISO 8601).
Discount value configuration.
Maximum total uses.
Limit to one use per customer.
Item targeting configuration.
Response
201