Customers

A Customer represents a guest at a Trybe site.

A Customer is created when a guest creates an account on a Trybe shopfront, places a booking, or is created manually in the Trybe app.

Schema

Attributes

  • The ID of the customer.

  • first_name
    Nullable

    The first name of the customer.

  • last_name
    Nullable

    The last name of the customer.

  • full_name
    Nullable

    The customer's full name

  • phone
    Nullable

    The customer's phone number in E.164 format, or null if not provided.

  • Whether the user has a password

  • dob
    Nullable

    The customer's date of birth in YYYY-MM-DD format, or null if not provided.

  • The ID of the brand this customer belongs to

  • The ID of the site this customer belongs to

  • stripe_id
    Nullable

    The Stripe Customer ID for this customer

  • The Stripe Customer ID for this customer if they also exist in Trybe's legacy Stripe integration

  • email
    Nullable

    The email address of the customer.

    The case of the email address is not preserved, so you'll always see this in lowercase.

  • An array of labels associated with this customer

  • The preferred locale of the customer.

    This must be one of the platform's supported locales, which can be retrieved using the listMetaSupportedLocales endpoint.

  • locked_at
    Nullable

    The datetime which the customer was locked, or null if it has not been locked.

  • The datetime which the customer was created

  • The datetime which the customer was last updated

  • deleted_at
    Nullable

    The datetime which the customer was anonymised, or null if it has not been.

  • The datetime which the customer was last active

  • The datetime which the customer verified their email address

  • A summary of the last check-in event associated with this customer, or null if they have never checked-in.

  • avatar_id
    Nullable

    The media ID of the customer's avatar, or null if one hasn't been provided.

  • avatar
    Nullable

    The media object of the customer's avatar, or null if one hasn't been provided.

  • external_ref
    Nullable

    An external reference for this customer.

""
actionCustomerSearch

Search for customers

Use this endpoint to search for customers.

Query parameters

  • site_id
    Required

    Filter results by the site they belong to

  • query
    Optional

    A general search query to match against customer fields.

  • source
    Optional

    Choose which sources to include in the search.

  • first_name
    Optional

    Filter by first name.

  • last_name
    Optional

    Filter by last name.

  • email
    Optional

    Filter by email address.

Responses

  • 200

    Customer search results

  • 422

    The search query was invalid

GET/shop/customers/search
200
example response
{
  "data": [
    {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "first_name": "Jane",
      "last_name": "Smith",
      "email": "jane.smith@example.com",
      "sources": [
        "trybe",
        "trybe",
        "trybe"
      ],
      "labels": [
        {
          "id": "fcf11391-25f3-2a9b-a4ce-233af833695e",
          "name": "VIP",
          "color": "#FF5733"
        }
      ]
    },
    {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "first_name": "Jane",
      "last_name": "Smith",
      "email": "jane.smith@example.com",
      "sources": [
        "trybe"
      ],
      "labels": [
        {
          "id": "aef09fc5-7659-cf60-cc7b-d10da94ae628",
          "name": "VIP",
          "color": "#FF5733"
        },
        {
          "id": "46dbc959-f99c-107e-653f-dfacfa4182b6",
          "name": "VIP",
          "color": "#FF5733"
        },
        {
          "id": "28143c43-c86d-b187-2e95-30e7c939d476",
          "name": "VIP",
          "color": "#FF5733"
        }
      ]
    }
  ],
  "meta": {
    "sources": []
  }
}
422
example response
{
  "errors": {
    "Duis47": [
      "deserunt",
      "amet mollit nostrud laborum",
      "culpa est laborum mollit",
      "consectetur incididunt",
      "dolor sunt"
    ]
  },
  "message": "The request didn't pass validation"
}
getCustomerStats

Get stats for a single customer across the whole organisation

Use this endpoint to retrieve high-level stats for a single customer.

Path parameters

  • customerId
    Required

    The ID of the customer being accessed.

Responses

  • 200

    Customer stats were found

  • 404

    The customer could not be found

GET/shop/customers/{customerId}/stats
200
example response
{
  "data": {
    "totals": {
      "total_order_value": 38500,
      "average_order_value": 19250,
      "num_orders": 2
    },
    "recent_orders": [
      {
        "id": "6a02cdbb0cb79d0145000123",
        "order_ref": "irure",
        "status": "submitted",
        "num_items": 2,
        "customer": {
          "id": "14f69068-329c-e02d-269f-53409593f504",
          "email": "jane@example.com",
          "first_name": "Jane",
          "last_name": "Jones"
        },
        "sales_channel": {
          "id": "6a02cdbb0cb79d0145000124"
        },
        "totals": {
          "subtotal": 15000,
          "order_discount": 0,
          "total": 15000
        },
        "submitted_at": "1891-02-01T12:47:13.0Z",
        "site": {
          "id": "64770010-42b3-985c-2508-1822bbb8a2a0",
          "name": "Palm Tree Spa"
        }
      },
      {
        "id": "6a02cdbb0cb79d0145000125",
        "order_ref": "mollit exercitation enim velit ut",
        "status": "no_show",
        "num_items": 2,
        "customer": {
          "id": "b5b6164a-3e5d-543c-956e-dc4428b2ddb2",
          "email": "jane@example.com",
          "first_name": "Jane",
          "last_name": "Jones"
        },
        "sales_channel": {
          "id": "6a02cdbb0cb79d0145000126",
          "name": "Website"
        },
        "totals": {
          "subtotal": 15000,
          "order_discount": 0
        },
        "submitted_at": "1892-08-30T14:40:15.0Z",
        "site": {
          "id": "361437d7-7dc0-9588-c63a-ead5c7e2e10c",
          "name": "Palm Tree Spa"
        }
      },
      {
        "id": "6a02cdbb0cb79d0145000127",
        "order_ref": "eiusmod exercitation dolor",
        "status": "submitted",
        "num_items": 2,
        "customer": {
          "id": "e3cfc900-5a5b-99be-d982-7742f6a6fa9c",
          "email": "jane@example.com",
          "first_name": "Jane",
          "last_name": "Jones"
        },
        "sales_channel": {
          "id": "6a02cdbb0cb79d0145000128",
          "name": "Website"
        },
        "totals": {
          "subtotal": 15000,
          "order_discount": 0,
          "total": 15000
        },
        "submitted_at": "1897-06-01T08:46:32.0Z",
        "site": {
          "id": "f9aa4f48-02de-cab2-59f1-1374a1f8b7cb",
          "name": "Palm Tree Spa"
        }
      },
      {
        "id": "6a02cdbb0cb79d0145000129",
        "order_ref": "Ut dolor nisi",
        "status": "settled",
        "num_items": 2,
        "customer": {
          "id": "cd2c80b4-1328-227e-5f3e-5d277e94e4a6",
          "email": "jane@example.com",
          "first_name": "Jane",
          "last_name": "Jones"
        },
        "sales_channel": {
          "id": "6a02cdbb0cb79d014500012a",
          "name": "Website"
        },
        "totals": {
          "subtotal": 15000
        },
        "submitted_at": "1904-05-07T06:59:04.0Z",
        "site": {
          "id": "0e985c45-029f-3575-517e-64a4caafc126",
          "name": "Palm Tree Spa"
        }
      }
    ]
  },
  "meta": {
    "currency": "gbp"
  }
}
404
example response
{
  "message": "The requested resource could not be found"
}
listCustomers

List Customers

This endpoint lists the Customers which are associated to the provided site.

Query parameters

  • Filters customers with a similar name, email or phone number to the given value

  • Filter customers with the given email address

  • Filter customers that belong to the given organisation ID

  • Filter customers that belong to the given brand ID

  • Filter customers that belong to the given site ID

  • Filter customers that have a membership with the given membership number

  • Filter customers with a similar name to the given value

  • Filter customers with the given phone number

  • Filter customers that have at least one membership of the given state. Set to "none" to filter customers that do not have any memberships, "any" to filter customers that have any memberships, and "needs_dd_mandate" for memberships awaiting a Direct Debit mandate or payment method.

  • Filters customers which have at least one membership that was created on or after the given date

  • Filters customers which have at least one membership that was created on or before the given date

  • Filters customers which have at least one membership of the given membership type ID

  • Filters customers which have at least one membership of the given membership rate ID

  • Filters customers who are opted into the given marketing preference ID. Alternatively, pass "any" to filter customers opted into any marketing preference, or "none" to filter customers not opted into any preferences.

  • Filters customers which have the given CustomerLabel ids.

  • Filters to just the customers with the given IDs.

  • page
    Optional

    The page to retrieve results from

  • per_page
    Optional

    The number of results to return per page

Responses

  • 200

    The Customers were successfully retrieved

GET/customers/customers
200
example response
{
  "data": [
    {
      "id": "cbe301cf-c445-6013-d794-ad51a1425327",
      "first_name": "Jane",
      "last_name": "Doe",
      "full_name": "Jane Doe",
      "phone": "+447900000000",
      "has_password": true,
      "dob": "1920-07-08",
      "brand_id": "cca22166-d825-e509-2b7a-80edec04eeca",
      "site_id": "497ee580-fc70-c074-1214-fcc4f514ea4c",
      "stripe_id": "cus_1234567890",
      "express_stripe_id": "cus_1234567890",
      "email": "janedoe@example.com",
      "labels": [
        {
          "id": "9461080b-db1c-d0e9-2f2d-4ee1a3203043",
          "value": "VIP",
          "colour": "ff6634"
        },
        {
          "id": "8260d648-19ba-e896-f82c-cc5e6357beeb",
          "value": "VIP",
          "colour": "ff6634"
        },
        {
          "id": "efa56827-7c94-bf38-76e1-671bb3572053",
          "value": "VIP",
          "colour": "ff6634"
        },
        {
          "id": "a5db32ea-f037-d8aa-aea3-725f54842192",
          "value": "VIP",
          "colour": "ff6634"
        }
      ],
      "preferred_locale": "en",
      "locked_at": "1917-09-29T23:19:33.0Z",
      "created_at": "1925-09-25T08:01:02.0Z",
      "updated_at": "1937-10-16T21:46:09.0Z",
      "deleted_at": "1890-10-11T12:42:01.0Z",
      "last_active_at": "1945-08-19T06:41:05.0Z",
      "email_verified_at": "1958-02-15T06:35:19.0Z",
      "last_check_in": {
        "checked_in_at": "1959-10-15T16:12:17.0Z",
        "method": "Scanned"
      },
      "avatar_id": "000000-000000-000000-000000",
      "avatar": {
        "id": "2adf6cbf-1adc-fc10-7cfc-399144119dad",
        "file_name": "super-cool-photo.jpg",
        "mime_type": "image/jpeg",
        "original_url": "https://example.com/media/super-cool-photo.jpg",
        "size": 84256,
        "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
      },
      "external_ref": "amet minim"
    },
    {
      "id": "2918daf6-480a-cb8a-ef20-c054482f6c83",
      "first_name": "Jane",
      "last_name": "Doe",
      "full_name": "Jane Doe",
      "phone": "+447900000000",
      "has_password": true,
      "dob": "1890-02-18",
      "brand_id": "382b1952-7ac3-19a8-26e7-32e15a995b48",
      "site_id": "2e45ce3e-d9f0-300a-08d6-fc953b058dba",
      "stripe_id": "cus_1234567890",
      "express_stripe_id": "cus_1234567890",
      "email": "janedoe@example.com",
      "labels": [
        {
          "id": "31127d55-5b2c-c23e-3eae-6803ec5e6e9c",
          "value": "VIP",
          "colour": "ff6634"
        },
        {
          "id": "1cd8ca0b-9a45-7f55-41e7-c2dab57770fd",
          "value": "VIP",
          "colour": "ff6634"
        },
        {
          "id": "e734e30b-4a42-7087-71d4-570e0ce93d31",
          "value": "VIP",
          "colour": "ff6634"
        },
        {
          "id": "97a6e69a-e1eb-c445-b284-eca4ff0433c0",
          "value": "VIP",
          "colour": "ff6634"
        },
        {
          "id": "fdb1a5f1-ec16-224d-cfd0-a49af8d932c3",
          "value": "VIP",
          "colour": "ff6634"
        }
      ],
      "preferred_locale": "en",
      "locked_at": "1918-08-16T18:57:04.0Z",
      "created_at": "1907-11-27T15:28:14.0Z",
      "updated_at": "1904-02-03T02:08:44.0Z",
      "deleted_at": "1915-12-25T17:17:22.0Z",
      "last_active_at": "1930-03-07T20:01:21.0Z",
      "email_verified_at": "1942-10-15T05:21:14.0Z",
      "last_check_in": {
        "checked_in_at": "1954-01-21T07:15:24.0Z",
        "method": "Scanned"
      },
      "avatar_id": "000000-000000-000000-000000",
      "avatar": {
        "id": "36b77a83-a7c4-74a1-e176-191d37f4123e",
        "file_name": "super-cool-photo.jpg",
        "mime_type": "image/jpeg",
        "original_url": "https://example.com/media/super-cool-photo.jpg",
        "size": 84256,
        "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
      },
      "external_ref": "in incididunt in"
    },
    {
      "id": "cbc9e40d-945c-a03e-bc76-3d36bb67be50",
      "first_name": "Jane",
      "last_name": "Doe",
      "full_name": "Jane Doe",
      "phone": "+447900000000",
      "has_password": true,
      "dob": "1922-05-27",
      "brand_id": "c37b748d-44b5-d67b-8b61-3ca07fbaf103",
      "site_id": "0e7023cb-8b77-5c6f-4240-e0f6b635b64d",
      "stripe_id": "cus_1234567890",
      "express_stripe_id": "cus_1234567890",
      "email": "janedoe@example.com",
      "labels": [
        {
          "id": "f5298e8d-82ff-4f6a-c677-34d5771575c9",
          "value": "VIP",
          "colour": "ff6634"
        },
        {
          "id": "8962c6ed-de44-1180-a0f0-ea3829b05021",
          "value": "VIP",
          "colour": "ff6634"
        }
      ],
      "preferred_locale": "en",
      "locked_at": "1960-06-21T10:26:14.0Z",
      "created_at": "1915-12-22T04:02:58.0Z",
      "updated_at": "1906-07-16T18:01:17.0Z",
      "deleted_at": "1966-06-19T09:05:15.0Z",
      "last_active_at": "1922-04-13T14:16:55.0Z",
      "email_verified_at": "1940-02-11T20:15:16.0Z",
      "last_check_in": {
        "checked_in_at": "1910-05-07T12:31:48.0Z",
        "method": "Scanned"
      },
      "avatar_id": "000000-000000-000000-000000",
      "avatar": {
        "id": "654ff8fd-669c-9288-2737-974cfa4cdea7",
        "file_name": "super-cool-photo.jpg",
        "mime_type": "image/jpeg",
        "original_url": "https://example.com/media/super-cool-photo.jpg",
        "size": 84256,
        "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
      },
      "external_ref": "esse"
    },
    {
      "id": "dc2c6f5a-3277-0151-407e-94f1b606c01b",
      "first_name": "Jane",
      "last_name": "Doe",
      "full_name": "Jane Doe",
      "phone": "+447900000000",
      "has_password": true,
      "dob": "1921-11-17",
      "brand_id": "9d460df2-968d-bf88-01e5-d251a7ff36a0",
      "site_id": "aaff194f-c2d3-8b09-6164-bbdc92b91d08",
      "stripe_id": "cus_1234567890",
      "express_stripe_id": "cus_1234567890",
      "email": "janedoe@example.com",
      "labels": [
        {
          "id": "ec13dc76-b6e1-7d0a-5c20-27271638363d",
          "value": "VIP",
          "colour": "ff6634"
        },
        {
          "id": "235e98ff-b94a-b4ae-51f6-03043fe758dd",
          "value": "VIP",
          "colour": "ff6634"
        }
      ],
      "preferred_locale": "en",
      "locked_at": "1955-10-19T11:05:11.0Z",
      "created_at": "1969-01-23T05:40:41.0Z",
      "updated_at": "1912-05-30T06:21:38.0Z",
      "deleted_at": "1949-11-23T05:52:41.0Z",
      "last_active_at": "1946-09-04T08:46:18.0Z",
      "email_verified_at": "1918-08-09T18:33:13.0Z",
      "last_check_in": {
        "checked_in_at": "1890-06-18T13:20:51.0Z",
        "method": "Scanned"
      },
      "avatar_id": "000000-000000-000000-000000",
      "avatar": {
        "id": "a4824e06-ba6b-6be3-6660-dd2684b8980d",
        "file_name": "super-cool-photo.jpg",
        "mime_type": "image/jpeg",
        "original_url": "https://example.com/media/super-cool-photo.jpg",
        "size": 84256,
        "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
      },
      "external_ref": "proident"
    }
  ],
  "meta": {
    "from": 1,
    "to": 2,
    "total": 2,
    "current_page": 1,
    "last_page": 2,
    "per_page": 15,
    "path": "http://example.com/api"
  },
  "links": {
    "first": "http://example.com?page=1",
    "next": "https://example.com?page=3",
    "prev": "https://example.com?page=1",
    "last": "https://example.com?page=4"
  }
}
createCustomer

Create a Customer

Use this endpoint to create a new Customer.

When creating a new Customer, you must specify at least one of the following fields along with any other fields marked as required:

  • email
  • first_name
  • last_name

Request body

  • site_id
    Required

    The ID of the site this customer belongs to

  • first_name
    Nullable

    The first name of the customer.

  • last_name
    Nullable

    The last name of the customer.

  • phone
    Nullable

    The customer's phone number in E.164 format, or null if not provided.

  • dob
    Nullable

    The customer's date of birth in YYYY-MM-DD format, or null if not provided.

  • email
    Nullable

    The email address of the customer.

    The case of the email address is not preserved, so you'll always see this in lowercase.

  • The customer's password. This must be at least 8 characters long

  • An array of marketing preference IDs to opt the customer in to

  • external_ref
    Nullable

    An external reference for this customer.

  • The guestline reference for this customer.

  • The preferred locale of the customer.

    This must be one of the platform's supported locales, which can be retrieved using the listMetaSupportedLocales endpoint.

Responses

  • 201

    The Customer was successfully retrieved

POST/customers/customers
201
example response
{
  "data": {
    "id": "d8f84ed2-c1af-6671-9c36-42ccd1b9190c",
    "first_name": "Jane",
    "last_name": "Doe",
    "full_name": "Jane Doe",
    "phone": "+447900000000",
    "has_password": true,
    "dob": "1964-05-30",
    "brand_id": "3b507f43-1b47-c01c-48ab-497fe9b432c2",
    "site_id": "c54930eb-895a-ef5e-3e55-d18cae865eeb",
    "stripe_id": "cus_1234567890",
    "express_stripe_id": "cus_1234567890",
    "email": "janedoe@example.com",
    "labels": [
      {
        "id": "db567b73-a21b-0507-f3b8-711f421438a7",
        "value": "VIP",
        "colour": "ff6634"
      },
      {
        "id": "aab0203b-bcf5-c1d3-9b30-4f5e085054fc",
        "value": "VIP",
        "colour": "ff6634"
      },
      {
        "id": "031568e7-10f9-5f7f-f6fb-b833b972909d",
        "value": "VIP",
        "colour": "ff6634"
      },
      {
        "id": "1917b7de-8cb4-f875-33cf-a312382acb53",
        "value": "VIP",
        "colour": "ff6634"
      }
    ],
    "preferred_locale": "en",
    "locked_at": "1921-07-21T02:25:51.0Z",
    "created_at": "1936-03-30T15:54:06.0Z",
    "updated_at": "1898-07-06T05:42:43.0Z",
    "deleted_at": "1924-06-07T11:20:39.0Z",
    "last_active_at": "1894-06-28T07:51:18.0Z",
    "email_verified_at": "1909-09-12T05:54:52.0Z",
    "last_check_in": {
      "checked_in_at": "1916-11-23T19:32:21.0Z",
      "method": "Scanned"
    },
    "avatar_id": "000000-000000-000000-000000",
    "avatar": {
      "id": "da76a261-c801-101a-c5ab-dd5234744061",
      "file_name": "super-cool-photo.jpg",
      "mime_type": "image/jpeg",
      "original_url": "https://example.com/media/super-cool-photo.jpg",
      "size": 84256,
      "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
    },
    "external_ref": "ad incididunt id"
  }
}
getCustomer

Show a Customer

Use this endpoint to retrieve a Customer by their ID.

Path parameters

Responses

  • 200

    The Customer was successfully retrieved

  • 404

    The resource couldn't be found

GET/customers/customers/{customerId}
200
example response
{
  "data": {
    "id": "bd0c500b-15d7-0518-3afa-05b4cbce8485",
    "first_name": "Jane",
    "last_name": "Doe",
    "full_name": "Jane Doe",
    "phone": "+447900000000",
    "has_password": true,
    "dob": "1965-10-13",
    "brand_id": "e5c90aca-eabf-23cf-be80-636aa55c468d",
    "site_id": "7ee722dc-8f4e-70eb-05a6-f557b787b6d3",
    "stripe_id": "cus_1234567890",
    "express_stripe_id": "cus_1234567890",
    "email": "janedoe@example.com",
    "labels": [
      {
        "id": "89fbf565-c010-a75e-910a-929436899149",
        "value": "VIP",
        "colour": "ff6634"
      },
      {
        "id": "1d985908-eded-30b7-764e-2af3d5fc806c",
        "value": "VIP",
        "colour": "ff6634"
      },
      {
        "id": "61da9af2-5813-07df-c603-377c53aeed99",
        "value": "VIP",
        "colour": "ff6634"
      },
      {
        "id": "ca8ed7c6-d132-77bc-474a-ef23abcf5568",
        "value": "VIP",
        "colour": "ff6634"
      }
    ],
    "preferred_locale": "en",
    "locked_at": "1896-03-27T03:43:39.0Z",
    "created_at": "1904-04-11T18:40:20.0Z",
    "updated_at": "1913-06-10T16:19:59.0Z",
    "deleted_at": "1912-01-30T19:13:45.0Z",
    "last_active_at": "1968-03-10T07:45:54.0Z",
    "email_verified_at": "1892-07-07T12:07:44.0Z",
    "last_check_in": {
      "checked_in_at": "1893-12-15T11:01:50.0Z",
      "method": "Scanned"
    },
    "avatar_id": "000000-000000-000000-000000",
    "avatar": {
      "id": "3d643a2b-a5b7-d1b4-1edd-345f3cb8250c",
      "file_name": "super-cool-photo.jpg",
      "mime_type": "image/jpeg",
      "original_url": "https://example.com/media/super-cool-photo.jpg",
      "size": 84256,
      "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
    },
    "external_ref": "deserunt nostrud"
  }
}
404
example response
{
  "message": "The requested resource could not be found"
}
updateCustomer

