v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Unclaim badge

post/api_gateway/v1/badges/badgeMeta/{badgeId}/unclaim

Path parameters

badgeIdstring required

Unique ID of the badge.

Request body

ownerType'LOYALTY' | 'REFERRAL_CAMPAIGNS' | 'JOURNEYS' | 'AUDIENCE_CAMPAIGNS' | 'REWARDS_CATALOG' | 'GOODWILL_MODULE' | 'MILESTONES' required

Module for which the reward was created.

referenceIdstring required

Reference ID of the owner type.

Response

200

{"stackTrail":"paths:/api_gateway/v1/badges/badgeMeta/{badgeId}/unclaim:post:responses:200:content:application/json:schema:properties:errors","oasType":"schema","type":"unknown"}

Example response

{
  "data": {
    "ownerType": "Loyalty",
    "referenceId": "string"
  }
}