Skip to content

Update user membership info

Request

Security
Bearer
Path
userIdstring, (uuid)required

Identifier for user.

Example:4974a66b-7493-4f41-908c-58ba81093947
Bodyapplication/jsonrequired
membershipInfosArray of objects(LoyaltyInfo)
isLoyaltyBlockedboolean

Whether user is blocked to use loyalty programs. This is a read only field.

Example:false
curl -i -X PUT \
  https://api-ext-sboxmeta.partners.spotnana.com/v2/users/4974a66b-7493-4f41-908c-58ba81093947/membership-info \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "membershipInfos": [
      {
        "appliedTo": [
          "TAJ"
        ],
        "id": "firstId",
        "issuedBy": "firstIssuedBy",
        "type": "AIR",
        "linked": false,
        "tier": "GOLD"
      }
    ],
    "isLoyaltyBlocked": false
  }'

Responses

No Content

Response
No content