Update a Customer

Use this endpoint to update an existing Customer.

Path parameters

Request body

  • first_name
    Nullable

    The first name of the customer.

  • last_name
    Nullable

    The last name of the customer.

  • phone
    Nullable

    The customer's phone number in E.164 format, or null if not provided.

  • dob
    Nullable

    The customer's date of birth in YYYY-MM-DD format, or null if not provided.

  • The customer's password. This must be at least 8 characters long

  • external_ref
    Nullable

    An external reference for this customer.

  • The preferred locale of the customer.

    This must be one of the platform's supported locales, which can be retrieved using the listMetaSupportedLocales endpoint.

Responses

  • 201

    The Customer was successfully retrieved

  • 404

    The resource couldn't be found

PUT/customers/customers/{customerId}
201
example response
{
  "data": {
    "id": "7c60b130-2ce8-9a2f-59f9-776929aa4f86",
    "first_name": "Jane",
    "last_name": "Doe",
    "full_name": "Jane Doe",
    "phone": "+447900000000",
    "has_password": true,
    "dob": "1945-10-23",
    "brand_id": "20c54ab7-efbc-9e95-50f0-4c82083eff5e",
    "site_id": "f91725d4-4c8c-9526-84dd-7299e282440b",
    "stripe_id": "cus_1234567890",
    "express_stripe_id": "cus_1234567890",
    "email": "janedoe@example.com",
    "labels": [
      {
        "id": "9d533a85-27c1-aa9d-3dd2-2914bbfc907c",
        "value": "VIP",
        "colour": "ff6634"
      }
    ],
    "preferred_locale": "en",
    "locked_at": "1954-10-25T07:46:31.0Z",
    "created_at": "1961-11-11T04:35:54.0Z",
    "updated_at": "1941-09-05T18:25:09.0Z",
    "deleted_at": "1961-12-19T19:16:26.0Z",
    "last_active_at": "1922-02-16T16:28:27.0Z",
    "email_verified_at": "1925-07-03T16:41:45.0Z",
    "last_check_in": {
      "checked_in_at": "1962-07-18T06:31:37.0Z",
      "method": "Scanned"
    },
    "avatar_id": "000000-000000-000000-000000",
    "avatar": {
      "id": "54bacb11-1ef6-e61f-30cb-a7d46b7b7a4e",
      "file_name": "super-cool-photo.jpg",
      "mime_type": "image/jpeg",
      "original_url": "https://example.com/media/super-cool-photo.jpg",
      "size": 84256,
      "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
    },
    "external_ref": "non deserunt eu"
  }
}
404
example response
{
  "message": "The requested resource could not be found"
}
listAssociatedBarcodes

List Associated Barcodes for a Customer

This endpoint retrieves all barcodes associated with a customer.

Path parameters

Responses

  • 200

    The barcodes associated with the customer were successfully retrieved

