Add Profile
curl --request POST \
--url https://api.{tenant}.getomneo.com/api/v3/profiles \
--header 'Content-Type: application/json' \
--data '
{
"first_name": "<string>",
"last_name": "<string>",
"email": "jsmith@example.com",
"title": "<string>",
"currency": "<string>",
"joined_at": "2023-11-07T05:31:56Z",
"mobile_phone": "<string>",
"secondary_phone": "<string>",
"birth_day": 123,
"birth_month": 123,
"birth_year": 123,
"company": "<string>",
"occupation": "<string>",
"avatar_url": "<string>",
"joined_location_id": 123,
"joined_location_external_id": "<string>",
"joined_location_external_code": "<string>",
"preferred_location_id": 123,
"preferred_location_external_id": "<string>",
"preferred_location_external_code": "<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>"
]
},
"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": [
{
"handle": "<string>",
"identifier": "<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,
"external_id": "<string>",
"meta": [
"<string>"
],
"iso": "<string>",
"iso_state": "<string>"
}
],
"regions": [
{
"region_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"
payload = {
"first_name": "<string>",
"last_name": "<string>",
"email": "jsmith@example.com",
"title": "<string>",
"currency": "<string>",
"joined_at": "2023-11-07T05:31:56Z",
"mobile_phone": "<string>",
"secondary_phone": "<string>",
"birth_day": 123,
"birth_month": 123,
"birth_year": 123,
"company": "<string>",
"occupation": "<string>",
"avatar_url": "<string>",
"joined_location_id": 123,
"joined_location_external_id": "<string>",
"joined_location_external_code": "<string>",
"preferred_location_id": 123,
"preferred_location_external_id": "<string>",
"preferred_location_external_code": "<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>"]
},
"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": [
{
"handle": "<string>",
"identifier": "<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,
"external_id": "<string>",
"meta": ["<string>"],
"iso": "<string>",
"iso_state": "<string>"
}
],
"regions": [
{
"region_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.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
first_name: '<string>',
last_name: '<string>',
email: 'jsmith@example.com',
title: '<string>',
currency: '<string>',
joined_at: '2023-11-07T05:31:56Z',
mobile_phone: '<string>',
secondary_phone: '<string>',
birth_day: 123,
birth_month: 123,
birth_year: 123,
company: '<string>',
occupation: '<string>',
avatar_url: '<string>',
joined_location_id: 123,
joined_location_external_id: '<string>',
joined_location_external_code: '<string>',
preferred_location_id: 123,
preferred_location_external_id: '<string>',
preferred_location_external_code: '<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>']
},
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: [{handle: '<string>', identifier: '<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,
external_id: '<string>',
meta: ['<string>'],
iso: '<string>',
iso_state: '<string>'
}
],
regions: [
{
region_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', 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",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'first_name' => '<string>',
'last_name' => '<string>',
'email' => 'jsmith@example.com',
'title' => '<string>',
'currency' => '<string>',
'joined_at' => '2023-11-07T05:31:56Z',
'mobile_phone' => '<string>',
'secondary_phone' => '<string>',
'birth_day' => 123,
'birth_month' => 123,
'birth_year' => 123,
'company' => '<string>',
'occupation' => '<string>',
'avatar_url' => '<string>',
'joined_location_id' => 123,
'joined_location_external_id' => '<string>',
'joined_location_external_code' => '<string>',
'preferred_location_id' => 123,
'preferred_location_external_id' => '<string>',
'preferred_location_external_code' => '<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>'
]
],
'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' => [
[
'handle' => '<string>',
'identifier' => '<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,
'external_id' => '<string>',
'meta' => [
'<string>'
],
'iso' => '<string>',
'iso_state' => '<string>'
]
],
'regions' => [
[
'region_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"
payload := strings.NewReader("{\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"title\": \"<string>\",\n \"currency\": \"<string>\",\n \"joined_at\": \"2023-11-07T05:31:56Z\",\n \"mobile_phone\": \"<string>\",\n \"secondary_phone\": \"<string>\",\n \"birth_day\": 123,\n \"birth_month\": 123,\n \"birth_year\": 123,\n \"company\": \"<string>\",\n \"occupation\": \"<string>\",\n \"avatar_url\": \"<string>\",\n \"joined_location_id\": 123,\n \"joined_location_external_id\": \"<string>\",\n \"joined_location_external_code\": \"<string>\",\n \"preferred_location_id\": 123,\n \"preferred_location_external_id\": \"<string>\",\n \"preferred_location_external_code\": \"<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 },\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 \"handle\": \"<string>\",\n \"identifier\": \"<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 \"external_id\": \"<string>\",\n \"meta\": [\n \"<string>\"\n ],\n \"iso\": \"<string>\",\n \"iso_state\": \"<string>\"\n }\n ],\n \"regions\": [\n {\n \"region_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("POST", 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.post("https://api.{tenant}.getomneo.com/api/v3/profiles")
.header("Content-Type", "application/json")
.body("{\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"title\": \"<string>\",\n \"currency\": \"<string>\",\n \"joined_at\": \"2023-11-07T05:31:56Z\",\n \"mobile_phone\": \"<string>\",\n \"secondary_phone\": \"<string>\",\n \"birth_day\": 123,\n \"birth_month\": 123,\n \"birth_year\": 123,\n \"company\": \"<string>\",\n \"occupation\": \"<string>\",\n \"avatar_url\": \"<string>\",\n \"joined_location_id\": 123,\n \"joined_location_external_id\": \"<string>\",\n \"joined_location_external_code\": \"<string>\",\n \"preferred_location_id\": 123,\n \"preferred_location_external_id\": \"<string>\",\n \"preferred_location_external_code\": \"<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 },\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 \"handle\": \"<string>\",\n \"identifier\": \"<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 \"external_id\": \"<string>\",\n \"meta\": [\n \"<string>\"\n ],\n \"iso\": \"<string>\",\n \"iso_state\": \"<string>\"\n }\n ],\n \"regions\": [\n {\n \"region_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")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"title\": \"<string>\",\n \"currency\": \"<string>\",\n \"joined_at\": \"2023-11-07T05:31:56Z\",\n \"mobile_phone\": \"<string>\",\n \"secondary_phone\": \"<string>\",\n \"birth_day\": 123,\n \"birth_month\": 123,\n \"birth_year\": 123,\n \"company\": \"<string>\",\n \"occupation\": \"<string>\",\n \"avatar_url\": \"<string>\",\n \"joined_location_id\": 123,\n \"joined_location_external_id\": \"<string>\",\n \"joined_location_external_code\": \"<string>\",\n \"preferred_location_id\": 123,\n \"preferred_location_external_id\": \"<string>\",\n \"preferred_location_external_code\": \"<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 },\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 \"handle\": \"<string>\",\n \"identifier\": \"<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 \"external_id\": \"<string>\",\n \"meta\": [\n \"<string>\"\n ],\n \"iso\": \"<string>\",\n \"iso_state\": \"<string>\"\n }\n ],\n \"regions\": [\n {\n \"region_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>",
"errors": {}
}Profile
Add Profile
A POST to the /profiles endpoint allows your application to create a new Profile record.
POST
/
v3
/
profiles
Add Profile
curl --request POST \
--url https://api.{tenant}.getomneo.com/api/v3/profiles \
--header 'Content-Type: application/json' \
--data '
{
"first_name": "<string>",
"last_name": "<string>",
"email": "jsmith@example.com",
"title": "<string>",
"currency": "<string>",
"joined_at": "2023-11-07T05:31:56Z",
"mobile_phone": "<string>",
"secondary_phone": "<string>",
"birth_day": 123,
"birth_month": 123,
"birth_year": 123,
"company": "<string>",
"occupation": "<string>",
"avatar_url": "<string>",
"joined_location_id": 123,
"joined_location_external_id": "<string>",
"joined_location_external_code": "<string>",
"preferred_location_id": 123,
"preferred_location_external_id": "<string>",
"preferred_location_external_code": "<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>"
]
},
"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": [
{
"handle": "<string>",
"identifier": "<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,
"external_id": "<string>",
"meta": [
"<string>"
],
"iso": "<string>",
"iso_state": "<string>"
}
],
"regions": [
{
"region_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"
payload = {
"first_name": "<string>",
"last_name": "<string>",
"email": "jsmith@example.com",
"title": "<string>",
"currency": "<string>",
"joined_at": "2023-11-07T05:31:56Z",
"mobile_phone": "<string>",
"secondary_phone": "<string>",
"birth_day": 123,
"birth_month": 123,
"birth_year": 123,
"company": "<string>",
"occupation": "<string>",
"avatar_url": "<string>",
"joined_location_id": 123,
"joined_location_external_id": "<string>",
"joined_location_external_code": "<string>",
"preferred_location_id": 123,
"preferred_location_external_id": "<string>",
"preferred_location_external_code": "<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>"]
},
"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": [
{
"handle": "<string>",
"identifier": "<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,
"external_id": "<string>",
"meta": ["<string>"],
"iso": "<string>",
"iso_state": "<string>"
}
],
"regions": [
{
"region_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.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
first_name: '<string>',
last_name: '<string>',
email: 'jsmith@example.com',
title: '<string>',
currency: '<string>',
joined_at: '2023-11-07T05:31:56Z',
mobile_phone: '<string>',
secondary_phone: '<string>',
birth_day: 123,
birth_month: 123,
birth_year: 123,
company: '<string>',
occupation: '<string>',
avatar_url: '<string>',
joined_location_id: 123,
joined_location_external_id: '<string>',
joined_location_external_code: '<string>',
preferred_location_id: 123,
preferred_location_external_id: '<string>',
preferred_location_external_code: '<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>']
},
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: [{handle: '<string>', identifier: '<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,
external_id: '<string>',
meta: ['<string>'],
iso: '<string>',
iso_state: '<string>'
}
],
regions: [
{
region_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', 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",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'first_name' => '<string>',
'last_name' => '<string>',
'email' => 'jsmith@example.com',
'title' => '<string>',
'currency' => '<string>',
'joined_at' => '2023-11-07T05:31:56Z',
'mobile_phone' => '<string>',
'secondary_phone' => '<string>',
'birth_day' => 123,
'birth_month' => 123,
'birth_year' => 123,
'company' => '<string>',
'occupation' => '<string>',
'avatar_url' => '<string>',
'joined_location_id' => 123,
'joined_location_external_id' => '<string>',
'joined_location_external_code' => '<string>',
'preferred_location_id' => 123,
'preferred_location_external_id' => '<string>',
'preferred_location_external_code' => '<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>'
]
],
'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' => [
[
'handle' => '<string>',
'identifier' => '<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,
'external_id' => '<string>',
'meta' => [
'<string>'
],
'iso' => '<string>',
'iso_state' => '<string>'
]
],
'regions' => [
[
'region_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"
payload := strings.NewReader("{\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"title\": \"<string>\",\n \"currency\": \"<string>\",\n \"joined_at\": \"2023-11-07T05:31:56Z\",\n \"mobile_phone\": \"<string>\",\n \"secondary_phone\": \"<string>\",\n \"birth_day\": 123,\n \"birth_month\": 123,\n \"birth_year\": 123,\n \"company\": \"<string>\",\n \"occupation\": \"<string>\",\n \"avatar_url\": \"<string>\",\n \"joined_location_id\": 123,\n \"joined_location_external_id\": \"<string>\",\n \"joined_location_external_code\": \"<string>\",\n \"preferred_location_id\": 123,\n \"preferred_location_external_id\": \"<string>\",\n \"preferred_location_external_code\": \"<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 },\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 \"handle\": \"<string>\",\n \"identifier\": \"<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 \"external_id\": \"<string>\",\n \"meta\": [\n \"<string>\"\n ],\n \"iso\": \"<string>\",\n \"iso_state\": \"<string>\"\n }\n ],\n \"regions\": [\n {\n \"region_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("POST", 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.post("https://api.{tenant}.getomneo.com/api/v3/profiles")
.header("Content-Type", "application/json")
.body("{\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"title\": \"<string>\",\n \"currency\": \"<string>\",\n \"joined_at\": \"2023-11-07T05:31:56Z\",\n \"mobile_phone\": \"<string>\",\n \"secondary_phone\": \"<string>\",\n \"birth_day\": 123,\n \"birth_month\": 123,\n \"birth_year\": 123,\n \"company\": \"<string>\",\n \"occupation\": \"<string>\",\n \"avatar_url\": \"<string>\",\n \"joined_location_id\": 123,\n \"joined_location_external_id\": \"<string>\",\n \"joined_location_external_code\": \"<string>\",\n \"preferred_location_id\": 123,\n \"preferred_location_external_id\": \"<string>\",\n \"preferred_location_external_code\": \"<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 },\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 \"handle\": \"<string>\",\n \"identifier\": \"<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 \"external_id\": \"<string>\",\n \"meta\": [\n \"<string>\"\n ],\n \"iso\": \"<string>\",\n \"iso_state\": \"<string>\"\n }\n ],\n \"regions\": [\n {\n \"region_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")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"title\": \"<string>\",\n \"currency\": \"<string>\",\n \"joined_at\": \"2023-11-07T05:31:56Z\",\n \"mobile_phone\": \"<string>\",\n \"secondary_phone\": \"<string>\",\n \"birth_day\": 123,\n \"birth_month\": 123,\n \"birth_year\": 123,\n \"company\": \"<string>\",\n \"occupation\": \"<string>\",\n \"avatar_url\": \"<string>\",\n \"joined_location_id\": 123,\n \"joined_location_external_id\": \"<string>\",\n \"joined_location_external_code\": \"<string>\",\n \"preferred_location_id\": 123,\n \"preferred_location_external_id\": \"<string>\",\n \"preferred_location_external_code\": \"<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 },\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 \"handle\": \"<string>\",\n \"identifier\": \"<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 \"external_id\": \"<string>\",\n \"meta\": [\n \"<string>\"\n ],\n \"iso\": \"<string>\",\n \"iso_state\": \"<string>\"\n }\n ],\n \"regions\": [\n {\n \"region_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>",
"errors": {}
}Body
application/json
Available options:
male, female, withheld, other Available options:
temporary, system, dependant, incomplete, pending, active, deleted Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Response
Profile
Show child attributes
Show child attributes
⌘I