Skip to main content
PUT
/
v3
/
profiles
/
{profile}
Edit Profile
curl --request PUT \
  --url https://api.{tenant}.getomneo.com/api/v3/profiles/{profile} \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "email": "jsmith@example.com",
  "currency": "<string>",
  "mobile_phone": "<string>",
  "secondary_phone": "<string>",
  "birth_day": 123,
  "birth_month": 123,
  "birth_year": "<string>",
  "company": "<string>",
  "occupation": "<string>",
  "avatar_url": "<string>",
  "joined_location_id": 123,
  "preferred_location_id": 123,
  "joined_location_external_id": "<string>",
  "preferred_location_external_code": "<string>",
  "joined_location_external_code": "<string>",
  "preferred_location_external_id": "<string>",
  "preferred_staff_id": "<string>",
  "joined_staff_id": "<string>",
  "region_id": 123,
  "region": "<string>",
  "region_country": "<string>",
  "region_state": "<string>",
  "tags": [
    "<string>"
  ],
  "statuses": [
    "<string>"
  ],
  "attributes": {
    "comms": {
      "email_consent_updated_at": "2023-11-07T05:31:56Z",
      "sms_consent_updated_at": "2023-11-07T05:31:56Z"
    },
    "appearance": [
      "<string>"
    ],
    "dates": [
      "<string>"
    ]
  },
  "comms_attributes": {
    "sms_promo": true,
    "email_promo": true,
    "email_bounced": true,
    "email_benefits": true,
    "email_consent_updated_at": "2023-11-07T05:31:56Z",
    "sms_consent_updated_at": "2023-11-07T05:31:56Z"
  },
  "identities": [
    {
      "identifier": "<string>",
      "id": 123,
      "handle": "<string>",
      "is_active": true
    }
  ],
  "custom_attributes": [
    {
      "namespace": "<string>",
      "handle": "<string>",
      "value": "<string>"
    }
  ],
  "dates_attributes": [
    {
      "date": "2023-12-25",
      "name": "<string>",
      "handle": "<string>",
      "is_recurring": true,
      "recurring_schedule": "<string>",
      "meta": [
        "<string>"
      ],
      "note": "<string>",
      "description": "<string>",
      "relationship": "<string>",
      "role": "<string>",
      "links": [
        {
          "profile_id": "<string>",
          "relationship": "<string>",
          "role": "<string>"
        }
      ]
    }
  ],
  "addresses": [
    {
      "address_line_1": "<string>",
      "city": "<string>",
      "postcode": "<string>",
      "country": "<string>",
      "address_line_2": "<string>",
      "address_line_3": "<string>",
      "company": "<string>",
      "state": "<string>",
      "notes": "<string>",
      "is_default": true,
      "meta": [
        "<string>"
      ],
      "iso": "<string>",
      "iso_state": "<string>"
    }
  ],
  "regions": [
    {
      "id": 123,
      "handle": "<string>",
      "is_active": true,
      "country": "<string>",
      "state": "<string>"
    }
  ],
  "organisations": [
    {
      "id": 123,
      "role_definition_id": 123,
      "expires_at": "2023-11-07T05:31:56Z",
      "is_active": true
    }
  ],
  "normal_hours": [
    {
      "available_from": "<string>",
      "available_until": "<string>"
    }
  ],
  "special_hours": [
    {
      "name": "<string>",
      "start_at": "2023-12-25",
      "end_at": "2023-12-25",
      "is_repeating": true,
      "available_from": "<string>",
      "available_until": "<string>"
    }
  ]
}
'
import requests

url = "https://api.{tenant}.getomneo.com/api/v3/profiles/{profile}"

payload = {
    "title": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "email": "jsmith@example.com",
    "currency": "<string>",
    "mobile_phone": "<string>",
    "secondary_phone": "<string>",
    "birth_day": 123,
    "birth_month": 123,
    "birth_year": "<string>",
    "company": "<string>",
    "occupation": "<string>",
    "avatar_url": "<string>",
    "joined_location_id": 123,
    "preferred_location_id": 123,
    "joined_location_external_id": "<string>",
    "preferred_location_external_code": "<string>",
    "joined_location_external_code": "<string>",
    "preferred_location_external_id": "<string>",
    "preferred_staff_id": "<string>",
    "joined_staff_id": "<string>",
    "region_id": 123,
    "region": "<string>",
    "region_country": "<string>",
    "region_state": "<string>",
    "tags": ["<string>"],
    "statuses": ["<string>"],
    "attributes": {
        "comms": {
            "email_consent_updated_at": "2023-11-07T05:31:56Z",
            "sms_consent_updated_at": "2023-11-07T05:31:56Z"
        },
        "appearance": ["<string>"],
        "dates": ["<string>"]
    },
    "comms_attributes": {
        "sms_promo": True,
        "email_promo": True,
        "email_bounced": True,
        "email_benefits": True,
        "email_consent_updated_at": "2023-11-07T05:31:56Z",
        "sms_consent_updated_at": "2023-11-07T05:31:56Z"
    },
    "identities": [
        {
            "identifier": "<string>",
            "id": 123,
            "handle": "<string>",
            "is_active": True
        }
    ],
    "custom_attributes": [
        {
            "namespace": "<string>",
            "handle": "<string>",
            "value": "<string>"
        }
    ],
    "dates_attributes": [
        {
            "date": "2023-12-25",
            "name": "<string>",
            "handle": "<string>",
            "is_recurring": True,
            "recurring_schedule": "<string>",
            "meta": ["<string>"],
            "note": "<string>",
            "description": "<string>",
            "relationship": "<string>",
            "role": "<string>",
            "links": [
                {
                    "profile_id": "<string>",
                    "relationship": "<string>",
                    "role": "<string>"
                }
            ]
        }
    ],
    "addresses": [
        {
            "address_line_1": "<string>",
            "city": "<string>",
            "postcode": "<string>",
            "country": "<string>",
            "address_line_2": "<string>",
            "address_line_3": "<string>",
            "company": "<string>",
            "state": "<string>",
            "notes": "<string>",
            "is_default": True,
            "meta": ["<string>"],
            "iso": "<string>",
            "iso_state": "<string>"
        }
    ],
    "regions": [
        {
            "id": 123,
            "handle": "<string>",
            "is_active": True,
            "country": "<string>",
            "state": "<string>"
        }
    ],
    "organisations": [
        {
            "id": 123,
            "role_definition_id": 123,
            "expires_at": "2023-11-07T05:31:56Z",
            "is_active": True
        }
    ],
    "normal_hours": [
        {
            "available_from": "<string>",
            "available_until": "<string>"
        }
    ],
    "special_hours": [
        {
            "name": "<string>",
            "start_at": "2023-12-25",
            "end_at": "2023-12-25",
            "is_repeating": True,
            "available_from": "<string>",
            "available_until": "<string>"
        }
    ]
}
headers = {"Content-Type": "application/json"}

response = requests.put(url, json=payload, headers=headers)

print(response.text)
const options = {
  method: 'PUT',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({
    title: '<string>',
    first_name: '<string>',
    last_name: '<string>',
    email: 'jsmith@example.com',
    currency: '<string>',
    mobile_phone: '<string>',
    secondary_phone: '<string>',
    birth_day: 123,
    birth_month: 123,
    birth_year: '<string>',
    company: '<string>',
    occupation: '<string>',
    avatar_url: '<string>',
    joined_location_id: 123,
    preferred_location_id: 123,
    joined_location_external_id: '<string>',
    preferred_location_external_code: '<string>',
    joined_location_external_code: '<string>',
    preferred_location_external_id: '<string>',
    preferred_staff_id: '<string>',
    joined_staff_id: '<string>',
    region_id: 123,
    region: '<string>',
    region_country: '<string>',
    region_state: '<string>',
    tags: ['<string>'],
    statuses: ['<string>'],
    attributes: {
      comms: {
        email_consent_updated_at: '2023-11-07T05:31:56Z',
        sms_consent_updated_at: '2023-11-07T05:31:56Z'
      },
      appearance: ['<string>'],
      dates: ['<string>']
    },
    comms_attributes: {
      sms_promo: true,
      email_promo: true,
      email_bounced: true,
      email_benefits: true,
      email_consent_updated_at: '2023-11-07T05:31:56Z',
      sms_consent_updated_at: '2023-11-07T05:31:56Z'
    },
    identities: [{identifier: '<string>', id: 123, handle: '<string>', is_active: true}],
    custom_attributes: [{namespace: '<string>', handle: '<string>', value: '<string>'}],
    dates_attributes: [
      {
        date: '2023-12-25',
        name: '<string>',
        handle: '<string>',
        is_recurring: true,
        recurring_schedule: '<string>',
        meta: ['<string>'],
        note: '<string>',
        description: '<string>',
        relationship: '<string>',
        role: '<string>',
        links: [{profile_id: '<string>', relationship: '<string>', role: '<string>'}]
      }
    ],
    addresses: [
      {
        address_line_1: '<string>',
        city: '<string>',
        postcode: '<string>',
        country: '<string>',
        address_line_2: '<string>',
        address_line_3: '<string>',
        company: '<string>',
        state: '<string>',
        notes: '<string>',
        is_default: true,
        meta: ['<string>'],
        iso: '<string>',
        iso_state: '<string>'
      }
    ],
    regions: [
      {
        id: 123,
        handle: '<string>',
        is_active: true,
        country: '<string>',
        state: '<string>'
      }
    ],
    organisations: [
      {
        id: 123,
        role_definition_id: 123,
        expires_at: '2023-11-07T05:31:56Z',
        is_active: true
      }
    ],
    normal_hours: [{available_from: '<string>', available_until: '<string>'}],
    special_hours: [
      {
        name: '<string>',
        start_at: '2023-12-25',
        end_at: '2023-12-25',
        is_repeating: true,
        available_from: '<string>',
        available_until: '<string>'
      }
    ]
  })
};