GET/shop/customers/{customerId}/barcodes
200
example response
{
  "data": [
    {
      "id": "e2e18314-6ccc-eb88-0120-567387114e70",
      "customer_id": "47ca2262-fcc8-1baa-27df-92b53a7205e1",
      "customer": {
        "id": "bb64fa56-f60d-50a9-0c27-f14ac51eb899",
        "first_name": "Jane",
        "last_name": "Doe",
        "full_name": "Jane Doe",
        "phone": "+447900000000",
        "has_password": true,
        "dob": "1930-09-22",
        "brand_id": "07b9723f-14eb-1f16-d640-b7415c4fa6c2",
        "site_id": "3751adba-3308-d5b2-c2bf-49f4aaad3e40",
        "stripe_id": "cus_1234567890",
        "express_stripe_id": "cus_1234567890",
        "email": "janedoe@example.com",
        "labels": [
          {
            "id": "a5de42af-b943-6d46-ea5c-e38d471f436b",
            "value": "VIP",
            "colour": "ff6634"
          },
          {
            "id": "cbe62a8d-4d32-ad2e-625a-c82709a1db2a",
            "value": "VIP",
            "colour": "ff6634"
          },
          {
            "id": "3ada3e27-15d8-9542-ffee-9e4767d125d2",
            "value": "VIP",
            "colour": "ff6634"
          }
        ],
        "preferred_locale": "en",
        "locked_at": "1925-12-14T22:36:27.0Z",
        "created_at": "1935-03-24T07:39:34.0Z",
        "updated_at": "1893-09-10T11:37:03.0Z",
        "deleted_at": "1963-04-24T22:38:41.0Z",
        "last_active_at": "1967-08-13T07:15:08.0Z",
        "email_verified_at": "1930-03-18T01:35:53.0Z",
        "last_check_in": {
          "checked_in_at": "1952-12-24T08:30:37.0Z",
          "method": "Scanned"
        },
        "avatar_id": "000000-000000-000000-000000",
        "avatar": {
          "id": "c305c2d7-87d5-4448-e2bd-236518b3b470",
          "file_name": "super-cool-photo.jpg",
          "mime_type": "image/jpeg",
          "original_url": "https://example.com/media/super-cool-photo.jpg",
          "size": 84256,
          "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
        },
        "external_ref": "dolore"
      },
      "barcode": "labore pariatur ullamco dolor ut",
      "expires_at": "1896-06-26T19:55:33.0Z",
      "brand_id": "52776ed3-fd77-0d81-6ed8-7b71f05d1794",
      "site_id": "442d089c-525c-a2a8-387d-dc7834738b03",
      "organisation_id": "a1770fd8-b784-f377-7df7-47b3fd67eee2",
      "source": "kiosk",
      "order": {
        "id": "6a02cdbb0cb79d014500012b",
        "applied_promo_code": {
          "id": "6a02cdbb0cb79d014500012c",
          "applied_at": "2023-11-15T12:01:01.0Z",
          "applied_by": {
            "id": "6a02cdbb0cb79d014500012d",
            "avatar": {
              "id": "1a16df90-178f-b9d9-9a04-c592224a575b",
              "file_name": "super-cool-photo.jpg",
              "mime_type": "image/jpeg",
              "original_url": "https://example.com/media/super-cool-photo.jpg",
              "size": 84256,
              "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
            },
            "email": "zRWi@PfcgZwlRqCxvgxClnKkubziGQHmWam.wmol",
            "first_name": "Jane",
            "full_name": "Jane Smith",
            "last_name": "Smith"
          },
          "code": "FIVEOFF",
          "discount_total": 2000,
          "is_discount_applied": true,
          "percentage": 10
        },
        "applied_promo_code_discount_total": 69348079,
        "applied_promo_code_id": "6a02cdbb0cb79d014500012e",
        "booking_items": [
          {
            "id": "6a02cdbb0cb79d014500012f",
            "added_by_customer": false,
            "base_price": -78198119,
            "booking_reserved_until": "1923-11-16T05:51:47.0Z",
            "booking_summary": {
              "id": "6a02cdbb0cb79d0145000130",
              "duration": -84350949,
              "end_time": "1968-05-27T05:04:27.0Z",
              "offering": {
                "id": "6a02cdbb0cb79d0145000131",
                "name": "30 Minute Massage",
                "type": "appointment",
                "product_code": "Lorem"
              },
              "start_time": "1944-05-13T11:24:24.0Z",
              "status": "reserved",
              "created_at": "2025-02-04T12:01:01.0Z",
              "updated_at": "2025-02-04T12:01:01.0Z"
            },
            "date": "1965-08-14",
            "discount_amount": -11675209,
            "discounts": [
              {
                "id": "6a02cdbb0cb79d0145000132",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1926-05-16T05:27:03.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d0145000133",
                  "avatar": {
                    "id": "66cac35f-1276-0548-0c68-8d07249c66f9",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "akYis9V@OdAc.zhc",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d0145000134",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "8c1c5192-673d-2d4b-dcf2-7387dea18f03"
                },
                "coupon_code_id": "6a02cdbb0cb79d0145000135",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "738ba354-e955-e575-fcf9-494f833d0f51"
              }
            ],
            "exclusive_tax_amount": 46289539,
            "guest": {
              "id": "6a02cdbb0cb79d0145000136",
              "checked_in_at": "1900-10-17T07:39:12.0Z",
              "checked_out_at": "1910-01-04T13:52:10.0Z",
              "customer_id": "8a8a55a4-3cf6-b0e9-c74c-44061ea3b432",
              "email": "ScWTEO0SRG474C@nGrIWNjksQnfBMKuHITGdGWyFU.em",
              "first_name": "Jane",
              "intake_form_submission_id": "6a02cdbb0cb79d0145000137",
              "intake_form_complete": true,
              "is_lead_booker": true,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            "guests": [
              {
                "id": "6a02cdbb0cb79d0145000138",
                "checked_in_at": "1960-11-18T19:11:46.0Z",
                "checked_out_at": "1928-03-06T19:19:08.0Z",
                "customer_id": "7c12fcac-e60c-9437-e705-42e97ebc7f20",
                "email": "UJalthILYhtb@ifrxliUqZBNb.hgqx",
                "first_name": "Jane",
                "intake_form_submission_id": "6a02cdbb0cb79d0145000139",
                "intake_form_complete": false,
                "is_lead_booker": true,
                "last_name": "Doe",
                "name": "Jane Doe"
              }
            ],
            "inclusive_tax_amount": 23966697,
            "is_modifiable": true,
            "item_type": "dolor",
            "net_total": 44758756,
            "order_discount_amount": 90438563,
            "price": 81632058,
            "sold_by": {
              "id": "ipsum",
              "name": "ad mollit id Duis",
              "type": ""
            },
            "status": "pending_confirmation",
            "total_cost": 73642550,
            "type_id": "6a02cdbb0cb79d014500013a",
            "type_name": "et sunt incididunt eu id",
            "type_product_code": "fugiat consectetur laboris in",
            "created_at": "2025-02-04T12:01:01.0Z",
            "updated_at": "2025-02-04T12:01:01.0Z"
          },
          {
            "id": "6a02cdbb0cb79d014500013b",
            "added_by_customer": true,
            "base_price": 99071429,
            "booking_reserved_until": "1963-06-12T15:34:18.0Z",
            "booking_summary": {
              "id": "6a02cdbb0cb79d014500013c",
              "duration": -18964850,
              "end_time": "1945-01-08T09:52:34.0Z",
              "equipment": [
                {
                  "id": "6a02cdbb0cb79d014500013d",
                  "name": "Hot Rocks"
                },
                {
                  "id": "6a02cdbb0cb79d014500013e",
                  "name": "Hot Rocks"
                },
                {
                  "id": "6a02cdbb0cb79d014500013f",
                  "name": "Hot Rocks"
                },
                {
                  "id": "6a02cdbb0cb79d0145000140",
                  "name": "Hot Rocks"
                },
                {
                  "id": "6a02cdbb0cb79d0145000141",
                  "name": "Hot Rocks"
                }
              ],
              "equipment_ids": [
                "6a02cdbb0cb79d0145000142"
              ],
              "offering": {
                "id": "6a02cdbb0cb79d0145000143",
                "name": "30 Minute Massage",
                "type": "appointment",
                "product_code": "non esse qui"
              },
              "practitioners": [
                {
                  "id": "5dcb47800000000000000000",
                  "name": "Jane Doe"
                },
                {
                  "id": "5dcb47800000000000000000",
                  "name": "Jane Doe"
                }
              ],
              "practitioner_ids": [
                "6a02cdbb0cb79d0145000144",
                "6a02cdbb0cb79d0145000145",
                "6a02cdbb0cb79d0145000146",
                "6a02cdbb0cb79d0145000147",
                "6a02cdbb0cb79d0145000148"
              ],
              "practitioner_was_requested": true,
              "room": {
                "id": "5dcb47800000000000000000",
                "capacity": 72201342,
                "name": "aliquip dolor sint"
              },
              "room_id": "6a02cdbb0cb79d0145000149",
              "room_was_requested": true,
              "session_id": "6a02cdbb0cb79d014500014a",
              "start_time": "1933-11-27T04:24:55.0Z",
              "status": "pending_confirmation",
              "created_at": "2025-02-04T12:01:01.0Z",
              "updated_at": "2025-02-04T12:01:01.0Z"
            },
            "date": "1968-10-07",
            "discount_amount": -66595760,
            "discounts": [
              {
                "id": "6a02cdbb0cb79d014500014b",
                "amount_type": "percentage",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1914-11-26T03:20:55.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d014500014c",
                  "avatar": {
                    "id": "04d04e2b-5d49-f2b5-7dbd-31efde030150",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "597L@mBgHqhhZEwTbpJmqoRuT.xqim",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d014500014d",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "1872aa99-44b0-7ec2-ae0f-132d42d73ff7"
                },
                "coupon_code_id": "6a02cdbb0cb79d014500014e",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "b571939b-1412-f5e4-894d-cce599516104"
              },
              {
                "id": "6a02cdbb0cb79d014500014f",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1947-10-12T10:13:18.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d0145000150",
                  "avatar": {
                    "id": "d27aa9b3-d2be-6226-f59d-34cb66c7a86e",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "jH2dLNqMpHYY@GdqttTivFOoSrvCTnqULGUO.wxi",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d0145000151",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "11c2b806-da6c-df16-db61-0dd6998f3b83"
                },
                "coupon_code_id": "6a02cdbb0cb79d0145000152",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "e55812d7-0c1f-7bf9-a55f-b97367ca3ee0"
              },
              {
                "id": "6a02cdbb0cb79d0145000153",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1896-02-03T07:18:38.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d0145000154",
                  "avatar": {
                    "id": "8d861672-677d-064c-44a6-3115cf1c9e1e",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "GNOUweN7-8@ZwBunifWYmlo.eqgl",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d0145000155",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "89a37db1-835e-873f-7e43-d9aae77ead94"
                },
                "coupon_code_id": "6a02cdbb0cb79d0145000156",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "f82f0fa5-6e28-8d2b-1484-1dd9b568ccc8"
              }
            ],
            "exclusive_tax_amount": 4559225,
            "guest": {
              "id": "6a02cdbb0cb79d0145000157",
              "checked_in_at": "1946-06-23T11:57:13.0Z",
              "checked_out_at": "1915-03-29T06:40:42.0Z",
              "customer_id": "6f9f2c6e-050c-fbab-f5c8-1986af739163",
              "email": "4p1nYAPYPjwoWY@OrnhVwGoJk.krso",
              "first_name": "Jane",
              "intake_form_submission_id": "6a02cdbb0cb79d0145000158",
              "intake_form_complete": false,
              "is_lead_booker": false,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            "guests": [
              {
                "id": "6a02cdbb0cb79d0145000159",
                "checked_in_at": "1911-02-06T01:32:03.0Z",
                "checked_out_at": "1967-05-21T23:59:58.0Z",
                "customer_id": "95f9a73a-ce9f-ba4f-f3c3-4ff417315906",
                "email": "fFEYZ@DKPdSQtQaETqcxgmhjtGOokO.efi",
                "first_name": "Jane",
                "intake_form_submission_id": "6a02cdbb0cb79d014500015a",
                "intake_form_complete": true,
                "is_lead_booker": true,
                "last_name": "Doe",
                "name": "Jane Doe"
              },
              {
                "id": "6a02cdbb0cb79d014500015b",
                "checked_in_at": "1891-03-07T16:18:56.0Z",
                "checked_out_at": "1908-05-11T02:11:48.0Z",
                "customer_id": "9d2d252d-9826-5da7-eaba-0e388fce368b",
                "first_name": "Jane",
                "intake_form_submission_id": "6a02cdbb0cb79d014500015c",
                "intake_form_complete": false,
                "is_lead_booker": true,
                "last_name": "Doe",
                "name": "Jane Doe"
              },
              {
                "id": "6a02cdbb0cb79d014500015d",
                "checked_in_at": "1920-03-08T01:49:51.0Z",
                "checked_out_at": "1951-10-03T05:19:56.0Z",
                "customer_id": "2e486aec-538d-5ac4-bc09-df5b5d515890",
                "email": "8GyC4Q-Fy@yMcXTEqNfnoPnbNX.mpx",
                "first_name": "Jane",
                "intake_form_submission_id": "6a02cdbb0cb79d014500015e",
                "intake_form_complete": false,
                "is_lead_booker": true,
                "last_name": "Doe",
                "name": "Jane Doe"
              },
              {
                "id": "6a02cdbb0cb79d014500015f",
                "checked_in_at": "1959-01-14T13:06:16.0Z",
                "checked_out_at": "1967-04-19T10:42:17.0Z",
                "customer_id": "d89bcada-3b48-dd3a-2f3a-b76db63a283d",
                "email": "f1qE9aXfI-rZXL@nmVOgKXbGZfeNpzYsEtIbZV.yi",
                "first_name": "Jane",
                "intake_form_submission_id": "6a02cdbb0cb79d0145000160",
                "intake_form_complete": false,
                "is_lead_booker": true,
                "last_name": "Doe",
                "name": "Jane Doe"
              }
            ],
            "inclusive_tax_amount": 36585951,
            "is_modifiable": false,
            "item_type": "incididunt",
            "net_total": -30199987,
            "order_discount_amount": -48581201,
            "price": -14193500,
            "sold_by": {
              "id": "velit proident amet",
              "name": "nisi",
              "type": "user"
            },
            "status": "pending_confirmation",
            "total_cost": -89965323,
            "type_id": "6a02cdbb0cb79d0145000161",
            "type_name": "do",
            "type_product_code": "in",
            "created_at": "2025-02-04T12:01:01.0Z",
            "updated_at": "2025-02-04T12:01:01.0Z"
          },
          {
            "id": "6a02cdbb0cb79d0145000162",
            "added_by_customer": true,
            "base_price": 80228550,
            "booking_summary": {
              "id": "6a02cdbb0cb79d0145000163",
              "area_ids": [],
              "areas": [
                {
                  "id": "6a02cdbb0cb79d0145000164",
                  "name": "Hot Tub 1"
                },
                {
                  "id": "6a02cdbb0cb79d0145000165",
                  "name": "Hot Tub 1"
                },
                {
                  "id": "6a02cdbb0cb79d0145000166",
                  "name": "Hot Tub 1"
                },
                {
                  "id": "6a02cdbb0cb79d0145000167",
                  "name": "Hot Tub 1"
                },
                {
                  "id": "6a02cdbb0cb79d0145000168",
                  "name": "Hot Tub 1"
                }
              ],
              "duration": -2658707,
              "end_time": "1926-07-06T17:41:29.0Z",
              "offering": {
                "id": "6a02cdbb0cb79d0145000169",
                "name": "30 Minute Massage",
                "type": "appointment",
                "product_code": "ex"
              },
              "start_time": "1962-09-02T04:01:51.0Z",
              "status": "cancelled",
              "created_at": "2025-02-04T12:01:01.0Z",
              "updated_at": "2025-02-04T12:01:01.0Z"
            },
            "date": "1923-10-30",
            "discount_amount": -79379311,
            "discounts": [
              {
                "id": "6a02cdbb0cb79d014500016a",
                "amount_type": "percentage",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1964-10-11T04:47:24.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d014500016b",
                  "email": "RphJ@YXoWWx.jnxt",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d014500016c",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "f0952cf7-9781-f54a-4e0e-f672673a87d9"
                },
                "coupon_code_id": "6a02cdbb0cb79d014500016d",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "61c6aaba-e625-8582-ac95-c40329410d3a"
              },
              {
                "id": "6a02cdbb0cb79d014500016e",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1933-02-09T12:24:40.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d014500016f",
                  "avatar": {
                    "id": "b95d97c4-793b-1748-b73b-fa8f2340e40d",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "bUjsK4XsafbrXoe@giWHmeJCjnOUh.zkdo",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d0145000170",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "821473d7-6eb2-7ac5-5d51-3a87e0cc2c9a"
                },
                "coupon_code_id": "6a02cdbb0cb79d0145000171",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "618693f8-e661-c93e-8de0-31b5b04373ac"
              }
            ],
            "exclusive_tax_amount": -57284537,
            "guests": [],
            "inclusive_tax_amount": 98954411,
            "is_modifiable": false,
            "item_type": "cillum dolore in anim",
            "net_total": -89167232,
            "order_discount_amount": -7466724,
            "price": -33358617,
            "sold_by": {
              "id": "id tempor nulla",
              "name": "ex",
              "type": ""
            },
            "status": "reserved",
            "total_cost": -32006168,
            "type_id": "6a02cdbb0cb79d0145000172",
            "type_name": "non in cillum reprehenderit",
            "type_product_code": "nisi cillum ad ut sed",
            "created_at": "2025-02-04T12:01:01.0Z",
            "updated_at": "2025-02-04T12:01:01.0Z"
          }
        ],
        "booking_items_end_date": "1902-06-17",
        "booking_items_start_date": "1898-11-16",
        "booking_items_span_multiple_days": true,
        "coupon_codes": [],
        "currency": "gbp",
        "customer_id": "37eedb0d-832d-e423-d28a-2815aec72a61",
        "customer_tax_details": {
          "legal_name": "Jane Jones",
          "tax_id": "GB1234567",
          "address_line_1": "1 Davey Street",
          "address_line_2": "Clapham",
          "postcode": "SW4 1AA"
        },
        "discount_total": 100,
        "discounts": [],
        "email": "janedoe@example.com",
        "external_ids": [
          {
            "key": "pms_id",
            "name": "PMS ID",
            "value": "pms_1234"
          }
        ],
        "external_ref": "ABC-123",
        "external_visit_ref": "RES1234",
        "first_name": "Jane",
        "guests": [
          {
            "id": "6a02cdbb0cb79d0145000173",
            "checked_in_at": "1944-05-03T18:35:31.0Z",
            "checked_out_at": "1947-08-25T18:45:51.0Z",
            "customer_id": "83876736-bafd-5539-e37f-637d2f30c52e",
            "email": "1IPqFTd75NPM@SAUwYrsYmTKtvIq.knvl",
            "first_name": "Jane",
            "intake_form_submission_id": "6a02cdbb0cb79d0145000174",
            "intake_form_complete": false,
            "is_lead_booker": true,
            "last_name": "Doe",
            "name": "Jane Doe"
          },
          {
            "id": "6a02cdbb0cb79d0145000175",
            "checked_in_at": "1912-02-08T11:50:57.0Z",
            "checked_out_at": "1951-09-17T01:58:14.0Z",
            "customer_id": "a1c91207-4ac9-56e4-4a35-9cab01a570e3",
            "first_name": "Jane",
            "intake_form_complete": true,
            "is_lead_booker": true,
            "last_name": "Doe",
            "name": "Jane Doe"
          },
          {
            "id": "6a02cdbb0cb79d0145000176",
            "checked_in_at": "1955-12-31T12:09:24.0Z",
            "checked_out_at": "1920-11-06T04:39:23.0Z",
            "customer_id": "b19a68c0-0f8a-b697-e128-7e2bb5b67339",
            "email": "VmiNz8@XXfcvkUbnlbokdLfdMXJbw.dro",
            "first_name": "Jane",
            "intake_form_submission_id": "6a02cdbb0cb79d0145000177",
            "intake_form_complete": true,
            "is_lead_booker": true,
            "last_name": "Doe",
            "name": "Jane Doe"
          }
        ],
        "intake_form_required": true,
        "intake_form_url": "https://demo.try.be/intake-form",
        "intake_forms_complete": true,
        "integration_config_id": "5f344d756e7f2e7d3f2e4b82",
        "is_customer_required": true,
        "is_locked": false,
        "is_promo_code_discount_applied": false,
        "items": [
          {
            "id": "6a02cdbb0cb79d0145000178",
            "added_by_customer": true,
            "base_price": 595,
            "basket_id": "6a02cdbb0cb79d0145000179",
            "booking_summary": {
              "id": "6a02cdbb0cb79d014500017a",
              "duration": 41336483,
              "end_time": "1936-01-01T21:26:51.0Z",
              "offering": {
                "id": "6a02cdbb0cb79d014500017b",
                "name": "30 Minute Massage",
                "type": "appointment",
                "product_code": "in"
              },
              "start_time": "1967-01-06T15:24:57.0Z",
              "status": "cancelled",
              "created_at": "2025-02-04T12:01:01.0Z",
              "updated_at": "2025-02-04T12:01:01.0Z"
            },
            "discount_amount": 595,
            "discounts": [
              {
                "id": "6a02cdbb0cb79d014500017c",
                "amount_type": "percentage",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1969-08-31T14:33:54.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d014500017d",
                  "avatar": {
                    "id": "09f1bb7e-b168-fa21-88cb-9c2145d937a1",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "AkH6qB5qQ797r@HiNpenVnVheudZyUNFnYHqcU.ywrd",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d014500017e",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "8f74c0ac-6e9c-76fc-b828-1828642063bd"
                },
                "coupon_code_id": "6a02cdbb0cb79d014500017f",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "a57bfa7e-5da4-f991-ee26-160a9a03a7c9"
              },
              {
                "id": "6a02cdbb0cb79d0145000180",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1969-09-13T21:06:02.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d0145000181",
                  "avatar": {
                    "id": "d839292e-5ede-5aff-cd7c-903a94380d02",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "8AwH4oy7tVY@LPLhrk.rod",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d0145000182",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "f76bcd66-aa19-d126-3b41-e7785a6779f4"
                },
                "coupon_code_id": "6a02cdbb0cb79d0145000183",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "a848c3ed-cd43-24fa-13ed-a8f3e253f03f"
              },
              {
                "id": "6a02cdbb0cb79d0145000184",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1917-03-21T14:17:57.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d0145000185",
                  "email": "ZotutFxMWq@vhdQDWHhGAvxnkDBluFxEh.zn",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d0145000186",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "86b3e937-d349-59ed-3c53-7067f06d246b"
                },
                "coupon_code_id": "6a02cdbb0cb79d0145000187",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "943c9dd1-fcfb-57b6-d7e6-a2f5aa6d9afa"
              }
            ],
            "exclusive_tax_amount": 0,
            "guests": [
              {
                "id": "6a02cdbb0cb79d0145000188",
                "customer_id": "6a02cdbb0cb79d0145000189",
                "name": "Jane Smith",
                "checked_in_at": "2025-10-01T12:01:01.0Z"
              },
              {
                "id": "6a02cdbb0cb79d014500018a",
                "name": "Jane Smith",
                "checked_in_at": "2025-10-01T12:01:01.0Z"
              },
              {
                "id": "6a02cdbb0cb79d014500018b",
                "customer_id": "6a02cdbb0cb79d014500018c",
                "name": "Jane Smith",
                "checked_in_at": "2025-10-01T12:01:01.0Z"
              },
              {
                "id": "6a02cdbb0cb79d014500018d",
                "customer_id": "6a02cdbb0cb79d014500018e",
                "name": "Jane Smith",
                "checked_in_at": "2025-10-01T12:01:01.0Z"
              },
              {
                "id": "6a02cdbb0cb79d014500018f",
                "customer_id": "6a02cdbb0cb79d0145000190",
                "name": "Jane Smith",
                "checked_in_at": "2025-10-01T12:01:01.0Z"
              }
            ],
            "has_posted": false,
            "inclusive_tax_amount": 49,
            "item_configuration": {
              "commodo_4b": -62383314
            },
            "last_post_attempt": "1895-05-10T09:21:10.0Z",
            "offering": {
              "id": "6a02cdbb0cb79d0145000191",
              "name": "30 Minute Massage",
              "type": "appointment",
              "product_code": "ut elit aliquip officia dolore"
            },
            "option_budgets": [
              {
                "budget": "esse cupidatat",
                "choice_id": "laboris irure magna in in",
                "remaining": "magna commodo eu consectetur",
                "spent": "dolore cillum"
              },
              {
                "budget": "anim eiusmod laborum cupidatat sint",
                "choice_id": "ut dolor labore non dolore",
                "remaining": "non",
                "spent": "pariatur dolore sed aliquip amet"
              }
            ],
            "order_discount_amount": -19808630,
            "package_items": [
              {
                "id": "6a02cdbb0cb79d0145000192",
                "choice_id": "6a02cdbb0cb79d0145000193",
                "duration": 89292040,
                "guests": [
                  {
                    "id": "6a02cdbb0cb79d0145000194",
                    "customer_id": "6a02cdbb0cb79d0145000195",
                    "name": "Jane Smith",
                    "checked_in_at": "2025-10-01T12:01:01.0Z"
                  },
                  {
                    "id": "6a02cdbb0cb79d0145000196",
                    "customer_id": "6a02cdbb0cb79d0145000197",
                    "name": "Jane Smith",
                    "checked_in_at": "2025-10-01T12:01:01.0Z"
                  },
                  {
                    "id": "6a02cdbb0cb79d0145000198",
                    "customer_id": "6a02cdbb0cb79d0145000199",
                    "name": "Jane Smith",
                    "checked_in_at": "2025-10-01T12:01:01.0Z"
                  },
                  {
                    "id": "6a02cdbb0cb79d014500019a",
                    "customer_id": "6a02cdbb0cb79d014500019b",
                    "name": "Jane Smith",
                    "checked_in_at": "2025-10-01T12:01:01.0Z"
                  }
                ],
                "item_configuration": {
                  "et_f6": 69094095.67990005
                },
                "offering_id": "6a02cdbb0cb79d014500019c",
                "offering_name": "60 minute massage",
                "offering_type": "appointment",
                "option_id": "6a02cdbb0cb79d014500019d",
                "price_change": 1500,
                "reserved_until": "1903-04-23T12:32:38.0Z",
                "shared_basket_item_id": "6a02cdbb0cb79d014500019e",
                "status": "submitted",
                "time": "1955-07-04T14:49:41.0Z"
              },
              {
                "id": "6a02cdbb0cb79d014500019f",
                "choice_id": "6a02cdbb0cb79d01450001a0",
                "duration": 27980224,
                "item_configuration": {
                  "veniam_95": false
                },
                "offering_id": "6a02cdbb0cb79d01450001a1",
                "offering_name": "60 minute massage",
                "offering_type": "appointment",
                "option_id": "6a02cdbb0cb79d01450001a2",
                "price_change": 1500,
                "reserved_until": "1923-02-17T01:34:43.0Z",
                "time": "1920-05-27T12:59:22.0Z"
              }
            ],
            "posted_at": "1926-07-25T06:59:15.0Z",
            "price": 595,
            "purchasable_details": {
              "id": "6a02cdbb0cb79d01450001a3",
              "email_sent_at": "1906-06-11T15:45:58.0Z",
              "valid_to_date": "1900-07-08"
            },
            "quantity": 1,
            "reserved_until": "1932-03-25T01:04:06.0Z",
            "sold_by": {
              "id": "laboris nulla reprehenderit proident pariatur",
              "name": "minim",
              "type": ""
            },
            "status": "reserved",
            "total_cost": 595,
            "created_at": "2025-02-04T12:01:01.0Z",
            "updated_at": "2025-02-04T12:01:01.0Z"
          },
          {
            "id": "6a02cdbb0cb79d01450001a4",
            "added_by_customer": true,
            "basket_id": "6a02cdbb0cb79d01450001a5",
            "booking_summary": {
              "id": "6a02cdbb0cb79d01450001a6",
              "duration": -70559449,
              "end_time": "1954-02-11T07:57:33.0Z",
              "offering": {
                "id": "6a02cdbb0cb79d01450001a7",
                "name": "30 Minute Massage",
                "type": "appointment",
                "product_code": "anim est"
              },
              "start_time": "1907-02-14T22:07:22.0Z",
              "status": "reserved",
              "created_at": "2025-02-04T12:01:01.0Z",
              "updated_at": "2025-02-04T12:01:01.0Z"
            },
            "discount_amount": 595,
            "discounts": [],
            "exclusive_tax_amount": 0,
            "guests": [
              {
                "id": "6a02cdbb0cb79d01450001a8",
                "customer_id": "6a02cdbb0cb79d01450001a9",
                "name": "Jane Smith",
                "checked_in_at": "2025-10-01T12:01:01.0Z"
              }
            ],
            "has_posted": false,
            "inclusive_tax_amount": 49,
            "item_configuration": {
              "nullab": 71427251,
              "dolor_a": -78159722.2273521,
              "nostrud_83": 45326368,
              "non8": false
            },
            "offering": {
              "id": "6a02cdbb0cb79d01450001aa",
              "name": "30 Minute Massage",
              "type": "appointment",
              "product_code": "Ut nisi ullamco"
            },
            "option_budgets": [
              {
                "budget": "ut sunt in aute",
                "choice_id": "commodo cillum eiusmod laborum",
                "remaining": "laborum ad dolor velit in",
                "spent": "dolore"
              },
              {
                "budget": "esse",
                "choice_id": "Duis esse",
                "remaining": "pariatur eiusmod dolore ullamco",
                "spent": "amet irure"
              },
              {
                "budget": "cupidatat commodo",
                "choice_id": "aliqua",
                "remaining": "laboris",
                "spent": "do sed"
              },
              {
                "budget": "consequat aute quis sit",
                "choice_id": "commodo quis minim tempor id",
                "remaining": "in labore tempor ullamco",
                "spent": "et tempor laborum adipisicing"
              }
            ],
            "order_discount_amount": 11486124,
            "price": 595,
            "purchasable_details": {
              "id": "6a02cdbb0cb79d01450001ab",
              "time_from": "1898-09-10T02:53:36.0Z",
              "time_to": "1893-09-04T15:22:16.0Z"
            },
            "quantity": 1,
            "reserved_until": "1928-06-09T22:57:37.0Z",
            "sold_by": {
              "id": "dolore dolor ut",
              "name": "dolor sit",
              "type": ""
            },
            "total_cost": 595,
            "created_at": "2025-02-04T12:01:01.0Z",
            "updated_at": "2025-02-04T12:01:01.0Z"
          },
          {
            "id": "6a02cdbb0cb79d01450001ac",
            "added_by_customer": false,
            "basket_id": "6a02cdbb0cb79d01450001ad",
            "discount_amount": 595,
            "discounts": [
              {
                "id": "6a02cdbb0cb79d01450001ae",
                "amount_type": "percentage",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1948-08-17T02:30:55.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d01450001af",
                  "avatar": {
                    "id": "b1479e16-72f6-2e23-9a4a-bd769238194d",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "T4Q57kpV@cSpVGyEJVy.rg",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d01450001b0",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "7ede0a52-fdce-b359-b80b-64ae3f64874c"
                },
                "coupon_code_id": "6a02cdbb0cb79d01450001b1",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "9ce7924e-fba1-d2c1-9e9e-67811a56d645"
              },
              {
                "id": "6a02cdbb0cb79d01450001b2",
                "amount_type": "percentage",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1956-01-29T13:37:48.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d01450001b3",
                  "avatar": {
                    "id": "4166f71a-5a9a-bed9-a446-bac5f754ff65",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "h8VWvAR2-PFNx8H@qOjDRyldUoqUoQnoMiVspEbTfweyP.gj",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d01450001b4",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "d8367a5f-aee1-8b5f-458e-779d6ed8bd09"
                },
                "coupon_code_id": "6a02cdbb0cb79d01450001b5",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "9b487dee-6ec5-fdb8-3419-0396593705aa"
              },
              {
                "id": "6a02cdbb0cb79d01450001b6",
                "amount_type": "percentage",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1906-05-20T12:57:38.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d01450001b7",
                  "avatar": {
                    "id": "f91ac7d9-c85f-53ac-2fdc-3da35888f54b",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "sWcH9w95yVxPod@uGlVG.wu",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d01450001b8",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "4899228f-1159-6b70-75e1-4b027d176e08"
                },
                "coupon_code_id": "6a02cdbb0cb79d01450001b9",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "3798b076-d218-5d15-6506-c4eed4febd8c"
              }
            ],
            "exclusive_tax_amount": 0,
            "guests": [
              {
                "id": "6a02cdbb0cb79d01450001ba",
                "customer_id": "6a02cdbb0cb79d01450001bb",
                "name": "Jane Smith",
                "checked_in_at": "2025-10-01T12:01:01.0Z"
              },
              {
                "id": "6a02cdbb0cb79d01450001bc",
                "customer_id": "6a02cdbb0cb79d01450001bd",
                "name": "Jane Smith",
                "checked_in_at": "2025-10-01T12:01:01.0Z"
              }
            ],
            "inclusive_tax_amount": 49,
            "item_configuration": {
              "dolore__": 73917425.20316505
            },
            "offering": {
              "id": "6a02cdbb0cb79d01450001be",
              "name": "30 Minute Massage",
              "type": "appointment",
              "product_code": "aliquip nulla"
            },
            "order_discount_amount": -32577,
            "price": 595,
            "quantity": 1,
            "reserved_until": "1946-02-14T03:28:31.0Z",
            "sold_by": {
              "id": "cillum qui esse irure",
              "name": "sint ea cupidatat",
              "type": "practitioner"
            },
            "total_cost": 595,
            "created_at": "2025-02-04T12:01:01.0Z",
            "updated_at": "2025-02-04T12:01:01.0Z"
          },
          {
            "id": "6a02cdbb0cb79d01450001bf",
            "added_by_customer": true,
            "base_price": 595,
            "basket_id": "6a02cdbb0cb79d01450001c0",
            "discount_amount": 595,
            "discounts": [],
            "exclusive_tax_amount": 0,
            "guests": [],
            "inclusive_tax_amount": 49,
            "item_configuration": {
              "sedde2": "ut magna labore dolor eiusmod",
              "id_c6": -61418210,
              "culpa_3": -7747450
            },
            "last_post_attempt": "1925-11-10T22:09:03.0Z",
            "offering": {
              "id": "6a02cdbb0cb79d01450001c1",
              "name": "30 Minute Massage",
              "type": "appointment",
              "product_code": "consectetur non minim"
            },
            "order_discount_amount": -26297192,
            "price": 595,
            "quantity": 1,
            "reserved_until": "1954-09-05T17:35:32.0Z",
            "sold_by": {
              "id": "est",
              "name": "ex sint culpa",
              "type": "user"
            },
            "total_cost": 595,
            "created_at": "2025-02-04T12:01:01.0Z",
            "updated_at": "2025-02-04T12:01:01.0Z"
          }
        ],
        "items_status": "confirmed",
        "labels": [
          {
            "id": "6a02cdbb0cb79d01450001c2",
            "color": "#FF0000",
            "name": "VIP",
            "order_id": "6a02cdbb0cb79d01450001c3"
          },
          {
            "id": "6a02cdbb0cb79d01450001c4",
            "color": "#FF0000",
            "name": "VIP",
            "order_id": "6a02cdbb0cb79d01450001c5"
          },
          {
            "id": "6a02cdbb0cb79d01450001c6",
            "color": "#FF0000",
            "name": "VIP",
            "order_id": "6a02cdbb0cb79d01450001c7"
          },
          {
            "id": "6a02cdbb0cb79d01450001c8",
            "color": "#FF0000",
            "name": "VIP",
            "order_id": "6a02cdbb0cb79d01450001c9"
          },
          {
            "id": "6a02cdbb0cb79d01450001ca",
            "color": "#FF0000",
            "name": "VIP",
            "order_id": "6a02cdbb0cb79d01450001cb"
          }
        ],
        "last_name": "Doe",
        "locked_at": "2019-01-15T12:01:01.0Z",
        "net_total": 8000,
        "order_ref": "TRY00",
        "organisation_id": "5051c402-6fa6-5bc5-d5f7-815ea800f3b5",
        "outstanding_payment_amount": -94863608,
        "package_items": [
          {
            "id": "6a02cdbb0cb79d01450001cc",
            "added_by_customer": false,
            "base_price": 72405524,
            "date": "1895-04-29",
            "discount_amount": -12577543,
            "discounts": [
              {
                "id": "6a02cdbb0cb79d01450001cd",
                "amount_type": "percentage",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1910-12-01T07:20:52.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d01450001ce",
                  "avatar": {
                    "id": "d895d2a1-e8bc-9f42-ca5f-8f87a9bf45d7",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "BTL4nwUexFZrtH@mRkeKSSrRAbnwVexmaqpzXxacnCBuvr.yfb",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d01450001cf",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "02b3dac0-f56f-bf3e-4928-e72881e523ed"
                },
                "coupon_code_id": "6a02cdbb0cb79d01450001d0",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "304096a7-b832-0482-7791-645139f4f458"
              },
              {
                "id": "6a02cdbb0cb79d01450001d1",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1902-09-15T18:58:30.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d01450001d2",
                  "avatar": {
                    "id": "f34bb1e1-e469-4dc2-df4b-1dcfbd224852",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "kYMahDeWd2sy@ctSrgVCk.sszv",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d01450001d3",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "a6164b54-0e5b-7407-65c9-f8f37a6d7105"
                },
                "coupon_code_id": "6a02cdbb0cb79d01450001d4",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "4b737563-410d-424c-2dfa-fd59cdf7a929"
              },
              {
                "id": "6a02cdbb0cb79d01450001d5",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1934-01-16T07:04:17.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d01450001d6",
                  "email": "n9ntMkt@YUUydipasMsMGeAC.diq",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d01450001d7",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "5ebb7388-8d46-2ad2-f4c6-a7ed3f65d57b"
                },
                "coupon_code_id": "6a02cdbb0cb79d01450001d8",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "eae51692-80e2-1a03-d7e2-501472e73e24"
              }
            ],
            "exclusive_tax_amount": 87831821,
            "guests": [
              {
                "id": "6a02cdbb0cb79d01450001d9",
                "checked_in_at": "1944-04-11T11:12:57.0Z",
                "checked_out_at": "1965-07-25T04:08:10.0Z",
                "customer_id": "7b6e6c25-3ac3-dfd9-7f42-d57cfe1ee3cf",
                "email": "WhB86l@PJUDzeVEivBpmFxoyTlDwoniGjeP.qvhb",
                "first_name": "Jane",
                "intake_form_submission_id": "6a02cdbb0cb79d01450001da",
                "intake_form_complete": true,
                "is_lead_booker": false,
                "last_name": "Doe",
                "name": "Jane Doe"
              },
              {
                "id": "6a02cdbb0cb79d01450001db",
                "checked_in_at": "1917-03-25T01:29:13.0Z",
                "checked_out_at": "1918-04-18T07:28:01.0Z",
                "customer_id": "24e58517-a1e2-deba-f9a9-9388de7a910e",
                "email": "PBUiNMnl@XxSEGUcFOqr.at",
                "first_name": "Jane",
                "intake_form_submission_id": "6a02cdbb0cb79d01450001dc",
                "intake_form_complete": false,
                "is_lead_booker": false,
                "last_name": "Doe",
                "name": "Jane Doe"
              }
            ],
            "inclusive_tax_amount": -85825513,
            "is_modifiable": true,
            "item_type": "in non fugiat cupidatat mollit",
            "net_total": -37395620,
            "option_budgets": [
              {
                "budget": "aute id do",
                "choice_id": "elit dolor ex ullamco",
                "remaining": "Duis id",
                "spent": "cupidatat nostrud"
              },
              {
                "budget": "qui officia laborum",
                "choice_id": "aute",
                "remaining": "commodo",
                "spent": "dolor sed magna in"
              },
              {
                "budget": "laborum eu",
                "choice_id": "veniam ex qui laborum dolor",
                "remaining": "consectetur occaecat et",
                "spent": "adipisicing enim sunt"
              },
              {
                "budget": "culpa occaecat qui",
                "choice_id": "aliquip et ipsum",
                "remaining": "non veniam",
                "spent": "tempor Ut"
              },
              {
                "budget": "esse commodo nostrud eu aute",
                "choice_id": "irure",
                "remaining": "proident sed aliqua ex",
                "spent": "Duis cillum incididunt"
              }
            ],
            "order_discount_amount": 44358942,
            "package_items": [
              {
                "id": "6a02cdbb0cb79d01450001dd",
                "booking_summary": {
                  "id": "6a02cdbb0cb79d01450001de",
                  "area_ids": [
                    "6a02cdbb0cb79d01450001df"
                  ],
                  "areas": [
                    {
                      "id": "6a02cdbb0cb79d01450001e0",
                      "name": "Hot Tub 1"
                    },
                    {
                      "id": "6a02cdbb0cb79d01450001e1",
                      "name": "Hot Tub 1"
                    },
                    {
                      "id": "6a02cdbb0cb79d01450001e2",
                      "name": "Hot Tub 1"
                    },
                    {
                      "id": "6a02cdbb0cb79d01450001e3",
                      "name": "Hot Tub 1"
                    }
                  ],
                  "duration": 91235307,
                  "end_time": "1921-09-17T10:17:26.0Z",
                  "offering": {
                    "id": "6a02cdbb0cb79d01450001e4",
                    "name": "30 Minute Massage",
                    "type": "appointment",
                    "product_code": "occaecat consectetur"
                  },
                  "start_time": "1928-03-02T16:33:12.0Z",
                  "status": "confirmed",
                  "created_at": "2025-02-04T12:01:01.0Z",
                  "updated_at": "2025-02-04T12:01:01.0Z"
                },
                "choice_id": "6a02cdbb0cb79d01450001e5",
                "duration": 12544342,
                "guests": [
                  {
                    "id": "6a02cdbb0cb79d01450001e6",
                    "checked_in_at": "1951-06-16T21:25:05.0Z",
                    "checked_out_at": "1913-09-01T23:44:36.0Z",
                    "customer_id": "34b068f2-9e9d-4a53-80a1-6bd48571fb0e",
                    "email": "nBJ@nwbpLUPFRnBhbdGjArrSBrRoNd.nanf",
                    "first_name": "Jane",
                    "intake_form_submission_id": "6a02cdbb0cb79d01450001e7",
                    "intake_form_complete": true,
                    "is_lead_booker": false,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "6a02cdbb0cb79d01450001e8",
                    "checked_in_at": "1944-01-02T08:53:04.0Z",
                    "checked_out_at": "1966-10-12T11:14:49.0Z",
                    "customer_id": "1da5445f-b973-97a7-3011-8bda3968afaf",
                    "email": "HROmGyjjmq@RSIdWPiBxVi.zn",
                    "first_name": "Jane",
                    "intake_form_complete": false,
                    "is_lead_booker": false,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  }
                ],
                "item_configuration": {
                  "fugiata8d": -9960407,
                  "eiusmod4": false,
                  "esse_17b": -18473095.197926044
                },
                "offering_id": "6a02cdbb0cb79d01450001e9",
                "offering_name": "non",
                "offering_type": "appointment",
                "option_id": "6a02cdbb0cb79d01450001ea",
                "price_change": 77692025,
                "reserved_until": "1926-08-26T10:30:21.0Z",
                "shared_basket_item_id": "6a02cdbb0cb79d01450001eb",
                "status": "submitted",
                "time": 840
              },
              {
                "id": "6a02cdbb0cb79d01450001ec",
                "choice_id": "6a02cdbb0cb79d01450001ed",
                "duration": 78133700,
                "item_configuration": {
                  "magna_8d": "magna",
                  "minimd2": true,
                  "utec": 77013998
                },
                "offering_id": "6a02cdbb0cb79d01450001ee",
                "offering_name": "nulla",
                "offering_type": "appointment",
                "option_id": "6a02cdbb0cb79d01450001ef",
                "price_change": 47266589,
                "reserved_until": "1966-05-15T23:40:33.0Z",
                "status": "submitted",
                "time": 840
              },
              {
                "id": "6a02cdbb0cb79d01450001f0",
                "choice_id": "6a02cdbb0cb79d01450001f1",
                "duration": -8792233,
                "guests": [
                  {
                    "id": "6a02cdbb0cb79d01450001f2",
                    "checked_in_at": "1954-11-23T06:48:52.0Z",
                    "checked_out_at": "1948-10-14T06:56:06.0Z",
                    "customer_id": "7b34f6c0-e8e8-218d-e76f-8d8917086afe",
                    "email": "hHg@ELqZfeXFJjUJITlLGgrtIzQCEhtcy.ozqh",
                    "first_name": "Jane",
                    "intake_form_submission_id": "6a02cdbb0cb79d01450001f3",
                    "intake_form_complete": true,
                    "is_lead_booker": false,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "6a02cdbb0cb79d01450001f4",
                    "checked_in_at": "1959-04-26T10:17:21.0Z",
                    "checked_out_at": "1942-03-26T20:31:54.0Z",
                    "customer_id": "1030e08e-4613-c313-2f7e-fc43e32b5953",
                    "email": "M5hONFEswa@CNbaSgpaGeJgmtFb.bxs",
                    "first_name": "Jane",
                    "intake_form_submission_id": "6a02cdbb0cb79d01450001f5",
                    "intake_form_complete": false,
                    "is_lead_booker": true,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "6a02cdbb0cb79d01450001f6",
                    "checked_in_at": "1949-11-30T20:09:52.0Z",
                    "checked_out_at": "1926-08-23T04:04:29.0Z",
                    "customer_id": "5d343522-f73b-c4ca-fe29-1adc597e3867",
                    "email": "HHvfuch0S@DHiosgWlcqTNJTORWypWtBxZf.qbtu",
                    "first_name": "Jane",
                    "intake_form_submission_id": "6a02cdbb0cb79d01450001f7",
                    "intake_form_complete": false,
                    "is_lead_booker": false,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  }
                ],
                "item_configuration": {
                  "amet_3": true,
                  "sint_c": "qui nostrud ipsum anim et"
                },
                "offering_id": "6a02cdbb0cb79d01450001f8",
                "offering_name": "proident aliquip",
                "offering_type": "appointment",
                "option_id": "6a02cdbb0cb79d01450001f9",
                "price_change": 56776691,
                "reserved_until": "1955-08-02T14:28:27.0Z",
                "time": 840
              }
            ],
            "price": 27149456,
            "sold_by": {
              "id": "non qui proident ullamco",
              "name": "officia deserunt labore in",
              "type": ""
            },
            "status": "confirmed",
            "total_cost": -41124092,
            "type_id": "6a02cdbb0cb79d01450001fa",
            "type_name": "mollit",
            "type_product_code": "occaecat in nisi Ut",
            "created_at": "2025-02-04T12:01:01.0Z",
            "updated_at": "2025-02-04T12:01:01.0Z"
          },
          {
            "id": "6a02cdbb0cb79d01450001fb",
            "added_by_customer": true,
            "base_price": 43880775,
            "date": "1963-02-11",
            "discount_amount": -66809262,
            "discounts": [
              {
                "id": "6a02cdbb0cb79d01450001fc",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1894-01-26T06:59:15.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d01450001fd",
                  "avatar": {
                    "id": "aa119010-6185-8c9b-4426-66fd6a222589",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "4pGrs@wVIWUsnNbEviDrUxuSLMSgMXsli.bc",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d01450001fe",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "e3c6da3d-5451-388d-0458-1918aa848e39"
                },
                "coupon_code_id": "6a02cdbb0cb79d01450001ff",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "2bede71b-b9d5-d3bd-6639-187a5ebf3a61"
              }
            ],
            "exclusive_tax_amount": 69704811,
            "guest": {
              "id": "6a02cdbb0cb79d0145000200",
              "checked_in_at": "1938-01-10T20:17:42.0Z",
              "checked_out_at": "1957-05-16T10:51:09.0Z",
              "customer_id": "3df1a3c8-3a82-8f75-ebcf-d9d6e4d0e51e",
              "email": "r5Tq@KWYhRquar.svpm",
              "first_name": "Jane",
              "intake_form_submission_id": "6a02cdbb0cb79d0145000201",
              "intake_form_complete": true,
              "is_lead_booker": false,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            "guests": [],
            "inclusive_tax_amount": 45648860,
            "is_modifiable": false,
            "item_type": "quis",
            "net_total": -58812473,
            "option_budgets": [
              {
                "budget": "enim labore",
                "choice_id": "aliquip velit",
                "remaining": "Lorem mollit est",
                "spent": "cupidatat"
              }
            ],
            "order_discount_amount": -94894616,
            "package_items": [
              {
                "id": "6a02cdbb0cb79d0145000202",
                "booking_summary": {
                  "id": "6a02cdbb0cb79d0145000203",
                  "duration": 2995369,
                  "end_time": "1936-12-30T22:20:16.0Z",
                  "equipment": [
                    {
                      "id": "6a02cdbb0cb79d0145000204",
                      "name": "Hot Rocks"
                    },
                    {
                      "id": "6a02cdbb0cb79d0145000205",
                      "name": "Hot Rocks"
                    },
                    {
                      "id": "6a02cdbb0cb79d0145000206",
                      "name": "Hot Rocks"
                    },
                    {
                      "id": "6a02cdbb0cb79d0145000207",
                      "name": "Hot Rocks"
                    },
                    {
                      "id": "6a02cdbb0cb79d0145000208",
                      "name": "Hot Rocks"
                    }
                  ],
                  "equipment_ids": [
                    "6a02cdbb0cb79d0145000209",
                    "6a02cdbb0cb79d014500020a",
                    "6a02cdbb0cb79d014500020b",
                    "6a02cdbb0cb79d014500020c"
                  ],
                  "offering": {
                    "id": "6a02cdbb0cb79d014500020d",
                    "name": "30 Minute Massage",
                    "type": "appointment",
                    "product_code": "cillum in qui"
                  },
                  "practitioners": [
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    },
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    },
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    },
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    },
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    }
                  ],
                  "practitioner_ids": [
                    "6a02cdbb0cb79d014500020e",
                    "6a02cdbb0cb79d014500020f",
                    "6a02cdbb0cb79d0145000210",
                    "6a02cdbb0cb79d0145000211",
                    "6a02cdbb0cb79d0145000212"
                  ],
                  "practitioner_was_requested": false,
                  "room": {
                    "id": "5dcb47800000000000000000",
                    "capacity": -77186469,
                    "name": "ea"
                  },
                  "room_id": "6a02cdbb0cb79d0145000213",
                  "room_was_requested": false,
                  "start_time": "1909-04-24T12:49:28.0Z",
                  "status": "pending_confirmation",
                  "created_at": "2025-02-04T12:01:01.0Z",
                  "updated_at": "2025-02-04T12:01:01.0Z"
                },
                "choice_id": "6a02cdbb0cb79d0145000214",
                "duration": 73611703,
                "guests": [
                  {
                    "id": "6a02cdbb0cb79d0145000215",
                    "checked_in_at": "1934-09-24T20:57:15.0Z",
                    "checked_out_at": "1951-06-22T04:33:36.0Z",
                    "customer_id": "7a2bff2e-6da4-0b0f-f13a-9b6b86617c9b",
                    "first_name": "Jane",
                    "intake_form_complete": true,
                    "is_lead_booker": true,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  }
                ],
                "item_configuration": {
                  "exercitation952": -39788565,
                  "sunt_506": "in laboris occaecat"
                },
                "offering_id": "6a02cdbb0cb79d0145000216",
                "offering_name": "dolore elit nisi quis",
                "offering_type": "appointment",
                "option_id": "6a02cdbb0cb79d0145000217",
                "price_change": -10485062,
                "reserved_until": "1909-09-17T07:21:17.0Z",
                "shared_basket_item_id": "6a02cdbb0cb79d0145000218",
                "status": "submitted",
                "time": 840
              }
            ],
            "price": 41875958,
            "sold_by": {
              "id": "laborum",
              "name": "et",
              "type": "user"
            },
            "status": "reserved",
            "total_cost": -50436375,
            "type_id": "6a02cdbb0cb79d0145000219",
            "type_name": "non labore",
            "type_product_code": "ut dolore laborum adipisicing fugiat",
            "created_at": "2025-02-04T12:01:01.0Z",
            "updated_at": "2025-02-04T12:01:01.0Z"
          },
          {
            "id": "6a02cdbb0cb79d014500021a",
            "added_by_customer": false,
            "base_price": -60649947,
            "date": "1966-02-14",
            "discount_amount": 30516372,
            "discounts": [
              {
                "id": "6a02cdbb0cb79d014500021b",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1914-01-23T12:46:05.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d014500021c",
                  "avatar": {
                    "id": "f2cb0d45-0599-1d00-0727-a743d9274e50",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "VYBoqo@bdQImFjfTcwdXxylrCuAElVrtKOSWX.itt",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d014500021d",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "2424c7b9-2929-513a-502b-1465f46db0a8"
                },
                "coupon_code_id": "6a02cdbb0cb79d014500021e",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "be9efb8a-56af-f77c-951e-9ffdfa23b9b7"
              },
              {
                "id": "6a02cdbb0cb79d014500021f",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1891-07-07T06:07:43.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d0145000220",
                  "avatar": {
                    "id": "2f63d705-08df-e4c1-ad00-1269c259db16",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "8mXTMwvNG1kO27W@CbvgHnupVMNqxopYcdhbDOI.unzq",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d0145000221",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "d47c4aff-7fa0-5335-488f-57c8e313d2b5"
                },
                "coupon_code_id": "6a02cdbb0cb79d0145000222",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "986134ac-8742-266b-c8d7-95da6d9a17a9"
              },
              {
                "id": "6a02cdbb0cb79d0145000223",
                "amount_type": "percentage",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1937-02-01T20:39:12.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d0145000224",
                  "avatar": {
                    "id": "83ec5051-145e-7990-0e5e-08f06ec6b7c4",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "Fvhuy-rShEG@sHWDophfSHklUnIiufOxEucy.gbon",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d0145000225",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "f767fa5e-4fc5-273c-51d4-fe93424986c2"
                },
                "coupon_code_id": "6a02cdbb0cb79d0145000226",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "b5cc9c6a-1145-fd83-81b6-5cb3d1ccad01"
              },
              {
                "id": "6a02cdbb0cb79d0145000227",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1915-01-09T01:37:53.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d0145000228",
                  "avatar": {
                    "id": "e4c0e08c-b1d8-b0d3-3b28-70954c9b7591",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "9DWCVfWyF5tPvIn@kCahrQJpbSlE.ydsq",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d0145000229",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "bebcf00f-b536-2e03-b1ba-24dd10f57c75"
                },
                "coupon_code_id": "6a02cdbb0cb79d014500022a",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "e9847b2d-99eb-bc7d-04cb-e6694df4870b"
              }
            ],
            "exclusive_tax_amount": -37857914,
            "guests": [
              {
                "id": "6a02cdbb0cb79d014500022b",
                "checked_in_at": "1910-01-14T14:19:01.0Z",
                "checked_out_at": "1925-12-15T20:16:22.0Z",
                "customer_id": "1cc4afc6-bb8a-99f5-79f2-2e56e46b5b40",
                "email": "xy0PT4AN28vP3@vNJFpAjOekQNAhA.ql",
                "first_name": "Jane",
                "intake_form_submission_id": "6a02cdbb0cb79d014500022c",
                "intake_form_complete": true,
                "is_lead_booker": false,
                "last_name": "Doe",
                "name": "Jane Doe"
              },
              {
                "id": "6a02cdbb0cb79d014500022d",
                "checked_in_at": "1955-01-03T01:08:24.0Z",
                "checked_out_at": "1955-02-23T09:38:46.0Z",
                "customer_id": "7e626ab8-a8d3-bbf2-516f-4b31b3b84885",
                "email": "ej9ikouUQUB8@ghgOGjrbIaDiL.bre",
                "first_name": "Jane",
                "intake_form_complete": false,
                "is_lead_booker": true,
                "last_name": "Doe",
                "name": "Jane Doe"
              },
              {
                "id": "6a02cdbb0cb79d014500022e",
                "checked_in_at": "1964-11-14T23:11:01.0Z",
                "checked_out_at": "1949-09-17T10:11:52.0Z",
                "customer_id": "d4d45546-e024-94fb-35cc-4c697c5e8fcd",
                "first_name": "Jane",
                "intake_form_complete": false,
                "is_lead_booker": true,
                "last_name": "Doe",
                "name": "Jane Doe"
              }
            ],
            "inclusive_tax_amount": -43148307,
            "is_modifiable": true,
            "item_type": "ut sed",
            "net_total": -49736719,
            "option_budgets": [
              {
                "budget": "qui consectetur",
                "choice_id": "non",
                "remaining": "ut cillum",
                "spent": "proident fugiat in sit sed"
              }
            ],
            "order_discount_amount": -80703569,
            "package_items": [
              {
                "id": "6a02cdbb0cb79d014500022f",
                "booking_summary": {
                  "id": "6a02cdbb0cb79d0145000230",
                  "duration": 24402407,
                  "end_time": "1962-04-18T20:30:56.0Z",
                  "equipment": [
                    {
                      "id": "6a02cdbb0cb79d0145000231",
                      "name": "Hot Rocks"
                    },
                    {
                      "id": "6a02cdbb0cb79d0145000232",
                      "name": "Hot Rocks"
                    },
                    {
                      "id": "6a02cdbb0cb79d0145000233",
                      "name": "Hot Rocks"
                    },
                    {
                      "id": "6a02cdbb0cb79d0145000234",
                      "name": "Hot Rocks"
                    },
                    {
                      "id": "6a02cdbb0cb79d0145000235",
                      "name": "Hot Rocks"
                    }
                  ],
                  "equipment_ids": [
                    "6a02cdbb0cb79d0145000236",
                    "6a02cdbb0cb79d0145000237",
                    "6a02cdbb0cb79d0145000238",
                    "6a02cdbb0cb79d0145000239"
                  ],
                  "offering": {
                    "id": "6a02cdbb0cb79d014500023a",
                    "name": "30 Minute Massage",
                    "type": "appointment",
                    "product_code": "qui"
                  },
                  "practitioners": [],
                  "practitioner_ids": [
                    "6a02cdbb0cb79d014500023b"
                  ],
                  "practitioner_was_requested": true,
                  "room": {
                    "id": "5dcb47800000000000000000",
                    "capacity": 6663714,
                    "name": "proident"
                  },
                  "room_id": "6a02cdbb0cb79d014500023c",
                  "room_was_requested": true,
                  "session_id": "6a02cdbb0cb79d014500023d",
                  "start_time": "1899-11-19T01:21:42.0Z",
                  "status": "pending_confirmation",
                  "created_at": "2025-02-04T12:01:01.0Z",
                  "updated_at": "2025-02-04T12:01:01.0Z"
                },
                "choice_id": "6a02cdbb0cb79d014500023e",
                "duration": -12693503,
                "guests": [],
                "item_configuration": {
                  "dolore_f8a": 35597527.84702796,
                  "eiusmod30": -71313367,
                  "autead": "officia"
                },
                "offering_id": "6a02cdbb0cb79d014500023f",
                "offering_name": "in Excepteur aliqua aute laboris",
                "offering_type": "appointment",
                "option_id": "6a02cdbb0cb79d0145000240",
                "price_change": 34840307,
                "reserved_until": "1935-03-25T14:03:19.0Z",
                "shared_basket_item_id": "6a02cdbb0cb79d0145000241",
                "status": "submitted",
                "time": 840
              },
              {
                "id": "6a02cdbb0cb79d0145000242",
                "booking_summary": {
                  "id": "6a02cdbb0cb79d0145000243",
                  "duration": -69763634,
                  "end_time": "1960-02-16T08:42:19.0Z",
                  "equipment": [
                    {
                      "id": "6a02cdbb0cb79d0145000244",
                      "name": "Hot Rocks"
                    },
                    {
                      "id": "6a02cdbb0cb79d0145000245",
                      "name": "Hot Rocks"
                    },
                    {
                      "id": "6a02cdbb0cb79d0145000246",
                      "name": "Hot Rocks"
                    },
                    {
                      "id": "6a02cdbb0cb79d0145000247",
                      "name": "Hot Rocks"
                    }
                  ],
                  "equipment_ids": [
                    "6a02cdbb0cb79d0145000248"
                  ],
                  "offering": {
                    "id": "6a02cdbb0cb79d0145000249",
                    "name": "30 Minute Massage",
                    "type": "appointment",
                    "product_code": "occaecat consectetur dolor in incididunt"
                  },
                  "practitioners": [
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    },
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    },
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    },
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    },
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    }
                  ],
                  "practitioner_ids": [
                    "6a02cdbb0cb79d014500024a",
                    "6a02cdbb0cb79d014500024b",
                    "6a02cdbb0cb79d014500024c",
                    "6a02cdbb0cb79d014500024d"
                  ],
                  "practitioner_was_requested": false,
                  "room": {
                    "id": "5dcb47800000000000000000",
                    "capacity": 23107151,
                    "name": "est consectetur"
                  },
                  "room_id": "6a02cdbb0cb79d014500024e",
                  "room_was_requested": false,
                  "session_id": "6a02cdbb0cb79d014500024f",
                  "start_time": "1942-07-10T09:59:15.0Z",
                  "status": "confirmed",
                  "created_at": "2025-02-04T12:01:01.0Z",
                  "updated_at": "2025-02-04T12:01:01.0Z"
                },
                "choice_id": "6a02cdbb0cb79d0145000250",
                "duration": 75481249,
                "guests": [],
                "item_configuration": {
                  "amet_41b": true
                },
                "offering_id": "6a02cdbb0cb79d0145000251",
                "offering_name": "amet ut",
                "offering_type": "appointment",
                "option_id": "6a02cdbb0cb79d0145000252",
                "price_change": 722345,
                "reserved_until": "1958-01-16T09:08:45.0Z",
                "shared_basket_item_id": "6a02cdbb0cb79d0145000253",
                "status": "submitted",
                "time": 840
              },
              {
                "id": "6a02cdbb0cb79d0145000254",
                "booking_summary": {
                  "id": "6a02cdbb0cb79d0145000255",
                  "area_ids": [
                    "6a02cdbb0cb79d0145000256"
                  ],
                  "areas": [
                    {
                      "id": "6a02cdbb0cb79d0145000257",
                      "name": "Hot Tub 1"
                    },
                    {
                      "id": "6a02cdbb0cb79d0145000258",
                      "name": "Hot Tub 1"
                    },
                    {
                      "id": "6a02cdbb0cb79d0145000259",
                      "name": "Hot Tub 1"
                    }
                  ],
                  "duration": 65305459,
                  "end_time": "1915-09-30T11:06:37.0Z",
                  "offering": {
                    "id": "6a02cdbb0cb79d014500025a",
                    "name": "30 Minute Massage",
                    "type": "appointment",
                    "product_code": "est qui do in"
                  },
                  "start_time": "1927-07-19T14:17:17.0Z",
                  "status": "confirmed",
                  "created_at": "2025-02-04T12:01:01.0Z",
                  "updated_at": "2025-02-04T12:01:01.0Z"
                },
                "choice_id": "6a02cdbb0cb79d014500025b",
                "duration": 77040998,
                "item_configuration": {
                  "quisc2": "Excepteur enim laborum",
                  "sit5b": true,
                  "magna5e": true
                },
                "offering_id": "6a02cdbb0cb79d014500025c",
                "offering_name": "cillum velit adipisicing ad",
                "offering_type": "appointment",
                "option_id": "6a02cdbb0cb79d014500025d",
                "price_change": -47914009,
                "reserved_until": "1914-12-12T15:50:18.0Z",
                "time": 840
              },
              {
                "id": "6a02cdbb0cb79d014500025e",
                "booking_summary": {
                  "id": "6a02cdbb0cb79d014500025f",
                  "duration": -95366700,
                  "end_time": "1937-11-23T05:25:05.0Z",
                  "equipment": [
                    {
                      "id": "6a02cdbb0cb79d0145000260",
                      "name": "Hot Rocks"
                    }
                  ],
                  "equipment_ids": [],
                  "offering": {
                    "id": "6a02cdbb0cb79d0145000261",
                    "name": "30 Minute Massage",
                    "type": "appointment",
                    "product_code": "eu culpa occaecat cupidatat"
                  },
                  "practitioners": [
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    },
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    },
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    },
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    }
                  ],
                  "practitioner_ids": [
                    "6a02cdbb0cb79d0145000262",
                    "6a02cdbb0cb79d0145000263",
                    "6a02cdbb0cb79d0145000264",
                    "6a02cdbb0cb79d0145000265",
                    "6a02cdbb0cb79d0145000266"
                  ],
                  "room": {
                    "id": "5dcb47800000000000000000",
                    "capacity": 17915955,
                    "name": "est proident laboris"
                  },
                  "room_id": "6a02cdbb0cb79d0145000267",
                  "room_was_requested": false,
                  "session_id": "6a02cdbb0cb79d0145000268",
                  "start_time": "1927-06-22T04:41:27.0Z",
                  "status": "pending_confirmation",
                  "created_at": "2025-02-04T12:01:01.0Z",
                  "updated_at": "2025-02-04T12:01:01.0Z"
                },
                "choice_id": "6a02cdbb0cb79d0145000269",
                "duration": -63163215,
                "guests": [
                  {
                    "id": "6a02cdbb0cb79d014500026a",
                    "checked_in_at": "1962-01-07T16:21:14.0Z",
                    "checked_out_at": "1933-01-02T18:04:52.0Z",
                    "customer_id": "8a4bcd95-3a8d-410a-bebf-9f0f91a5ef0c",
                    "email": "uQF5OpT1pXVvbAD@UwyNHPxSjFdIbrRXAIwiBmjjJjxBK.kfbe",
                    "first_name": "Jane",
                    "intake_form_submission_id": "6a02cdbb0cb79d014500026b",
                    "intake_form_complete": false,
                    "is_lead_booker": false,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "6a02cdbb0cb79d014500026c",
                    "checked_in_at": "1897-06-23T06:15:11.0Z",
                    "checked_out_at": "1911-01-16T23:17:43.0Z",
                    "customer_id": "9a64a78b-626e-2520-99db-c74acd79724b",
                    "email": "G88@dgXiJqmE.ma",
                    "first_name": "Jane",
                    "intake_form_submission_id": "6a02cdbb0cb79d014500026d",
                    "intake_form_complete": true,
                    "is_lead_booker": false,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "6a02cdbb0cb79d014500026e",
                    "checked_in_at": "1896-02-09T08:42:36.0Z",
                    "checked_out_at": "1931-03-13T01:39:42.0Z",
                    "customer_id": "ae246a82-216f-30f6-7eae-b31c8fe062ad",
                    "email": "xExp6L6cGp@QgxmalFqPFyMGZjMIqTmabK.sroi",
                    "first_name": "Jane",
                    "intake_form_submission_id": "6a02cdbb0cb79d014500026f",
                    "intake_form_complete": true,
                    "is_lead_booker": true,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  }
                ],
                "item_configuration": {
                  "consectetur_3": 14556041.858385742,
                  "quis88": -99730826.91302313,
                  "ullamco41": 75547662.757206
                },
                "offering_id": "6a02cdbb0cb79d0145000270",
                "offering_name": "quis",
                "offering_type": "appointment",
                "option_id": "6a02cdbb0cb79d0145000271",
                "price_change": 12876223,
                "reserved_until": "1919-04-28T01:28:49.0Z",
                "shared_basket_item_id": "6a02cdbb0cb79d0145000272",
                "status": "submitted",
                "time": 840
              },
              {
                "id": "6a02cdbb0cb79d0145000273",
                "choice_id": "6a02cdbb0cb79d0145000274",
                "duration": 69756125,
                "guests": [
                  {
                    "id": "6a02cdbb0cb79d0145000275",
                    "checked_in_at": "1958-02-22T16:35:52.0Z",
                    "checked_out_at": "1964-05-09T03:58:47.0Z",
                    "customer_id": "cea9720d-9e00-a989-3129-eb6438af9dde",
                    "first_name": "Jane",
                    "intake_form_complete": true,
                    "is_lead_booker": false,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "6a02cdbb0cb79d0145000276",
                    "checked_in_at": "1896-08-18T16:34:26.0Z",
                    "checked_out_at": "1957-03-03T02:39:53.0Z",
                    "customer_id": "e6a41331-fb13-84ca-78c9-13945e68c7ce",
                    "email": "1Nxzq@pbWhuSJTxRXgPvuWtKWfKnjcWMRYJJvU.zzle",
                    "first_name": "Jane",
                    "intake_form_submission_id": "6a02cdbb0cb79d0145000277",
                    "intake_form_complete": true,
                    "is_lead_booker": false,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "6a02cdbb0cb79d0145000278",
                    "checked_in_at": "1932-07-20T02:44:47.0Z",
                    "checked_out_at": "1966-10-24T19:37:56.0Z",
                    "customer_id": "1dce55c7-2e62-c97c-502f-f6ee49e2e09e",
                    "email": "FhElYTutAK-AMf@DkoIAPKxnyuzGxNiMBUtRvVcq.tolg",
                    "first_name": "Jane",
                    "intake_form_submission_id": "6a02cdbb0cb79d0145000279",
                    "intake_form_complete": false,
                    "is_lead_booker": false,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "6a02cdbb0cb79d014500027a",
                    "checked_in_at": "1902-07-02T11:32:25.0Z",
                    "checked_out_at": "1959-06-07T13:10:51.0Z",
                    "customer_id": "3913b7a4-5b60-4aa3-3b1f-798f9fe9bbc0",
                    "email": "LDMWLo@MTzyqEUfViRoienKNwMyS.dkgc",
                    "first_name": "Jane",
                    "intake_form_submission_id": "6a02cdbb0cb79d014500027b",
                    "intake_form_complete": true,
                    "is_lead_booker": false,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  }
                ],
                "item_configuration": {
                  "tempor5": "laborum"
                },
                "offering_id": "6a02cdbb0cb79d014500027c",
                "offering_name": "Excepteur et quis est",
                "offering_type": "appointment",
                "option_id": "6a02cdbb0cb79d014500027d",
                "price_change": 69057505,
                "reserved_until": "1891-11-02T03:32:10.0Z",
                "shared_basket_item_id": "6a02cdbb0cb79d014500027e",
                "time": 840
              }
            ],
            "price": -9516867,
            "sold_by": {
              "id": "occaecat sit ipsum nisi",
              "name": "Excepteur irure enim",
              "type": "practitioner"
            },
            "status": "cancelled",
            "total_cost": 13645619,
            "type_id": "6a02cdbb0cb79d014500027f",
            "type_name": "non",
            "type_product_code": "elit amet tempor",
            "created_at": "2025-02-04T12:01:01.0Z",
            "updated_at": "2025-02-04T12:01:01.0Z"
          },
          {
            "id": "6a02cdbb0cb79d0145000280",
            "added_by_customer": false,
            "base_price": 73614297,
            "date": "1948-06-27",
            "discount_amount": -90326199,
            "discounts": [
              {
                "id": "6a02cdbb0cb79d0145000281",
                "amount_type": "percentage",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1951-02-06T09:56:42.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d0145000282",
                  "avatar": {
                    "id": "16ba721b-4b4a-381f-5412-5c0b596725f2",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "lGrB-8CO@RBmMMQzrKRSBlMSMWVIaaw.asii",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d0145000283",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "b5dfc9a7-920d-2278-e80c-7f0917e04597"
                },
                "coupon_code_id": "6a02cdbb0cb79d0145000284",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "532b21f6-3200-f22f-805b-84e6eeafe11c"
              },
              {
                "id": "6a02cdbb0cb79d0145000285",
                "amount_type": "percentage",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1911-03-27T21:34:24.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d0145000286",
                  "avatar": {
                    "id": "daa78afa-3369-76e3-2448-66da36a63c84",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "NqgZTF3CdD94IQl@UQf.ty",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d0145000287",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "ab08c29b-03b5-b4f0-a915-2b4fab0a77da"
                },
                "coupon_code_id": "6a02cdbb0cb79d0145000288",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "e0be187c-c39b-31fc-a6d5-93cb2f3ac9a8"
              },
              {
                "id": "6a02cdbb0cb79d0145000289",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1910-03-31T15:48:14.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d014500028a",
                  "email": "xtnr@jDCzgb.tom",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d014500028b",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "3b5147cd-1c3f-31c9-2db7-f8ce05c32b11"
                },
                "coupon_code_id": "6a02cdbb0cb79d014500028c",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "fe76407e-9b01-277a-6803-a8a540d19566"
              },
              {
                "id": "6a02cdbb0cb79d014500028d",
                "amount_type": "percentage",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1954-05-27T09:25:35.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d014500028e",
                  "avatar": {
                    "id": "2e30d5f8-a37a-b9b3-f79c-6e8c7f34cc68",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "0S6Cmr19@lmTYUosywFrzeh.pm",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d014500028f",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "501f9db2-9080-8f8e-2192-7bdcf883d42b"
                },
                "coupon_code_id": "6a02cdbb0cb79d0145000290",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "3e8c6e13-d46f-46d5-3b73-79377a7dae6c"
              },
              {
                "id": "6a02cdbb0cb79d0145000291",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1898-05-15T22:10:56.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d0145000292",
                  "avatar": {
                    "id": "1898d213-ae90-7754-3b11-9d5dada2887a",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "JLO1@KxyLWKEcPyDobAlklbsLZolHdUa.hply",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d0145000293",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "1bb27e38-bf88-9e0d-da6e-28c4e5228448"
                },
                "coupon_code_id": "6a02cdbb0cb79d0145000294",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "928b0d7d-585f-76cd-c4e4-75c00d2da7b4"
              }
            ],
            "exclusive_tax_amount": -2420437,
            "guest": {
              "id": "6a02cdbb0cb79d0145000295",
              "checked_in_at": "1960-07-02T15:50:53.0Z",
              "checked_out_at": "1901-07-05T02:06:24.0Z",
              "customer_id": "a4b0f82e-bacf-06f3-0298-a7b179806c03",
              "email": "KgjIsWbLwU@LiSzfXREpcCfGfyOIrNKHg.nq",
              "first_name": "Jane",
              "intake_form_submission_id": "6a02cdbb0cb79d0145000296",
              "intake_form_complete": false,
              "is_lead_booker": true,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            "guests": [],
            "inclusive_tax_amount": -64617236,
            "is_modifiable": true,
            "item_type": "incididunt ut cupidatat id minim",
            "net_total": 49412436,
            "option_budgets": [
              {
                "budget": "in enim ullamco tempor",
                "choice_id": "ut reprehenderit dolore mollit qui",
                "remaining": "aliquip minim ipsum",
                "spent": "consequat ea"
              },
              {
                "budget": "exercitation ea esse dolore Duis",
                "choice_id": "commodo irure cillum",
                "remaining": "fugiat cupidatat",
                "spent": "eu proident id Lorem in"
              },
              {
                "budget": "ipsum laboris in",
                "choice_id": "irure ut Excepteur fugiat cillum",
                "remaining": "est aute Excepteur quis voluptate",
                "spent": "velit Lorem veniam occaecat eu"
              },
              {
                "budget": "Lorem ad ullamco irure cillum",
                "choice_id": "tempor velit esse",
                "remaining": "ea",
                "spent": "eiusmod cillum"
              }
            ],
            "order_discount_amount": 24610780,
            "package_items": [
              {
                "id": "6a02cdbb0cb79d0145000297",
                "booking_summary": {
                  "id": "6a02cdbb0cb79d0145000298",
                  "duration": -90626250,
                  "end_time": "1920-12-12T09:16:52.0Z",
                  "offering": {
                    "id": "6a02cdbb0cb79d0145000299",
                    "name": "30 Minute Massage",
                    "type": "appointment",
                    "product_code": "labore qui est eiusmod non"
                  },
                  "start_time": "1903-03-30T14:36:46.0Z",
                  "status": "confirmed",
                  "created_at": "2025-02-04T12:01:01.0Z",
                  "updated_at": "2025-02-04T12:01:01.0Z"
                },
                "choice_id": "6a02cdbb0cb79d014500029a",
                "duration": 30533188,
                "guests": [
                  {
                    "id": "6a02cdbb0cb79d014500029b",
                    "checked_in_at": "1966-11-11T20:46:06.0Z",
                    "checked_out_at": "1892-07-16T12:37:46.0Z",
                    "customer_id": "283f30dd-6884-18a1-8cd7-65beb394352f",
                    "first_name": "Jane",
                    "intake_form_complete": true,
                    "is_lead_booker": false,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  }
                ],
                "item_configuration": {
                  "veniam_": 15645694.839649633,
                  "eiusmodf0c": "adipisicing nostrud ea",
                  "ad06": -6497411
                },
                "offering_id": "6a02cdbb0cb79d014500029c",
                "offering_name": "cillum",
                "offering_type": "appointment",
                "option_id": "6a02cdbb0cb79d014500029d",
                "price_change": -69957432,
                "reserved_until": "1930-02-14T01:07:23.0Z",
                "shared_basket_item_id": "6a02cdbb0cb79d014500029e",
                "status": "submitted",
                "time": 840
              },
              {
                "id": "6a02cdbb0cb79d014500029f",
                "booking_summary": {
                  "id": "6a02cdbb0cb79d01450002a0",
                  "duration": 24604419,
                  "end_time": "1945-01-19T07:21:29.0Z",
                  "equipment": [
                    {
                      "id": "6a02cdbb0cb79d01450002a1",
                      "name": "Hot Rocks"
                    },
                    {
                      "id": "6a02cdbb0cb79d01450002a2",
                      "name": "Hot Rocks"
                    },
                    {
                      "id": "6a02cdbb0cb79d01450002a3",
                      "name": "Hot Rocks"
                    },
                    {
                      "id": "6a02cdbb0cb79d01450002a4",
                      "name": "Hot Rocks"
                    }
                  ],
                  "equipment_ids": [
                    "6a02cdbb0cb79d01450002a5"
                  ],
                  "offering": {
                    "id": "6a02cdbb0cb79d01450002a6",
                    "name": "30 Minute Massage",
                    "type": "appointment",
                    "product_code": "in incididunt Excepteur"
                  },
                  "practitioners": [
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    }
                  ],
                  "practitioner_ids": [
                    "6a02cdbb0cb79d01450002a7",
                    "6a02cdbb0cb79d01450002a8",
                    "6a02cdbb0cb79d01450002a9"
                  ],
                  "practitioner_was_requested": false,
                  "room": {
                    "id": "5dcb47800000000000000000",
                    "capacity": -14600856,
                    "name": "in aliqua reprehenderit"
                  },
                  "room_id": "6a02cdbb0cb79d01450002aa",
                  "room_was_requested": true,
                  "session_id": "6a02cdbb0cb79d01450002ab",
                  "start_time": "1918-11-26T08:25:34.0Z",
                  "status": "cancelled",
                  "created_at": "2025-02-04T12:01:01.0Z",
                  "updated_at": "2025-02-04T12:01:01.0Z"
                },
                "choice_id": "6a02cdbb0cb79d01450002ac",
                "duration": -30432938,
                "guests": [
                  {
                    "id": "6a02cdbb0cb79d01450002ad",
                    "checked_in_at": "1894-10-18T16:52:45.0Z",
                    "checked_out_at": "1891-08-20T19:49:35.0Z",
                    "customer_id": "29a1a295-81d8-f50a-ee5d-abcc055a3d9e",
                    "email": "OlVjZ6TVR1Hf0j@KYJovo.ki",
                    "first_name": "Jane",
                    "intake_form_submission_id": "6a02cdbb0cb79d01450002ae",
                    "intake_form_complete": false,
                    "is_lead_booker": false,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "6a02cdbb0cb79d01450002af",
                    "checked_in_at": "1901-08-13T08:40:53.0Z",
                    "checked_out_at": "1929-01-10T16:34:59.0Z",
                    "customer_id": "8ee2d7ea-8b03-5465-3d66-38272e9264aa",
                    "email": "CTL7tYz@BJbQytRQpa.pf",
                    "first_name": "Jane",
                    "intake_form_submission_id": "6a02cdbb0cb79d01450002b0",
                    "intake_form_complete": false,
                    "is_lead_booker": false,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "6a02cdbb0cb79d01450002b1",
                    "checked_in_at": "1919-04-12T01:12:31.0Z",
                    "checked_out_at": "1892-05-19T19:58:43.0Z",
                    "customer_id": "4828e879-472d-2bf9-1562-53ead81d3632",
                    "first_name": "Jane",
                    "intake_form_complete": true,
                    "is_lead_booker": true,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "6a02cdbb0cb79d01450002b2",
                    "checked_in_at": "1904-03-23T12:47:28.0Z",
                    "checked_out_at": "1948-11-01T01:53:13.0Z",
                    "customer_id": "be5d01af-df34-d216-eeaf-7b1082f25bc9",
                    "email": "mIxg7F@lyRaEXNgObqL.apy",
                    "first_name": "Jane",
                    "intake_form_submission_id": "6a02cdbb0cb79d01450002b3",
                    "intake_form_complete": true,
                    "is_lead_booker": false,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "6a02cdbb0cb79d01450002b4",
                    "checked_in_at": "1959-03-11T18:19:54.0Z",
                    "checked_out_at": "1914-02-27T17:10:48.0Z",
                    "customer_id": "2da907af-31a9-0abc-3882-6c7d4d505656",
                    "email": "wcWrnZ67O@DGJBwwhUbEzhSb.xnee",
                    "first_name": "Jane",
                    "intake_form_submission_id": "6a02cdbb0cb79d01450002b5",
                    "intake_form_complete": false,
                    "is_lead_booker": false,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  }
                ],
                "item_configuration": {
                  "nisi_c": "et consequat cupidatat quis in"
                },
                "offering_id": "6a02cdbb0cb79d01450002b6",
                "offering_name": "dolore elit dolore",
                "offering_type": "appointment",
                "option_id": "6a02cdbb0cb79d01450002b7",
                "price_change": -53101336,
                "reserved_until": "1952-05-28T11:30:45.0Z",
                "shared_basket_item_id": "6a02cdbb0cb79d01450002b8",
                "status": "submitted",
                "time": 840
              },
              {
                "id": "6a02cdbb0cb79d01450002b9",
                "booking_summary": {
                  "id": "6a02cdbb0cb79d01450002ba",
                  "duration": 98911443,
                  "end_time": "1898-04-02T20:26:54.0Z",
                  "offering": {
                    "id": "6a02cdbb0cb79d01450002bb",
                    "name": "30 Minute Massage",
                    "type": "appointment",
                    "product_code": "ea sunt mollit pariatur consectetur"
                  },
                  "start_time": "1896-08-14T10:11:49.0Z",
                  "status": "waitlisted",
                  "created_at": "2025-02-04T12:01:01.0Z",
                  "updated_at": "2025-02-04T12:01:01.0Z"
                },
                "choice_id": "6a02cdbb0cb79d01450002bc",
                "duration": 95694258,
                "guests": [],
                "item_configuration": {
                  "exercitation9b3": true,
                  "qui_f0a": 59707148
                },
                "offering_id": "6a02cdbb0cb79d01450002bd",
                "offering_name": "esse",
                "offering_type": "appointment",
                "option_id": "6a02cdbb0cb79d01450002be",
                "price_change": -42583309,
                "reserved_until": "1919-03-28T15:46:37.0Z",
                "shared_basket_item_id": "6a02cdbb0cb79d01450002bf",
                "status": "submitted",
                "time": 840
              }
            ],
            "price": 61255619,
            "sold_by": {
              "id": "ad laboris magna",
              "name": "pariatur officia ipsum velit dolore",
              "type": "practitioner"
            },
            "status": "reserved",
            "total_cost": -81364977,
            "type_id": "6a02cdbb0cb79d01450002c0",
            "type_name": "deserunt Duis in",
            "type_product_code": "officia",
            "created_at": "2025-02-04T12:01:01.0Z",
            "updated_at": "2025-02-04T12:01:01.0Z"
          },
          {
            "id": "6a02cdbb0cb79d01450002c1",
            "added_by_customer": false,
            "base_price": -40030985,
            "date": "1930-10-17",
            "discount_amount": -17622050,
            "discounts": [
              {
                "id": "6a02cdbb0cb79d01450002c2",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1935-08-04T08:58:40.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d01450002c3",
                  "avatar": {
                    "id": "890d20b6-0926-3e6c-c17a-8b1ca01f27b5",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "t2EW@WivseP.ywz",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d01450002c4",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "e431471b-0821-0683-2b9f-be03b8b7080b"
                },
                "coupon_code_id": "6a02cdbb0cb79d01450002c5",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "8f3c779b-c1ff-e3e5-f049-e3cf995c22af"
              },
              {
                "id": "6a02cdbb0cb79d01450002c6",
                "amount_type": "percentage",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1958-01-03T16:42:24.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d01450002c7",
                  "avatar": {
                    "id": "f3079b60-fe51-355b-d2ab-9720c7a3f17e",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "jhdoMgZ@JSzfJvrOeHFZIQjQjCsIqmk.mfow",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d01450002c8",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "4b9969a2-ffbf-609c-544f-fc83bebf110f"
                },
                "coupon_code_id": "6a02cdbb0cb79d01450002c9",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "83d499d7-89da-3687-df0e-f96489e20a6a"
              }
            ],
            "exclusive_tax_amount": -33951864,
            "guest": {
              "id": "6a02cdbb0cb79d01450002ca",
              "checked_in_at": "1934-10-28T22:53:50.0Z",
              "checked_out_at": "1921-11-06T02:11:17.0Z",
              "customer_id": "78be91e5-c854-8a92-3286-0ae3826defe2",
              "email": "UfBGDs@CaRqwJNbP.qgv",
              "first_name": "Jane",
              "intake_form_submission_id": "6a02cdbb0cb79d01450002cb",
              "intake_form_complete": false,
              "is_lead_booker": false,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            "guests": [
              {
                "id": "6a02cdbb0cb79d01450002cc",
                "checked_in_at": "1964-12-19T08:14:05.0Z",
                "checked_out_at": "1944-03-22T22:48:39.0Z",
                "customer_id": "f7ef4dfd-b60f-95d7-9f05-3d7355dbcb6d",
                "email": "3uTL2-swOs@BvOUviiHrJvuuQR.fc",
                "first_name": "Jane",
                "intake_form_submission_id": "6a02cdbb0cb79d01450002cd",
                "intake_form_complete": true,
                "is_lead_booker": true,
                "last_name": "Doe",
                "name": "Jane Doe"
              },
              {
                "id": "6a02cdbb0cb79d01450002ce",
                "checked_in_at": "1957-04-21T04:57:07.0Z",
                "checked_out_at": "1961-01-27T13:49:56.0Z",
                "customer_id": "54e82364-8a1e-fcde-c08d-02e1c53e3e6a",
                "first_name": "Jane",
                "intake_form_complete": false,
                "is_lead_booker": true,
                "last_name": "Doe",
                "name": "Jane Doe"
              },
              {
                "id": "6a02cdbb0cb79d01450002cf",
                "checked_in_at": "1969-09-10T08:32:36.0Z",
                "checked_out_at": "1934-02-06T03:56:12.0Z",
                "customer_id": "31bc9528-d6a4-b59a-3675-20af491248b5",
                "email": "BbVk3Kf5@senUptq.be",
                "first_name": "Jane",
                "intake_form_submission_id": "6a02cdbb0cb79d01450002d0",
                "intake_form_complete": true,
                "is_lead_booker": true,
                "last_name": "Doe",
                "name": "Jane Doe"
              }
            ],
            "inclusive_tax_amount": 97761870,
            "is_modifiable": false,
            "item_type": "eiusmod",
            "net_total": -80757052,
            "option_budgets": [
              {
                "budget": "deserunt",
                "choice_id": "Excepteur qui sint",
                "remaining": "voluptate Duis nostrud sed",
                "spent": "ipsum Excepteur pariatur officia amet"
              }
            ],
            "order_discount_amount": 86810930,
            "package_items": [
              {
                "id": "6a02cdbb0cb79d01450002d1",
                "booking_summary": {
                  "id": "6a02cdbb0cb79d01450002d2",
                  "area_ids": [
                    "6a02cdbb0cb79d01450002d3",
                    "6a02cdbb0cb79d01450002d4",
                    "6a02cdbb0cb79d01450002d5",
                    "6a02cdbb0cb79d01450002d6"
                  ],
                  "areas": [
                    {
                      "id": "6a02cdbb0cb79d01450002d7",
                      "name": "Hot Tub 1"
                    },
                    {
                      "id": "6a02cdbb0cb79d01450002d8",
                      "name": "Hot Tub 1"
                    },
                    {
                      "id": "6a02cdbb0cb79d01450002d9",
                      "name": "Hot Tub 1"
                    },
                    {
                      "id": "6a02cdbb0cb79d01450002da",
                      "name": "Hot Tub 1"
                    },
                    {
                      "id": "6a02cdbb0cb79d01450002db",
                      "name": "Hot Tub 1"
                    }
                  ],
                  "duration": 65851511,
                  "end_time": "1934-01-19T08:55:35.0Z",
                  "offering": {
                    "id": "6a02cdbb0cb79d01450002dc",
                    "name": "30 Minute Massage",
                    "type": "appointment",
                    "product_code": "et cillum non Lorem"
                  },
                  "start_time": "1957-12-06T12:32:03.0Z",
                  "status": "pending_confirmation",
                  "created_at": "2025-02-04T12:01:01.0Z",
                  "updated_at": "2025-02-04T12:01:01.0Z"
                },
                "choice_id": "6a02cdbb0cb79d01450002dd",
                "duration": 79583103,
                "guests": [
                  {
                    "id": "6a02cdbb0cb79d01450002de",
                    "checked_in_at": "1957-12-15T13:53:46.0Z",
                    "checked_out_at": "1931-12-31T15:10:45.0Z",
                    "customer_id": "af396676-2752-8559-75bc-41e9ec1831e5",
                    "email": "jF-Nwq9@JfDdSkWqpCUoDddI.azd",
                    "first_name": "Jane",
                    "intake_form_submission_id": "6a02cdbb0cb79d01450002df",
                    "intake_form_complete": false,
                    "is_lead_booker": true,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "6a02cdbb0cb79d01450002e0",
                    "checked_in_at": "1923-08-04T01:16:25.0Z",
                    "checked_out_at": "1947-05-31T01:33:04.0Z",
                    "customer_id": "95427619-635e-fda2-d0ac-79cff569c1a7",
                    "email": "YkK26@nBKWEZFGkeYhOVNLmakP.ptz",
                    "first_name": "Jane",
                    "intake_form_submission_id": "6a02cdbb0cb79d01450002e1",
                    "intake_form_complete": false,
                    "is_lead_booker": true,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  }
                ],
                "item_configuration": {
                  "suntd8": "aute dolore",
                  "veniam_66_": "adipisicing ea do est cupidatat"
                },
                "offering_id": "6a02cdbb0cb79d01450002e2",
                "offering_name": "qui cupidatat fugiat aliqua adipisicing",
                "offering_type": "appointment",
                "option_id": "6a02cdbb0cb79d01450002e3",
                "price_change": -989133,
                "reserved_until": "1891-08-07T07:59:50.0Z",
                "shared_basket_item_id": "6a02cdbb0cb79d01450002e4",
                "status": "submitted",
                "time": 840
              },
              {
                "id": "6a02cdbb0cb79d01450002e5",
                "booking_summary": {
                  "id": "6a02cdbb0cb79d01450002e6",
                  "duration": 90271418,
                  "end_time": "1928-06-11T01:11:52.0Z",
                  "offering": {
                    "id": "6a02cdbb0cb79d01450002e7",
                    "name": "30 Minute Massage",
                    "type": "appointment",
                    "product_code": "sint"
                  },
                  "start_time": "1903-01-22T04:13:38.0Z",
                  "status": "reserved",
                  "created_at": "2025-02-04T12:01:01.0Z",
                  "updated_at": "2025-02-04T12:01:01.0Z"
                },
                "choice_id": "6a02cdbb0cb79d01450002e8",
                "duration": -90596039,
                "guests": [
                  {
                    "id": "6a02cdbb0cb79d01450002e9",
                    "checked_in_at": "1906-02-16T22:01:34.0Z",
                    "checked_out_at": "1957-08-08T02:26:03.0Z",
                    "customer_id": "4072b56a-9e8e-9dd4-a933-b42b9aaf6b35",
                    "email": "8T5yHAgdgQLFo@fWQYywGmhUy.wg",
                    "first_name": "Jane",
                    "intake_form_submission_id": "6a02cdbb0cb79d01450002ea",
                    "intake_form_complete": true,
                    "is_lead_booker": false,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "6a02cdbb0cb79d01450002eb",
                    "checked_in_at": "1953-12-20T18:38:17.0Z",
                    "checked_out_at": "1905-10-28T03:57:19.0Z",
                    "customer_id": "4ff55e17-3a41-071c-ab4c-9bb988728f3b",
                    "email": "T3w@LesgXBZKRbYjKXaWmpuzXqnYfkzqDj.qw",
                    "first_name": "Jane",
                    "intake_form_submission_id": "6a02cdbb0cb79d01450002ec",
                    "intake_form_complete": true,
                    "is_lead_booker": false,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "6a02cdbb0cb79d01450002ed",
                    "checked_in_at": "1909-11-13T01:36:35.0Z",
                    "checked_out_at": "1905-06-05T01:53:32.0Z",
                    "customer_id": "9f63b59d-9a38-7c03-6f22-f00ba670c618",
                    "email": "Uxb@MOsWByGpoIejfoHoNuLU.wvsu",
                    "first_name": "Jane",
                    "intake_form_complete": false,
                    "is_lead_booker": true,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "6a02cdbb0cb79d01450002ee",
                    "checked_in_at": "1959-05-11T12:05:48.0Z",
                    "checked_out_at": "1939-02-27T09:28:01.0Z",
                    "customer_id": "6b560f0f-8c69-af40-4717-356cbe5d772e",
                    "email": "BoxlfZKR4V@zRCbO.qn",
                    "first_name": "Jane",
                    "intake_form_submission_id": "6a02cdbb0cb79d01450002ef",
                    "intake_form_complete": false,
                    "is_lead_booker": true,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  }
                ],
                "item_configuration": {
                  "id_d21": false
                },
                "offering_id": "6a02cdbb0cb79d01450002f0",
                "offering_name": "sed ullamco",
                "offering_type": "appointment",
                "option_id": "6a02cdbb0cb79d01450002f1",
                "price_change": -74200718,
                "reserved_until": "1931-02-24T19:43:07.0Z",
                "shared_basket_item_id": "6a02cdbb0cb79d01450002f2",
                "status": "submitted",
                "time": 840
              },
              {
                "id": "6a02cdbb0cb79d01450002f3",
                "booking_summary": {
                  "id": "6a02cdbb0cb79d01450002f4",
                  "area_ids": [],
                  "areas": [],
                  "duration": 34999289,
                  "end_time": "1936-06-04T04:30:29.0Z",
                  "offering": {
                    "id": "6a02cdbb0cb79d01450002f5",
                    "name": "30 Minute Massage",
                    "type": "appointment",
                    "product_code": "enim in"
                  },
                  "start_time": "1956-03-15T06:11:15.0Z",
                  "status": "reserved",
                  "created_at": "2025-02-04T12:01:01.0Z",
                  "updated_at": "2025-02-04T12:01:01.0Z"
                },
                "choice_id": "6a02cdbb0cb79d01450002f6",
                "duration": 14642810,
                "guests": [
                  {
                    "id": "6a02cdbb0cb79d01450002f7",
                    "checked_in_at": "1899-11-26T09:47:32.0Z",
                    "checked_out_at": "1907-08-19T10:47:42.0Z",
                    "customer_id": "069d2940-221b-d7bd-38b1-cbf1915ff0f4",
                    "email": "L04tGOcKMYl3Nts@STC.uesk",
                    "first_name": "Jane",
                    "intake_form_submission_id": "6a02cdbb0cb79d01450002f8",
                    "intake_form_complete": true,
                    "is_lead_booker": true,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "6a02cdbb0cb79d01450002f9",
                    "checked_in_at": "1939-02-16T09:48:30.0Z",
                    "checked_out_at": "1953-10-12T20:15:25.0Z",
                    "customer_id": "69e2f87b-7e9c-dd5f-55ff-b5aa74b5d601",
                    "email": "SraJf2pd-UIg@RlfTweE.bw",
                    "first_name": "Jane",
                    "intake_form_submission_id": "6a02cdbb0cb79d01450002fa",
                    "intake_form_complete": true,
                    "is_lead_booker": true,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  }
                ],
                "item_configuration": {
                  "quis_d3": "cupidatat",
                  "commodo8": true
                },
                "offering_id": "6a02cdbb0cb79d01450002fb",
                "offering_name": "ea commodo",
                "offering_type": "appointment",
                "option_id": "6a02cdbb0cb79d01450002fc",
                "price_change": -71898018,
                "reserved_until": "1966-12-06T10:22:13.0Z",
                "shared_basket_item_id": "6a02cdbb0cb79d01450002fd",
                "time": 840
              },
              {
                "id": "6a02cdbb0cb79d01450002fe",
                "choice_id": "6a02cdbb0cb79d01450002ff",
                "duration": -94267321,
                "guests": [
                  {
                    "id": "6a02cdbb0cb79d0145000300",
                    "checked_in_at": "1968-08-03T01:42:01.0Z",
                    "checked_out_at": "1947-12-04T10:03:58.0Z",
                    "customer_id": "49448445-80b8-0add-5604-d18cb573da89",
                    "email": "R5eK2X6ARMC8Rh@mJNyUtClWPFzOnGykjiVNi.ipx",
                    "first_name": "Jane",
                    "intake_form_submission_id": "6a02cdbb0cb79d0145000301",
                    "intake_form_complete": false,
                    "is_lead_booker": true,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  }
                ],
                "item_configuration": {
                  "cupidatat_41": "cupidatat fugiat proident"
                },
                "offering_id": "6a02cdbb0cb79d0145000302",
                "offering_name": "irure ullamco nulla officia",
                "offering_type": "appointment",
                "option_id": "6a02cdbb0cb79d0145000303",
                "price_change": 13280843,
                "reserved_until": "1967-03-08T08:51:37.0Z",
                "status": "submitted",
                "time": 840
              },
              {
                "id": "6a02cdbb0cb79d0145000304",
                "booking_summary": {
                  "id": "6a02cdbb0cb79d0145000305",
                  "duration": -13177156,
                  "end_time": "1903-11-02T14:19:55.0Z",
                  "equipment": [],
                  "equipment_ids": [
                    "6a02cdbb0cb79d0145000306",
                    "6a02cdbb0cb79d0145000307",
                    "6a02cdbb0cb79d0145000308",
                    "6a02cdbb0cb79d0145000309"
                  ],
                  "offering": {
                    "id": "6a02cdbb0cb79d014500030a",
                    "name": "30 Minute Massage",
                    "type": "appointment",
                    "product_code": "ex proident pariatur sed officia"
                  },
                  "practitioners": [
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    },
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    },
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    },
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    },
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    }
                  ],
                  "practitioner_ids": [
                    "6a02cdbb0cb79d014500030b",
                    "6a02cdbb0cb79d014500030c",
                    "6a02cdbb0cb79d014500030d"
                  ],
                  "practitioner_was_requested": true,
                  "room": {
                    "id": "5dcb47800000000000000000",
                    "capacity": -70750711,
                    "name": "officia"
                  },
                  "room_id": "6a02cdbb0cb79d014500030e",
                  "room_was_requested": false,
                  "session_id": "6a02cdbb0cb79d014500030f",
                  "start_time": "1892-02-17T18:08:29.0Z",
                  "status": "reserved",
                  "created_at": "2025-02-04T12:01:01.0Z",
                  "updated_at": "2025-02-04T12:01:01.0Z"
                },
                "choice_id": "6a02cdbb0cb79d0145000310",
                "duration": -11161502,
                "guests": [],
                "item_configuration": {
                  "aliqua3f": false,
                  "elit_e2": false
                },
                "offering_id": "6a02cdbb0cb79d0145000311",
                "offering_name": "ut velit cillum",
                "offering_type": "appointment",
                "option_id": "6a02cdbb0cb79d0145000312",
                "price_change": 19246264,
                "reserved_until": "1946-09-20T17:27:51.0Z",
                "shared_basket_item_id": "6a02cdbb0cb79d0145000313",
                "status": "submitted",
                "time": 840
              }
            ],
            "price": -21632522,
            "sold_by": {
              "id": "occaecat in amet fugiat nostrud",
              "name": "tempor dolore",
              "type": "practitioner"
            },
            "status": "confirmed",
            "total_cost": -65260168,
            "type_id": "6a02cdbb0cb79d0145000314",
            "type_name": "in",
            "type_product_code": "ipsum tempor",
            "created_at": "2025-02-04T12:01:01.0Z",
            "updated_at": "2025-02-04T12:01:01.0Z"
          }
        ],
        "payment_totals": {
          "chargeable": 500,
          "missing": 1000,
          "paid": 750,
          "pending": 250,
          "provided": 1500,
          "unpaid": 1000
        },
        "payments": [
          {
            "id": "6a02cdbb0cb79d0145000315",
            "amount": 10000,
            "capture_method": "automatic",
            "chargebacks": [
              {
                "id": "6a02cdbb0cb79d0145000316",
                "amount": "commodo esse sed laborum magna",
                "currency": "gbp",
                "payment_id": "6a02cdbb0cb79d0145000317",
                "processor_data": {
                  "auted8": -48011670
                },
                "reason": "sed",
                "status": "reversed",
                "created_at": "2025-02-04T12:01:01.0Z"
              },
              {
                "id": "6a02cdbb0cb79d0145000318",
                "amount": "Excepteur",
                "currency": "gbp",
                "payment_id": "6a02cdbb0cb79d0145000319",
                "processor_data": {
                  "elit_302": true
                },
                "reason": "sint",
                "status": "confirmed",
                "created_at": "2025-02-04T12:01:01.0Z"
              },
              {
                "id": "6a02cdbb0cb79d014500031a",
                "amount": "laboris cillum",
                "currency": "gbp",
                "payment_id": "6a02cdbb0cb79d014500031b",
                "processor_data": {
                  "idb": "ut sit exercitation officia aliquip",
                  "Ut_e8": "sint cupidatat laboris aliqua"
                },
                "reason": "pariatur magna anim ex",
                "status": "reversed",
                "created_at": "2025-02-04T12:01:01.0Z"
              }
            ],
            "currency": "gbp",
            "details_source": "pay_by_link",
            "failure_reason": "Suspected fraud",
            "order_ref": "irure laborum dolore",
            "paid_at": "2020-02-24T12:01:01.0Z",
            "payable_id": "6a02cdbb0cb79d014500031c",
            "payable_type": "dolore",
            "processor": "stripe",
            "processor_data": {
              "elit30d": "ea Lorem officia"
            },
            "processor_id": "6a02cdbb0cb79d014500031d",
            "processor_type": "laborum eu ea",
            "refundable_amount": 3500,
            "refunds": [
              {
                "id": "6a02cdbb0cb79d014500031e",
                "payment_id": "6a02cdbb0cb79d014500031f",
                "amount": 73131419,
                "currency": "gbp",
                "notes": "nostrud consequat reprehenderit amet velit",
                "status": "failed",
                "processor_data": {
                  "et6c2": -75877103,
                  "cupidatat_3": -38391917,
                  "in81a": -67674514.36406611,
                  "in71": 39891740.56225604
                },
                "created_at": "1899-06-08T06:35:32.0Z"
              },
              {
                "id": "6a02cdbb0cb79d0145000320",
                "payment_id": "6a02cdbb0cb79d0145000321",
                "amount": -79892717,
                "currency": "gbp",
                "notes": "ipsum",
                "status": "failed",
                "processor_data": {
                  "dolor48_": "in",
                  "anim9b": -75504327.81877281
                },
                "created_at": "1890-12-26T19:03:08.0Z"
              }
            ],
            "status": "failed",
            "created_at": "2025-02-04T12:01:01.0Z"
          }
        ],
        "phone": "+447727123456",
        "post_to_room_config": {
          "associated_at": "1934-04-17T02:37:16.0Z",
          "processor_data": {
            "G#": 2081111,
            "RN": "9500"
          }
        },
        "promo_code_applied_at": "1930-11-17T06:02:03.0Z",
        "promo_code_applied_by": {
          "id": "6a02cdbb0cb79d0145000322",
          "avatar": {
            "id": "776cbdc0-a28d-ebb4-c333-cb4def021540",
            "file_name": "super-cool-photo.jpg",
            "mime_type": "image/jpeg",
            "original_url": "https://example.com/media/super-cool-photo.jpg",
            "size": 84256,
            "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
          },
          "email": "mF2y6vs4@XZm.ljjc",
          "first_name": "Jane",
          "full_name": "Jane Smith",
          "last_name": "Smith"
        },
        "purchase_items": [
          {
            "id": "6a02cdbb0cb79d0145000323",
            "added_by_customer": false,
            "base_price": 99641204,
            "discount_amount": 72383476,
            "discounts": [
              {
                "id": "6a02cdbb0cb79d0145000324",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1903-01-11T19:32:19.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d0145000325",
                  "avatar": {
                    "id": "5e8f54c7-ae10-b073-7ba7-b4615bfd51c5",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "My5Va3IWMQfW6qi@LvGScqtn.erag",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d0145000326",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "18d2c3ea-6841-b4a9-5454-22ed931fe841"
                },
                "coupon_code_id": "6a02cdbb0cb79d0145000327",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "f9854eff-9ad5-345d-a667-b93d22972cef"
              },
              {
                "id": "6a02cdbb0cb79d0145000328",
                "amount_type": "percentage",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1906-04-20T14:46:16.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d0145000329",
                  "avatar": {
                    "id": "309248e6-fc5f-e1c4-fd56-0329be348f09",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "WyvBbV3ts@jwQncCrAOOnWypbHUSBLcz.oiff",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d014500032a",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "3b90b635-5aa2-8f95-ce88-3b24288e1d79"
                },
                "coupon_code_id": "6a02cdbb0cb79d014500032b",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "13597afc-b84a-8bda-67da-9d4ebe781ee0"
              },
              {
                "id": "6a02cdbb0cb79d014500032c",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1917-11-23T16:27:14.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d014500032d",
                  "avatar": {
                    "id": "165fa9b7-59a2-320d-c935-24d3704cf9cc",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "LAdpOKM@OmhztrekDolRtRLXTRFHBWPYWrbV.ku",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d014500032e",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "57f24201-7fed-5766-adde-6a71e2de4f96"
                },
                "coupon_code_id": "6a02cdbb0cb79d014500032f",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "ad40c6ef-58cd-62ff-73ed-9b8c59485841"
              }
            ],
            "exclusive_tax_amount": -76359266,
            "guests": [
              {
                "id": "6a02cdbb0cb79d0145000330",
                "checked_in_at": "1909-04-02T09:05:55.0Z",
                "checked_out_at": "1946-03-20T02:17:52.0Z",
                "customer_id": "2363dadc-d11e-d143-eb95-cc6015831802",
                "email": "OmCF2HlUm@QJNRPuqXgaDeFZMSuzWstZEdWYg.nej",
                "first_name": "Jane",
                "intake_form_submission_id": "6a02cdbb0cb79d0145000331",
                "intake_form_complete": true,
                "is_lead_booker": true,
                "last_name": "Doe",
                "name": "Jane Doe"
              },
              {
                "id": "6a02cdbb0cb79d0145000332",
                "checked_in_at": "1942-09-01T02:52:07.0Z",
                "checked_out_at": "1905-02-05T23:41:28.0Z",
                "customer_id": "e2890b86-b2f5-9176-13a1-5a59f95ba917",
                "email": "6AERS-qJj741@URRm.dhoq",
                "first_name": "Jane",
                "intake_form_submission_id": "6a02cdbb0cb79d0145000333",
                "intake_form_complete": false,
                "is_lead_booker": true,
                "last_name": "Doe",
                "name": "Jane Doe"
              }
            ],
            "inclusive_tax_amount": -75987015,
            "is_modifiable": false,
            "item_configuration": {
              "non6": "deserunt occaecat incididunt labore",
              "labore_b": 92621768.57244638,
              "quis_91": false
            },
            "item_type": "ad voluptate sed fugiat cupidatat",
            "net_total": -6704326,
            "order_discount_amount": 70355898,
            "purchasable_details": {
              "occaecat4ed": "consectetur ad aliqua irure",
              "id": "6a02cdbb0cb79d0145000334"
            },
            "quantity": -26800034,
            "reserved_until": "1911-04-19T22:54:14.0Z",
            "sold_by": {
              "id": "consequat",
              "name": "enim labore",
              "type": "user"
            },
            "status": "pending_confirmation",
            "total_cost": -5639261,
            "type_id": "6a02cdbb0cb79d0145000335",
            "type_name": "veniam",
            "type_product_code": "consectetur",
            "unit_price": 97752711,
            "created_at": "2025-02-04T12:01:01.0Z",
            "updated_at": "2025-02-04T12:01:01.0Z"
          },
          {
            "id": "6a02cdbb0cb79d0145000336",
            "added_by_customer": false,
            "base_price": 82467363,
            "discount_amount": 99359038,
            "discounts": [
              {
                "id": "6a02cdbb0cb79d0145000337",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1912-07-07T13:12:33.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d0145000338",
                  "avatar": {
                    "id": "b6cf6555-0d1b-a752-2da1-fcac3058f5bb",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "gD1Sj-sXe@SOfOlLzczxlbeTu.rkj",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d0145000339",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "717f1463-af6b-a556-99ee-1b9096075c7c"
                },
                "coupon_code_id": "6a02cdbb0cb79d014500033a",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "8816e951-1169-e71e-816f-8124bb3dd34b"
              },
              {
                "id": "6a02cdbb0cb79d014500033b",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1918-03-23T09:01:18.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d014500033c",
                  "avatar": {
                    "id": "cbeaea4b-eaf9-3d15-9884-070b91dc50ba",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "QBSn7@hjZyesUxmwJfeAXZfGkMcG.uuwc",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d014500033d",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "feb108c9-43b6-9728-00bc-a2cb9da3ff5e"
                },
                "coupon_code_id": "6a02cdbb0cb79d014500033e",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "6a7f15f0-1306-258b-df68-cec0b9a11e49"
              },
              {
                "id": "6a02cdbb0cb79d014500033f",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1950-03-30T08:11:29.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d0145000340",
                  "avatar": {
                    "id": "d2a7a247-ceea-bc57-0b55-639ed98546e6",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "To5lRVo@TLniSbwmSGLolrZXBRmEdGednMPEFyKQR.kak",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d0145000341",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "24eab6cc-9786-472f-906c-4500380c7407"
                },
                "coupon_code_id": "6a02cdbb0cb79d0145000342",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "282ba88d-1a38-6404-4921-e31388291fbc"
              }
            ],
            "exclusive_tax_amount": -46309990,
            "guests": [
              {
                "id": "6a02cdbb0cb79d0145000343",
                "checked_in_at": "1944-04-03T05:03:48.0Z",
                "checked_out_at": "1941-01-18T15:45:06.0Z",
                "customer_id": "18b78c91-7c80-1916-71f0-23abaf25871c",
                "email": "hncfKELRg04JrgP@wDCdYwbzaUEzFRwOEeqJfd.vtu",
                "first_name": "Jane",
                "intake_form_submission_id": "6a02cdbb0cb79d0145000344",
                "intake_form_complete": true,
                "is_lead_booker": false,
                "last_name": "Doe",
                "name": "Jane Doe"
              },
              {
                "id": "6a02cdbb0cb79d0145000345",
                "checked_in_at": "1942-07-01T17:44:43.0Z",
                "checked_out_at": "1900-07-31T03:39:31.0Z",
                "customer_id": "c2742501-49a0-a608-e36e-f0388319ddd8",
                "email": "Sal6I3lW5edF@mdZiUEHtQhgAHtXVx.nbfk",
                "first_name": "Jane",
                "intake_form_complete": false,
                "is_lead_booker": false,
                "last_name": "Doe",
                "name": "Jane Doe"
              }
            ],
            "inclusive_tax_amount": 33955759,
            "is_modifiable": true,
            "item_configuration": {
              "occaecat3": "id Lorem nisi dolore laborum",
              "nostrud_3": false,
              "veniam7": 59975598.28508279,
              "laborum_5ed": true,
              "sunt_80": 10245615.967486948
            },
            "item_type": "Excepteur adipisicing laborum velit exercitation",
            "net_total": -76785482,
            "order_discount_amount": -73688483,
            "purchasable_details": {
              "laboris_fd": 62273032.26053557,
              "enim_5": "ut dolor",
              "id": "6a02cdbb0cb79d0145000346"
            },
            "quantity": -66310542,
            "reserved_until": "1905-05-05T21:48:20.0Z",
            "sold_by": {
              "id": "eu",
              "name": "dolore",
              "type": ""
            },
            "status": "reserved",
            "total_cost": 33949208,
            "type_id": "6a02cdbb0cb79d0145000347",
            "type_name": "est id consequat",
            "type_product_code": "eiusmod Excepteur Ut",
            "unit_price": 53679461,
            "created_at": "2025-02-04T12:01:01.0Z",
            "updated_at": "2025-02-04T12:01:01.0Z"
          },
          {
            "id": "6a02cdbb0cb79d0145000348",
            "added_by_customer": false,
            "base_price": -67680459,
            "discount_amount": 98592400,
            "discounts": [
              {
                "id": "6a02cdbb0cb79d0145000349",
                "amount_type": "percentage",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1898-03-20T18:32:28.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d014500034a",
                  "avatar": {
                    "id": "3df7d802-4dd3-1ccb-d3c0-b47ffd4d2f4e",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "2oQLibpNJWy6X@HBQXljx.ipr",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d014500034b",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "e7ec133c-cb5c-49ca-1bbb-735655dcdd1f"
                },
                "coupon_code_id": "6a02cdbb0cb79d014500034c",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "d6ca0591-7679-547a-5345-11524c9ef38b"
              },
              {
                "id": "6a02cdbb0cb79d014500034d",
                "amount_type": "percentage",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1936-11-16T06:29:06.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d014500034e",
                  "avatar": {
                    "id": "6610c6e2-7c86-e476-a6ea-0a4751efedc0",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "bXfryIez9@lrNbDnuIXBFJt.uwts",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d014500034f",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "dbf5e330-ca25-4a23-a28b-b371bb575a8d"
                },
                "coupon_code_id": "6a02cdbb0cb79d0145000350",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "54350295-2680-f36b-9d02-3240a317d15f"
              },
              {
                "id": "6a02cdbb0cb79d0145000351",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1959-05-22T15:56:59.0Z",
                "applied_by": {
                  "id": "6a02cdbb0cb79d0145000352",
                  "avatar": {
                    "id": "38df0d84-3c65-839f-e7be-87746ac40fe3",
                    "file_name": "super-cool-photo.jpg",
                    "mime_type": "image/jpeg",
                    "original_url": "https://example.com/media/super-cool-photo.jpg",
                    "size": 84256,
                    "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
                  },
                  "email": "SaZGjpie2yW99UF@LvWEYKMrDCHybSYfiPCTQN.ip",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "6a02cdbb0cb79d0145000353",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "c4396873-2517-c7a5-aee7-e3ff5435772e"
                },
                "coupon_code_id": "6a02cdbb0cb79d0145000354",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "a72b6146-a151-fd7b-6c00-e084c822e6a4"
              }
            ],
            "exclusive_tax_amount": 9893832,
            "guests": [
              {
                "id": "6a02cdbb0cb79d0145000355",
                "checked_in_at": "1915-04-03T15:56:27.0Z",
                "checked_out_at": "1906-10-17T04:23:01.0Z",
                "customer_id": "62433075-62e2-0f50-ed3d-f31557e89df8",
                "email": "l1iE7k@yzNAdTesMMCbScYBHuoiBrsBxmiXFh.lqx",
                "first_name": "Jane",
                "intake_form_submission_id": "6a02cdbb0cb79d0145000356",
                "intake_form_complete": false,
                "is_lead_booker": false,
                "last_name": "Doe",
                "name": "Jane Doe"
              },
              {
                "id": "6a02cdbb0cb79d0145000357",
                "checked_in_at": "1895-03-03T03:50:12.0Z",
                "checked_out_at": "1967-03-21T10:30:20.0Z",
                "customer_id": "9e8e8860-5061-4d0e-b9fe-7e60d289b1db",
                "email": "pRN9APi@xuBHTKMZDdDLacNL.rpdc",
                "first_name": "Jane",
                "intake_form_submission_id": "6a02cdbb0cb79d0145000358",
                "intake_form_complete": false,
                "is_lead_booker": false,
                "last_name": "Doe",
                "name": "Jane Doe"
              },
              {
                "id": "6a02cdbb0cb79d0145000359",
                "checked_in_at": "1926-12-28T02:30:59.0Z",
                "checked_out_at": "1962-03-09T11:32:12.0Z",
                "customer_id": "11c6f4f2-c096-b3c2-e49d-c2f07ba4e239",
                "email": "goE7GN59kk-Wb9e@lGZlWfEegGDzMaSOPqe.ozz",
                "first_name": "Jane",
                "intake_form_submission_id": "6a02cdbb0cb79d014500035a",
                "intake_form_complete": false,
                "is_lead_booker": false,
                "last_name": "Doe",
                "name": "Jane Doe"
              }
            ],
            "inclusive_tax_amount": 18451799,
            "is_modifiable": false,
            "item_configuration": {
              "mollit0e5": -33657262.9611672,
              "incididunt_1": true,
              "id_3": "ex Lorem nisi nulla ut",
              "sed9": true,
              "eu_37_": true
            },
            "item_type": "ipsum dolor veniam",
            "net_total": -89292357,
            "order_discount_amount": -41297052,
            "purchasable_details": {
              "ut_e42": 58150567.10663077,
              "minim_4c": -30751308,
              "id": "6a02cdbb0cb79d014500035b"
            },
            "quantity": 42120453,
            "reserved_until": "1937-05-31T17:47:36.0Z",
            "sold_by": {
              "id": "nisi officia in",
              "name": "ut",
              "type": "user"
            },
            "status": "confirmed",
            "total_cost": 3917801,
            "type_id": "6a02cdbb0cb79d014500035c",
            "type_name": "magna",
            "type_product_code": "dolore enim in ad id",
            "unit_price": 35775868,
            "created_at": "2025-02-04T12:01:01.0Z",
            "updated_at": "2025-02-04T12:01:01.0Z"
          }
        ],
        "sales_channel": {
          "id": "6a02cdbb0cb79d014500035d",
          "name": "Web",
          "organisation_id": "c6c6fc3c-5f45-92ae-bb04-c8576fe3e83c"
        },
        "service_charge": {
          "amount": 1000,
          "item_amounts": [],
          "percentage": 10
        },
        "site_id": "60d4043c-e160-5046-3bf1-cd265b7d067c",
        "special_requests": "I would like the Blue Room please",
        "stage": "not_arrived",
        "status": "submitted",
        "submit_auth_amount": -7881624,
        "submit_payment_amount": -19389817,
        "submitted_at": "2020-02-24T12:01:01.0Z",
        "submitted_by": {
          "id": "6a02cdbb0cb79d014500035e",
          "avatar": {
            "id": "170d9390-9346-dcc3-62f3-6b36296d931b",
            "file_name": "super-cool-photo.jpg",
            "mime_type": "image/jpeg",
            "original_url": "https://example.com/media/super-cool-photo.jpg",
            "size": 84256,
            "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
          },
          "email": "LJdN0IyL64BeED@LXavKGLZnYznrQq.ooq",
          "first_name": "Jane",
          "full_name": "Jane Smith",
          "last_name": "Smith"
        },
        "taxes": [
          {
            "amount": 1290,
            "inclusive": false,
            "name": "VAT",
            "percentage": 20
          }
        ],
        "tip_amount": 1050,
        "tips": [
          {
            "id": "6a02cdbb0cb79d014500035f",
            "amount": 1050,
            "declined": false,
            "updated_at": "1962-06-04T14:23:17.0Z",
            "can_remove": true
          },
          {
            "id": "6a02cdbb0cb79d0145000360",
            "amount": 1050,
            "declined": false,
            "updated_at": "1941-07-02T03:57:58.0Z",
            "can_remove": false
          },
          {
            "id": "6a02cdbb0cb79d0145000361",
            "amount": 1050,
            "declined": false,
            "updated_at": "1968-10-14T14:48:42.0Z",
            "can_remove": false
          }
        ],
        "total_cost": 45396784,
        "total_paid_or_authed": -36059029,
        "total_tax": 2000,
        "totals": {
          "exclusive_tax": 0,
          "inclusive_tax": 250,
          "order_discount": 11000,
          "subtotal": 12000,
          "subtotal_without_exclusive_tax": 12000,
          "total": 10000
        },
        "visit": {
          "id": "6a02cdbb0cb79d0145000362",
          "visit_ref": "velit in Excepteur in minim",
          "visit_type": {
            "id": "6a02cdbb0cb79d0145000363",
            "name": "Stay"
          },
          "status": "officia dolor nulla ullamco",
          "arrival_date": "1940-07-24T10:03:26.0Z",
          "departure_date": "1935-10-31T10:19:16.0Z",
          "first_name": "magna",
          "last_name": "laboris nisi Ut"
        },
        "voucher_codes": [
          {
            "id": "110b9dd4-3f7e-65fe-911d-90d6c2136b82",
            "amount_type": "discount_to_zero",
            "calculated_amount": 1000,
            "code": "ABCDEFGHIJ123",
            "coupon_code_id": "6a02cdbb0cb79d0145000364",
            "description": "A 30 minute treatment of your choice.",
            "is_redeemed": true,
            "name": "30 min treatment",
            "voucher_type_id": "6a02cdbb0cb79d0145000365"
          },
          {
            "id": "eefc6f5d-33db-748f-3e8c-021cc24aacec",
            "amount_type": "discount_to_zero",
            "calculated_amount": 1000,
            "code": "ABCDEFGHIJ123",
            "coupon_code_id": "6a02cdbb0cb79d0145000366",
            "description": "A 30 minute treatment of your choice.",
            "is_redeemed": false,
            "name": "30 min treatment",
            "voucher_type_id": "6a02cdbb0cb79d0145000367"
          }
        ],
        "created_at": "2020-02-24T12:01:01.0Z",
        "updated_at": "2020-02-24T12:01:01.0Z"
      },
      "payment_method": {
        "id": "5718dcea-38d9-03cc-3e52-613f891d0605",
        "payment_method_id": "pm_3K6a0RGysTOePye00nkob5Pi",
        "name": "My debit card",
        "type": "direct_debit",
        "status": "revoked",
        "cardholder_name": "Jane Doe",
        "card_brand": "amex",
        "card_country": "gb",
        "card_funding": "credit",
        "card_expiry": "08/22",
        "last_4": "1234",
        "processor": "stripe",
        "created_at": "2025-01-01T01:01:01.0Z",
        "updated_at": "2025-01-01T01:01:01.0Z",
        "revoked_at": "2025-01-01T01:01:01.0Z"
      },
      "created_at": "1911-12-10T02:59:27.0Z"
    }
  ]
}
deleteAssociatedBarcode

