Create badges

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
json

{ "name": "Furry Friend Badge", "description": "Purchase 5 pet products in 3 months and get a pet grooming voucher", "startOn": 1699596721, "expiresOn": 1828754110, "earnedBadgeExpiry": { "expiryType": "RELATIVE", "relativeExpirytype": "MONTHS", "value": 3 }, "ownership": { "restrictedToOwners": [ "Loyalty" ] }, "customerConstraints": [ { "constraintType": "CUSTOMER_BADGE_FIXED_VALUE", "maxEarnLimit": 1 } ], "badgeConstraints": [ { "constraintType": "BADGE_FIXED_VALUE", "maxEarnLimit": 1000 } ], "earnType": "EARN", "benefits": [ { "benefitType": "COUPON", "seriesId": 13686 }, { "benefitType": "LOYALTY_POINTS", "points": 100, "programId": 626, "promotionId": 80332, "allocationStrategyId": 1489, "expirationStrategyId": 3843 } ], "tags": [ { "name": "Type", "value": "Birthday" } ] }

Headers
string
Defaults to migration

Enables you to use historical badges.

Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json