Loot boxes

Endpoint to fetch all loot boxes for a program membership

get
Authorizations
Path parameters
program_membership_idstringRequired

the program membership id

Responses
200
Successful response
application/json
get
GET /partner-api/v2/program-memberships/{program_membership_id}/loot-boxes HTTP/1.1
Host: 
X-API-Key: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "allocated_loot_boxes": [
    {
      "loot_box_id": "text",
      "name": "text",
      "description": "text",
      "available_since": 1,
      "redeemed_at": 1,
      "allocated_reward_choice": {
        "id": "text",
        "reward_uuid": "text",
        "title": "text",
        "subtitle": "text",
        "category": "text",
        "point_reward_value": 1,
        "image": "text",
        "reward_metadata": {
          "ANY_ADDITIONAL_PROPERTY": "anything"
        }
      },
      "reward_choices": [
        {
          "id": "text",
          "reward_uuid": "text",
          "probability": 1,
          "title": "text",
          "subtitle": "text",
          "category": "text",
          "reward_metadata": {
            "ANY_ADDITIONAL_PROPERTY": "anything"
          }
        }
      ],
      "loot_box_container_images": {
        "box_together": "text",
        "box_top": "text",
        "box_bottom": "text"
      },
      "metadata": {
        "ANY_ADDITIONAL_PROPERTY": "anything"
      },
      "sponsor_description": "text"
    }
  ]
}