Delete an associated barcode for a customer

This endpoint deletes an associated barcode for a customer.

Path parameters

Responses

  • 204

    The associated barcode was successfully deleted

  • 404

    The customer or associated barcode could not be found

DELETE/shop/customers/{customerId}/barcodes/{barcodeId}
204
example response
Empty response
404
example response
{
  "message": "The requested resource could not be found"
}
updateAssociatedBarcode

Update an associated barcode for a customer

This endpoint updates the details of an associated barcode for a customer.

Path parameters

Request body

  • The ID of the payment method to associate with the associated barcode.

  • order_id
    Nullable

    The ID of the order to associate with the associated barcode.

  • expires_at
    Nullable

    The expiry date to set for the associated barcode.

Responses

  • 200

    The associated barcode was successfully updated

  • 404

    The customer or associated barcode could not be found

  • 422

    The request to update the associated barcode was invalid

PUT/shop/customers/{customerId}/barcodes/{barcodeId}
200
example response
{
  "data": {
    "id": "f1c18fcb-d9ce-a6f3-6059-8e182a1159b0",
    "customer_id": "41feb7ba-adca-7062-0852-2dac6d412d85",
    "customer": {
      "id": "4d1a71db-85a3-5b4a-877a-708380915383",
      "first_name": "Jane",
      "last_name": "Doe",
      "full_name": "Jane Doe",
      "phone": "+447900000000",
      "has_password": true,
      "dob": "1903-09-18",
      "brand_id": "70e3de13-7569-8c7d-4ff2-a81728f86a14",
      "site_id": "969c1b5d-2435-1827-ca3d-7f2857146bfd",
      "stripe_id": "cus_1234567890",
      "express_stripe_id": "cus_1234567890",
      "email": "janedoe@example.com",
      "labels": [
        {
          "id": "27e3ce39-4390-f3ec-2b27-294f1f6aebae",
          "value": "VIP",
          "colour": "ff6634"
        },
        {
          "id": "adb90801-25b2-efe8-7582-351b476160de",
          "value": "VIP",
          "colour": "ff6634"
        },
        {
          "id": "985f0465-6ab4-9b02-e3ce-41ba2f296c8b",
          "value": "VIP",
          "colour": "ff6634"
        }
      ],
      "preferred_locale": "en",
      "locked_at": "1953-02-14T09:30:17.0Z",
      "created_at": "1935-07-07T01:27:07.0Z",
      "updated_at": "1934-02-28T21:04:26.0Z",
      "deleted_at": "1946-07-31T20:30:08.0Z",
      "last_active_at": "1945-08-21T23:10:18.0Z",
      "email_verified_at": "1891-04-15T22:10:48.0Z",
      "last_check_in": {
        "checked_in_at": "1943-08-14T01:05:38.0Z",
        "method": "Scanned"
      },
      "avatar_id": "000000-000000-000000-000000",
      "avatar": {
        "id": "80dcbd92-9668-84d6-eeff-093fd527ff65",
        "file_name": "super-cool-photo.jpg",
        "mime_type": "image/jpeg",
        "original_url": "https://example.com/media/super-cool-photo.jpg",
        "size": 84256,
        "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
      },
      "external_ref": "exercitation aliquip"
    },
    "barcode": "ullamco do",
    "expires_at": "1932-02-10T01:55:26.0Z",
    "brand_id": "6a00d19c-b64f-fcf4-0f8a-11c706ffcda0",
    "site_id": "fb6e90ae-d308-8546-15cd-e678fcba2ec4",
    "organisation_id": "f5952dd9-15fb-ff9c-cccf-3621c6351e64",
    "source": "kiosk",
    "order": {
      "id": "6a02cdbc0cb79d014500036e",
      "applied_promo_code_id": "6a02cdbc0cb79d014500036f",
      "booking_items_end_date": "1967-04-16",
      "booking_items_start_date": "1932-02-24",
      "booking_items_span_multiple_days": true,
      "coupon_codes": [],
      "currency": "gbp",
      "customer_id": "f5db81c4-2541-aa74-941b-9d90d4452143",
      "discount_total": 100,
      "discounts": [
        {
          "id": "6a02cdbc0cb79d0145000370",
          "amount_type": "monetary",
          "applicable_for": "app_and_booking_engine",
          "applied_at": "1937-07-28T06:07:34.0Z",
          "applied_by": {
            "id": "6a02cdbc0cb79d0145000371",
            "avatar": {
              "id": "94ee10ab-fb9a-e409-3260-f850203cb66e",
              "file_name": "super-cool-photo.jpg",
              "mime_type": "image/jpeg",
              "original_url": "https://example.com/media/super-cool-photo.jpg",
              "size": 84256,
              "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
            },
            "email": "AbUtpmQ@KcKzzpyihLRvRcyqrlqMTrOeiInwzQK.ogv",
            "first_name": "Jane",
            "full_name": "Jane Smith",
            "last_name": "Smith"
          },
          "calculated_amount": 150,
          "coupon": {
            "id": "6a02cdbc0cb79d0145000372",
            "code": "FIVEOFF",
            "name": "April special",
            "description": "Get 10% off all treatments booked in April.",
            "customer_credit_id": "e1a909bd-ae91-31a5-e1ca-2d9be5b97656"
          },
          "coupon_code_id": "6a02cdbc0cb79d0145000373",
          "currency": "gbp",
          "discount_amount": 15,
          "discount_type_code": "SUMMER23",
          "reason_code": "general",
          "site_id": "2e86efdb-8078-a120-a6f9-065228cce044"
        },
        {
          "id": "6a02cdbc0cb79d0145000374",
          "amount_type": "monetary",
          "applicable_for": "app_and_booking_engine",
          "applied_at": "1910-09-04T07:48:51.0Z",
          "applied_by": {
            "id": "6a02cdbc0cb79d0145000375",
            "avatar": {
              "id": "e20b2313-5318-1771-5ef4-b9855feb87bb",
              "file_name": "super-cool-photo.jpg",
              "mime_type": "image/jpeg",
              "original_url": "https://example.com/media/super-cool-photo.jpg",
              "size": 84256,
              "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
            },
            "email": "XgcrNZJSB13Ns@nPcsaeHqSKpILjwdjuQXIIkFrqDs.kn",
            "first_name": "Jane",
            "full_name": "Jane Smith",
            "last_name": "Smith"
          },
          "calculated_amount": 150,
          "coupon": {
            "id": "6a02cdbc0cb79d0145000376",
            "code": "FIVEOFF",
            "name": "April special",
            "description": "Get 10% off all treatments booked in April.",
            "customer_credit_id": "5b0765cf-1029-6c96-fca6-3bdfc73819d5"
          },
          "coupon_code_id": "6a02cdbc0cb79d0145000377",
          "currency": "gbp",
          "discount_amount": 15,
          "discount_type_code": "SUMMER23",
          "reason_code": "general",
          "site_id": "5c20fbb0-bf39-42e5-6e66-249a65e86411"
        }
      ],
      "email": "janedoe@example.com",
      "first_name": "Jane",
      "guests": [],
      "intake_form_url": "https://demo.try.be/intake-form",
      "is_customer_required": true,
      "is_locked": false,
      "items_status": "confirmed",
      "labels": [
        {
          "id": "6a02cdbc0cb79d0145000378",
          "color": "#FF0000",
          "name": "VIP",
          "order_id": "6a02cdbc0cb79d0145000379"
        },
        {
          "id": "6a02cdbc0cb79d014500037a",
          "color": "#FF0000",
          "name": "VIP",
          "order_id": "6a02cdbc0cb79d014500037b"
        }
      ],
      "last_name": "Doe",
      "net_total": 8000,
      "order_ref": "TRY00",
      "organisation_id": "1b7d78e1-4c2c-b820-ee4e-c725ffcc42ef",
      "outstanding_payment_amount": -78219700,
      "payment_totals": {
        "chargeable": 500,
        "missing": 1000,
        "paid": 750,
        "pending": 250,
        "provided": 1500,
        "unpaid": 1000
      },
      "payments": [
        {
          "id": "6a02cdbc0cb79d014500037c",
          "amount": 10000,
          "capture_method": "automatic",
          "chargebacks": [
            {
              "id": "6a02cdbc0cb79d014500037d",
              "amount": "non sint",
              "currency": "gbp",
              "payment_id": "6a02cdbc0cb79d014500037e",
              "processor_data": {
                "laborum3d0": false,
                "consequat_d": false,
                "Duis65": false
              },
              "reason": "in",
              "status": "confirmed",
              "created_at": "2025-02-04T12:01:01.0Z"
            },
            {
              "id": "6a02cdbc0cb79d014500037f",
              "amount": "anim in aliqua reprehenderit labore",
              "currency": "gbp",
              "payment_id": "6a02cdbc0cb79d0145000380",
              "processor_data": {
                "adipisicing_29a": false,
                "nisi_a49": -94557133.75920825
              },
              "reason": "adipisicing reprehenderit et",
              "status": "confirmed",
              "created_at": "2025-02-04T12:01:01.0Z"
            },
            {
              "id": "6a02cdbc0cb79d0145000381",
              "amount": "dolor velit esse labore id",
              "currency": "gbp",
              "payment_id": "6a02cdbc0cb79d0145000382",
              "processor_data": {
                "irurecf": 95952476
              },
              "reason": "adipisicing dolor",
              "status": "processed",
              "created_at": "2025-02-04T12:01:01.0Z"
            },
            {
              "id": "6a02cdbc0cb79d0145000383",
              "amount": "laboris reprehenderit aliqua",
              "currency": "gbp",
              "payment_id": "6a02cdbc0cb79d0145000384",
              "processor_data": {
                "consectetur_cdb": 54307076
              },
              "reason": "id veniam",
              "status": "processed",
              "created_at": "2025-02-04T12:01:01.0Z"
            },
            {
              "id": "6a02cdbc0cb79d0145000385",
              "amount": "nostrud fugiat Excepteur Duis incididunt",
              "currency": "gbp",
              "payment_id": "6a02cdbc0cb79d0145000386",
              "processor_data": {
                "consequat_7": -41764820
              },
              "reason": "ut Duis deserunt sed do",
              "status": "confirmed",
              "created_at": "2025-02-04T12:01:01.0Z"
            }
          ],
          "currency": "gbp",
          "details_source": "pay_by_link",
          "failure_reason": "Suspected fraud",
          "paid_at": "2020-02-24T12:01:01.0Z",
          "payable_id": "6a02cdbc0cb79d0145000387",
          "payable_type": "Lorem in reprehenderit Duis aliqua",
          "processor": "stripe",
          "processor_data": {
            "laborum_853": "do culpa minim aute nulla"
          },
          "processor_id": "6a02cdbc0cb79d0145000388",
          "processor_type": "officia proident Excepteur et",
          "refundable_amount": 3500,
          "refunds": [
            {
              "id": "6a02cdbc0cb79d0145000389",
              "payment_id": "6a02cdbc0cb79d014500038a",
              "amount": 11206893,
              "currency": "gbp",
              "notes": "sed velit pariatur",
              "status": "pending",
              "processor_data": {
                "dolore_1": true
              },
              "created_at": "1959-03-30T12:15:14.0Z"
            },
            {
              "id": "6a02cdbc0cb79d014500038b",
              "payment_id": "6a02cdbc0cb79d014500038c",
              "amount": 38217506,
              "currency": "gbp",
              "notes": "do est sint nulla",
              "status": "failed",
              "processor_data": {
                "dolorf": 54039814.7076436,
                "cupidatat_f3": false
              },
              "created_at": "1900-04-08T06:10:04.0Z"
            },
            {
              "id": "6a02cdbc0cb79d014500038d",
              "payment_id": "6a02cdbc0cb79d014500038e",
              "amount": -70305312,
              "currency": "gbp",
              "notes": "dolore",
              "status": "complete",
              "processor_data": {
                "dolore791": true
              },
              "created_at": "1903-05-26T12:16:26.0Z"
            }
          ],
          "status": "payment_method_stored",
          "created_at": "2025-02-04T12:01:01.0Z"
        }
      ],
      "phone": "+447727123456",
      "promo_code_applied_at": "1933-09-23T12:13:47.0Z",
      "sales_channel": {
        "id": "6a02cdbc0cb79d014500038f",
        "name": "Web",
        "organisation_id": "1374c639-1b9d-dd50-4194-e88bddabd5bf"
      },
      "service_charge": {
        "amount": 1000,
        "item_amounts": [
          {
            "amount": 1000,
            "item_id": "6a02cdbc0cb79d0145000390",
            "percentage": 10
          },
          {
            "amount": 1000,
            "item_id": "6a02cdbc0cb79d0145000391",
            "percentage": 10
          }
        ],
        "percentage": 10
      },
      "site_id": "b3dd51cf-846e-4493-abf9-0896e9849786",
      "special_requests": "I would like the Blue Room please",
      "status": "submitted",
      "submit_auth_amount": 60773114,
      "submit_payment_amount": 79725774,
      "submitted_at": "2020-02-24T12:01:01.0Z",
      "taxes": [
        {
          "amount": 1290,
          "inclusive": false,
          "name": "VAT",
          "percentage": 20
        },
        {
          "amount": 1290,
          "inclusive": false,
          "name": "VAT",
          "percentage": 20
        }
      ],
      "tip_amount": 1050,
      "tips": [
        {
          "id": "6a02cdbc0cb79d0145000392",
          "amount": 1050,
          "declined": false,
          "updated_at": "1934-07-14T08:11:35.0Z",
          "can_remove": false
        }
      ],
      "total_cost": 46967914,
      "total_paid_or_authed": 52419051,
      "total_tax": 2000,
      "totals": {
        "exclusive_tax": 0,
        "inclusive_tax": 250,
        "order_discount": 11000,
        "subtotal": 12000,
        "subtotal_without_exclusive_tax": 12000,
        "total": 10000
      },
      "visit": {
        "id": "6a02cdbc0cb79d0145000393",
        "visit_ref": "officia consequat nisi laborum",
        "visit_type": {
          "id": "6a02cdbc0cb79d0145000394",
          "name": "Stay"
        },
        "status": "dolore sunt",
        "arrival_date": "1912-12-10T01:16:20.0Z",
        "departure_date": "1926-12-23T11:45:09.0Z",
        "first_name": "consequat ex",
        "last_name": "quis ullamco"
      },
      "created_at": "2020-02-24T12:01:01.0Z",
      "updated_at": "2020-02-24T12:01:01.0Z"
    },
    "payment_method": {
      "id": "bbe4d13b-010b-9d26-5c26-b058a8cca52e",
      "payment_method_id": "pm_3K6a0RGysTOePye00nkob5Pi",
      "name": "My debit card",
      "type": "direct_debit",
      "status": "revoked",
      "cardholder_name": "Jane Doe",
      "card_brand": "amex",
      "card_country": "gb",
      "card_funding": "credit",
      "card_expiry": "08/22",
      "last_4": "1234",
      "processor": "stripe",
      "created_at": "2025-01-01T01:01:01.0Z",
      "updated_at": "2025-01-01T01:01:01.0Z",
      "revoked_at": "2025-01-01T01:01:01.0Z"
    },
    "created_at": "1895-11-27T23:19:52.0Z"
  }
}
404
example response
{
  "message": "The requested resource could not be found"
}
422
example response
{
  "errors": {
    "sit_6_4": [
      "cupidatat mollit in",
      "aute esse quis veniam",
      "proident aute non officia",
      "Excepteur quis dolor nulla aliqua",
      "dolore Lorem exercitation"
    ],
    "id9": [],
    "amet_e": [
      "commodo aliqua do sunt Excepteur",
      "culpa nostrud esse velit est",
      "commodo fugiat sint",
      "amet voluptate",
      "aliqua exercitation"
    ]
  },
  "message": "The request didn't pass validation"
}
getCustomerMemberships