fetch('https://api.{tenant}.getomneo.com/api/v3/profiles/{profile}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://api.{tenant}.getomneo.com/api/v3/profiles/{profile}",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "PUT",
  CURLOPT_POSTFIELDS => json_encode([
    'title' => '<string>',
    'first_name' => '<string>',
    'last_name' => '<string>',
    'email' => 'jsmith@example.com',
    'currency' => '<string>',
    'mobile_phone' => '<string>',
    'secondary_phone' => '<string>',
    'birth_day' => 123,
    'birth_month' => 123,
    'birth_year' => '<string>',
    'company' => '<string>',
    'occupation' => '<string>',
    'avatar_url' => '<string>',
    'joined_location_id' => 123,
    'preferred_location_id' => 123,
    'joined_location_external_id' => '<string>',
    'preferred_location_external_code' => '<string>',
    'joined_location_external_code' => '<string>',
    'preferred_location_external_id' => '<string>',
    'preferred_staff_id' => '<string>',
    'joined_staff_id' => '<string>',
    'region_id' => 123,
    'region' => '<string>',
    'region_country' => '<string>',
    'region_state' => '<string>',
    'tags' => [
        '<string>'
    ],
    'statuses' => [
        '<string>'
    ],
    'attributes' => [
        'comms' => [
                'email_consent_updated_at' => '2023-11-07T05:31:56Z',
                'sms_consent_updated_at' => '2023-11-07T05:31:56Z'
        ],
        'appearance' => [
                '<string>'
        ],
        'dates' => [
                '<string>'
        ]
    ],
    'comms_attributes' => [
        'sms_promo' => true,
        'email_promo' => true,
        'email_bounced' => true,
        'email_benefits' => true,
        'email_consent_updated_at' => '2023-11-07T05:31:56Z',
        'sms_consent_updated_at' => '2023-11-07T05:31:56Z'
    ],
    'identities' => [
        [
                'identifier' => '<string>',
                'id' => 123,
                'handle' => '<string>',
                'is_active' => true
        ]
    ],
    'custom_attributes' => [
        [
                'namespace' => '<string>',
                'handle' => '<string>',
                'value' => '<string>'
        ]
    ],
    'dates_attributes' => [
        [
                'date' => '2023-12-25',
                'name' => '<string>',
                'handle' => '<string>',
                'is_recurring' => true,
                'recurring_schedule' => '<string>',
                'meta' => [
                                '<string>'
                ],
                'note' => '<string>',
                'description' => '<string>',
                'relationship' => '<string>',
                'role' => '<string>',
                'links' => [
                                [
                                                                'profile_id' => '<string>',
                                                                'relationship' => '<string>',
                                                                'role' => '<string>'
                                ]
                ]
        ]
    ],
    'addresses' => [
        [
                'address_line_1' => '<string>',
                'city' => '<string>',
                'postcode' => '<string>',
                'country' => '<string>',
                'address_line_2' => '<string>',
                'address_line_3' => '<string>',
                'company' => '<string>',
                'state' => '<string>',
                'notes' => '<string>',
                'is_default' => true,
                'meta' => [
                                '<string>'
                ],
                'iso' => '<string>',
                'iso_state' => '<string>'
        ]
    ],
    'regions' => [
        [
                'id' => 123,
                'handle' => '<string>',
                'is_active' => true,
                'country' => '<string>',
                'state' => '<string>'
        ]
    ],
    'organisations' => [
        [
                'id' => 123,
                'role_definition_id' => 123,
                'expires_at' => '2023-11-07T05:31:56Z',
                'is_active' => true
        ]
    ],
    'normal_hours' => [
        [
                'available_from' => '<string>',
                'available_until' => '<string>'
        ]
    ],
    'special_hours' => [
        [
                'name' => '<string>',
                'start_at' => '2023-12-25',
                'end_at' => '2023-12-25',
                'is_repeating' => true,
                'available_from' => '<string>',
                'available_until' => '<string>'
        ]
    ]
  ]),
  CURLOPT_HTTPHEADER => [
    "Content-Type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.{tenant}.getomneo.com/api/v3/profiles/{profile}"

	payload := strings.NewReader("{\n  \"title\": \"<string>\",\n  \"first_name\": \"<string>\",\n  \"last_name\": \"<string>\",\n  \"email\": \"jsmith@example.com\",\n  \"currency\": \"<string>\",\n  \"mobile_phone\": \"<string>\",\n  \"secondary_phone\": \"<string>\",\n  \"birth_day\": 123,\n  \"birth_month\": 123,\n  \"birth_year\": \"<string>\",\n  \"company\": \"<string>\",\n  \"occupation\": \"<string>\",\n  \"avatar_url\": \"<string>\",\n  \"joined_location_id\": 123,\n  \"preferred_location_id\": 123,\n  \"joined_location_external_id\": \"<string>\",\n  \"preferred_location_external_code\": \"<string>\",\n  \"joined_location_external_code\": \"<string>\",\n  \"preferred_location_external_id\": \"<string>\",\n  \"preferred_staff_id\": \"<string>\",\n  \"joined_staff_id\": \"<string>\",\n  \"region_id\": 123,\n  \"region\": \"<string>\",\n  \"region_country\": \"<string>\",\n  \"region_state\": \"<string>\",\n  \"tags\": [\n    \"<string>\"\n  ],\n  \"statuses\": [\n    \"<string>\"\n  ],\n  \"attributes\": {\n    \"comms\": {\n      \"email_consent_updated_at\": \"2023-11-07T05:31:56Z\",\n      \"sms_consent_updated_at\": \"2023-11-07T05:31:56Z\"\n    },\n    \"appearance\": [\n      \"<string>\"\n    ],\n    \"dates\": [\n      \"<string>\"\n    ]\n  },\n  \"comms_attributes\": {\n    \"sms_promo\": true,\n    \"email_promo\": true,\n    \"email_bounced\": true,\n    \"email_benefits\": true,\n    \"email_consent_updated_at\": \"2023-11-07T05:31:56Z\",\n    \"sms_consent_updated_at\": \"2023-11-07T05:31:56Z\"\n  },\n  \"identities\": [\n    {\n      \"identifier\": \"<string>\",\n      \"id\": 123,\n      \"handle\": \"<string>\",\n      \"is_active\": true\n    }\n  ],\n  \"custom_attributes\": [\n    {\n      \"namespace\": \"<string>\",\n      \"handle\": \"<string>\",\n      \"value\": \"<string>\"\n    }\n  ],\n  \"dates_attributes\": [\n    {\n      \"date\": \"2023-12-25\",\n      \"name\": \"<string>\",\n      \"handle\": \"<string>\",\n      \"is_recurring\": true,\n      \"recurring_schedule\": \"<string>\",\n      \"meta\": [\n        \"<string>\"\n      ],\n      \"note\": \"<string>\",\n      \"description\": \"<string>\",\n      \"relationship\": \"<string>\",\n      \"role\": \"<string>\",\n      \"links\": [\n        {\n          \"profile_id\": \"<string>\",\n          \"relationship\": \"<string>\",\n          \"role\": \"<string>\"\n        }\n      ]\n    }\n  ],\n  \"addresses\": [\n    {\n      \"address_line_1\": \"<string>\",\n      \"city\": \"<string>\",\n      \"postcode\": \"<string>\",\n      \"country\": \"<string>\",\n      \"address_line_2\": \"<string>\",\n      \"address_line_3\": \"<string>\",\n      \"company\": \"<string>\",\n      \"state\": \"<string>\",\n      \"notes\": \"<string>\",\n      \"is_default\": true,\n      \"meta\": [\n        \"<string>\"\n      ],\n      \"iso\": \"<string>\",\n      \"iso_state\": \"<string>\"\n    }\n  ],\n  \"regions\": [\n    {\n      \"id\": 123,\n      \"handle\": \"<string>\",\n      \"is_active\": true,\n      \"country\": \"<string>\",\n      \"state\": \"<string>\"\n    }\n  ],\n  \"organisations\": [\n    {\n      \"id\": 123,\n      \"role_definition_id\": 123,\n      \"expires_at\": \"2023-11-07T05:31:56Z\",\n      \"is_active\": true\n    }\n  ],\n  \"normal_hours\": [\n    {\n      \"available_from\": \"<string>\",\n      \"available_until\": \"<string>\"\n    }\n  ],\n  \"special_hours\": [\n    {\n      \"name\": \"<string>\",\n      \"start_at\": \"2023-12-25\",\n      \"end_at\": \"2023-12-25\",\n      \"is_repeating\": true,\n      \"available_from\": \"<string>\",\n      \"available_until\": \"<string>\"\n    }\n  ]\n}")

	req, _ := http.NewRequest("PUT", url, payload)

	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.put("https://api.{tenant}.getomneo.com/api/v3/profiles/{profile}")
  .header("Content-Type", "application/json")
  .body("{\n  \"title\": \"<string>\",\n  \"first_name\": \"<string>\",\n  \"last_name\": \"<string>\",\n  \"email\": \"jsmith@example.com\",\n  \"currency\": \"<string>\",\n  \"mobile_phone\": \"<string>\",\n  \"secondary_phone\": \"<string>\",\n  \"birth_day\": 123,\n  \"birth_month\": 123,\n  \"birth_year\": \"<string>\",\n  \"company\": \"<string>\",\n  \"occupation\": \"<string>\",\n  \"avatar_url\": \"<string>\",\n  \"joined_location_id\": 123,\n  \"preferred_location_id\": 123,\n  \"joined_location_external_id\": \"<string>\",\n  \"preferred_location_external_code\": \"<string>\",\n  \"joined_location_external_code\": \"<string>\",\n  \"preferred_location_external_id\": \"<string>\",\n  \"preferred_staff_id\": \"<string>\",\n  \"joined_staff_id\": \"<string>\",\n  \"region_id\": 123,\n  \"region\": \"<string>\",\n  \"region_country\": \"<string>\",\n  \"region_state\": \"<string>\",\n  \"tags\": [\n    \"<string>\"\n  ],\n  \"statuses\": [\n    \"<string>\"\n  ],\n  \"attributes\": {\n    \"comms\": {\n      \"email_consent_updated_at\": \"2023-11-07T05:31:56Z\",\n      \"sms_consent_updated_at\": \"2023-11-07T05:31:56Z\"\n    },\n    \"appearance\": [\n      \"<string>\"\n    ],\n    \"dates\": [\n      \"<string>\"\n    ]\n  },\n  \"comms_attributes\": {\n    \"sms_promo\": true,\n    \"email_promo\": true,\n    \"email_bounced\": true,\n    \"email_benefits\": true,\n    \"email_consent_updated_at\": \"2023-11-07T05:31:56Z\",\n    \"sms_consent_updated_at\": \"2023-11-07T05:31:56Z\"\n  },\n  \"identities\": [\n    {\n      \"identifier\": \"<string>\",\n      \"id\": 123,\n      \"handle\": \"<string>\",\n      \"is_active\": true\n    }\n  ],\n  \"custom_attributes\": [\n    {\n      \"namespace\": \"<string>\",\n      \"handle\": \"<string>\",\n      \"value\": \"<string>\"\n    }\n  ],\n  \"dates_attributes\": [\n    {\n      \"date\": \"2023-12-25\",\n      \"name\": \"<string>\",\n      \"handle\": \"<string>\",\n      \"is_recurring\": true,\n      \"recurring_schedule\": \"<string>\",\n      \"meta\": [\n        \"<string>\"\n      ],\n      \"note\": \"<string>\",\n      \"description\": \"<string>\",\n      \"relationship\": \"<string>\",\n      \"role\": \"<string>\",\n      \"links\": [\n        {\n          \"profile_id\": \"<string>\",\n          \"relationship\": \"<string>\",\n          \"role\": \"<string>\"\n        }\n      ]\n    }\n  ],\n  \"addresses\": [\n    {\n      \"address_line_1\": \"<string>\",\n      \"city\": \"<string>\",\n      \"postcode\": \"<string>\",\n      \"country\": \"<string>\",\n      \"address_line_2\": \"<string>\",\n      \"address_line_3\": \"<string>\",\n      \"company\": \"<string>\",\n      \"state\": \"<string>\",\n      \"notes\": \"<string>\",\n      \"is_default\": true,\n      \"meta\": [\n        \"<string>\"\n      ],\n      \"iso\": \"<string>\",\n      \"iso_state\": \"<string>\"\n    }\n  ],\n  \"regions\": [\n    {\n      \"id\": 123,\n      \"handle\": \"<string>\",\n      \"is_active\": true,\n      \"country\": \"<string>\",\n      \"state\": \"<string>\"\n    }\n  ],\n  \"organisations\": [\n    {\n      \"id\": 123,\n      \"role_definition_id\": 123,\n      \"expires_at\": \"2023-11-07T05:31:56Z\",\n      \"is_active\": true\n    }\n  ],\n  \"normal_hours\": [\n    {\n      \"available_from\": \"<string>\",\n      \"available_until\": \"<string>\"\n    }\n  ],\n  \"special_hours\": [\n    {\n      \"name\": \"<string>\",\n      \"start_at\": \"2023-12-25\",\n      \"end_at\": \"2023-12-25\",\n      \"is_repeating\": true,\n      \"available_from\": \"<string>\",\n      \"available_until\": \"<string>\"\n    }\n  ]\n}")
  .asString();
require 'uri'
require 'net/http'

url = URI("https://api.{tenant}.getomneo.com/api/v3/profiles/{profile}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Put.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n  \"title\": \"<string>\",\n  \"first_name\": \"<string>\",\n  \"last_name\": \"<string>\",\n  \"email\": \"jsmith@example.com\",\n  \"currency\": \"<string>\",\n  \"mobile_phone\": \"<string>\",\n  \"secondary_phone\": \"<string>\",\n  \"birth_day\": 123,\n  \"birth_month\": 123,\n  \"birth_year\": \"<string>\",\n  \"company\": \"<string>\",\n  \"occupation\": \"<string>\",\n  \"avatar_url\": \"<string>\",\n  \"joined_location_id\": 123,\n  \"preferred_location_id\": 123,\n  \"joined_location_external_id\": \"<string>\",\n  \"preferred_location_external_code\": \"<string>\",\n  \"joined_location_external_code\": \"<string>\",\n  \"preferred_location_external_id\": \"<string>\",\n  \"preferred_staff_id\": \"<string>\",\n  \"joined_staff_id\": \"<string>\",\n  \"region_id\": 123,\n  \"region\": \"<string>\",\n  \"region_country\": \"<string>\",\n  \"region_state\": \"<string>\",\n  \"tags\": [\n    \"<string>\"\n  ],\n  \"statuses\": [\n    \"<string>\"\n  ],\n  \"attributes\": {\n    \"comms\": {\n      \"email_consent_updated_at\": \"2023-11-07T05:31:56Z\",\n      \"sms_consent_updated_at\": \"2023-11-07T05:31:56Z\"\n    },\n    \"appearance\": [\n      \"<string>\"\n    ],\n    \"dates\": [\n      \"<string>\"\n    ]\n  },\n  \"comms_attributes\": {\n    \"sms_promo\": true,\n    \"email_promo\": true,\n    \"email_bounced\": true,\n    \"email_benefits\": true,\n    \"email_consent_updated_at\": \"2023-11-07T05:31:56Z\",\n    \"sms_consent_updated_at\": \"2023-11-07T05:31:56Z\"\n  },\n  \"identities\": [\n    {\n      \"identifier\": \"<string>\",\n      \"id\": 123,\n      \"handle\": \"<string>\",\n      \"is_active\": true\n    }\n  ],\n  \"custom_attributes\": [\n    {\n      \"namespace\": \"<string>\",\n      \"handle\": \"<string>\",\n      \"value\": \"<string>\"\n    }\n  ],\n  \"dates_attributes\": [\n    {\n      \"date\": \"2023-12-25\",\n      \"name\": \"<string>\",\n      \"handle\": \"<string>\",\n      \"is_recurring\": true,\n      \"recurring_schedule\": \"<string>\",\n      \"meta\": [\n        \"<string>\"\n      ],\n      \"note\": \"<string>\",\n      \"description\": \"<string>\",\n      \"relationship\": \"<string>\",\n      \"role\": \"<string>\",\n      \"links\": [\n        {\n          \"profile_id\": \"<string>\",\n          \"relationship\": \"<string>\",\n          \"role\": \"<string>\"\n        }\n      ]\n    }\n  ],\n  \"addresses\": [\n    {\n      \"address_line_1\": \"<string>\",\n      \"city\": \"<string>\",\n      \"postcode\": \"<string>\",\n      \"country\": \"<string>\",\n      \"address_line_2\": \"<string>\",\n      \"address_line_3\": \"<string>\",\n      \"company\": \"<string>\",\n      \"state\": \"<string>\",\n      \"notes\": \"<string>\",\n      \"is_default\": true,\n      \"meta\": [\n        \"<string>\"\n      ],\n      \"iso\": \"<string>\",\n      \"iso_state\": \"<string>\"\n    }\n  ],\n  \"regions\": [\n    {\n      \"id\": 123,\n      \"handle\": \"<string>\",\n      \"is_active\": true,\n      \"country\": \"<string>\",\n      \"state\": \"<string>\"\n    }\n  ],\n  \"organisations\": [\n    {\n      \"id\": 123,\n      \"role_definition_id\": 123,\n      \"expires_at\": \"2023-11-07T05:31:56Z\",\n      \"is_active\": true\n    }\n  ],\n  \"normal_hours\": [\n    {\n      \"available_from\": \"<string>\",\n      \"available_until\": \"<string>\"\n    }\n  ],\n  \"special_hours\": [\n    {\n      \"name\": \"<string>\",\n      \"start_at\": \"2023-12-25\",\n      \"end_at\": \"2023-12-25\",\n      \"is_repeating\": true,\n      \"available_from\": \"<string>\",\n      \"available_until\": \"<string>\"\n    }\n  ]\n}"

response = http.request(request)
puts response.read_body
{
  "data": {
    "id": "<string>",
    "external_id": "<string>",
    "title": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "full_name": "<string>",
    "email": "<string>",
    "gender": "<string>",
    "currency": "<string>",
    "joined_at": "<string>",
    "mobile_phone": "<string>",
    "mobile_phone_country": "<string>",
    "mobile_phone_national": "<string>",
    "mobile_phone_national_prefix": [
      "<unknown>"
    ],
    "mobile_phone_e164": "<string>",
    "secondary_phone": "<string>",
    "birth_year": 123,
    "birth_month": 123,
    "birth_day": 123,
    "company": "<string>",
    "occupation": "<string>",
    "avatar_url": "<string>",
    "preferred_location_id": 123,
    "joined_location_id": 123,
    "joined_location": {
      "id": 123,
      "type": "<string>",
      "name": "<string>",
      "handle": "<string>",
      "description": "<string>",
      "phone": "<string>",
      "email": "<string>",
      "timezone": "<string>",
      "external_id": "<string>",
      "external_code": "<string>",
      "is_published": true,
      "is_permanently_closed": true,
      "address": {
        "id": 123,
        "address_line_1": "<string>",
        "address_line_2": "<string>",
        "address_line_3": "<string>",
        "company": "<string>",
        "latitude": 123,
        "longitude": 123,
        "city": "<string>",
        "postcode": "<string>",
        "state": "<string>",
        "country": "<string>",
        "notes": "<string>",
        "external_id": "<string>",
        "is_default": true,
        "created_at": "<string>",
        "updated_at": "<string>",
        "meta": [
          "<unknown>"
        ],
        "name": "<string>",
        "type": "<string>",
        "phone": "<string>",
        "iso": "<string>",
        "iso_state": "<string>",
        "profile_id": "<string>",
        "custom_fields": {}
      },
      "normal_hours": [
        [
          "<unknown>"
        ]
      ],
      "special_hours": [
        [
          "<unknown>"
        ]
      ],
      "tags": [
        "<string>"
      ],
      "custom_fields": {},
      "icon": "<string>",
      "country_iso_3": "<string>",
      "image_url": "<string>",
      "created_at": "<string>",
      "updated_at": "<string>",
      "departments": [
        {
          "id": 123,
          "name": "<string>",
          "handle": "<string>",
          "external_id": "<string>",
          "external_code": "<string>",
          "description": "<string>",
          "short_description": "<string>",
          "url": "<string>",
          "image_url": "<string>",
          "internal_note": "<string>",
          "meta": [
            "<unknown>"
          ],
          "brand_id": 123,
          "location_id": 123,
          "brand": {
            "name": "<string>",
            "handle": "<string>"
          },
          "created_at": "<string>",
          "updated_at": "<string>"
        }
      ]
    },
    "preferred_location": {
      "id": 123,
      "type": "<string>",
      "name": "<string>",
      "handle": "<string>",
      "description": "<string>",
      "phone": "<string>",
      "email": "<string>",
      "timezone": "<string>",
      "external_id": "<string>",
      "external_code": "<string>",
      "is_published": true,
      "is_permanently_closed": true,
      "address": {
        "id": 123,
        "address_line_1": "<string>",
        "address_line_2": "<string>",
        "address_line_3": "<string>",
        "company": "<string>",
        "latitude": 123,
        "longitude": 123,
        "city": "<string>",
        "postcode": "<string>",
        "state": "<string>",
        "country": "<string>",
        "notes": "<string>",
        "external_id": "<string>",
        "is_default": true,
        "created_at": "<string>",
        "updated_at": "<string>",
        "meta": [
          "<unknown>"
        ],
        "name": "<string>",
        "type": "<string>",
        "phone": "<string>",
        "iso": "<string>",
        "iso_state": "<string>",
        "profile_id": "<string>",
        "custom_fields": {}
      },
      "normal_hours": [
        [
          "<unknown>"
        ]
      ],
      "special_hours": [
        [
          "<unknown>"
        ]
      ],
      "tags": [
        "<string>"
      ],
      "custom_fields": {},
      "icon": "<string>",
      "country_iso_3": "<string>",
      "image_url": "<string>",
      "created_at": "<string>",
      "updated_at": "<string>",
      "departments": [
        {
          "id": 123,
          "name": "<string>",
          "handle": "<string>",
          "external_id": "<string>",
          "external_code": "<string>",
          "description": "<string>",
          "short_description": "<string>",
          "url": "<string>",
          "image_url": "<string>",
          "internal_note": "<string>",
          "meta": [
            "<unknown>"
          ],
          "brand_id": 123,
          "location_id": 123,
          "brand": {
            "name": "<string>",
            "handle": "<string>"
          },
          "created_at": "<string>",
          "updated_at": "<string>"
        }
      ]
    },
    "preferred_staff_id": "<string>",
    "preferred_staff": {
      "id": "<string>",
      "full_name": "<string>",
      "email": "<string>",
      "identities": [
        {
          "id": 123,
          "handle": "<string>",
          "identifier": "<string>",
          "is_primary": true,
          "is_active": true,
          "profile_id": "<string>",
          "merged_from": "<string>",
          "created_at": "<string>",
          "updated_at": "<string>",
          "profile": {
            "id": "<string>",
            "external_id": "<string>",
            "title": "<string>",
            "first_name": "<string>",
            "last_name": "<string>",
            "full_name": "<string>",
            "email": "<string>",
            "gender": "<string>",
            "currency": "<string>",
            "joined_at": "<string>",
            "mobile_phone": "<string>",
            "mobile_phone_country": "<string>",
            "mobile_phone_national": "<string>",
            "mobile_phone_national_prefix": [
              "<unknown>"
            ],
            "mobile_phone_e164": "<string>",
            "secondary_phone": "<string>",
            "birth_year": "<string>",
            "birth_month": "<string>",
            "birth_day": "<string>",
            "company": "<string>",
            "occupation": "<string>",
            "avatar_url": "<string>",
            "preferred_location_id": "<string>",
            "joined_location_id": "<string>",
            "joined_location": {
              "id": 123,
              "type": "<string>",
              "name": "<string>",
              "handle": "<string>",
              "description": "<string>",
              "phone": "<string>",
              "email": "<string>",
              "timezone": "<string>",
              "external_id": "<string>",
              "external_code": "<string>",
              "is_published": true,
              "is_permanently_closed": true,
              "address": {
                "id": 123,
                "address_line_1": "<string>",
                "address_line_2": "<string>",
                "address_line_3": "<string>",
                "company": "<string>",
                "latitude": 123,
                "longitude": 123,
                "city": "<string>",
                "postcode": "<string>",
                "state": "<string>",
                "country": "<string>",
                "notes": "<string>",
                "external_id": "<string>",
                "is_default": true,
                "created_at": "<string>",
                "updated_at": "<string>",
                "meta": [
                  "<unknown>"
                ],
                "name": "<string>",
                "type": "<string>",
                "phone": "<string>",
                "iso": "<string>",
                "iso_state": "<string>",
                "profile_id": "<string>",
                "custom_fields": {}
              },
              "normal_hours": [
                [
                  "<unknown>"
                ]
              ],
              "special_hours": [
                [
                  "<unknown>"
                ]
              ],
              "tags": [
                "<string>"
              ],
              "custom_fields": {},
              "icon": "<string>",
              "country_iso_3": "<string>",
              "image_url": "<string>",
              "created_at": "<string>",
              "updated_at": "<string>",
              "departments": [
                {
                  "id": 123,
                  "name": "<string>",
                  "handle": "<string>",
                  "external_id": "<string>",
                  "external_code": "<string>",
                  "description": "<string>",
                  "short_description": "<string>",
                  "url": "<string>",
                  "image_url": "<string>",
                  "internal_note": "<string>",
                  "meta": [
                    "<unknown>"
                  ],
                  "brand_id": 123,
                  "location_id": 123,
                  "brand": {
                    "name": "<string>",
                    "handle": "<string>"
                  },
                  "created_at": "<string>",
                  "updated_at": "<string>"
                }
              ]
            },
            "preferred_location": {
              "id": 123,
              "type": "<string>",
              "name": "<string>",
              "handle": "<string>",
              "description": "<string>",
              "phone": "<string>",
              "email": "<string>",
              "timezone": "<string>",
              "external_id": "<string>",
              "external_code": "<string>",
              "is_published": true,
              "is_permanently_closed": true,
              "address": {
                "id": 123,
                "address_line_1": "<string>",
                "address_line_2": "<string>",
                "address_line_3": "<string>",
                "company": "<string>",
                "latitude": 123,
                "longitude": 123,
                "city": "<string>",
                "postcode": "<string>",
                "state": "<string>",
                "country": "<string>",
                "notes": "<string>",
                "external_id": "<string>",
                "is_default": true,
                "created_at": "<string>",
                "updated_at": "<string>",
                "meta": [
                  "<unknown>"
                ],
                "name": "<string>",
                "type": "<string>",
                "phone": "<string>",
                "iso": "<string>",
                "iso_state": "<string>",
                "profile_id": "<string>",
                "custom_fields": {}
              },
              "normal_hours": [
                [
                  "<unknown>"
                ]
              ],
              "special_hours": [
                [
                  "<unknown>"
                ]
              ],
              "tags": [
                "<string>"
              ],
              "custom_fields": {},
              "icon": "<string>",
              "country_iso_3": "<string>",
              "image_url": "<string>",
              "created_at": "<string>",
              "updated_at": "<string>",
              "departments": [
                {
                  "id": 123,
                  "name": "<string>",
                  "handle": "<string>",
                  "external_id": "<string>",
                  "external_code": "<string>",
                  "description": "<string>",
                  "short_description": "<string>",
                  "url": "<string>",
                  "image_url": "<string>",
                  "internal_note": "<string>",
                  "meta": [
                    "<unknown>"
                  ],
                  "brand_id": 123,
                  "location_id": 123,
                  "brand": {
                    "name": "<string>",
                    "handle": "<string>"
                  },
                  "created_at": "<string>",
                  "updated_at": "<string>"
                }
              ]
            },
            "tier_handle": "<string>",
            "tier": {
              "id": 123,
              "profile_id": "<string>",
              "name": "<string>",
              "handle": "<string>",
              "anniversary_at": "<string>",
              "maintained_at": "<string>",
              "assigned_at": "<string>",
              "achieved_at": "<string>"
            },
            "birth_date": "<string>",
            "birth_days": "<string>",
            "birth_days_past": "<string>",
            "next_birthday": "<string>",
            "tags": [
              "<string>"
            ],
            "attributes": {
              "comms": [
                "<unknown>"
              ],
              "appearance": {
                "profile_id": "<string>",
                "hair_colour": "<string>",
                "hair_length": "<string>",
                "shape_body": "<string>",
                "shape_face": "<string>",
                "size_cup": "<string>",
                "size_hat": "<string>",
                "size_formal_jacket": "<string>",
                "size_formal_jacket_length": "<string>",
                "size_formal_shirt": "<string>",
                "size_formal_shirt_fit": "<string>",
                "size_formal_trouser": "<string>",
                "size_formal_trouser_drop": "<string>",
                "size_formal_trouser_leg": "<string>",
                "size_jacket": "<string>",
                "size_pant": "<string>",
                "size_shoe": "<string>",
                "size_type_age": "<string>",
                "size_type_region": "<string>",
                "size_top": "<string>",
                "size_gloves": "<string>",
                "size_swimwear_top": "<string>",
                "size_swimwear_bottom": "<string>",
                "size_swimwear_cup": "<string>",
                "size_dress": "<string>",
                "skin_type": "<string>",
                "measurement_arm": "<string>",
                "measurement_arm_inside": "<string>",
                "measurement_bust": "<string>",
                "measurement_chest": "<string>",
                "measurement_foot_length": "<string>",
                "measurement_head": "<string>",
                "measurement_height": "<string>",
                "measurement_hip": "<string>",
                "measurement_leg_inside": "<string>",
                "measurement_leg_outside": "<string>",
                "measurement_neck": "<string>",
                "measurement_neck_to_wrist": "<string>",
                "measurement_shoulders": "<string>",
                "measurement_waist": "<string>",
                "measurement_weight": "<string>",
                "brow_colour": "<string>",
                "eye_colour": "<string>",
                "measurement_hand_right_thumb": "<string>",
                "measurement_hand_right_index": "<string>",
                "measurement_hand_right_middle": "<string>",
                "measurement_hand_right_ring": "<string>",
                "measurement_hand_right_pinky": "<string>",
                "measurement_hand_left_thumb": "<string>",
                "measurement_hand_left_index": "<string>",
                "measurement_hand_left_middle": "<string>",
                "measurement_hand_left_ring": "<string>",
                "measurement_hand_left_pinky": "<string>",
                "measurement_ear_helix": "<string>",
                "measurement_ear_forward_helix": "<string>",
                "measurement_ear_flat": "<string>",
                "measurement_ear_conch": "<string>",
                "measurement_ear_tragus": "<string>",
                "measurement_ear_lobe": "<string>",
                "created_at": "<string>",
                "updated_at": "<string>"
              },
              "dates": [
                {
                  "id": "<string>",
                  "profile_id": "<string>",
                  "date": "<string>",
                  "is_recurring": "<string>",
                  "recurring_schedule": "<string>",
                  "name": "<string>",
                  "handle": "<string>",
                  "relationship": "<string>",
                  "role": "<string>",
                  "description": "<string>",
                  "meta": "<string>",
                  "note": "<string>",
                  "links": [
                    {
                      "id": "<string>",
                      "attributes_date_id": "<string>",
                      "profile_id": "<string>",
                      "relationship": "<string>",
                      "role": "<string>",
                      "created_at": "<string>",
                      "updated_at": "<string>"
                    }
                  ],
                  "created_at": "<string>",
                  "updated_at": "<string>"
                }
              ]
            },
            "statuses": [
              "<unknown>"
            ],
            "statuses_original": [
              {
                "id": "<string>",
                "name": "<string>",
                "handle": "<string>",
                "sort_order": "<string>",
                "description": "<string>",
                "short_description": "<string>",
                "long_description": "<string>",
                "terms_conditions": "<string>",
                "icon": "<string>",
                "image_url": "<string>",
                "earn_instructions": "<string>",
                "colour": "<string>",
                "primary_colour": "<string>",
                "secondary_colour": "<string>",
                "text_colour": "<string>",
                "code": "<string>",
                "internal_notes": "<string>",
                "group_name": "<string>",
                "group_handle": "<string>",
                "timezone": "<string>",
                "period": "<string>",
                "period_type": "<string>",
                "absolute_expiry": "<string>",
                "created_at": "<string>",
                "updated_at": "<string>"
              }
            ],
            "custom_attributes": "<string>",
            "address": {
              "id": 123,
              "address_line_1": "<string>",
              "address_line_2": "<string>",
              "address_line_3": "<string>",
              "company": "<string>",
              "latitude": 123,
              "longitude": 123,
              "city": "<string>",
              "postcode": "<string>",
              "state": "<string>",
              "country": "<string>",
              "notes": "<string>",
              "external_id": "<string>",
              "is_default": true,
              "created_at": "<string>",
              "updated_at": "<string>",
              "meta": [
                "<unknown>"
              ],
              "name": "<string>",
              "type": "<string>",
              "phone": "<string>",
              "iso": "<string>",
              "iso_state": "<string>",
              "profile_id": "<string>",
              "custom_fields": {}
            },
            "addresses": [
              {
                "id": 123,
                "address_line_1": "<string>",
                "address_line_2": "<string>",
                "address_line_3": "<string>",
                "company": "<string>",
                "latitude": 123,
                "longitude": 123,
                "city": "<string>",
                "postcode": "<string>",
                "state": "<string>",
                "country": "<string>",
                "notes": "<string>",
                "external_id": "<string>",
                "is_default": true,
                "created_at": "<string>",
                "updated_at": "<string>",
                "meta": [
                  "<unknown>"
                ],
                "name": "<string>",
                "type": "<string>",
                "phone": "<string>",
                "iso": "<string>",
                "iso_state": "<string>",
                "profile_id": "<string>",
                "custom_fields": {}
              }
            ],
            "reward_balance": "<string>",
            "point_balance": "<string>",
            "benefit_balance": "<string>",
            "combined_balance_dollars": "<string>",
            "point_balance_dollars": "<string>",
            "created_at": "<string>",
            "updated_at": "<string>",
            "profile_type": "<string>",
            "region": {
              "id": "<string>",
              "name": "<string>",
              "handle": "<string>",
              "is_active": "<string>",
              "country": "<string>",
              "state": "<string>",
              "created_at": "<string>",
              "updated_at": "<string>"
            },
            "regions": [
              {
                "id": "<string>",
                "name": "<string>",
                "handle": "<string>",
                "is_active": "<string>",
                "country": "<string>",
                "state": "<string>",
                "created_at": "<string>",
                "updated_at": "<string>"
              }
            ]
          }
        }
      ]
    },
    "joined_staff_id": "<string>",
    "joined_staff": {
      "id": "<string>",
      "full_name": "<string>",
      "email": "<string>",
      "identities": [
        {
          "id": 123,
          "handle": "<string>",
          "identifier": "<string>",
          "is_primary": true,
          "is_active": true,
          "profile_id": "<string>",
          "merged_from": "<string>",
          "created_at": "<string>",
          "updated_at": "<string>",
          "profile": {
            "id": "<string>",
            "external_id": "<string>",
            "title": "<string>",
            "first_name": "<string>",
            "last_name": "<string>",
            "full_name": "<string>",
            "email": "<string>",
            "gender": "<string>",
            "currency": "<string>",
            "joined_at": "<string>",
            "mobile_phone": "<string>",
            "mobile_phone_country": "<string>",
            "mobile_phone_national": "<string>",
            "mobile_phone_national_prefix": [
              "<unknown>"
            ],
            "mobile_phone_e164": "<string>",
            "secondary_phone": "<string>",
            "birth_year": "<string>",
            "birth_month": "<string>",
            "birth_day": "<string>",
            "company": "<string>",
            "occupation": "<string>",
            "avatar_url": "<string>",
            "preferred_location_id": "<string>",
            "joined_location_id": "<string>",
            "joined_location": {
              "id": 123,
              "type": "<string>",
              "name": "<string>",
              "handle": "<string>",
              "description": "<string>",
              "phone": "<string>",
              "email": "<string>",
              "timezone": "<string>",
              "external_id": "<string>",
              "external_code": "<string>",
              "is_published": true,
              "is_permanently_closed": true,
              "address": {
                "id": 123,
                "address_line_1": "<string>",
                "address_line_2": "<string>",
                "address_line_3": "<string>",
                "company": "<string>",
                "latitude": 123,
                "longitude": 123,
                "city": "<string>",
                "postcode": "<string>",
                "state": "<string>",
                "country": "<string>",
                "notes": "<string>",
                "external_id": "<string>",
                "is_default": true,
                "created_at": "<string>",
                "updated_at": "<string>",
                "meta": [
                  "<unknown>"
                ],
                "name": "<string>",
                "type": "<string>",
                "phone": "<string>",
                "iso": "<string>",
                "iso_state": "<string>",
                "profile_id": "<string>",
                "custom_fields": {}
              },
              "normal_hours": [
                [
                  "<unknown>"
                ]
              ],
              "special_hours": [
                [
                  "<unknown>"
                ]
              ],
              "tags": [
                "<string>"
              ],
              "custom_fields": {},
              "icon": "<string>",
              "country_iso_3": "<string>",
              "image_url": "<string>",
              "created_at": "<string>",
              "updated_at": "<string>",
              "departments": [
                {
                  "id": 123,
                  "name": "<string>",
                  "handle": "<string>",
                  "external_id": "<string>",
                  "external_code": "<string>",
                  "description": "<string>",
                  "short_description": "<string>",
                  "url": "<string>",
                  "image_url": "<string>",
                  "internal_note": "<string>",
                  "meta": [
                    "<unknown>"
                  ],
                  "brand_id": 123,
                  "location_id": 123,
                  "brand": {
                    "name": "<string>",
                    "handle": "<string>"
                  },
                  "created_at": "<string>",
                  "updated_at": "<string>"
                }
              ]
            },
            "preferred_location": {
              "id": 123,
              "type": "<string>",
              "name": "<string>",
              "handle": "<string>",
              "description": "<string>",
              "phone": "<string>",
              "email": "<string>",
              "timezone": "<string>",
              "external_id": "<string>",
              "external_code": "<string>",
              "is_published": true,
              "is_permanently_closed": true,
              "address": {
                "id": 123,
                "address_line_1": "<string>",
                "address_line_2": "<string>",
                "address_line_3": "<string>",
                "company": "<string>",
                "latitude": 123,
                "longitude": 123,
                "city": "<string>",
                "postcode": "<string>",
                "state": "<string>",
                "country": "<string>",
                "notes": "<string>",
                "external_id": "<string>",
                "is_default": true,
                "created_at": "<string>",
                "updated_at": "<string>",
                "meta": [
                  "<unknown>"
                ],
                "name": "<string>",
                "type": "<string>",
                "phone": "<string>",
                "iso": "<string>",
                "iso_state": "<string>",
                "profile_id": "<string>",
                "custom_fields": {}
              },
              "normal_hours": [
                [
                  "<unknown>"
                ]
              ],
              "special_hours": [
                [
                  "<unknown>"
                ]
              ],
              "tags": [
                "<string>"
              ],
              "custom_fields": {},
              "icon": "<string>",
              "country_iso_3": "<string>",
              "image_url": "<string>",
              "created_at": "<string>",
              "updated_at": "<string>",
              "departments": [
                {
                  "id": 123,
                  "name": "<string>",
                  "handle": "<string>",
                  "external_id": "<string>",
                  "external_code": "<string>",
                  "description": "<string>",
                  "short_description": "<string>",
                  "url": "<string>",
                  "image_url": "<string>",
                  "internal_note": "<string>",
                  "meta": [
                    "<unknown>"
                  ],
                  "brand_id": 123,
                  "location_id": 123,
                  "brand": {
                    "name": "<string>",
                    "handle": "<string>"
                  },
                  "created_at": "<string>",
                  "updated_at": "<string>"
                }
              ]
            },
            "tier_handle": "<string>",
            "tier": {
              "id": 123,
              "profile_id": "<string>",
              "name": "<string>",
              "handle": "<string>",
              "anniversary_at": "<string>",
              "maintained_at": "<string>",
              "assigned_at": "<string>",
              "achieved_at": "<string>"
            },
            "birth_date": "<string>",
            "birth_days": "<string>",
            "birth_days_past": "<string>",
            "next_birthday": "<string>",
            "tags": [
              "<string>"
            ],
            "attributes": {
              "comms": [
                "<unknown>"
              ],
              "appearance": {
                "profile_id": "<string>",
                "hair_colour": "<string>",
                "hair_length": "<string>",
                "shape_body": "<string>",
                "shape_face": "<string>",
                "size_cup": "<string>",
                "size_hat": "<string>",
                "size_formal_jacket": "<string>",
                "size_formal_jacket_length": "<string>",
                "size_formal_shirt": "<string>",
                "size_formal_shirt_fit": "<string>",
                "size_formal_trouser": "<string>",
                "size_formal_trouser_drop": "<string>",
                "size_formal_trouser_leg": "<string>",
                "size_jacket": "<string>",
                "size_pant": "<string>",
                "size_shoe": "<string>",
                "size_type_age": "<string>",
                "size_type_region": "<string>",
                "size_top": "<string>",
                "size_gloves": "<string>",
                "size_swimwear_top": "<string>",
                "size_swimwear_bottom": "<string>",
                "size_swimwear_cup": "<string>",
                "size_dress": "<string>",
                "skin_type": "<string>",
                "measurement_arm": "<string>",
                "measurement_arm_inside": "<string>",
                "measurement_bust": "<string>",
                "measurement_chest": "<string>",
                "measurement_foot_length": "<string>",
                "measurement_head": "<string>",
                "measurement_height": "<string>",
                "measurement_hip": "<string>",
                "measurement_leg_inside": "<string>",
                "measurement_leg_outside": "<string>",
                "measurement_neck": "<string>",
                "measurement_neck_to_wrist": "<string>",
                "measurement_shoulders": "<string>",
                "measurement_waist": "<string>",
                "measurement_weight": "<string>",
                "brow_colour": "<string>",
                "eye_colour": "<string>",
                "measurement_hand_right_thumb": "<string>",
                "measurement_hand_right_index": "<string>",
                "measurement_hand_right_middle": "<string>",
                "measurement_hand_right_ring": "<string>",
                "measurement_hand_right_pinky": "<string>",
                "measurement_hand_left_thumb": "<string>",
                "measurement_hand_left_index": "<string>",
                "measurement_hand_left_middle": "<string>",
                "measurement_hand_left_ring": "<string>",
                "measurement_hand_left_pinky": "<string>",
                "measurement_ear_helix": "<string>",
                "measurement_ear_forward_helix": "<string>",
                "measurement_ear_flat": "<string>",
                "measurement_ear_conch": "<string>",
                "measurement_ear_tragus": "<string>",
                "measurement_ear_lobe": "<string>",
                "created_at": "<string>",
                "updated_at": "<string>"
              },
              "dates": [
                {
                  "id": "<string>",
                  "profile_id": "<string>",
                  "date": "<string>",
                  "is_recurring": "<string>",
                  "recurring_schedule": "<string>",
                  "name": "<string>",
                  "handle": "<string>",
                  "relationship": "<string>",
                  "role": "<string>",
                  "description": "<string>",
                  "meta": "<string>",
                  "note": "<string>",
                  "links": [
                    {
                      "id": "<string>",
                      "attributes_date_id": "<string>",
                      "profile_id": "<string>",
                      "relationship": "<string>",
                      "role": "<string>",
                      "created_at": "<string>",
                      "updated_at": "<string>"
                    }
                  ],
                  "created_at": "<string>",
                  "updated_at": "<string>"
                }
              ]
            },
            "statuses": [
              "<unknown>"
            ],
            "statuses_original": [
              {
                "id": "<string>",
                "name": "<string>",
                "handle": "<string>",
                "sort_order": "<string>",
                "description": "<string>",
                "short_description": "<string>",
                "long_description": "<string>",
                "terms_conditions": "<string>",
                "icon": "<string>",
                "image_url": "<string>",
                "earn_instructions": "<string>",
                "colour": "<string>",
                "primary_colour": "<string>",
                "secondary_colour": "<string>",
                "text_colour": "<string>",
                "code": "<string>",
                "internal_notes": "<string>",
                "group_name": "<string>",
                "group_handle": "<string>",
                "timezone": "<string>",
                "period": "<string>",
                "period_type": "<string>",
                "absolute_expiry": "<string>",
                "created_at": "<string>",
                "updated_at": "<string>"
              }
            ],
            "custom_attributes": "<string>",
            "address": {
              "id": 123,
              "address_line_1": "<string>",
              "address_line_2": "<string>",
              "address_line_3": "<string>",
              "company": "<string>",
              "latitude": 123,
              "longitude": 123,
              "city": "<string>",
              "postcode": "<string>",
              "state": "<string>",
              "country": "<string>",
              "notes": "<string>",
              "external_id": "<string>",
              "is_default": true,
              "created_at": "<string>",
              "updated_at": "<string>",
              "meta": [
                "<unknown>"
              ],
              "name": "<string>",
              "type": "<string>",
              "phone": "<string>",
              "iso": "<string>",
              "iso_state": "<string>",
              "profile_id": "<string>",
              "custom_fields": {}
            },
            "addresses": [
              {
                "id": 123,
                "address_line_1": "<string>",
                "address_line_2": "<string>",
                "address_line_3": "<string>",
                "company": "<string>",
                "latitude": 123,
                "longitude": 123,
                "city": "<string>",
                "postcode": "<string>",
                "state": "<string>",
                "country": "<string>",
                "notes": "<string>",
                "external_id": "<string>",
                "is_default": true,
                "created_at": "<string>",
                "updated_at": "<string>",
                "meta": [
                  "<unknown>"
                ],
                "name": "<string>",
                "type": "<string>",
                "phone": "<string>",
                "iso": "<string>",
                "iso_state": "<string>",
                "profile_id": "<string>",
                "custom_fields": {}
              }
            ],
            "reward_balance": "<string>",
            "point_balance": "<string>",
            "benefit_balance": "<string>",
            "combined_balance_dollars": "<string>",
            "point_balance_dollars": "<string>",
            "created_at": "<string>",
            "updated_at": "<string>",
            "profile_type": "<string>",
            "region": {
              "id": "<string>",
              "name": "<string>",
              "handle": "<string>",
              "is_active": "<string>",
              "country": "<string>",
              "state": "<string>",
              "created_at": "<string>",
              "updated_at": "<string>"
            },
            "regions": [
              {
                "id": "<string>",
                "name": "<string>",
                "handle": "<string>",
                "is_active": "<string>",
                "country": "<string>",
                "state": "<string>",
                "created_at": "<string>",
                "updated_at": "<string>"
              }
            ]
          }
        }
      ]
    },
    "tier_handle": "<string>",
    "tier": {
      "id": 123,
      "profile_id": "<string>",
      "name": "<string>",
      "handle": "<string>",
      "anniversary_at": "<string>",
      "maintained_at": "<string>",
      "assigned_at": "<string>",
      "achieved_at": "<string>"
    },
    "birth_date": "<string>",
    "birth_days": "<string>",
    "birth_days_past": "<string>",
    "next_birthday": "<string>",
    "identities": [
      {
        "id": 123,
        "handle": "<string>",
        "identifier": "<string>",
        "is_primary": true,
        "is_active": true,
        "profile_id": "<string>",
        "merged_from": "<string>",
        "created_at": "<string>",
        "updated_at": "<string>",
        "profile": {
          "id": "<string>",
          "external_id": "<string>",
          "title": "<string>",
          "first_name": "<string>",
          "last_name": "<string>",
          "full_name": "<string>",
          "email": "<string>",
          "gender": "<string>",
          "currency": "<string>",
          "joined_at": "<string>",
          "mobile_phone": "<string>",
          "mobile_phone_country": "<string>",
          "mobile_phone_national": "<string>",
          "mobile_phone_national_prefix": [
            "<unknown>"
          ],
          "mobile_phone_e164": "<string>",
          "secondary_phone": "<string>",
          "birth_year": "<string>",
          "birth_month": "<string>",
          "birth_day": "<string>",
          "company": "<string>",
          "occupation": "<string>",
          "avatar_url": "<string>",
          "preferred_location_id": "<string>",
          "joined_location_id": "<string>",
          "joined_location": {
            "id": 123,
            "type": "<string>",
            "name": "<string>",
            "handle": "<string>",
            "description": "<string>",
            "phone": "<string>",
            "email": "<string>",
            "timezone": "<string>",
            "external_id": "<string>",
            "external_code": "<string>",
            "is_published": true,
            "is_permanently_closed": true,
            "address": {
              "id": 123,
              "address_line_1": "<string>",
              "address_line_2": "<string>",
              "address_line_3": "<string>",
              "company": "<string>",
              "latitude": 123,
              "longitude": 123,
              "city": "<string>",
              "postcode": "<string>",
              "state": "<string>",
              "country": "<string>",
              "notes": "<string>",
              "external_id": "<string>",
              "is_default": true,
              "created_at": "<string>",
              "updated_at": "<string>",
              "meta": [
                "<unknown>"
              ],
              "name": "<string>",
              "type": "<string>",
              "phone": "<string>",
              "iso": "<string>",
              "iso_state": "<string>",
              "profile_id": "<string>",
              "custom_fields": {}
            },
            "normal_hours": [
              [
                "<unknown>"
              ]
            ],
            "special_hours": [
              [
                "<unknown>"
              ]
            ],
            "tags": [
              "<string>"
            ],
            "custom_fields": {},
            "icon": "<string>",
            "country_iso_3": "<string>",
            "image_url": "<string>",
            "created_at": "<string>",
            "updated_at": "<string>",
            "departments": [
              {
                "id": 123,
                "name": "<string>",
                "handle": "<string>",
                "external_id": "<string>",
                "external_code": "<string>",
                "description": "<string>",
                "short_description": "<string>",
                "url": "<string>",
                "image_url": "<string>",
                "internal_note": "<string>",
                "meta": [
                  "<unknown>"
                ],
                "brand_id": 123,
                "location_id": 123,
                "brand": {
                  "name": "<string>",
                  "handle": "<string>"
                },
                "created_at": "<string>",
                "updated_at": "<string>"
              }
            ]
          },
          "preferred_location": {
            "id": 123,
            "type": "<string>",
            "name": "<string>",
            "handle": "<string>",
            "description": "<string>",
            "phone": "<string>",
            "email": "<string>",
            "timezone": "<string>",
            "external_id": "<string>",
            "external_code": "<string>",
            "is_published": true,
            "is_permanently_closed": true,
            "address": {
              "id": 123,
              "address_line_1": "<string>",
              "address_line_2": "<string>",
              "address_line_3": "<string>",
              "company": "<string>",
              "latitude": 123,
              "longitude": 123,
              "city": "<string>",
              "postcode": "<string>",
              "state": "<string>",
              "country": "<string>",
              "notes": "<string>",
              "external_id": "<string>",
              "is_default": true,
              "created_at": "<string>",
              "updated_at": "<string>",
              "meta": [
                "<unknown>"
              ],
              "name": "<string>",
              "type": "<string>",
              "phone": "<string>",
              "iso": "<string>",
              "iso_state": "<string>",
              "profile_id": "<string>",
              "custom_fields": {}
            },
            "normal_hours": [
              [
                "<unknown>"
              ]
            ],
            "special_hours": [
              [
                "<unknown>"
              ]
            ],
            "tags": [
              "<string>"
            ],
            "custom_fields": {},
            "icon": "<string>",
            "country_iso_3": "<string>",
            "image_url": "<string>",
            "created_at": "<string>",
            "updated_at": "<string>",
            "departments": [
              {
                "id": 123,
                "name": "<string>",
                "handle": "<string>",
                "external_id": "<string>",
                "external_code": "<string>",
                "description": "<string>",
                "short_description": "<string>",
                "url": "<string>",
                "image_url": "<string>",
                "internal_note": "<string>",
                "meta": [
                  "<unknown>"
                ],
                "brand_id": 123,
                "location_id": 123,
                "brand": {
                  "name": "<string>",
                  "handle": "<string>"
                },
                "created_at": "<string>",
                "updated_at": "<string>"
              }
            ]
          },
          "tier_handle": "<string>",
          "tier": {
            "id": 123,
            "profile_id": "<string>",
            "name": "<string>",
            "handle": "<string>",
            "anniversary_at": "<string>",
            "maintained_at": "<string>",
            "assigned_at": "<string>",
            "achieved_at": "<string>"
          },
          "birth_date": "<string>",
          "birth_days": "<string>",
          "birth_days_past": "<string>",
          "next_birthday": "<string>",
          "tags": [
            "<string>"
          ],
          "attributes": {
            "comms": [
              "<unknown>"
            ],
            "appearance": {
              "profile_id": "<string>",
              "hair_colour": "<string>",
              "hair_length": "<string>",
              "shape_body": "<string>",
              "shape_face": "<string>",
              "size_cup": "<string>",
              "size_hat": "<string>",
              "size_formal_jacket": "<string>",
              "size_formal_jacket_length": "<string>",
              "size_formal_shirt": "<string>",
              "size_formal_shirt_fit": "<string>",
              "size_formal_trouser": "<string>",
              "size_formal_trouser_drop": "<string>",
              "size_formal_trouser_leg": "<string>",
              "size_jacket": "<string>",
              "size_pant": "<string>",
              "size_shoe": "<string>",
              "size_type_age": "<string>",
              "size_type_region": "<string>",
              "size_top": "<string>",
              "size_gloves": "<string>",
              "size_swimwear_top": "<string>",
              "size_swimwear_bottom": "<string>",
              "size_swimwear_cup": "<string>",
              "size_dress": "<string>",
              "skin_type": "<string>",
              "measurement_arm": "<string>",
              "measurement_arm_inside": "<string>",
              "measurement_bust": "<string>",
              "measurement_chest": "<string>",
              "measurement_foot_length": "<string>",
              "measurement_head": "<string>",
              "measurement_height": "<string>",
              "measurement_hip": "<string>",
              "measurement_leg_inside": "<string>",
              "measurement_leg_outside": "<string>",
              "measurement_neck": "<string>",
              "measurement_neck_to_wrist": "<string>",
              "measurement_shoulders": "<string>",
              "measurement_waist": "<string>",
              "measurement_weight": "<string>",
              "brow_colour": "<string>",
              "eye_colour": "<string>",
              "measurement_hand_right_thumb": "<string>",
              "measurement_hand_right_index": "<string>",
              "measurement_hand_right_middle": "<string>",
              "measurement_hand_right_ring": "<string>",
              "measurement_hand_right_pinky": "<string>",
              "measurement_hand_left_thumb": "<string>",
              "measurement_hand_left_index": "<string>",
              "measurement_hand_left_middle": "<string>",
              "measurement_hand_left_ring": "<string>",
              "measurement_hand_left_pinky": "<string>",
              "measurement_ear_helix": "<string>",
              "measurement_ear_forward_helix": "<string>",
              "measurement_ear_flat": "<string>",
              "measurement_ear_conch": "<string>",
              "measurement_ear_tragus": "<string>",
              "measurement_ear_lobe": "<string>",
              "created_at": "<string>",
              "updated_at": "<string>"
            },
            "dates": [
              {
                "id": "<string>",
                "profile_id": "<string>",
                "date": "<string>",
                "is_recurring": "<string>",
                "recurring_schedule": "<string>",
                "name": "<string>",
                "handle": "<string>",
                "relationship": "<string>",
                "role": "<string>",
                "description": "<string>",
                "meta": "<string>",
                "note": "<string>",
                "links": [
                  {
                    "id": "<string>",
                    "attributes_date_id": "<string>",
                    "profile_id": "<string>",
                    "relationship": "<string>",
                    "role": "<string>",
                    "created_at": "<string>",
                    "updated_at": "<string>"
                  }
                ],
                "created_at": "<string>",
                "updated_at": "<string>"
              }
            ]
          },
          "statuses": [
            "<unknown>"
          ],
          "statuses_original": [
            {
              "id": "<string>",
              "name": "<string>",
              "handle": "<string>",
              "sort_order": "<string>",
              "description": "<string>",
              "short_description": "<string>",
              "long_description": "<string>",
              "terms_conditions": "<string>",
              "icon": "<string>",
              "image_url": "<string>",
              "earn_instructions": "<string>",
              "colour": "<string>",
              "primary_colour": "<string>",
              "secondary_colour": "<string>",
              "text_colour": "<string>",
              "code": "<string>",
              "internal_notes": "<string>",
              "group_name": "<string>",
              "group_handle": "<string>",
              "timezone": "<string>",
              "period": "<string>",
              "period_type": "<string>",
              "absolute_expiry": "<string>",
              "created_at": "<string>",
              "updated_at": "<string>"
            }
          ],
          "custom_attributes": "<string>",
          "address": {
            "id": 123,
            "address_line_1": "<string>",
            "address_line_2": "<string>",
            "address_line_3": "<string>",
            "company": "<string>",
            "latitude": 123,
            "longitude": 123,
            "city": "<string>",
            "postcode": "<string>",
            "state": "<string>",
            "country": "<string>",
            "notes": "<string>",
            "external_id": "<string>",
            "is_default": true,
            "created_at": "<string>",
            "updated_at": "<string>",
            "meta": [
              "<unknown>"
            ],
            "name": "<string>",
            "type": "<string>",
            "phone": "<string>",
            "iso": "<string>",
            "iso_state": "<string>",
            "profile_id": "<string>",
            "custom_fields": {}
          },
          "addresses": [
            {
              "id": 123,
              "address_line_1": "<string>",
              "address_line_2": "<string>",
              "address_line_3": "<string>",
              "company": "<string>",
              "latitude": 123,
              "longitude": 123,
              "city": "<string>",
              "postcode": "<string>",
              "state": "<string>",
              "country": "<string>",
              "notes": "<string>",
              "external_id": "<string>",
              "is_default": true,
              "created_at": "<string>",
              "updated_at": "<string>",
              "meta": [
                "<unknown>"
              ],
              "name": "<string>",
              "type": "<string>",
              "phone": "<string>",
              "iso": "<string>",
              "iso_state": "<string>",
              "profile_id": "<string>",
              "custom_fields": {}
            }
          ],
          "reward_balance": "<string>",
          "point_balance": "<string>",
          "benefit_balance": "<string>",
          "combined_balance_dollars": "<string>",
          "point_balance_dollars": "<string>",
          "created_at": "<string>",
          "updated_at": "<string>",
          "profile_type": "<string>",
          "region": {
            "id": "<string>",
            "name": "<string>",
            "handle": "<string>",
            "is_active": "<string>",
            "country": "<string>",
            "state": "<string>",
            "created_at": "<string>",
            "updated_at": "<string>"
          },
          "regions": [
            {
              "id": "<string>",
              "name": "<string>",
              "handle": "<string>",
              "is_active": "<string>",
              "country": "<string>",
              "state": "<string>",
              "created_at": "<string>",
              "updated_at": "<string>"
            }
          ]
        }
      }
    ],
    "tags": [
      "<string>"
    ],
    "attributes": {
      "comms": [
        "<unknown>"
      ],
      "appearance": {
        "profile_id": "<string>",
        "hair_colour": "<string>",
        "hair_length": "<string>",
        "shape_body": "<string>",
        "shape_face": "<string>",
        "size_cup": "<string>",
        "size_hat": "<string>",
        "size_formal_jacket": "<string>",
        "size_formal_jacket_length": "<string>",
        "size_formal_shirt": "<string>",
        "size_formal_shirt_fit": "<string>",
        "size_formal_trouser": "<string>",
        "size_formal_trouser_drop": "<string>",
        "size_formal_trouser_leg": "<string>",
        "size_jacket": "<string>",
        "size_pant": "<string>",
        "size_shoe": "<string>",
        "size_type_age": "<string>",
        "size_type_region": "<string>",
        "size_top": "<string>",
        "size_gloves": "<string>",
        "size_swimwear_top": "<string>",
        "size_swimwear_bottom": "<string>",
        "size_swimwear_cup": "<string>",
        "size_dress": "<string>",
        "skin_type": "<string>",
        "measurement_arm": "<string>",
        "measurement_arm_inside": "<string>",
        "measurement_bust": "<string>",
        "measurement_chest": "<string>",
        "measurement_foot_length": "<string>",
        "measurement_head": "<string>",
        "measurement_height": "<string>",
        "measurement_hip": "<string>",
        "measurement_leg_inside": "<string>",
        "measurement_leg_outside": "<string>",
        "measurement_neck": "<string>",
        "measurement_neck_to_wrist": "<string>",
        "measurement_shoulders": "<string>",
        "measurement_waist": "<string>",
        "measurement_weight": "<string>",
        "brow_colour": "<string>",
        "eye_colour": "<string>",
        "measurement_hand_right_thumb": "<string>",
        "measurement_hand_right_index": "<string>",
        "measurement_hand_right_middle": "<string>",
        "measurement_hand_right_ring": "<string>",
        "measurement_hand_right_pinky": "<string>",
        "measurement_hand_left_thumb": "<string>",
        "measurement_hand_left_index": "<string>",
        "measurement_hand_left_middle": "<string>",
        "measurement_hand_left_ring": "<string>",
        "measurement_hand_left_pinky": "<string>",
        "measurement_ear_helix": "<string>",
        "measurement_ear_forward_helix": "<string>",
        "measurement_ear_flat": "<string>",
        "measurement_ear_conch": "<string>",
        "measurement_ear_tragus": "<string>",
        "measurement_ear_lobe": "<string>",
        "created_at": "<string>",
        "updated_at": "<string>"
      },
      "dates": [
        {
          "id": "<string>",
          "profile_id": "<string>",
          "date": "<string>",
          "is_recurring": "<string>",
          "recurring_schedule": "<string>",
          "name": "<string>",
          "handle": "<string>",
          "relationship": "<string>",
          "role": "<string>",
          "description": "<string>",
          "meta": "<string>",
          "note": "<string>",
          "links": [
            {
              "id": "<string>",
              "attributes_date_id": "<string>",
              "profile_id": "<string>",
              "relationship": "<string>",
              "role": "<string>",
              "created_at": "<string>",
              "updated_at": "<string>"
            }
          ],
          "created_at": "<string>",
          "updated_at": "<string>"
        }
      ]
    },
    "statuses": [
      "<unknown>"
    ],
    "statuses_original": [
      {
        "id": "<string>",
        "name": "<string>",
        "handle": "<string>",
        "sort_order": "<string>",
        "description": "<string>",
        "short_description": "<string>",
        "long_description": "<string>",
        "terms_conditions": "<string>",
        "icon": "<string>",
        "image_url": "<string>",
        "earn_instructions": "<string>",
        "colour": "<string>",
        "text_colour": "<string>",
        "primary_colour": "<string>",
        "secondary_colour": "<string>",
        "code": "<string>",
        "internal_notes": "<string>",
        "group_name": "<string>",
        "group_handle": "<string>",
        "timezone": "<string>",
        "period": "<string>",
        "period_type": "<string>",
        "absolute_expiry": "<string>",
        "expires_at": "<string>",
        "is_active": "<string>",
        "created_at": "<string>",
        "updated_at": "<string>"
      }
    ],
    "custom_attributes": {},
    "address": {
      "id": 123,
      "address_line_1": "<string>",
      "address_line_2": "<string>",
      "address_line_3": "<string>",
      "company": "<string>",
      "latitude": 123,
      "longitude": 123,
      "city": "<string>",
      "postcode": "<string>",
      "state": "<string>",
      "country": "<string>",
      "notes": "<string>",
      "external_id": "<string>",
      "is_default": true,
      "created_at": "<string>",
      "updated_at": "<string>",
      "meta": [
        "<unknown>"
      ],
      "name": "<string>",
      "type": "<string>",
      "phone": "<string>",
      "iso": "<string>",
      "iso_state": "<string>",
      "profile_id": "<string>",
      "custom_fields": {}
    },
    "addresses": [
      {
        "id": 123,
        "address_line_1": "<string>",
        "address_line_2": "<string>",
        "address_line_3": "<string>",
        "company": "<string>",
        "latitude": 123,
        "longitude": 123,
        "city": "<string>",
        "postcode": "<string>",
        "state": "<string>",
        "country": "<string>",
        "notes": "<string>",
        "external_id": "<string>",
        "is_default": true,
        "created_at": "<string>",
        "updated_at": "<string>",
        "meta": [
          "<unknown>"
        ],
        "name": "<string>",
        "type": "<string>",
        "phone": "<string>",
        "iso": "<string>",
        "iso_state": "<string>",
        "profile_id": "<string>",
        "custom_fields": {}
      }
    ],
    "reward_balance": "<string>",
    "point_balance": "<string>",
    "benefit_balance": "<string>",
    "credit_balance": "<string>",
    "combined_balance_dollars": "<string>",
    "point_balance_dollars": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>",
    "is_public": true,
    "profile_type": "<string>",
    "created_by": "<string>",
    "region": {
      "id": "<string>",
      "name": "<string>",
      "handle": "<string>",
      "is_active": "<string>",
      "country": "<string>",
      "state": "<string>",
      "created_at": "<string>",
      "updated_at": "<string>"
    },
    "regions": [
      {
        "id": "<string>",
        "name": "<string>",
        "handle": "<string>",
        "is_active": "<string>",
        "country": "<string>",
        "state": "<string>",
        "created_at": "<string>",
        "updated_at": "<string>"
      }
    ],
    "organisations": [
      {
        "id": "<string>",
        "name": "<string>",
        "handle": "<string>",
        "description": "<string>",
        "short_description": "<string>",
        "icon": "<string>",
        "image_url": "<string>",
        "notes": "<string>",
        "type": "<string>",
        "status": "<string>",
        "is_tenant": "<string>",
        "is_active": "<string>",
        "phone": "<string>",
        "email": "<string>",
        "secondary_phone": "<string>",
        "domain": "<string>",
        "authorised_domains": "<string>",
        "role_definition": {
          "id": "<string>",
          "name": "<string>",
          "handle": "<string>",
          "description": "<string>"
        },
        "expires_at": "<string>",
        "created_at": "<string>",
        "updated_at": "<string>"
      }
    ],
    "normal_hours": [
      {
        "id": "<string>",
        "day_of_week": "<string>",
        "is_closed": "<string>",
        "available_from": "<string>",
        "available_until": "<string>"
      }
    ],
    "special_hours": [
      {
        "id": "<string>",
        "name": "<string>",
        "is_repeating": "<string>",
        "is_closed": "<string>",
        "available_from": "<string>",
        "available_until": "<string>",
        "start_at": "<string>",
        "end_at": "<string>"
      }
    ]
  }
}
{
  "message": "<string>"
}
{
  "message": "<string>"
}
{
  "message": "<string>"
}
{
  "message": "<string>",
  "errors": {}
}

Path Parameters

profile
string<uuid>
required

The profile ID

Body

application/json
title
string | null
first_name
string
last_name
string | null
email
string<email>
gender
enum<string> | null
Available options:
male,
female,
withheld,
other
currency
string | null
profile_type
enum<string> | null
Available options:
temporary,
dependant,
incomplete,
system,
pending,
active,
deleted
mobile_phone
string | null
secondary_phone
string | null
birth_day
integer | null
birth_month
integer | null
birth_year
string | null
company
string | null
occupation
string | null
avatar_url
string<uri> | null
joined_location_id
integer
preferred_location_id
integer | null
joined_location_external_id
string
preferred_location_external_code
string | null
joined_location_external_code
string
preferred_location_external_id
string | null
preferred_staff_id
string | null
joined_staff_id
string | null
region_id
integer
region
string
region_country
string | null
region_state
string | null
tags
string[]
statuses
string[]
attributes
object
comms_attributes
object
identities
object[]
custom_attributes
object[]
dates_attributes
object[]
addresses
object[]
regions
object[]
organisations
object[]
normal_hours
object[]
special_hours
object[]

Response

Profile

data
Profile · object
required