GET
/
customers
/
{id}
/
rewards
/
gift-cards
curl --request GET \
  --url https://app.masivo.ai/api/storefront/v1/customers/{id}/rewards/gift-cards \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "code": "<string>",
      "description": "<string>",
      "reward_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "expired_at": "2023-11-07T05:31:56Z",
      "rewarded_at": "2023-11-07T05:31:56Z",
      "redeemed_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The customer unique identifier in your system

Response

200 - application/json
Ok
data
object[]