List a customer's memberships

Use this endpoint to retrieve a list of Memberships for the given Customer.

When retrieving memberships with this endpoint, the next_charge property will be populated if applicable.

Path parameters

Responses

  • 200

    The customer's Memberships were successfully retrieved

  • 404

    The resource couldn't be found

GET/customers/customers/{customerId}/memberships
200
example response
{
  "data": [],
  "meta": {
    "from": 1,
    "to": 2,
    "total": 2,
    "current_page": 1,
    "last_page": 2,
    "per_page": 15,
    "path": "http://example.com/api"
  },
  "links": {
    "first": "http://example.com?page=1",
    "next": "https://example.com?page=3",
    "prev": "https://example.com?page=1",
    "last": "https://example.com?page=4"
  }
}
404
example response
{
  "message": "The requested resource could not be found"
}
actionLockCustomer

Lock a Customer

Use this endpoint to lock a Customer.

When a customer is locked, their details cannot be modified until their profile is unlocked.

Any requests to updateCustomer or anonymiseCustomer will fail with a 400 response.

Path parameters

Responses

  • 200

    The Customer was successfully retrieved

  • 404

    The resource couldn't be found

POST/customers/customers/{customerId}/lock
200
example response
{
  "data": {
    "id": "49e11ef6-b9d5-5210-01e2-2b10e9fd68e6",
    "first_name": "Jane",
    "last_name": "Doe",
    "full_name": "Jane Doe",
    "phone": "+447900000000",
    "has_password": true,
    "dob": "1941-02-09",
    "brand_id": "132c7c4a-c83c-be3b-cefe-91aea9a47f10",
    "site_id": "bf981bde-96f9-7477-3105-9cb395699b1c",
    "stripe_id": "cus_1234567890",
    "express_stripe_id": "cus_1234567890",
    "email": "janedoe@example.com",
    "labels": [
      {
        "id": "b1c83607-e0eb-4f9b-bdc2-3cf362f5de4c",
        "value": "VIP",
        "colour": "ff6634"
      },
      {
        "id": "21546779-7fc0-4f74-2aef-21371ab7353f",
        "value": "VIP",
        "colour": "ff6634"
      }
    ],
    "preferred_locale": "en",
    "locked_at": "1911-09-06T23:58:24.0Z",
    "created_at": "1935-05-29T15:15:06.0Z",
    "updated_at": "1948-10-02T14:27:22.0Z",
    "deleted_at": "1918-01-06T18:19:40.0Z",
    "last_active_at": "1964-02-18T11:22:47.0Z",
    "email_verified_at": "1892-08-22T13:23:42.0Z",
    "last_check_in": {
      "checked_in_at": "1939-07-22T08:55:40.0Z",
      "method": "Scanned"
    },
    "avatar_id": "000000-000000-000000-000000",
    "avatar": {
      "id": "fe5bd00c-d863-3a9c-6167-09daaea9d088",
      "file_name": "super-cool-photo.jpg",
      "mime_type": "image/jpeg",
      "original_url": "https://example.com/media/super-cool-photo.jpg",
      "size": 84256,
      "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
    },
    "external_ref": "Lorem ipsum et dolore ad"
  }
}
404
example response
{
  "message": "The requested resource could not be found"
}
actionUnlockCustomer

