ResourcesReward Coupon Templates
Create a reward coupon template
Create coupon reward configuration with expiration and redemption controls.
Choose either expires_at or expires_after_days, not both. Listing IDs must belong to the selected store.
Authorization
bearerAuth storeAuth AuthorizationBearer <token>
Provide your SellApp API key as a bearer token.
In: header
X-STORE<token>
Select the SellApp store for this API request.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://sell.app/api/v2/reward-coupon-templates" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "type": "PERCENTAGE", "discount": "string", "store_wide": true, "redemption_mode": "customer_locked", "is_active": true, "listing_ids": [ 0 ] }'{
"data": {
"id": 0,
"name": "string",
"type": "PERCENTAGE",
"discount": "string",
"store_wide": true,
"minimum_amount": "string",
"maximum_discount_amount": "string",
"expires_at": "2019-08-24T14:15:22Z",
"expires_after_days": 1,
"redemption_mode": "customer_locked",
"is_active": true,
"listing_ids": [
0
],
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
}{
"message": "Unauthenticated."
}{
"message": "This action is unauthorized."
}{
"message": "The given data was invalid.",
"errors": {
"data": [
"The data field is required."
]
}
}