Skip to content

Add managed travelers

Request

Security
Bearer
Path
userIdstring, (uuid)required

Identifier for user.

Example:4974a66b-7493-4f41-908c-58ba81093947
Bodyapplication/jsonrequired
travelerIdsArray of objects(UserId)

User IDs of the travelers to be added.

travelerEmailsArray of strings

Emails of the travelers to be added.

travelersArray of objects(UserId)deprecated

Travelers to be added.

curl -i -X POST \
  https://api-ext-sboxmeta.partners.spotnana.com/v2/users/4974a66b-7493-4f41-908c-58ba81093947/managed-travelers \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "travelers": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      }
    ],
    "travelerIds": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      }
    ],
    "travelerEmails": [
      "string"
    ]
  }'

Responses

OK

Response
No content