Unlock a Customer

Use this endpoint to unlock a Customer.

Path parameters

Responses

  • 200

    The Customer was successfully retrieved

  • 404

    The resource couldn't be found

POST/customers/customers/{customerId}/unlock
200
example response
{
  "data": {
    "id": "d143d142-e978-9f5d-68f5-ab8a5a3de539",
    "first_name": "Jane",
    "last_name": "Doe",
    "full_name": "Jane Doe",
    "phone": "+447900000000",
    "has_password": true,
    "dob": "1918-06-10",
    "brand_id": "936b1edf-b9e2-f9b6-140a-da323ecc7ba7",
    "site_id": "87d1257f-e051-83c2-a311-afb4012e1e7b",
    "stripe_id": "cus_1234567890",
    "express_stripe_id": "cus_1234567890",
    "email": "janedoe@example.com",
    "labels": [
      {
        "id": "a96d040c-d934-f41b-ca51-2944a64589c6",
        "value": "VIP",
        "colour": "ff6634"
      },
      {
        "id": "9b719309-0619-b398-50b9-25107375916c",
        "value": "VIP",
        "colour": "ff6634"
      },
      {
        "id": "64eaba08-c475-e167-b938-bb41af42df02",
        "value": "VIP",
        "colour": "ff6634"
      }
    ],
    "preferred_locale": "en",
    "locked_at": "1928-01-03T23:39:02.0Z",
    "created_at": "1953-12-01T16:37:15.0Z",
    "updated_at": "1967-10-18T19:55:43.0Z",
    "deleted_at": "1897-05-10T21:35:03.0Z",
    "last_active_at": "1922-06-23T13:46:14.0Z",
    "email_verified_at": "1941-06-30T17:49:41.0Z",
    "last_check_in": {
      "checked_in_at": "1904-09-17T05:41:36.0Z",
      "method": "Scanned"
    },
    "avatar_id": "000000-000000-000000-000000",
    "avatar": {
      "id": "a7987021-4888-e0dd-aa7c-2563abab96e2",
      "file_name": "super-cool-photo.jpg",
      "mime_type": "image/jpeg",
      "original_url": "https://example.com/media/super-cool-photo.jpg",
      "size": 84256,
      "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
    },
    "external_ref": "deserunt est aliquip laboris dolore"
  }
}
404
example response
{
  "message": "The requested resource could not be found"
}
actionTriggerCustomerPasswordReset

