Download OpenAPI specification:Download
Manage / generate a referral coupon for referring a friend.
Key Features:
Key Benefits:
Retrieves the referral coupon code of a specific customer in the database.
When the existing customer shares the referral code with a potential customer, the referred customer can benefit from the discount in a form of a fixed monetary amount.
No content if there is no referral coupon
Example response
Internal error
{- "allowAnonymous": true,
- "code": "EEDJ8W",
- "deleted": false,
- "description": "A referral Coupon",
- "discountAbsolute": {
- "amount": 8,
- "currency": "USD"
}, - "discountType": "ABSOLUTE",
- "issuedTo": "61443563",
- "maxRedemptions": -1,
- "maxRedemptionsPerCustomer": -1,
- "name": "Empfehlungsgutschein John Doe (Emporix)",
- "redemptionCount": 0,
- "restrictions": {
- "validFor": [ ]
}, - "status": "VALID"
}
Creates a referral coupon code for a specific customer in the database. If the coupon code exists, returns it without creating a new coupon.
Note: There can only be one referral coupon generated per customer.
When the existing customer shares the referral code with a potential customer, the referred customer can benefit from the discount in a form of a fixed monetary amount.
No content if there is no referral coupon
Example response
Internal error
{- "allowAnonymous": true,
- "code": "EEDJ8W",
- "deleted": false,
- "description": "A referral Coupon",
- "discountAbsolute": {
- "amount": 8,
- "currency": "USD"
}, - "discountType": "ABSOLUTE",
- "issuedTo": "61443563",
- "maxRedemptions": -1,
- "maxRedemptionsPerCustomer": -1,
- "name": "Empfehlungsgutschein John Doe (Emporix)",
- "redemptionCount": 0,
- "restrictions": {
- "validFor": [ ]
}, - "status": "VALID"
}