v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Enrol customers for badges

post/api_gateway/v1/badges/badgeMeta/customer/issueBulk

Request body

badgeMetaIdstring required

Unique meta ID of the badge.

customersobject
requestIdstring
triggeredByobject
issueEventDatestring date-time

The date on which customer was enrolled in the badge. Issue event date has to be between the badge start date and end date. Timestamp in the ISO 8601 standard format format YYYY-MM-DDTHH:MM:SS.SSSZ.

Response

200

OR

Example response

{
  "data": {
    "badgeMetaId": "66276dc68fe258516a88ff8e",
    "triggeredBy": {
      "ownerType": "Loyalty",
      "referenceId": "123694"
    },
    "expiresOn": 1926235957,
    "issuedBadges": [
      {
        "customerId": 62090013,
        "issuedId": "66276df28fe258516a88ff8f"
      }
    ],
    "requestId": "21390"
  }
}