Trigger reset password

Use this endpoint to trigger a password reset for a Customer.

The customer will receive a URL via email which they can use to reset their password.

The URL will be valid for 1 hour.

Path parameters

Responses

  • 200

    The Customer was successfully retrieved

  • 404

    The resource couldn't be found

POST/customers/customers/{customerId}/reset-password
200
example response
{
  "data": {
    "id": "43805a09-04ae-08f0-6633-6dd9c8681c89",
    "first_name": "Jane",
    "last_name": "Doe",
    "full_name": "Jane Doe",
    "phone": "+447900000000",
    "has_password": true,
    "dob": "1927-10-21",
    "brand_id": "f3c035f6-ae53-a002-6740-8de124ff9438",
    "site_id": "34b4865a-75e5-5b86-183d-d45558a81675",
    "stripe_id": "cus_1234567890",
    "express_stripe_id": "cus_1234567890",
    "email": "janedoe@example.com",
    "labels": [
      {
        "id": "7d15fed3-5f2b-ed17-d918-465a55c0e3b5",
        "value": "VIP",
        "colour": "ff6634"
      },
      {
        "id": "0ded4176-7283-56e6-f25c-127a91c9b0db",
        "value": "VIP",
        "colour": "ff6634"
      },
      {
        "id": "9ce32225-512a-6c20-4570-8758517d53ec",
        "value": "VIP",
        "colour": "ff6634"
      }
    ],
    "preferred_locale": "en",
    "locked_at": "1967-08-25T22:11:37.0Z",
    "created_at": "1914-01-05T23:48:18.0Z",
    "updated_at": "1932-10-08T02:09:38.0Z",
    "deleted_at": "1941-02-18T23:34:24.0Z",
    "last_active_at": "1939-10-20T23:26:32.0Z",
    "email_verified_at": "1925-07-04T03:55:42.0Z",
    "last_check_in": {
      "checked_in_at": "1900-07-09T21:20:35.0Z",
      "method": "Scanned"
    },
    "avatar_id": "000000-000000-000000-000000",
    "avatar": {
      "id": "c24633ff-2ea7-cb06-4ffd-d81881574652",
      "file_name": "super-cool-photo.jpg",
      "mime_type": "image/jpeg",
      "original_url": "https://example.com/media/super-cool-photo.jpg",
      "size": 84256,
      "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
    },
    "external_ref": "consectetur"
  }
}
404
example response
{
  "message": "The requested resource could not be found"
}
actionResendCustomerVerification

Resend verification

Use this endpoint to resend the email verification email for a Customer.

The customer will receive a URL via email which they can use to verify their email address.

Path parameters

Responses

  • 200

    The Customer was successfully retrieved

  • 404

    The resource couldn't be found

POST/customers/customers/{customerId}/resend-verification
200
example response
{
  "data": {
    "id": "7fae803b-fd17-5d81-c0fe-bcaa216abf94",
    "first_name": "Jane",
    "last_name": "Doe",
    "full_name": "Jane Doe",
    "phone": "+447900000000",
    "has_password": true,
    "dob": "1921-10-12",
    "brand_id": "bd63637f-0392-de5d-ecf0-076d1d942bbb",
    "site_id": "1aae1c26-7236-df9a-edbd-345d11479c8d",
    "stripe_id": "cus_1234567890",
    "express_stripe_id": "cus_1234567890",
    "email": "janedoe@example.com",
    "labels": [
      {
        "id": "45f859e7-dbc1-c920-475e-5e65520baf85",
        "value": "VIP",
        "colour": "ff6634"
      },
      {
        "id": "5e2f6896-9538-8fbf-41d7-24e7aa5bbc7a",
        "value": "VIP",
        "colour": "ff6634"
      },
      {
        "id": "5f68da00-fba5-1ee4-707a-04d086f9478f",
        "value": "VIP",
        "colour": "ff6634"
      }
    ],
    "preferred_locale": "en",
    "locked_at": "1896-03-29T12:56:31.0Z",
    "created_at": "1927-12-07T07:33:44.0Z",
    "updated_at": "1893-12-13T04:43:30.0Z",
    "deleted_at": "1907-08-23T09:17:19.0Z",
    "last_active_at": "1892-06-14T05:03:34.0Z",
    "email_verified_at": "1914-11-29T20:58:59.0Z",
    "last_check_in": {
      "checked_in_at": "1936-09-23T05:17:43.0Z",
      "method": "Scanned"
    },
    "avatar_id": "000000-000000-000000-000000",
    "avatar": {
      "id": "6a6e362d-fd64-ee62-5655-6d6ca3167088",
      "file_name": "super-cool-photo.jpg",
      "mime_type": "image/jpeg",
      "original_url": "https://example.com/media/super-cool-photo.jpg",
      "size": 84256,
      "url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
    },
    "external_ref": "do officia"
  }
}
404
example response
{
  "message": "The requested resource could not be found"
}