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": [],
      "labels": [
        {
          "id": "200315e7-c8a0-d231-5e40-85da3cd66908",
          "name": "VIP",
          "color": "#FF5733"
        },
        {
          "id": "4db21a07-8329-ad0b-d354-945a38e90b45",
          "name": "VIP",
          "color": "#FF5733"
        },
        {
          "id": "43cf54a4-f963-c09b-d71d-0f4d7305ca34",
          "name": "VIP",
          "color": "#FF5733"
        },
        {
          "id": "fdf850a9-369a-f77c-3522-8644960cc5c6",
          "name": "VIP",
          "color": "#FF5733"
        }
      ]
    }
  ],
  "meta": {
    "sources": [
      {
        "key": "trybe",
        "name": "Trybe",
        "status": "success",
        "message": "Trybe did not respond in time."
      },
      {
        "key": "trybe",
        "name": "Trybe",
        "status": "success",
        "message": "Trybe did not respond in time."
      },
      {
        "key": "trybe",
        "name": "Trybe",
        "status": "success",
        "message": "Trybe did not respond in time."
      },
      {
        "key": "trybe",
        "name": "Trybe",
        "status": "success"
      }
    ]
  }
}
422
example response
{
  "errors": {
    "Excepteura": [],
    "culpa_e": [
      "velit laborum",
      "eu"
    ],
    "nullad": [
      "occaecat magna ullamco id dolor",
      "eiusmod proident consequat dolor"
    ]
  },
  "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": "69c4fd42ba71de0147000173",
        "order_ref": "ea",
        "status": "no_show",
        "num_items": 2,
        "customer": {
          "id": "242ee403-d967-68c1-a954-8d9c4118b245",
          "email": "jane@example.com",
          "first_name": "Jane",
          "last_name": "Jones"
        },
        "sales_channel": {
          "id": "69c4fd42ba71de0147000174",
          "name": "Website"
        },
        "totals": {
          "subtotal": 15000,
          "order_discount": 0,
          "total": 15000
        },
        "submitted_at": "1958-04-22T22:44:13.0Z",
        "site": {
          "id": "982b0ffb-a5ff-8b04-90f9-1c20d1ec90a6",
          "name": "Palm Tree Spa"
        }
      },
      {
        "id": "69c4fd42ba71de0147000175",
        "order_ref": "veniam in et",
        "status": "settled",
        "num_items": 2,
        "customer": {
          "id": "a907f50b-35e1-f5aa-7b15-7483604321ae",
          "email": "jane@example.com",
          "first_name": "Jane",
          "last_name": "Jones"
        },
        "sales_channel": {
          "id": "69c4fd42ba71de0147000176",
          "name": "Website"
        },
        "totals": {
          "subtotal": 15000,
          "order_discount": 0,
          "total": 15000
        },
        "submitted_at": "1943-05-30T13:32:59.0Z",
        "site": {
          "id": "56e3d6c5-4c03-bcb4-5699-46ee74ad924c",
          "name": "Palm Tree Spa"
        }
      },
      {
        "id": "69c4fd42ba71de0147000177",
        "order_ref": "labore irure incididunt laboris nostrud",
        "status": "submitted",
        "num_items": 2,
        "customer": {
          "id": "43e21f8f-0f71-76a8-864c-84dff1dfb2ef",
          "email": "jane@example.com",
          "first_name": "Jane",
          "last_name": "Jones"
        },
        "sales_channel": {
          "id": "69c4fd42ba71de0147000178"
        },
        "totals": {
          "subtotal": 15000
        },
        "submitted_at": "1917-11-20T13:38:49.0Z",
        "site": {
          "id": "a0c92b48-a034-b07f-a8a1-ea90ba53e1de",
          "name": "Palm Tree Spa"
        }
      },
      {
        "id": "69c4fd42ba71de0147000179",
        "order_ref": "et qui aute exercitation",
        "status": "submitted",
        "num_items": 2,
        "customer": {
          "id": "0f78c071-7f90-77a9-c100-b61d882971b8",
          "email": "jane@example.com",
          "first_name": "Jane",
          "last_name": "Jones"
        },
        "sales_channel": {
          "name": "Website"
        },
        "totals": {
          "subtotal": 15000,
          "order_discount": 0
        },
        "submitted_at": "1964-10-28T05:43:23.0Z",
        "site": {
          "id": "7a852c8c-de31-bcdd-bcfc-a753ae0c8410",
          "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": "7920eed6-09f3-a5d0-6919-6cda5dc58b48",
      "first_name": "Jane",
      "last_name": "Doe",
      "full_name": "Jane Doe",
      "phone": "+447900000000",
      "has_password": true,
      "dob": "1923-10-05",
      "brand_id": "f49f70f0-bd64-0d81-f3b0-8b2f05224ad4",
      "site_id": "7ce9487a-2dc8-3adc-7271-153b9a592722",
      "stripe_id": "cus_1234567890",
      "express_stripe_id": "cus_1234567890",
      "email": "janedoe@example.com",
      "labels": [
        {
          "id": "36952519-32c1-5301-1079-edff30734dc8",
          "value": "VIP",
          "colour": "ff6634"
        },
        {
          "id": "5fabda16-d54e-58f5-4ba4-896800f49a77",
          "value": "VIP",
          "colour": "ff6634"
        },
        {
          "id": "cd783c9b-6ab1-f7d9-4676-5047602f1e54",
          "value": "VIP",
          "colour": "ff6634"
        },
        {
          "id": "15323f07-330a-5886-0340-6980c7c3d06c",
          "value": "VIP",
          "colour": "ff6634"
        }
      ],
      "preferred_locale": "en",
      "locked_at": "1946-11-11T18:03:28.0Z",
      "created_at": "1929-04-30T01:54:16.0Z",
      "updated_at": "1958-01-18T02:04:34.0Z",
      "deleted_at": "1927-10-08T11:41:09.0Z",
      "last_active_at": "1969-01-10T18:10:39.0Z",
      "email_verified_at": "1953-11-26T16:32:47.0Z",
      "last_check_in": {
        "checked_in_at": "1916-06-14T17:05:15.0Z",
        "method": "Scanned"
      },
      "avatar_id": "000000-000000-000000-000000",
      "avatar": {
        "id": "b90e259c-ca4a-91b5-6a4f-4f31cbfb6cf5",
        "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": "anim reprehenderit qui"
    },
    {
      "id": "04050385-7526-1e5e-e5a0-fdde6dc77be5",
      "first_name": "Jane",
      "last_name": "Doe",
      "full_name": "Jane Doe",
      "phone": "+447900000000",
      "has_password": true,
      "dob": "1914-12-24",
      "brand_id": "0ebbe8f2-96ae-b593-094e-5b34cb265065",
      "site_id": "0c20548f-bb14-d56e-0b7d-9af74540b4c1",
      "stripe_id": "cus_1234567890",
      "express_stripe_id": "cus_1234567890",
      "email": "janedoe@example.com",
      "labels": [
        {
          "id": "b0edcebc-1db1-71e7-8f25-87472731a741",
          "value": "VIP",
          "colour": "ff6634"
        },
        {
          "id": "36483ce4-fdc6-024e-8f01-4b021a9672d4",
          "value": "VIP",
          "colour": "ff6634"
        }
      ],
      "preferred_locale": "en",
      "locked_at": "1899-10-21T19:19:04.0Z",
      "created_at": "1916-05-12T20:53:05.0Z",
      "updated_at": "1919-09-18T18:30:59.0Z",
      "deleted_at": "1897-08-31T09:44:46.0Z",
      "last_active_at": "1961-03-27T11:52:44.0Z",
      "email_verified_at": "1920-08-15T01:30:09.0Z",
      "last_check_in": {
        "checked_in_at": "1931-03-11T12:59:14.0Z",
        "method": "Scanned"
      },
      "avatar_id": "000000-000000-000000-000000",
      "avatar": {
        "id": "fe516e4b-fe47-a926-d1f6-6183983266a2",
        "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": "ut officia dolor"
    }
  ],
  "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": "c7c2942f-c4c4-d76b-adef-bb63ad2b22b6",
    "first_name": "Jane",
    "last_name": "Doe",
    "full_name": "Jane Doe",
    "phone": "+447900000000",
    "has_password": true,
    "dob": "1913-10-03",
    "brand_id": "520e6a9f-096d-2467-565f-c4de11ebdab3",
    "site_id": "c7bb34da-b6a3-0ce7-f885-2db7a08ce1f3",
    "stripe_id": "cus_1234567890",
    "express_stripe_id": "cus_1234567890",
    "email": "janedoe@example.com",
    "labels": [
      {
        "id": "0d2fd5db-a4b8-8d59-3605-cd022ec07070",
        "value": "VIP",
        "colour": "ff6634"
      }
    ],
    "preferred_locale": "en",
    "locked_at": "1949-01-14T02:28:10.0Z",
    "created_at": "1953-07-07T08:22:06.0Z",
    "updated_at": "1891-05-25T13:59:32.0Z",
    "deleted_at": "1899-12-28T07:19:27.0Z",
    "last_active_at": "1892-01-25T14:49:33.0Z",
    "email_verified_at": "1903-11-01T14:20:14.0Z",
    "last_check_in": {
      "checked_in_at": "1954-11-19T05:52:37.0Z",
      "method": "Scanned"
    },
    "avatar_id": "000000-000000-000000-000000",
    "avatar": {
      "id": "e1ad4d68-ed42-2584-dc55-c75c9eb3cdad",
      "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": "ea"
  }
}
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": "c8e82228-e79d-a283-7191-8e4d373b846b",
    "first_name": "Jane",
    "last_name": "Doe",
    "full_name": "Jane Doe",
    "phone": "+447900000000",
    "has_password": true,
    "dob": "1940-08-21",
    "brand_id": "59a9a3f3-fdb6-9993-2c19-ba7162f99b2a",
    "site_id": "c3697dda-941b-5e2c-1cc4-6ef4d6a858a8",
    "stripe_id": "cus_1234567890",
    "express_stripe_id": "cus_1234567890",
    "email": "janedoe@example.com",
    "labels": [
      {
        "id": "46e2b748-6079-176f-2d70-bad82ec937c2",
        "value": "VIP",
        "colour": "ff6634"
      },
      {
        "id": "5f22a7d1-205f-9b7f-be5f-5b4c8db45006",
        "value": "VIP",
        "colour": "ff6634"
      },
      {
        "id": "de388f9d-7a36-b228-839f-b23d659afa1a",
        "value": "VIP",
        "colour": "ff6634"
      },
      {
        "id": "5d9f5104-810c-d615-d4e8-a664034c90e8",
        "value": "VIP",
        "colour": "ff6634"
      }
    ],
    "preferred_locale": "en",
    "locked_at": "1943-02-04T06:55:49.0Z",
    "created_at": "1969-05-08T02:01:03.0Z",
    "updated_at": "1956-03-23T13:40:21.0Z",
    "deleted_at": "1918-05-21T05:25:11.0Z",
    "last_active_at": "1911-09-20T14:06:53.0Z",
    "email_verified_at": "1923-12-17T02:04:41.0Z",
    "last_check_in": {
      "checked_in_at": "1968-12-10T20:21:30.0Z",
      "method": "Scanned"
    },
    "avatar_id": "000000-000000-000000-000000",
    "avatar": {
      "id": "01b5c362-b88f-7f03-ccf5-a98c0a56ee57",
      "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": "nulla pariatur Excepteur ex"
  }
}
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": "edd5aa21-0e90-7946-7ed2-a019bffde150",
    "first_name": "Jane",
    "last_name": "Doe",
    "full_name": "Jane Doe",
    "phone": "+447900000000",
    "has_password": true,
    "dob": "1945-05-05",
    "brand_id": "89300258-3505-13c3-74b6-4a4e79ab1fac",
    "site_id": "8c43b7af-d3b8-ed7f-6222-07d62f6d7213",
    "stripe_id": "cus_1234567890",
    "express_stripe_id": "cus_1234567890",
    "email": "janedoe@example.com",
    "labels": [
      {
        "id": "851da41e-b581-c5b8-dfcc-228dd98103cd",
        "value": "VIP",
        "colour": "ff6634"
      },
      {
        "id": "5dd7e4fd-c351-6b3b-7ab9-a956bbdeaf71",
        "value": "VIP",
        "colour": "ff6634"
      }
    ],
    "preferred_locale": "en",
    "locked_at": "1918-05-30T14:22:03.0Z",
    "created_at": "1953-03-16T01:43:56.0Z",
    "updated_at": "1963-09-24T11:47:11.0Z",
    "deleted_at": "1913-07-29T07:47:27.0Z",
    "last_active_at": "1963-06-20T04:25:23.0Z",
    "email_verified_at": "1914-01-21T14:06:52.0Z",
    "last_check_in": {
      "checked_in_at": "1945-06-30T17:23:53.0Z",
      "method": "Scanned"
    },
    "avatar_id": "000000-000000-000000-000000",
    "avatar": {
      "id": "0ad72ca4-c0df-c55c-86f9-a56bca49632c",
      "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 in 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": "d7d10c28-d729-a39c-f32e-a54bd4175a37",
      "customer_id": "6bbc639d-e346-bf30-6ff3-4dfb7e431201",
      "customer": {
        "id": "eb3a133d-d954-d624-71b2-86a58df23c6c",
        "first_name": "Jane",
        "last_name": "Doe",
        "full_name": "Jane Doe",
        "phone": "+447900000000",
        "has_password": true,
        "dob": "1925-05-22",
        "brand_id": "fa68d7fa-2c54-dd5a-63c6-8d53547512be",
        "site_id": "6dbac171-94f7-8b13-de44-9cda870e18a4",
        "stripe_id": "cus_1234567890",
        "express_stripe_id": "cus_1234567890",
        "email": "janedoe@example.com",
        "labels": [
          {
            "id": "57ee21a7-e981-02b7-16c3-0facc1f571e5",
            "value": "VIP",
            "colour": "ff6634"
          },
          {
            "id": "3a9c47e0-9415-1f9f-f976-bf240144815b",
            "value": "VIP",
            "colour": "ff6634"
          }
        ],
        "preferred_locale": "en",
        "locked_at": "1892-04-02T16:15:03.0Z",
        "created_at": "1969-05-22T23:01:15.0Z",
        "updated_at": "1963-12-27T19:42:01.0Z",
        "deleted_at": "1946-11-21T15:46:24.0Z",
        "last_active_at": "1903-09-11T11:52:29.0Z",
        "email_verified_at": "1964-12-01T21:45:38.0Z",
        "last_check_in": {
          "checked_in_at": "1896-01-03T17:51:03.0Z",
          "method": "Scanned"
        },
        "avatar_id": "000000-000000-000000-000000",
        "avatar": {
          "id": "ee7d7804-615d-1ede-8263-b8f8489e3a92",
          "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": "ex"
      },
      "barcode": "ut",
      "expires_at": "1947-01-22T15:34:54.0Z",
      "brand_id": "b7f14ace-7177-405a-49da-f1c02f3b44df",
      "site_id": "bf12776a-c6e2-c444-1973-46d29ac8b33f",
      "organisation_id": "68dacfa1-f5d5-7e5c-f9ce-3312d77dcdc6",
      "source": "kiosk",
      "order": {
        "id": "69c4fd42ba71de014700017a",
        "applied_promo_code": {
          "id": "69c4fd42ba71de014700017b",
          "applied_at": "2023-11-15T12:01:01.0Z",
          "applied_by": {
            "id": "69c4fd42ba71de014700017c",
            "avatar": {
              "id": "8bd5542d-fa35-7a1e-0b09-3c02957415bd",
              "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": "oMMOnstG3sLO@QLzTMZiTzeqjAjWPCDrrwFmcLWt.dmzd",
            "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": -96299819,
        "applied_promo_code_id": "69c4fd42ba71de014700017d",
        "booking_items": [
          {
            "id": "69c4fd42ba71de014700017e",
            "added_by_customer": false,
            "base_price": -14304816,
            "booking_reserved_until": "1950-12-19T17:58:06.0Z",
            "booking_summary": {
              "id": "69c4fd42ba71de014700017f",
              "duration": -74453855,
              "end_time": "1903-01-07T06:11:29.0Z",
              "equipment": [
                {
                  "id": "69c4fd42ba71de0147000180",
                  "name": "Hot Rocks"
                },
                {
                  "id": "69c4fd42ba71de0147000181",
                  "name": "Hot Rocks"
                }
              ],
              "equipment_ids": [
                "69c4fd42ba71de0147000182",
                "69c4fd42ba71de0147000183",
                "69c4fd42ba71de0147000184"
              ],
              "offering": {
                "id": "69c4fd42ba71de0147000185",
                "name": "30 Minute Massage",
                "type": "appointment",
                "product_code": "reprehenderit esse ad est minim"
              },
              "practitioners": [],
              "practitioner_ids": [
                "69c4fd42ba71de0147000186",
                "69c4fd42ba71de0147000187"
              ],
              "practitioner_was_requested": true,
              "room": {
                "id": "5dcb47800000000000000000",
                "capacity": -1302960,
                "name": "eu incididunt ad commodo"
              },
              "room_id": "69c4fd42ba71de0147000188",
              "room_was_requested": false,
              "session_id": "69c4fd42ba71de0147000189",
              "start_time": "1919-09-24T05:49:26.0Z",
              "status": "reserved",
              "created_at": "2025-02-04T12:01:01.0Z",
              "updated_at": "2025-02-04T12:01:01.0Z"
            },
            "date": "1946-02-28",
            "discount_amount": -29879185,
            "discounts": [
              {
                "id": "69c4fd42ba71de014700018a",
                "amount_type": "percentage",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1965-08-19T01:58:08.0Z",
                "applied_by": {
                  "id": "69c4fd42ba71de014700018b",
                  "avatar": {
                    "id": "43b36593-e23d-c4d0-851a-9276d67cbde5",
                    "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": "warusbcRc2wrOTo@CxOsEabftBcp.qpy",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "69c4fd42ba71de014700018c",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "1c29232c-0af3-9b56-1132-d63eb6dca824"
                },
                "coupon_code_id": "69c4fd42ba71de014700018d",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "fe87bbb9-2172-ab01-86c7-67fcd0c6bdf8"
              },
              {
                "id": "69c4fd42ba71de014700018e",
                "amount_type": "percentage",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1900-04-22T19:59:22.0Z",
                "applied_by": {
                  "id": "69c4fd42ba71de014700018f",
                  "email": "64e@skLMrZBbqf.mg",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "69c4fd42ba71de0147000190",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "9332468b-2d22-9148-4999-a82cb9ead4ce"
                },
                "coupon_code_id": "69c4fd42ba71de0147000191",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "9fda724f-6ce5-f940-ead7-43155dbc9ef9"
              },
              {
                "id": "69c4fd42ba71de0147000192",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1911-05-31T01:50:38.0Z",
                "applied_by": {
                  "id": "69c4fd42ba71de0147000193",
                  "avatar": {
                    "id": "3fd509f6-08d5-c352-a681-2f464698b808",
                    "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": "ZTsGcW-2mK@PLEtqTRuiwKhgeAf.kjq",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "69c4fd42ba71de0147000194",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "18515874-119f-173b-a726-78f46de0bd65"
                },
                "coupon_code_id": "69c4fd42ba71de0147000195",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "5f4d8500-7406-1a85-aa26-c66132c593b3"
              },
              {
                "id": "69c4fd42ba71de0147000196",
                "amount_type": "percentage",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1921-11-14T08:55:17.0Z",
                "applied_by": {
                  "id": "69c4fd42ba71de0147000197",
                  "avatar": {
                    "id": "6bb3c49c-15ea-04be-f814-05e1525cf3cb",
                    "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": "13kZvpVqEm3wM@VLPbMoJRjbqSZVhVJ.pp",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "69c4fd42ba71de0147000198",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "bebefda1-ca53-d2fb-8010-fe93dc01298b"
                },
                "coupon_code_id": "69c4fd42ba71de0147000199",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "70ae862c-9c3a-45e2-5ed7-c0476317a9b9"
              }
            ],
            "exclusive_tax_amount": 72382545,
            "guest": {
              "id": "69c4fd42ba71de014700019a",
              "checked_in_at": "1914-06-28T11:36:58.0Z",
              "checked_out_at": "1943-04-28T10:01:12.0Z",
              "customer_id": "7090ef0f-8fa8-129d-c8db-0b8c625ccc62",
              "email": "hAJ2RqUl@SfLfCvRiCKmCXOWxovPowjJP.dlrl",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd42ba71de014700019b",
              "intake_form_complete": false,
              "is_lead_booker": true,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            "guests": [
              {
                "id": "69c4fd42ba71de014700019c",
                "checked_in_at": "1933-01-09T21:09:28.0Z",
                "checked_out_at": "1920-01-05T17:03:41.0Z",
                "customer_id": "7e84d272-9f5c-3022-1786-8f6fd339023a",
                "email": "YRx5rNEfcnCb@XwubCPgjouzLfzScrUykFQ.ac",
                "first_name": "Jane",
                "intake_form_submission_id": "69c4fd42ba71de014700019d",
                "intake_form_complete": true,
                "is_lead_booker": true,
                "last_name": "Doe",
                "name": "Jane Doe"
              },
              {
                "id": "69c4fd42ba71de014700019e",
                "checked_in_at": "1950-08-18T16:52:57.0Z",
                "checked_out_at": "1924-07-04T23:42:01.0Z",
                "customer_id": "f1349167-b7d1-e20b-8b3a-d5d8809fe64f",
                "email": "j98mlU@wDnDmpwntkjTodKIcUuGnjEiJuCZDGuON.bxs",
                "first_name": "Jane",
                "intake_form_submission_id": "69c4fd42ba71de014700019f",
                "intake_form_complete": true,
                "is_lead_booker": true,
                "last_name": "Doe",
                "name": "Jane Doe"
              },
              {
                "id": "69c4fd42ba71de01470001a0",
                "checked_in_at": "1948-01-03T12:38:31.0Z",
                "checked_out_at": "1912-12-17T20:04:45.0Z",
                "customer_id": "34b8c44f-6568-a93a-fe32-20ffd0ccd3fa",
                "email": "W2EtXwvR60TRc@ZsiXKiUnx.tpb",
                "first_name": "Jane",
                "intake_form_submission_id": "69c4fd42ba71de01470001a1",
                "intake_form_complete": false,
                "is_lead_booker": true,
                "last_name": "Doe",
                "name": "Jane Doe"
              }
            ],
            "inclusive_tax_amount": -23735075,
            "is_modifiable": true,
            "item_type": "enim ad fugiat",
            "net_total": 66858297,
            "order_discount_amount": 75525607,
            "price": -88068194,
            "sold_by": {
              "id": "ut",
              "name": "eiusmod est",
              "type": ""
            },
            "status": "cancelled",
            "total_cost": -36670256,
            "type_id": "69c4fd42ba71de01470001a2",
            "type_name": "nisi Lorem laborum do dolore",
            "type_product_code": "dolore veniam consectetur qui nulla",
            "created_at": "2025-02-04T12:01:01.0Z",
            "updated_at": "2025-02-04T12:01:01.0Z"
          },
          {
            "id": "69c4fd42ba71de01470001a3",
            "added_by_customer": true,
            "base_price": 96924330,
            "booking_reserved_until": "1912-09-01T12:02:45.0Z",
            "booking_summary": {
              "id": "69c4fd42ba71de01470001a4",
              "duration": -40599099,
              "end_time": "1952-12-16T11:39:58.0Z",
              "equipment": [
                {
                  "id": "69c4fd42ba71de01470001a5",
                  "name": "Hot Rocks"
                },
                {
                  "id": "69c4fd42ba71de01470001a6",
                  "name": "Hot Rocks"
                },
                {
                  "id": "69c4fd42ba71de01470001a7",
                  "name": "Hot Rocks"
                },
                {
                  "id": "69c4fd42ba71de01470001a8",
                  "name": "Hot Rocks"
                },
                {
                  "id": "69c4fd42ba71de01470001a9",
                  "name": "Hot Rocks"
                }
              ],
              "equipment_ids": [
                "69c4fd42ba71de01470001aa",
                "69c4fd42ba71de01470001ab"
              ],
              "offering": {
                "id": "69c4fd42ba71de01470001ac",
                "name": "30 Minute Massage",
                "type": "appointment",
                "product_code": "nulla laboris qui"
              },
              "practitioners": [],
              "practitioner_ids": [
                "69c4fd42ba71de01470001ad"
              ],
              "practitioner_was_requested": false,
              "room": {
                "id": "5dcb47800000000000000000",
                "capacity": -96482585,
                "name": "sunt dolor aute veniam"
              },
              "room_id": "69c4fd42ba71de01470001ae",
              "room_was_requested": true,
              "session_id": "69c4fd42ba71de01470001af",
              "start_time": "1951-05-14T20:12:23.0Z",
              "status": "confirmed",
              "created_at": "2025-02-04T12:01:01.0Z",
              "updated_at": "2025-02-04T12:01:01.0Z"
            },
            "date": "1930-01-04",
            "discount_amount": 84048065,
            "discounts": [
              {
                "id": "69c4fd42ba71de01470001b0",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1918-07-20T23:47:17.0Z",
                "applied_by": {
                  "id": "69c4fd42ba71de01470001b1",
                  "avatar": {
                    "id": "0c4d996b-6dc7-d180-e22e-a3add605c9f9",
                    "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": "nm81nS5i5aq@FGBRwpiANYRTDVqZJIZLlfEyhO.tt",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "69c4fd42ba71de01470001b2",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "bd09433a-6769-4660-ff1e-24ffaafdf3d2"
                },
                "coupon_code_id": "69c4fd42ba71de01470001b3",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "3919e0f4-91a6-8d00-9fe9-3d55d1da6c1b"
              },
              {
                "id": "69c4fd42ba71de01470001b4",
                "amount_type": "percentage",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1908-02-17T11:17:35.0Z",
                "applied_by": {
                  "id": "69c4fd42ba71de01470001b5",
                  "avatar": {
                    "id": "63a6db23-817e-2553-7da6-cdc1b208d707",
                    "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": "CPM@gPWindDgirVHLmlVjj.yhme",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "69c4fd42ba71de01470001b6",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "ba694eef-1f05-0796-2ef8-2094472aa100"
                },
                "coupon_code_id": "69c4fd42ba71de01470001b7",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "75c343a4-abee-cb01-95a9-73a5c927a0bc"
              }
            ],
            "exclusive_tax_amount": 64918606,
            "guest": {
              "id": "69c4fd42ba71de01470001b8",
              "checked_in_at": "1897-11-14T23:43:07.0Z",
              "checked_out_at": "1934-03-19T06:50:18.0Z",
              "customer_id": "59e54d1a-84a3-c9cd-3ee9-ad4c3def53dd",
              "email": "EVeV@KjVJrUyJLYSpklYKCmd.mv",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd42ba71de01470001b9",
              "intake_form_complete": false,
              "is_lead_booker": false,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            "guests": [
              {
                "id": "69c4fd42ba71de01470001ba",
                "checked_in_at": "1926-05-27T04:17:03.0Z",
                "checked_out_at": "1956-02-20T06:58:34.0Z",
                "customer_id": "7b5db548-c815-4614-b475-10de340df276",
                "email": "w6pLzhmutXbW9@oztZvKxxYTdMmukjZaEtyU.wc",
                "first_name": "Jane",
                "intake_form_submission_id": "69c4fd42ba71de01470001bb",
                "intake_form_complete": false,
                "is_lead_booker": false,
                "last_name": "Doe",
                "name": "Jane Doe"
              },
              {
                "id": "69c4fd42ba71de01470001bc",
                "checked_in_at": "1950-10-26T01:52:15.0Z",
                "checked_out_at": "1911-05-14T17:53:15.0Z",
                "customer_id": "0b475d92-f5aa-0e78-6f05-bb611e98d88f",
                "email": "CxGW4@YUVDzW.vyr",
                "first_name": "Jane",
                "intake_form_submission_id": "69c4fd42ba71de01470001bd",
                "intake_form_complete": false,
                "is_lead_booker": false,
                "last_name": "Doe",
                "name": "Jane Doe"
              }
            ],
            "inclusive_tax_amount": 42467325,
            "is_modifiable": true,
            "item_type": "dolor ipsum irure",
            "net_total": -65657878,
            "order_discount_amount": -90023193,
            "price": 26743186,
            "sold_by": {
              "id": "aute exercitation Duis ullamco",
              "name": "fugiat culpa anim nostrud",
              "type": "user"
            },
            "status": "cancelled",
            "total_cost": -30371565,
            "type_id": "69c4fd42ba71de01470001be",
            "type_name": "adipisicing mollit et",
            "type_product_code": "sit tempor Lorem veniam",
            "created_at": "2025-02-04T12:01:01.0Z",
            "updated_at": "2025-02-04T12:01:01.0Z"
          }
        ],
        "booking_items_end_date": "1967-06-12",
        "booking_items_start_date": "1967-06-18",
        "booking_items_span_multiple_days": true,
        "coupon_codes": [
          {
            "id": "69c4fd42ba71de01470001bf",
            "code": "FIVEOFF",
            "customer_credit_id": "8ec99f60-17f9-dbc0-f134-0192a1d74a01",
            "description": "Get 10% off all treatments booked in April.",
            "issued_by_id": "69c4fd42ba71de01470001c0",
            "name": "April special"
          },
          {
            "id": "69c4fd42ba71de01470001c1",
            "code": "FIVEOFF",
            "customer_credit_id": "27f69df1-b233-f25f-5729-6ec86eb5200d",
            "description": "Get 10% off all treatments booked in April.",
            "issued_by_type": "credit",
            "name": "April special"
          }
        ],
        "currency": "gbp",
        "customer_id": "1af9e6aa-1e88-df9d-f8d8-b828a819718c",
        "customer_tax_details": {
          "address_line_1": "1 Davey Street",
          "postcode": "SW4 1AA"
        },
        "discount_total": 100,
        "discounts": [
          {
            "id": "69c4fd42ba71de01470001c2",
            "amount_type": "monetary",
            "applicable_for": "app_and_booking_engine",
            "applied_at": "1918-09-16T08:40:20.0Z",
            "applied_by": {
              "id": "69c4fd42ba71de01470001c3",
              "email": "lA9fRA@IaHTvIYXGnRRlqiblGkQCarzAibNtY.inza",
              "first_name": "Jane",
              "full_name": "Jane Smith",
              "last_name": "Smith"
            },
            "calculated_amount": 150,
            "coupon": {
              "id": "69c4fd42ba71de01470001c4",
              "code": "FIVEOFF",
              "name": "April special",
              "description": "Get 10% off all treatments booked in April.",
              "customer_credit_id": "70147d31-918f-d1e3-ced4-09860985ca0c"
            },
            "coupon_code_id": "69c4fd42ba71de01470001c5",
            "currency": "gbp",
            "discount_amount": 15,
            "discount_type_code": "SUMMER23",
            "reason_code": "general",
            "site_id": "f18c64f8-808c-9a72-6c31-f258fd63e141"
          }
        ],
        "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": "69c4fd42ba71de01470001c6",
            "checked_in_at": "1924-08-17T20:10:01.0Z",
            "checked_out_at": "1893-10-24T23:23:02.0Z",
            "customer_id": "57141519-a54e-a21b-49e2-d43a566e2333",
            "email": "mwD1VmaDjPnz3k3@TMDluVChRPGIRKHeut.md",
            "first_name": "Jane",
            "intake_form_submission_id": "69c4fd42ba71de01470001c7",
            "intake_form_complete": false,
            "is_lead_booker": false,
            "last_name": "Doe",
            "name": "Jane Doe"
          },
          {
            "id": "69c4fd42ba71de01470001c8",
            "checked_in_at": "1897-07-03T07:08:35.0Z",
            "checked_out_at": "1943-12-03T06:28:44.0Z",
            "customer_id": "bdf11d00-75e9-f319-fd51-fd241ec679b6",
            "email": "u-lmkz@NsCSMNIaWSmjzx.leh",
            "first_name": "Jane",
            "intake_form_submission_id": "69c4fd42ba71de01470001c9",
            "intake_form_complete": true,
            "is_lead_booker": true,
            "last_name": "Doe",
            "name": "Jane Doe"
          },
          {
            "id": "69c4fd42ba71de01470001ca",
            "checked_in_at": "1927-09-29T09:47:51.0Z",
            "checked_out_at": "1912-08-07T11:34:11.0Z",
            "customer_id": "4c3ae798-1653-6054-2641-fe2a069c5af9",
            "first_name": "Jane",
            "intake_form_submission_id": "69c4fd42ba71de01470001cb",
            "intake_form_complete": true,
            "is_lead_booker": true,
            "last_name": "Doe",
            "name": "Jane Doe"
          },
          {
            "id": "69c4fd42ba71de01470001cc",
            "checked_in_at": "1934-03-16T16:43:27.0Z",
            "checked_out_at": "1953-04-22T13:03:38.0Z",
            "customer_id": "165fab5a-3c61-ce50-fb40-0c9849873224",
            "first_name": "Jane",
            "intake_form_complete": false,
            "is_lead_booker": false,
            "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": true,
        "items": [
          {
            "id": "69c4fd42ba71de01470001cd",
            "added_by_customer": true,
            "base_price": 595,
            "basket_id": "69c4fd42ba71de01470001ce",
            "discount_amount": 595,
            "discounts": [
              {
                "id": "69c4fd42ba71de01470001cf",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1963-04-02T18:22:50.0Z",
                "applied_by": {
                  "id": "69c4fd42ba71de01470001d0",
                  "email": "8hTtGnsh9i9pRZ@cs.meuo",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "69c4fd42ba71de01470001d1",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "bcd0e371-c2bd-d4d2-3153-df78ecd32970"
                },
                "coupon_code_id": "69c4fd42ba71de01470001d2",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "41a5f738-c79c-dddf-dc87-399724c7383a"
              }
            ],
            "exclusive_tax_amount": 0,
            "guests": [],
            "has_posted": true,
            "inclusive_tax_amount": 49,
            "item_configuration": {
              "culpa__c7": true
            },
            "last_post_attempt": "1969-02-02T02:41:04.0Z",
            "offering": {
              "id": "69c4fd42ba71de01470001d3",
              "name": "30 Minute Massage",
              "type": "appointment",
              "product_code": "Ut"
            },
            "option_budgets": [
              {
                "budget": "non elit id",
                "choice_id": "magna commodo quis",
                "remaining": "culpa",
                "spent": "sit dolor"
              },
              {
                "budget": "anim nulla aliqua",
                "choice_id": "reprehenderit cillum occaecat proident in",
                "remaining": "dolore in",
                "spent": "cillum sed laborum est"
              },
              {
                "budget": "elit occaecat irure amet",
                "choice_id": "dolore sed",
                "remaining": "nostrud magna tempor in",
                "spent": "ut id"
              }
            ],
            "order_discount_amount": 29709769,
            "package_items": [],
            "price": 595,
            "purchasable_details": {
              "id": "69c4fd42ba71de01470001d4",
              "email_sent_at": "1911-06-15T09:16:02.0Z",
              "valid_to_date": "1905-02-04"
            },
            "quantity": 1,
            "reserved_until": "1913-08-24T15:47:09.0Z",
            "sold_by": {
              "id": "ut incididunt adipisicing aliqua sit",
              "name": "do magna officia ut dolore",
              "type": ""
            },
            "status": "cancelled",
            "total_cost": 595,
            "created_at": "2025-02-04T12:01:01.0Z",
            "updated_at": "2025-02-04T12:01:01.0Z"
          }
        ],
        "items_status": "confirmed",
        "labels": [
          {
            "id": "69c4fd42ba71de01470001d5",
            "color": "#FF0000",
            "name": "VIP",
            "order_id": "69c4fd42ba71de01470001d6"
          },
          {
            "id": "69c4fd42ba71de01470001d7",
            "color": "#FF0000",
            "name": "VIP",
            "order_id": "69c4fd42ba71de01470001d8"
          },
          {
            "id": "69c4fd42ba71de01470001d9",
            "color": "#FF0000",
            "name": "VIP",
            "order_id": "69c4fd42ba71de01470001da"
          }
        ],
        "last_name": "Doe",
        "locked_at": "2019-01-15T12:01:01.0Z",
        "net_total": 8000,
        "new_intake_form_url": "aute laborum sed",
        "order_ref": "TRY00",
        "organisation_id": "e1d2c2d9-843a-c2df-f700-53aa11a95aff",
        "outstanding_payment_amount": -17027917,
        "package_items": [
          {
            "id": "69c4fd42ba71de01470001db",
            "added_by_customer": true,
            "date": "1902-09-18",
            "discount_amount": 16468694,
            "discounts": [
              {
                "id": "69c4fd42ba71de01470001dc",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1896-02-19T03:13:11.0Z",
                "applied_by": {
                  "id": "69c4fd42ba71de01470001dd",
                  "avatar": {
                    "id": "eb7625ec-1e99-3426-2c3b-4ccb2a2ed0de",
                    "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": "kJ06FuQfjEld1M4@KqmVDlfwvlyWtDTfwcb.ier",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "69c4fd42ba71de01470001de",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "a095fe8d-0120-00a1-06ca-0cbec85fb758"
                },
                "coupon_code_id": "69c4fd42ba71de01470001df",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "12161798-304e-fcf3-255f-08f9323011fc"
              },
              {
                "id": "69c4fd42ba71de01470001e0",
                "amount_type": "percentage",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1892-05-22T02:19:09.0Z",
                "applied_by": {
                  "id": "69c4fd42ba71de01470001e1",
                  "avatar": {
                    "id": "12bbc7d3-5716-ea0c-d1e5-39369a07f9e0",
                    "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": "GSvdqFu4p@eeKwrDMrdEfk.dxpc",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "69c4fd42ba71de01470001e2",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "ec00d7d0-40bf-00ad-79ef-fefac21dc551"
                },
                "coupon_code_id": "69c4fd42ba71de01470001e3",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "8f791bde-6bca-d0ab-7850-b1e4c944380d"
              },
              {
                "id": "69c4fd42ba71de01470001e4",
                "amount_type": "percentage",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1962-07-24T08:52:45.0Z",
                "applied_by": {
                  "id": "69c4fd42ba71de01470001e5",
                  "avatar": {
                    "id": "19dbbefa-0881-4879-2f06-182a6ef54a6e",
                    "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": "J4WPZu@hjXMhGZCxHmFABKtILYziHgIJZRT.fhs",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "69c4fd42ba71de01470001e6",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "d86b51fa-2fa3-1fdc-0868-d9237d759dbf"
                },
                "coupon_code_id": "69c4fd42ba71de01470001e7",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "31becdbf-8a67-a0f1-6e0e-308f85dd7ef5"
              },
              {
                "id": "69c4fd42ba71de01470001e8",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1913-08-21T22:34:05.0Z",
                "applied_by": {
                  "id": "69c4fd42ba71de01470001e9",
                  "avatar": {
                    "id": "6f0a24ed-3193-c111-1263-0a92b2a42090",
                    "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": "un9elc3@xztppvTfmcviVNqDSiyWmY.wfrw",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "69c4fd42ba71de01470001ea",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "531f21e3-a5d1-b4ad-d70d-da10d4c16c96"
                },
                "coupon_code_id": "69c4fd42ba71de01470001eb",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "cb8c9f0d-214f-30d9-02cf-d2e11fdb9f8b"
              },
              {
                "id": "69c4fd42ba71de01470001ec",
                "amount_type": "monetary",
                "applicable_for": "app_and_booking_engine",
                "applied_at": "1932-07-08T01:44:14.0Z",
                "applied_by": {
                  "id": "69c4fd42ba71de01470001ed",
                  "email": "8RL9dihb@APxeSCviInwNWzZXhBGivrd.ktc",
                  "first_name": "Jane",
                  "full_name": "Jane Smith",
                  "last_name": "Smith"
                },
                "calculated_amount": 150,
                "coupon": {
                  "id": "69c4fd42ba71de01470001ee",
                  "code": "FIVEOFF",
                  "name": "April special",
                  "description": "Get 10% off all treatments booked in April.",
                  "customer_credit_id": "4bb6ccab-3b1b-d833-3864-e65f81376edc"
                },
                "coupon_code_id": "69c4fd42ba71de01470001ef",
                "currency": "gbp",
                "discount_amount": 15,
                "discount_type_code": "SUMMER23",
                "reason_code": "general",
                "site_id": "6040d92c-59ef-2027-7b24-38d25e10dbf1"
              }
            ],
            "exclusive_tax_amount": 85934998,
            "guests": [
              {
                "id": "69c4fd42ba71de01470001f0",
                "checked_in_at": "1953-11-18T15:16:41.0Z",
                "checked_out_at": "1917-12-23T06:25:26.0Z",
                "customer_id": "731038f5-ce39-f7b1-03b3-b8ce40f92faa",
                "email": "l3TbgNZS5@qklRExwzfAlxpoJVQigE.hv",
                "first_name": "Jane",
                "intake_form_submission_id": "69c4fd42ba71de01470001f1",
                "intake_form_complete": true,
                "is_lead_booker": false,
                "last_name": "Doe",
                "name": "Jane Doe"
              },
              {
                "id": "69c4fd42ba71de01470001f2",
                "checked_in_at": "1917-11-27T15:44:09.0Z",
                "checked_out_at": "1963-08-12T05:02:26.0Z",
                "customer_id": "8369d15c-6fb2-b905-842c-e48509cc643c",
                "first_name": "Jane",
                "intake_form_complete": false,
                "is_lead_booker": false,
                "last_name": "Doe",
                "name": "Jane Doe"
              },
              {
                "id": "69c4fd42ba71de01470001f3",
                "checked_in_at": "1953-03-25T08:06:04.0Z",
                "checked_out_at": "1926-12-12T05:33:57.0Z",
                "customer_id": "6b35eb0e-86b7-a06f-d9bf-72de56870683",
                "first_name": "Jane",
                "intake_form_complete": false,
                "is_lead_booker": true,
                "last_name": "Doe",
                "name": "Jane Doe"
              }
            ],
            "inclusive_tax_amount": -69709332,
            "is_modifiable": false,
            "item_type": "sint ex sunt Lorem",
            "net_total": -61619270,
            "option_budgets": [
              {
                "budget": "sed occaecat",
                "choice_id": "voluptate adipisicing est",
                "remaining": "sit magna esse",
                "spent": "non Lorem ut"
              },
              {
                "budget": "commodo",
                "choice_id": "in cillum commodo laborum",
                "remaining": "reprehenderit anim",
                "spent": "proident Ut reprehenderit ullamco ex"
              },
              {
                "budget": "amet officia consequat",
                "choice_id": "esse enim est veniam",
                "remaining": "ad",
                "spent": "labore mollit in aliqua consectetur"
              },
              {
                "budget": "Lorem aute culpa do cupidatat",
                "choice_id": "proident magna",
                "remaining": "labore amet laboris",
                "spent": "aliqua"
              }
            ],
            "order_discount_amount": 94922609,
            "package_items": [
              {
                "id": "69c4fd42ba71de01470001f4",
                "choice_id": "69c4fd42ba71de01470001f5",
                "duration": -47045594,
                "item_configuration": {
                  "velit_c": -93998953,
                  "nulla_c": false,
                  "occaecat_a": -4850264,
                  "voluptate_9": "pariatur esse ipsum",
                  "temporcea": "labore ipsum"
                },
                "offering_id": "69c4fd42ba71de01470001f6",
                "offering_name": "deserunt ipsum",
                "offering_type": "appointment",
                "option_id": "69c4fd42ba71de01470001f7",
                "price_change": 67960314,
                "reserved_until": "1901-04-11T04:34:46.0Z",
                "shared_basket_item_id": "69c4fd42ba71de01470001f8",
                "time": 840
              },
              {
                "id": "69c4fd42ba71de01470001f9",
                "booking_summary": {
                  "id": "69c4fd42ba71de01470001fa",
                  "duration": 62823854,
                  "end_time": "1915-04-03T02:53:28.0Z",
                  "equipment": [
                    {
                      "id": "69c4fd42ba71de01470001fb",
                      "name": "Hot Rocks"
                    }
                  ],
                  "equipment_ids": [
                    "69c4fd42ba71de01470001fc",
                    "69c4fd42ba71de01470001fd",
                    "69c4fd42ba71de01470001fe"
                  ],
                  "offering": {
                    "id": "69c4fd42ba71de01470001ff",
                    "name": "30 Minute Massage",
                    "type": "appointment",
                    "product_code": "voluptate"
                  },
                  "practitioners": [
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    },
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    },
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    }
                  ],
                  "practitioner_ids": [],
                  "practitioner_was_requested": false,
                  "room": {
                    "id": "5dcb47800000000000000000",
                    "capacity": 35159969,
                    "name": "voluptate et aliquip magna"
                  },
                  "room_id": "69c4fd42ba71de0147000200",
                  "room_was_requested": true,
                  "session_id": "69c4fd42ba71de0147000201",
                  "start_time": "1961-05-14T12:42:07.0Z",
                  "status": "waitlisted",
                  "created_at": "2025-02-04T12:01:01.0Z",
                  "updated_at": "2025-02-04T12:01:01.0Z"
                },
                "choice_id": "69c4fd42ba71de0147000202",
                "duration": 26688185,
                "guests": [
                  {
                    "id": "69c4fd42ba71de0147000203",
                    "checked_in_at": "1930-11-02T03:47:25.0Z",
                    "checked_out_at": "1937-05-05T01:49:30.0Z",
                    "customer_id": "b8abcdf5-1976-983e-3a5a-c49dbc7209fd",
                    "email": "ZdTfNOgjM@nZDIhXbQNpOCsg.vb",
                    "first_name": "Jane",
                    "intake_form_submission_id": "69c4fd42ba71de0147000204",
                    "intake_form_complete": true,
                    "is_lead_booker": true,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "69c4fd42ba71de0147000205",
                    "checked_in_at": "1895-12-20T13:02:32.0Z",
                    "checked_out_at": "1933-12-28T14:30:20.0Z",
                    "customer_id": "142501ff-2d82-13c8-bc38-20915da22c44",
                    "email": "TPuR@WZFYabLhAPVxDssbDTnMITwIDxCHv.qjg",
                    "first_name": "Jane",
                    "intake_form_submission_id": "69c4fd42ba71de0147000206",
                    "intake_form_complete": false,
                    "is_lead_booker": true,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "69c4fd42ba71de0147000207",
                    "checked_in_at": "1928-09-25T23:15:33.0Z",
                    "checked_out_at": "1929-05-05T19:40:40.0Z",
                    "customer_id": "35e2ae26-168c-e2fe-b229-71a551767a5c",
                    "first_name": "Jane",
                    "intake_form_submission_id": "69c4fd42ba71de0147000208",
                    "intake_form_complete": true,
                    "is_lead_booker": true,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "69c4fd42ba71de0147000209",
                    "checked_in_at": "1916-01-06T01:07:20.0Z",
                    "checked_out_at": "1892-04-20T04:50:51.0Z",
                    "customer_id": "a1b7b711-f6d6-ee57-4134-b6fb34b98f10",
                    "email": "n05@QtJzbhvKGnL.ofqa",
                    "first_name": "Jane",
                    "intake_form_submission_id": "69c4fd42ba71de014700020a",
                    "intake_form_complete": true,
                    "is_lead_booker": false,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "69c4fd42ba71de014700020b",
                    "checked_in_at": "1895-09-09T10:52:49.0Z",
                    "checked_out_at": "1920-11-29T02:49:11.0Z",
                    "customer_id": "08ee33b7-39d2-6906-a483-f971032827e3",
                    "email": "jWf0ly@yQXYSHVpVldVgDeCTUAuRlFeHCvgyHGa.vw",
                    "first_name": "Jane",
                    "intake_form_submission_id": "69c4fd42ba71de014700020c",
                    "intake_form_complete": true,
                    "is_lead_booker": true,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  }
                ],
                "item_configuration": {
                  "veniam_f7b": -13603852.453588024,
                  "proident_a": true,
                  "in_2da": -34358250.759679355
                },
                "offering_id": "69c4fd42ba71de014700020d",
                "offering_name": "labore",
                "offering_type": "appointment",
                "option_id": "69c4fd42ba71de014700020e",
                "price_change": 12572797,
                "reserved_until": "1890-05-11T12:30:22.0Z",
                "shared_basket_item_id": "69c4fd42ba71de014700020f",
                "status": "submitted",
                "time": 840
              },
              {
                "id": "69c4fd42ba71de0147000210",
                "booking_summary": {
                  "id": "69c4fd42ba71de0147000211",
                  "duration": -94000662,
                  "end_time": "1915-04-27T11:24:37.0Z",
                  "offering": {
                    "id": "69c4fd42ba71de0147000212",
                    "name": "30 Minute Massage",
                    "type": "appointment",
                    "product_code": "nostrud consectetur"
                  },
                  "start_time": "1942-03-14T04:45:52.0Z",
                  "status": "reserved",
                  "created_at": "2025-02-04T12:01:01.0Z",
                  "updated_at": "2025-02-04T12:01:01.0Z"
                },
                "choice_id": "69c4fd42ba71de0147000213",
                "duration": 39557210,
                "item_configuration": {
                  "in0a": false,
                  "voluptate5f": "proident cupidatat veniam tempor amet",
                  "culpa0": 53492239.200980365
                },
                "offering_id": "69c4fd42ba71de0147000214",
                "offering_name": "et incididunt velit occaecat",
                "offering_type": "appointment",
                "option_id": "69c4fd42ba71de0147000215",
                "price_change": -34532191,
                "reserved_until": "1920-05-22T01:52:41.0Z",
                "shared_basket_item_id": "69c4fd42ba71de0147000216",
                "status": "submitted",
                "time": 840
              },
              {
                "id": "69c4fd42ba71de0147000217",
                "booking_summary": {
                  "id": "69c4fd42ba71de0147000218",
                  "duration": -50300322,
                  "end_time": "1927-08-07T18:38:55.0Z",
                  "equipment": [
                    {
                      "id": "69c4fd42ba71de0147000219",
                      "name": "Hot Rocks"
                    },
                    {
                      "id": "69c4fd42ba71de014700021a",
                      "name": "Hot Rocks"
                    }
                  ],
                  "equipment_ids": [
                    "69c4fd42ba71de014700021b"
                  ],
                  "offering": {
                    "id": "69c4fd42ba71de014700021c",
                    "name": "30 Minute Massage",
                    "type": "appointment",
                    "product_code": "in consequat sunt anim"
                  },
                  "practitioners": [
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    },
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    },
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    },
                    {
                      "id": "5dcb47800000000000000000",
                      "name": "Jane Doe"
                    }
                  ],
                  "practitioner_ids": [
                    "69c4fd42ba71de014700021d"
                  ],
                  "practitioner_was_requested": false,
                  "room": {
                    "id": "5dcb47800000000000000000",
                    "capacity": 75306980,
                    "name": "exercitation et"
                  },
                  "room_id": "69c4fd42ba71de014700021e",
                  "room_was_requested": true,
                  "session_id": "69c4fd42ba71de014700021f",
                  "start_time": "1892-09-11T01:58:50.0Z",
                  "status": "confirmed",
                  "created_at": "2025-02-04T12:01:01.0Z",
                  "updated_at": "2025-02-04T12:01:01.0Z"
                },
                "choice_id": "69c4fd42ba71de0147000220",
                "duration": -22291179,
                "guests": [
                  {
                    "id": "69c4fd42ba71de0147000221",
                    "checked_in_at": "1949-06-12T12:19:36.0Z",
                    "checked_out_at": "1911-07-15T06:54:48.0Z",
                    "customer_id": "d3e7d23c-4129-785a-50db-3d950ffa10c6",
                    "email": "VlN@QNDMSeACPwWltrJowtmsljY.yel",
                    "first_name": "Jane",
                    "intake_form_submission_id": "69c4fd42ba71de0147000222",
                    "intake_form_complete": false,
                    "is_lead_booker": true,
                    "last_name": "Doe",
                    "name": "Jane Doe"
                  }
                ],
                "item_configuration": {
                  "sint4c": -20383594.92438975,
                  "ullamco_c": 90498986,
                  "dolor_4_": true
                },
                "offering_id": "69c4fd42ba71de0147000223",
                "offering_name": "ex sunt",
                "offering_type": "appointment",
                "option_id": "69c4fd42ba71de0147000224",
                "price_change": -89597629,
                "reserved_until": "1932-01-20T23:22:43.0Z",
                "shared_basket_item_id": "69c4fd42ba71de0147000225",
                "status": "submitted",
                "time": 840
              }
            ],
            "price": 64311561,
            "sold_by": {
              "id": "officia anim sunt",
              "name": "Duis",
              "type": "user"
            },
            "status": "pending_confirmation",
            "total_cost": -56969423,
            "type_id": "69c4fd42ba71de0147000226",
            "type_name": "in",
            "type_product_code": "culpa sint",
            "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": [],
        "phone": "+447727123456",
        "post_to_room_config": {
          "associated_at": "1969-11-01T18:01:44.0Z",
          "processor_data": {
            "G#": 2081111,
            "RN": "9500"
          }
        },
        "promo_code_applied_at": "1938-06-25T12:58:21.0Z",
        "promo_code_applied_by": {
          "id": "69c4fd42ba71de0147000227",
          "avatar": {
            "id": "df54556d-132f-5965-7e21-4332dc2bf717",
            "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": "8H2dn7J@fZU.zkcn",
          "first_name": "Jane",
          "full_name": "Jane Smith",
          "last_name": "Smith"
        },
        "purchase_items": [],
        "sales_channel": {
          "id": "69c4fd42ba71de0147000228",
          "name": "Web",
          "organisation_id": "b1079b8d-d16d-9e7a-8ff5-06e0c8a2f98f"
        },
        "service_charge": {
          "amount": 1000,
          "item_amounts": [
            {
              "amount": 1000,
              "item_id": "69c4fd42ba71de0147000229",
              "percentage": 10
            }
          ],
          "percentage": 10
        },
        "site_id": "32731e39-09bc-1686-23c9-d639ef7e1db5",
        "special_requests": "I would like the Blue Room please",
        "stage": "checked_out",
        "status": "submitted",
        "submit_auth_amount": 50018198,
        "submit_payment_amount": 44876448,
        "submitted_at": "2020-02-24T12:01:01.0Z",
        "submitted_by": {
          "id": "69c4fd42ba71de014700022a",
          "avatar": {
            "id": "b1945f37-535b-6582-0906-5640e174d56d",
            "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": "c8iP3fnGp-jkSi@stcgOIzjhV.ik",
          "first_name": "Jane",
          "full_name": "Jane Smith",
          "last_name": "Smith"
        },
        "taxes": [
          {
            "amount": 1290,
            "inclusive": false,
            "name": "VAT",
            "percentage": 20
          }
        ],
        "tip_amount": 1050,
        "tips": [
          {
            "id": "69c4fd42ba71de014700022b",
            "amount": 1050,
            "declined": false,
            "updated_at": "1912-03-25T03:44:48.0Z",
            "can_remove": false
          },
          {
            "id": "69c4fd42ba71de014700022c",
            "amount": 1050,
            "declined": false,
            "updated_at": "1965-02-16T14:14:05.0Z",
            "can_remove": true
          },
          {
            "id": "69c4fd42ba71de014700022d",
            "amount": 1050,
            "declined": false,
            "updated_at": "1942-05-21T12:07:21.0Z",
            "can_remove": false
          },
          {
            "id": "69c4fd42ba71de014700022e",
            "amount": 1050,
            "declined": false,
            "updated_at": "1927-05-10T01:30:23.0Z",
            "can_remove": true
          },
          {
            "id": "69c4fd42ba71de014700022f",
            "amount": 1050,
            "declined": true,
            "updated_at": "1930-02-25T20:14:13.0Z",
            "can_remove": false
          }
        ],
        "total_cost": -10000545,
        "total_paid_or_authed": 88381286,
        "total_tax": 2000,
        "totals": {
          "exclusive_tax": 0,
          "inclusive_tax": 250,
          "order_discount": 11000,
          "subtotal": 12000,
          "subtotal_without_exclusive_tax": 12000,
          "total": 10000
        },
        "visit": {
          "id": "69c4fd42ba71de0147000230",
          "visit_ref": "elit quis",
          "visit_type": {
            "id": "69c4fd42ba71de0147000231",
            "name": "Stay"
          },
          "status": "elit cupidatat esse Ut",
          "arrival_date": "1894-04-19T03:57:15.0Z",
          "departure_date": "1945-07-17T07:08:45.0Z",
          "first_name": "aliqua reprehenderit veniam",
          "last_name": "ex dolor proident id Duis"
        },
        "voucher_codes": [],
        "created_at": "2020-02-24T12:01:01.0Z",
        "updated_at": "2020-02-24T12:01:01.0Z"
      },
      "payment_method": {
        "id": "0e1515fa-19e3-3871-5cf1-a5d2183760a0",
        "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": "1923-11-25T03:49:43.0Z"
    },
    {
      "id": "51d4d01a-f852-6bf2-4736-7f7a0ab6e107",
      "customer_id": "424499bc-2c14-60f8-41d1-ae02cf7a5a5d",
      "customer": {
        "id": "96a7fb78-6067-8fa3-4729-5d9f590da47b",
        "first_name": "Jane",
        "last_name": "Doe",
        "full_name": "Jane Doe",
        "phone": "+447900000000",
        "has_password": true,
        "dob": "1900-12-12",
        "brand_id": "9162da09-d637-0241-16c2-bce2289a2c80",
        "site_id": "5f10553f-0fba-9fdf-cd38-a12bd65f3737",
        "stripe_id": "cus_1234567890",
        "express_stripe_id": "cus_1234567890",
        "email": "janedoe@example.com",
        "labels": [],
        "preferred_locale": "en",
        "locked_at": "1934-02-22T23:50:12.0Z",
        "created_at": "1901-06-01T12:25:15.0Z",
        "updated_at": "1929-12-06T01:25:14.0Z",
        "deleted_at": "1963-11-08T19:20:47.0Z",
        "last_active_at": "1905-07-09T02:09:54.0Z",
        "email_verified_at": "1898-02-25T01:56:37.0Z",
        "last_check_in": {
          "checked_in_at": "1925-11-28T14:25:51.0Z",
          "method": "Scanned"
        },
        "avatar_id": "000000-000000-000000-000000",
        "avatar": {
          "id": "400dced6-4c78-73fc-9abf-bc58400709bb",
          "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 ullamco in dolore"
      },
      "barcode": "esse ad adipisicing incididunt non",
      "expires_at": "1959-09-11T08:22:31.0Z",
      "brand_id": "6d5c56b7-8f07-2615-58f1-62bfa8ac4f0a",
      "site_id": "a9360569-a752-4ca8-5f52-da20ac5554d4",
      "organisation_id": "8349586b-e58c-98c8-ccb3-84b4137e0092",
      "source": "kiosk",
      "order": {
        "id": "69c4fd42ba71de0147000232",
        "applied_promo_code_discount_total": 25059589,
        "applied_promo_code_id": "69c4fd42ba71de0147000233",
        "booking_items": [],
        "booking_items_end_date": "1908-11-12",
        "booking_items_start_date": "1939-06-05",
        "coupon_codes": [
          {
            "id": "69c4fd42ba71de0147000234",
            "code": "FIVEOFF",
            "customer_credit_id": "ea711d58-a4ae-c8a5-1a85-ba4d632629bf",
            "description": "Get 10% off all treatments booked in April.",
            "issued_by_id": "69c4fd42ba71de0147000235",
            "issued_by_type": "credit",
            "name": "April special"
          },
          {
            "id": "69c4fd42ba71de0147000236",
            "code": "FIVEOFF",
            "customer_credit_id": "eacc9cb9-4eeb-7c79-6b31-32dfa032f397",
            "description": "Get 10% off all treatments booked in April.",
            "issued_by_id": "69c4fd42ba71de0147000237",
            "issued_by_type": "credit",
            "name": "April special"
          },
          {
            "id": "69c4fd42ba71de0147000238",
            "code": "FIVEOFF",
            "customer_credit_id": "c510d5e3-f9c7-843a-1f18-ed7616a9c930",
            "description": "Get 10% off all treatments booked in April.",
            "issued_by_id": "69c4fd42ba71de0147000239",
            "issued_by_type": "credit",
            "name": "April special"
          },
          {
            "id": "69c4fd42ba71de014700023a",
            "code": "FIVEOFF",
            "customer_credit_id": "4f3f621f-b436-413a-8b21-ae695083c9e6",
            "description": "Get 10% off all treatments booked in April.",
            "issued_by_id": "69c4fd42ba71de014700023b",
            "name": "April special"
          }
        ],
        "currency": "gbp",
        "customer_id": "748c2853-e735-05b2-894e-adacc9c1bc0c",
        "discount_total": 100,
        "discounts": [
          {
            "id": "69c4fd42ba71de014700023c",
            "amount_type": "percentage",
            "applicable_for": "app_and_booking_engine",
            "applied_at": "1925-02-23T11:09:02.0Z",
            "applied_by": {
              "id": "69c4fd42ba71de014700023d",
              "avatar": {
                "id": "8d7a5b27-45df-e7ed-56ac-2b59fe31534d",
                "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": "rHbr@PGLbclmz.oyv",
              "first_name": "Jane",
              "full_name": "Jane Smith",
              "last_name": "Smith"
            },
            "calculated_amount": 150,
            "coupon": {
              "id": "69c4fd42ba71de014700023e",
              "code": "FIVEOFF",
              "name": "April special",
              "description": "Get 10% off all treatments booked in April.",
              "customer_credit_id": "88cea4f1-9dbb-dbbb-d82d-c6fbc495c983"
            },
            "coupon_code_id": "69c4fd42ba71de014700023f",
            "currency": "gbp",
            "discount_amount": 15,
            "discount_type_code": "SUMMER23",
            "reason_code": "general",
            "site_id": "8448944c-da55-227a-5bab-4c30a0599bbb"
          }
        ],
        "email": "janedoe@example.com",
        "external_visit_ref": "RES1234",
        "first_name": "Jane",
        "guests": [],
        "integration_config_id": "5f344d756e7f2e7d3f2e4b82",
        "is_customer_required": true,
        "is_locked": false,
        "items_status": "confirmed",
        "labels": [
          {
            "id": "69c4fd42ba71de0147000240",
            "color": "#FF0000",
            "name": "VIP",
            "order_id": "69c4fd42ba71de0147000241"
          }
        ],
        "last_name": "Doe",
        "locked_at": "2019-01-15T12:01:01.0Z",
        "net_total": 8000,
        "order_ref": "TRY00",
        "organisation_id": "3128a860-0f85-5f45-fb75-8064886538ab",
        "outstanding_payment_amount": 91079472,
        "payment_totals": {
          "chargeable": 500,
          "missing": 1000,
          "paid": 750,
          "pending": 250,
          "provided": 1500,
          "unpaid": 1000
        },
        "payments": [
          {
            "id": "69c4fd42ba71de0147000242",
            "amount": 10000,
            "capture_method": "automatic",
            "chargebacks": [
              {
                "id": "69c4fd42ba71de0147000243",
                "amount": "qui ullamco laborum",
                "currency": "gbp",
                "payment_id": "69c4fd42ba71de0147000244",
                "processor_data": {
                  "pariatur_1": "magna amet nisi labore ut",
                  "commodo_d8": false,
                  "nostrud4": false
                },
                "reason": "Ut deserunt consectetur",
                "status": "confirmed",
                "created_at": "2025-02-04T12:01:01.0Z"
              }
            ],
            "currency": "gbp",
            "details_source": "pay_by_link",
            "failure_reason": "Suspected fraud",
            "order_ref": "officia cillum ipsum nisi Ut",
            "paid_at": "2020-02-24T12:01:01.0Z",
            "payable_id": "69c4fd42ba71de0147000245",
            "payable_type": "esse cillum",
            "processor": "stripe",
            "processor_data": {
              "nisi_4": "velit deserunt in ut ex"
            },
            "processor_id": "69c4fd42ba71de0147000246",
            "processor_type": "deserunt laboris minim",
            "refundable_amount": 3500,
            "refunds": [],
            "status": "payment_method_charged",
            "created_at": "2025-02-04T12:01:01.0Z"
          },
          {
            "id": "69c4fd42ba71de0147000247",
            "amount": 10000,
            "capture_method": "automatic",
            "chargebacks": [
              {
                "id": "69c4fd42ba71de0147000248",
                "amount": "ea laborum cillum veniam velit",
                "currency": "gbp",
                "payment_id": "69c4fd42ba71de0147000249",
                "processor_data": {
                  "irure__": 96839074.18879792,
                  "commodo1_": "exercitation Duis deserunt reprehenderit",
                  "sit4": -27319405.370931268
                },
                "reason": "laboris veniam",
                "status": "processed",
                "created_at": "2025-02-04T12:01:01.0Z"
              },
              {
                "id": "69c4fd42ba71de014700024a",
                "amount": "reprehenderit nostrud",
                "currency": "gbp",
                "payment_id": "69c4fd42ba71de014700024b",
                "processor_data": {
                  "dolore___": -90289328
                },
                "reason": "in sint anim",
                "status": "processed",
                "created_at": "2025-02-04T12:01:01.0Z"
              },
              {
                "id": "69c4fd42ba71de014700024c",
                "amount": "sint",
                "currency": "gbp",
                "payment_id": "69c4fd42ba71de014700024d",
                "processor_data": {
                  "laborum_a2": -88238800
                },
                "reason": "aute dolore commodo nulla",
                "status": "confirmed",
                "created_at": "2025-02-04T12:01:01.0Z"
              }
            ],
            "currency": "gbp",
            "details_source": "pay_by_link",
            "failure_reason": "Suspected fraud",
            "order_ref": "Excepteur sunt",
            "paid_at": "2020-02-24T12:01:01.0Z",
            "payable_id": "69c4fd42ba71de014700024e",
            "payable_type": "mollit dolor nostrud est dolore",
            "processor": "stripe",
            "processor_data": {
              "fugiatf6": -60556446.05968058
            },
            "processor_id": "69c4fd42ba71de014700024f",
            "processor_type": "eu id incididunt irure",
            "refundable_amount": 3500,
            "refunds": [
              {
                "id": "69c4fd42ba71de0147000250",
                "payment_id": "69c4fd42ba71de0147000251",
                "amount": 95445819,
                "currency": "gbp",
                "notes": "eu voluptate aute",
                "status": "complete",
                "processor_data": {
                  "minimbe3": false,
                  "aliquipe": 78755660
                },
                "created_at": "1900-07-21T16:15:03.0Z"
              },
              {
                "id": "69c4fd42ba71de0147000252",
                "payment_id": "69c4fd42ba71de0147000253",
                "amount": 82047122,
                "currency": "gbp",
                "notes": "cillum adipisicing labore aliqua cupidatat",
                "status": "pending",
                "processor_data": {
                  "et_ee": "sunt"
                },
                "created_at": "1945-02-16T15:03:08.0Z"
              },
              {
                "id": "69c4fd42ba71de0147000254",
                "payment_id": "69c4fd42ba71de0147000255",
                "amount": -23096899,
                "currency": "gbp",
                "notes": "Lorem",
                "status": "pending",
                "processor_data": {
                  "non6a5": 22410375.68812412,
                  "ametdf": 20994434.9285537,
                  "occaecat_": -16234973,
                  "eu_5d2": 8462402
                },
                "created_at": "1959-05-24T18:46:44.0Z"
              }
            ],
            "status": "payment_method_charged",
            "created_at": "2025-02-04T12:01:01.0Z"
          },
          {
            "id": "69c4fd42ba71de0147000256",
            "amount": 10000,
            "capture_method": "automatic",
            "chargebacks": [
              {
                "id": "69c4fd42ba71de0147000257",
                "amount": "ex nostrud aliquip exercitation",
                "currency": "gbp",
                "payment_id": "69c4fd42ba71de0147000258",
                "processor_data": {
                  "pariature": -50684826.152594775,
                  "eiusmod2": 22044705.76460506,
                  "amet6": -29615454,
                  "irure_": 76034607
                },
                "reason": "cupidatat",
                "status": "pending",
                "created_at": "2025-02-04T12:01:01.0Z"
              },
              {
                "id": "69c4fd42ba71de0147000259",
                "amount": "laboris commodo dolore",
                "currency": "gbp",
                "payment_id": "69c4fd42ba71de014700025a",
                "processor_data": {
                  "esse40": false,
                  "in_8d": "et",
                  "inc1": true,
                  "ina": -8849861,
                  "commodo_d": "Excepteur"
                },
                "reason": "ullamco pariatur",
                "status": "pending",
                "created_at": "2025-02-04T12:01:01.0Z"
              },
              {
                "id": "69c4fd42ba71de014700025b",
                "amount": "sunt aliquip nisi ex",
                "currency": "gbp",
                "payment_id": "69c4fd42ba71de014700025c",
                "processor_data": {
                  "dolor_b73": 47339969,
                  "commodoc3": false
                },
                "reason": "id",
                "status": "pending",
                "created_at": "2025-02-04T12:01:01.0Z"
              },
              {
                "id": "69c4fd42ba71de014700025d",
                "amount": "ipsum est ut sit",
                "currency": "gbp",
                "payment_id": "69c4fd42ba71de014700025e",
                "processor_data": {
                  "est_e": 88911553.1603831
                },
                "reason": "in culpa non elit nostrud",
                "status": "reversed",
                "created_at": "2025-02-04T12:01:01.0Z"
              }
            ],
            "currency": "gbp",
            "details_source": "pay_by_link",
            "paid_at": "2020-02-24T12:01:01.0Z",
            "payable_id": "69c4fd42ba71de014700025f",
            "payable_type": "veniam ex",
            "processor": "stripe",
            "processor_data": {
              "veniam9": -94818017,
              "sit_b": -37453980.77679578
            },
            "processor_id": "69c4fd42ba71de0147000260",
            "processor_type": "ad in cupidatat",
            "refundable_amount": 3500,
            "refunds": [
              {
                "id": "69c4fd42ba71de0147000261",
                "payment_id": "69c4fd42ba71de0147000262",
                "amount": 86483527,
                "currency": "gbp",
                "notes": "esse culpa",
                "status": "complete",
                "processor_data": {
                  "tempor_f6b": -88868869.4465857
                },
                "created_at": "1906-05-24T09:45:36.0Z"
              },
              {
                "id": "69c4fd42ba71de0147000263",
                "payment_id": "69c4fd42ba71de0147000264",
                "amount": -90828186,
                "currency": "gbp",
                "notes": "dolor ipsum nostrud",
                "status": "pending",
                "processor_data": {
                  "ut_fcb": 62348214,
                  "est_d": "in magna tempor elit nulla"
                },
                "created_at": "1967-02-10T01:44:22.0Z"
              },
              {
                "id": "69c4fd42ba71de0147000265",
                "payment_id": "69c4fd42ba71de0147000266",
                "amount": 61990286,
                "currency": "gbp",
                "notes": "deserunt consectetur nostrud amet",
                "status": "failed",
                "processor_data": {
                  "Duis4df": true
                },
                "created_at": "1948-06-08T03:26:09.0Z"
              },
              {
                "id": "69c4fd42ba71de0147000267",
                "payment_id": "69c4fd42ba71de0147000268",
                "amount": 92718370,
                "currency": "gbp",
                "notes": "anim ut",
                "status": "complete",
                "processor_data": {
                  "ex_b2b": 22841938.607674718,
                  "elit03": "enim adipisicing occaecat sint",
                  "elit_45": 87296645
                },
                "created_at": "1900-12-17T22:22:36.0Z"
              },
              {
                "id": "69c4fd42ba71de0147000269",
                "payment_id": "69c4fd42ba71de014700026a",
                "amount": -67275499,
                "currency": "gbp",
                "notes": "reprehenderit",
                "status": "pending",
                "processor_data": {
                  "velita_": "et in Lorem laboris"
                },
                "created_at": "1936-01-12T07:49:41.0Z"
              }
            ],
            "status": "failed",
            "created_at": "2025-02-04T12:01:01.0Z"
          },
          {
            "id": "69c4fd42ba71de014700026b",
            "amount": 10000,
            "capture_method": "automatic",
            "chargebacks": [
              {
                "id": "69c4fd42ba71de014700026c",
                "amount": "dolore labore sint Ut dolore",
                "currency": "gbp",
                "payment_id": "69c4fd42ba71de014700026d",
                "processor_data": {
                  "sedd8": 15393165.431496352
                },
                "reason": "dolor consequat irure voluptate",
                "status": "confirmed",
                "created_at": "2025-02-04T12:01:01.0Z"
              },
              {
                "id": "69c4fd42ba71de014700026e",
                "amount": "eu nulla Excepteur est sit",
                "currency": "gbp",
                "payment_id": "69c4fd42ba71de014700026f",
                "processor_data": {
                  "commodo_3": 7224612
                },
                "reason": "nulla in labore ut tempor",
                "status": "processed",
                "created_at": "2025-02-04T12:01:01.0Z"
              },
              {
                "id": "69c4fd42ba71de0147000270",
                "amount": "laboris deserunt et non",
                "currency": "gbp",
                "payment_id": "69c4fd42ba71de0147000271",
                "processor_data": {
                  "Duis_a29": false
                },
                "reason": "mollit qui",
                "status": "reversed",
                "created_at": "2025-02-04T12:01:01.0Z"
              },
              {
                "id": "69c4fd42ba71de0147000272",
                "amount": "Ut",
                "currency": "gbp",
                "payment_id": "69c4fd42ba71de0147000273",
                "processor_data": {
                  "cillum_881": -37866815.939065024
                },
                "reason": "deserunt ex sunt",
                "status": "confirmed",
                "created_at": "2025-02-04T12:01:01.0Z"
              },
              {
                "id": "69c4fd42ba71de0147000274",
                "amount": "ad tempor",
                "currency": "gbp",
                "payment_id": "69c4fd42ba71de0147000275",
                "processor_data": {
                  "sed_6": true,
                  "suntc35": false
                },
                "reason": "est cupidatat labore consequat",
                "status": "confirmed",
                "created_at": "2025-02-04T12:01:01.0Z"
              }
            ],
            "currency": "gbp",
            "details_source": "pay_by_link",
            "failure_reason": "Suspected fraud",
            "order_ref": "eiusmod veniam quis cillum",
            "paid_at": "2020-02-24T12:01:01.0Z",
            "payable_id": "69c4fd42ba71de0147000276",
            "payable_type": "in culpa eu",
            "processor": "stripe",
            "processor_data": {
              "esse_118": "Duis cupidatat veniam sit"
            },
            "processor_id": "69c4fd42ba71de0147000277",
            "processor_type": "ex",
            "refundable_amount": 3500,
            "refunds": [],
            "status": "payment_method_charged",
            "created_at": "2025-02-04T12:01:01.0Z"
          }
        ],
        "phone": "+447727123456",
        "post_to_room_config": {
          "associated_at": "1904-02-28T23:48:16.0Z",
          "processor_data": {
            "G#": 2081111,
            "RN": "9500"
          }
        },
        "sales_channel": {
          "id": "69c4fd42ba71de0147000278",
          "name": "Web",
          "organisation_id": "7596612d-df5a-bdda-09d6-c5c2a5642de0"
        },
        "service_charge": {
          "amount": 1000,
          "item_amounts": [
            {
              "amount": 1000,
              "item_id": "69c4fd42ba71de0147000279",
              "percentage": 10
            },
            {
              "amount": 1000,
              "item_id": "69c4fd42ba71de014700027a",
              "percentage": 10
            },
            {
              "amount": 1000,
              "item_id": "69c4fd42ba71de014700027b",
              "percentage": 10
            },
            {
              "amount": 1000,
              "item_id": "69c4fd42ba71de014700027c",
              "percentage": 10
            },
            {
              "amount": 1000,
              "item_id": "69c4fd42ba71de014700027d",
              "percentage": 10
            }
          ],
          "percentage": 10
        },
        "site_id": "85216c22-c5aa-e201-19dd-160bca380aa1",
        "special_requests": "I would like the Blue Room please",
        "stage": "checked_out",
        "status": "submitted",
        "submit_auth_amount": 32311185,
        "submit_payment_amount": -5273718,
        "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
          },
          {
            "amount": 1290,
            "inclusive": false,
            "name": "VAT",
            "percentage": 20
          }
        ],
        "tip_amount": 1050,
        "tips": [
          {
            "id": "69c4fd42ba71de014700027e",
            "amount": 1050,
            "declined": true,
            "updated_at": "1914-12-17T01:40:25.0Z",
            "can_remove": true
          },
          {
            "id": "69c4fd42ba71de014700027f",
            "amount": 1050,
            "declined": false,
            "updated_at": "1946-06-05T23:36:56.0Z",
            "can_remove": true
          }
        ],
        "total_cost": 54736699,
        "total_paid_or_authed": -89964933,
        "total_tax": 2000,
        "totals": {
          "exclusive_tax": 0,
          "inclusive_tax": 250,
          "order_discount": 11000,
          "subtotal": 12000,
          "subtotal_without_exclusive_tax": 12000,
          "total": 10000
        },
        "visit": {
          "id": "69c4fd42ba71de0147000280",
          "visit_ref": "qui exercitation dolore reprehenderit proident",
          "visit_type": {
            "id": "69c4fd42ba71de0147000281",
            "name": "Stay"
          },
          "status": "exercitation enim",
          "arrival_date": "1901-10-23T13:29:26.0Z",
          "departure_date": "1914-01-11T23:48:41.0Z",
          "first_name": "amet dolore",
          "last_name": "reprehenderit minim"
        },
        "voucher_codes": [
          {
            "id": "ea2facb2-d659-6a60-7b6f-1638473933ec",
            "amount_type": "discount_to_zero",
            "code": "ABCDEFGHIJ123",
            "coupon_code_id": "69c4fd42ba71de0147000282",
            "description": "A 30 minute treatment of your choice.",
            "name": "30 min treatment",
            "voucher_type_id": "69c4fd42ba71de0147000283"
          },
          {
            "id": "e25ea8ef-687e-f91b-4736-4461fc552b03",
            "amount_type": "discount_to_zero",
            "calculated_amount": 1000,
            "code": "ABCDEFGHIJ123",
            "coupon_code_id": "69c4fd42ba71de0147000284",
            "description": "A 30 minute treatment of your choice.",
            "is_redeemed": false,
            "name": "30 min treatment",
            "voucher_type_id": "69c4fd42ba71de0147000285"
          },
          {
            "id": "89baf8aa-4985-a02a-40ed-9dcc25015feb",
            "amount_type": "discount_to_zero",
            "calculated_amount": 1000,
            "code": "ABCDEFGHIJ123",
            "coupon_code_id": "69c4fd42ba71de0147000286",
            "description": "A 30 minute treatment of your choice.",
            "name": "30 min treatment",
            "voucher_type_id": "69c4fd42ba71de0147000287"
          },
          {
            "id": "906bad84-2cd9-dfbf-a3e0-739dd23efbc3",
            "amount_type": "discount_to_zero",
            "code": "ABCDEFGHIJ123",
            "description": "A 30 minute treatment of your choice.",
            "name": "30 min treatment",
            "voucher_type_id": "69c4fd42ba71de0147000288"
          },
          {
            "id": "a0a55edd-f3c7-3fea-4ab7-aaa20aee09ea",
            "amount_type": "discount_to_zero",
            "calculated_amount": 1000,
            "code": "ABCDEFGHIJ123",
            "coupon_code_id": "69c4fd42ba71de0147000289",
            "description": "A 30 minute treatment of your choice.",
            "name": "30 min treatment",
            "voucher_type_id": "69c4fd42ba71de014700028a"
          }
        ],
        "created_at": "2020-02-24T12:01:01.0Z",
        "updated_at": "2020-02-24T12:01:01.0Z"
      },
      "payment_method": {
        "id": "14f54028-1cd6-c6f3-bc52-66bba01549af",
        "payment_method_id": "pm_3K6a0RGysTOePye00nkob5Pi",
        "name": "My debit card",
        "type": "card",
        "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": "1959-02-26T16:53:29.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": "50e70447-917a-0a6e-c9d4-907864b29b29",
    "customer_id": "f2d9ab85-3b66-def0-11ea-55bae0b4c1a7",
    "customer": {
      "id": "f4718406-5f8f-240a-729a-c89c68df4a7c",
      "first_name": "Jane",
      "last_name": "Doe",
      "full_name": "Jane Doe",
      "phone": "+447900000000",
      "has_password": true,
      "dob": "1890-09-16",
      "brand_id": "548e3d56-0ff9-32ee-4a8a-5d04bc25bd16",
      "site_id": "9c9f149f-0ce3-8b4b-101e-4a94b021bf35",
      "stripe_id": "cus_1234567890",
      "express_stripe_id": "cus_1234567890",
      "email": "janedoe@example.com",
      "labels": [
        {
          "id": "959f93f1-af6b-3ba5-41b0-0bad0806cec3",
          "value": "VIP",
          "colour": "ff6634"
        },
        {
          "id": "11c40b2a-6c10-935c-e62c-d4940b1c0597",
          "value": "VIP",
          "colour": "ff6634"
        },
        {
          "id": "b2d961b1-b1cf-3449-c6a4-97f649a7b143",
          "value": "VIP",
          "colour": "ff6634"
        },
        {
          "id": "6d66175a-4b44-4648-ec67-9c76ddfc3b8b",
          "value": "VIP",
          "colour": "ff6634"
        },
        {
          "id": "e6051da1-2df9-463b-1ad3-e047dc1869ac",
          "value": "VIP",
          "colour": "ff6634"
        }
      ],
      "preferred_locale": "en",
      "locked_at": "1964-11-29T20:46:38.0Z",
      "created_at": "1935-12-05T06:05:55.0Z",
      "updated_at": "1947-10-21T10:04:54.0Z",
      "deleted_at": "1917-09-27T14:01:27.0Z",
      "last_active_at": "1942-06-08T22:38:01.0Z",
      "email_verified_at": "1948-02-02T18:25:06.0Z",
      "last_check_in": {
        "checked_in_at": "1920-09-08T23:03:32.0Z",
        "method": "Scanned"
      },
      "avatar_id": "000000-000000-000000-000000",
      "avatar": {
        "id": "d2531d61-da33-cebb-fccc-6829d2de3c9b",
        "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": "sint id incididunt proident ad"
    },
    "barcode": "et enim Duis",
    "expires_at": "1939-03-25T17:17:04.0Z",
    "brand_id": "18245afb-8b34-cbd2-89e0-4c7d2d3bfae7",
    "site_id": "965682ec-b237-b5a1-a57f-9d07c7267655",
    "organisation_id": "a011e8b9-3af7-52ae-6c5f-8d237547d4e9",
    "source": "kiosk",
    "order": {
      "id": "69c4fd44ba71de01470002a9",
      "applied_promo_code": {
        "id": "69c4fd44ba71de01470002aa",
        "applied_at": "2023-11-15T12:01:01.0Z",
        "applied_by": {
          "id": "69c4fd44ba71de01470002ab",
          "avatar": {
            "id": "555144d1-2e10-6936-7a62-6d5a47e9404a",
            "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": "ovKc2@heblSwfKOfNr.ofur",
          "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": 47584361,
      "applied_promo_code_id": "69c4fd44ba71de01470002ac",
      "booking_items": [
        {
          "id": "69c4fd44ba71de01470002ad",
          "added_by_customer": false,
          "base_price": -42155808,
          "booking_reserved_until": "1915-08-30T07:59:01.0Z",
          "booking_summary": {
            "id": "69c4fd44ba71de01470002ae",
            "duration": -98681386,
            "end_time": "1966-05-21T01:03:27.0Z",
            "offering": {
              "id": "69c4fd44ba71de01470002af",
              "name": "30 Minute Massage",
              "type": "appointment",
              "product_code": "nulla ut consectetur"
            },
            "start_time": "1936-09-26T01:01:55.0Z",
            "status": "pending_confirmation",
            "created_at": "2025-02-04T12:01:01.0Z",
            "updated_at": "2025-02-04T12:01:01.0Z"
          },
          "date": "1902-01-31",
          "discount_amount": 8866364,
          "discounts": [
            {
              "id": "69c4fd44ba71de01470002b0",
              "amount_type": "monetary",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1943-12-18T14:45:49.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de01470002b1",
                "email": "ok2@UkRv.ngkk",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de01470002b2",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "9d3ce96d-3e5d-9add-3a31-ae16b7a2bf29"
              },
              "coupon_code_id": "69c4fd44ba71de01470002b3",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "7558d3c2-f553-d214-0b55-a11417bcd87c"
            },
            {
              "id": "69c4fd44ba71de01470002b4",
              "amount_type": "monetary",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1911-07-14T23:47:38.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de01470002b5",
                "avatar": {
                  "id": "a88d3784-788c-8b32-8179-1de932a078ec",
                  "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": "dTlNqYyzeuROT1@IddVNOYMZmiZGObJyEQcjS.riw",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de01470002b6",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "b17de363-528c-b1ce-7a77-74ef9d0134fc"
              },
              "coupon_code_id": "69c4fd44ba71de01470002b7",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "148cb711-de01-5141-172c-f78cbba96803"
            },
            {
              "id": "69c4fd44ba71de01470002b8",
              "amount_type": "monetary",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1957-06-03T12:12:38.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de01470002b9",
                "avatar": {
                  "id": "8df0b83a-0806-82ae-bb17-27b67534a897",
                  "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": "j90@haRouawUsfpONhPPhUtHoYsYeqAYU.tsz",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de01470002ba",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "2573080a-a108-c3fc-fff1-facd3e5ab1eb"
              },
              "coupon_code_id": "69c4fd44ba71de01470002bb",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "96c0be12-9523-8326-6e13-e4a067ee21f3"
            }
          ],
          "exclusive_tax_amount": 34027371,
          "guest": {
            "id": "69c4fd44ba71de01470002bc",
            "checked_in_at": "1935-01-16T14:04:14.0Z",
            "checked_out_at": "1947-11-20T15:15:12.0Z",
            "customer_id": "b8bd840d-f91f-3e57-7c6c-a27ead6d1bfd",
            "first_name": "Jane",
            "intake_form_complete": true,
            "is_lead_booker": true,
            "last_name": "Doe",
            "name": "Jane Doe"
          },
          "guests": [
            {
              "id": "69c4fd44ba71de01470002bd",
              "checked_in_at": "1943-07-04T02:48:44.0Z",
              "checked_out_at": "1925-05-13T19:44:31.0Z",
              "customer_id": "45aba0b0-a3bf-d81a-4bb9-1b7b59fa006d",
              "first_name": "Jane",
              "intake_form_complete": false,
              "is_lead_booker": true,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de01470002be",
              "checked_in_at": "1908-06-28T20:50:28.0Z",
              "checked_out_at": "1955-07-18T09:13:15.0Z",
              "customer_id": "94e0f85e-eacb-4f28-34ef-b89593a30d83",
              "email": "auVHhgN5-ABU@SAbjArkRckQaNhSkaCzFKyci.cttc",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de01470002bf",
              "intake_form_complete": false,
              "is_lead_booker": true,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de01470002c0",
              "checked_in_at": "1895-10-17T03:52:09.0Z",
              "checked_out_at": "1921-04-17T06:24:47.0Z",
              "customer_id": "aaad2535-ef98-75a7-0fbe-d23c97a4dcdb",
              "email": "azvy1@CQXTZvw.xe",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de01470002c1",
              "intake_form_complete": true,
              "is_lead_booker": false,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de01470002c2",
              "checked_in_at": "1933-09-06T04:48:57.0Z",
              "checked_out_at": "1893-09-05T20:40:19.0Z",
              "customer_id": "f92e461c-84b0-9ab8-2519-38b5c87e2fbf",
              "email": "yk3K7ZAQRIGxik@nn.rror",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de01470002c3",
              "intake_form_complete": false,
              "is_lead_booker": false,
              "last_name": "Doe",
              "name": "Jane Doe"
            }
          ],
          "inclusive_tax_amount": 84869951,
          "is_modifiable": true,
          "item_type": "eu magna aliqua reprehenderit",
          "net_total": -10104187,
          "order_discount_amount": 16935360,
          "price": -31049377,
          "sold_by": {
            "id": "enim",
            "name": "nostrud sint aliquip in occaecat",
            "type": ""
          },
          "status": "pending_confirmation",
          "total_cost": 71311862,
          "type_id": "69c4fd44ba71de01470002c4",
          "type_name": "incididunt",
          "type_product_code": "nulla deserunt proident",
          "created_at": "2025-02-04T12:01:01.0Z",
          "updated_at": "2025-02-04T12:01:01.0Z"
        },
        {
          "id": "69c4fd44ba71de01470002c5",
          "added_by_customer": true,
          "base_price": 22181918,
          "booking_reserved_until": "1922-08-30T22:43:10.0Z",
          "booking_summary": {
            "id": "69c4fd44ba71de01470002c6",
            "area_ids": [
              "69c4fd44ba71de01470002c7",
              "69c4fd44ba71de01470002c8",
              "69c4fd44ba71de01470002c9",
              "69c4fd44ba71de01470002ca",
              "69c4fd44ba71de01470002cb"
            ],
            "areas": [
              {
                "id": "69c4fd44ba71de01470002cc",
                "name": "Hot Tub 1"
              },
              {
                "id": "69c4fd44ba71de01470002cd",
                "name": "Hot Tub 1"
              }
            ],
            "duration": 59371978,
            "end_time": "1920-10-03T13:07:48.0Z",
            "offering": {
              "id": "69c4fd44ba71de01470002ce",
              "name": "30 Minute Massage",
              "type": "appointment",
              "product_code": "cillum amet id"
            },
            "start_time": "1966-02-15T15:28:17.0Z",
            "status": "pending_confirmation",
            "created_at": "2025-02-04T12:01:01.0Z",
            "updated_at": "2025-02-04T12:01:01.0Z"
          },
          "date": "1926-08-04",
          "discount_amount": 46215907,
          "discounts": [],
          "exclusive_tax_amount": 81988271,
          "guest": {
            "id": "69c4fd44ba71de01470002cf",
            "checked_in_at": "1934-01-30T01:38:34.0Z",
            "checked_out_at": "1916-04-02T16:28:05.0Z",
            "customer_id": "013dbf25-6e1d-0db6-b2c7-f05e9c23c7d9",
            "email": "e7McuHYW7@OqIFkQSPcrgoqqBPjfViVJcVSlOKhE.jdng",
            "first_name": "Jane",
            "intake_form_submission_id": "69c4fd44ba71de01470002d0",
            "intake_form_complete": false,
            "is_lead_booker": true,
            "last_name": "Doe",
            "name": "Jane Doe"
          },
          "guests": [
            {
              "id": "69c4fd44ba71de01470002d1",
              "checked_in_at": "1900-11-06T23:01:25.0Z",
              "checked_out_at": "1960-01-14T03:03:37.0Z",
              "customer_id": "04f4ed1c-16d5-bdf5-19d6-e7fa724873e4",
              "email": "lFZ4wrdj1LJ@ODpYNJFAMpUjm.feye",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de01470002d2",
              "intake_form_complete": false,
              "is_lead_booker": false,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de01470002d3",
              "checked_in_at": "1891-11-13T04:30:27.0Z",
              "checked_out_at": "1919-10-18T23:54:20.0Z",
              "customer_id": "aac5e787-8c82-081b-55d8-740a4455d6d6",
              "email": "iaGL8sQVnP4Skp@PfMBvTlSparsOPCPjTCMsVhJyD.bxz",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de01470002d4",
              "intake_form_complete": false,
              "is_lead_booker": false,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de01470002d5",
              "checked_in_at": "1944-11-12T01:10:46.0Z",
              "checked_out_at": "1895-08-29T13:54:14.0Z",
              "customer_id": "95980359-c307-ae2c-a7fb-083333da053c",
              "email": "RxRz14qko@qSrEHKPRXrXEqgVRvopJJSVoAxNUaHGlv.ok",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de01470002d6",
              "intake_form_complete": true,
              "is_lead_booker": true,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de01470002d7",
              "checked_in_at": "1921-03-25T11:55:19.0Z",
              "checked_out_at": "1948-08-31T09:45:01.0Z",
              "customer_id": "6862286d-142d-ac50-e79b-945ca18c891b",
              "email": "2slkE2@FC.wn",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de01470002d8",
              "intake_form_complete": false,
              "is_lead_booker": false,
              "last_name": "Doe",
              "name": "Jane Doe"
            }
          ],
          "inclusive_tax_amount": -44683860,
          "is_modifiable": false,
          "item_type": "proident sint adipisicing in est",
          "net_total": 70631540,
          "order_discount_amount": 6552626,
          "price": -65008510,
          "sold_by": {
            "id": "ex in",
            "name": "aliqua",
            "type": "practitioner"
          },
          "status": "cancelled",
          "total_cost": -80846643,
          "type_id": "69c4fd44ba71de01470002d9",
          "type_name": "consectetur cillum anim",
          "type_product_code": "adipisicing mollit id consectetur ad",
          "created_at": "2025-02-04T12:01:01.0Z",
          "updated_at": "2025-02-04T12:01:01.0Z"
        },
        {
          "id": "69c4fd44ba71de01470002da",
          "added_by_customer": false,
          "base_price": -23963606,
          "booking_reserved_until": "1958-06-10T07:53:40.0Z",
          "booking_summary": {
            "id": "69c4fd44ba71de01470002db",
            "duration": -94801675,
            "end_time": "1945-08-22T01:25:10.0Z",
            "equipment": [
              {
                "id": "69c4fd44ba71de01470002dc",
                "name": "Hot Rocks"
              },
              {
                "id": "69c4fd44ba71de01470002dd",
                "name": "Hot Rocks"
              },
              {
                "id": "69c4fd44ba71de01470002de",
                "name": "Hot Rocks"
              },
              {
                "id": "69c4fd44ba71de01470002df",
                "name": "Hot Rocks"
              },
              {
                "id": "69c4fd44ba71de01470002e0",
                "name": "Hot Rocks"
              }
            ],
            "equipment_ids": [
              "69c4fd44ba71de01470002e1",
              "69c4fd44ba71de01470002e2"
            ],
            "offering": {
              "id": "69c4fd44ba71de01470002e3",
              "name": "30 Minute Massage",
              "type": "appointment",
              "product_code": "sunt"
            },
            "practitioners": [
              {
                "id": "5dcb47800000000000000000",
                "name": "Jane Doe"
              },
              {
                "id": "5dcb47800000000000000000",
                "name": "Jane Doe"
              },
              {
                "id": "5dcb47800000000000000000",
                "name": "Jane Doe"
              },
              {
                "id": "5dcb47800000000000000000",
                "name": "Jane Doe"
              }
            ],
            "practitioner_ids": [
              "69c4fd44ba71de01470002e4",
              "69c4fd44ba71de01470002e5",
              "69c4fd44ba71de01470002e6",
              "69c4fd44ba71de01470002e7"
            ],
            "practitioner_was_requested": true,
            "room": {
              "id": "5dcb47800000000000000000",
              "capacity": 4270569,
              "name": "dolor"
            },
            "room_id": "69c4fd44ba71de01470002e8",
            "room_was_requested": true,
            "session_id": "69c4fd44ba71de01470002e9",
            "start_time": "1914-06-22T09:51:33.0Z",
            "status": "waitlisted",
            "created_at": "2025-02-04T12:01:01.0Z",
            "updated_at": "2025-02-04T12:01:01.0Z"
          },
          "date": "1967-10-15",
          "discount_amount": 78689643,
          "discounts": [
            {
              "id": "69c4fd44ba71de01470002ea",
              "amount_type": "percentage",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1952-07-23T23:42:44.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de01470002eb",
                "avatar": {
                  "id": "a864417a-4e84-f897-c238-bac582fa241f",
                  "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": "RnAfR-aY3@NLGnS.ncuu",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de01470002ec",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "f79c4e85-e63d-35df-9b24-f325023041c3"
              },
              "coupon_code_id": "69c4fd44ba71de01470002ed",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "cdd4165b-a5fa-b2ad-3135-c7774e1fa64b"
            },
            {
              "id": "69c4fd44ba71de01470002ee",
              "amount_type": "percentage",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1937-04-06T09:59:47.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de01470002ef",
                "avatar": {
                  "id": "a45d51ad-8485-f71a-7dc3-b5c38168561e",
                  "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": "MrQPHcE@RpurmiMbUoXC.yn",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de01470002f0",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "264505ca-df06-2217-9727-f0adaa270a31"
              },
              "coupon_code_id": "69c4fd44ba71de01470002f1",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "72dfc5be-e92b-b3bd-797b-3e9ecbf5f5a7"
            },
            {
              "id": "69c4fd44ba71de01470002f2",
              "amount_type": "percentage",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1912-03-28T07:30:21.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de01470002f3",
                "avatar": {
                  "id": "7d91f0b1-8dc6-48bf-767b-9e2d51c04c0e",
                  "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": "X2LYfTDaQ5x40@AyGQxqMeZAMtutQHDEyq.lr",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de01470002f4",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "4a380553-7977-2b95-4647-0404120f8d46"
              },
              "coupon_code_id": "69c4fd44ba71de01470002f5",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "00d8274d-6056-a6a9-4865-aeafa340905b"
            },
            {
              "id": "69c4fd44ba71de01470002f6",
              "amount_type": "monetary",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1929-06-23T07:26:46.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de01470002f7",
                "avatar": {
                  "id": "b796dadf-49c6-de6c-eaae-543e64a2769c",
                  "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": "Txna@xzlvAz.it",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de01470002f8",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "e915e777-2898-eb4b-fe83-220720fda008"
              },
              "coupon_code_id": "69c4fd44ba71de01470002f9",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "20eb100b-f56c-474b-e09e-4aaef473b03c"
            },
            {
              "id": "69c4fd44ba71de01470002fa",
              "amount_type": "monetary",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1943-04-02T01:16:57.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de01470002fb",
                "avatar": {
                  "id": "ba0716ac-a6a6-ac3c-20c6-907d28a5d85d",
                  "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": "tVNLK8VkwvcEvAA@oraLKuEFYMShIXYZznItowQjQ.ha",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de01470002fc",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "4509d053-d490-940b-e97a-367b80a91584"
              },
              "coupon_code_id": "69c4fd44ba71de01470002fd",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "e3eac93a-5041-3f98-adbf-a01ff0a6184a"
            }
          ],
          "exclusive_tax_amount": 94413164,
          "guest": {
            "id": "69c4fd44ba71de01470002fe",
            "checked_in_at": "1952-07-25T15:42:51.0Z",
            "checked_out_at": "1915-11-04T05:31:25.0Z",
            "customer_id": "ed21625f-20fe-1f4b-fda8-e9365816fee1",
            "email": "TPEE8zJSo@WfJfxXmYIApVDaewvNPiLdjwZDt.pr",
            "first_name": "Jane",
            "intake_form_submission_id": "69c4fd44ba71de01470002ff",
            "intake_form_complete": true,
            "is_lead_booker": false,
            "last_name": "Doe",
            "name": "Jane Doe"
          },
          "guests": [
            {
              "id": "69c4fd44ba71de0147000300",
              "checked_in_at": "1936-10-29T03:41:14.0Z",
              "checked_out_at": "1920-04-14T21:09:01.0Z",
              "customer_id": "767040f3-182d-29cf-74e6-71c6631fe74e",
              "email": "KJnrHWsnaAepKe@y.ci",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de0147000301",
              "intake_form_complete": false,
              "is_lead_booker": false,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de0147000302",
              "checked_in_at": "1965-09-30T22:26:21.0Z",
              "checked_out_at": "1961-05-07T12:21:55.0Z",
              "customer_id": "2ddf71ca-dd88-eb9c-5581-8666dd0bbe2c",
              "email": "g5yug@rAjgxMbSzfbAZptgxUF.yapp",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de0147000303",
              "intake_form_complete": true,
              "is_lead_booker": false,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de0147000304",
              "checked_in_at": "1901-05-24T15:08:38.0Z",
              "checked_out_at": "1947-02-26T15:14:24.0Z",
              "customer_id": "e73947e0-4889-04a0-ad3e-5e569b68f0a1",
              "email": "eKolO6OJ@EQbRg.bud",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de0147000305",
              "intake_form_complete": false,
              "is_lead_booker": true,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de0147000306",
              "checked_in_at": "1912-01-04T04:09:02.0Z",
              "checked_out_at": "1914-03-31T11:39:21.0Z",
              "customer_id": "0598e09c-cb0f-e1ff-cdbb-1b6c3fd88142",
              "email": "UzEEYLyHbD0w2a@vhcqXSQdwfsfRuhTGLXRajjLkBjpkBO.im",
              "first_name": "Jane",
              "intake_form_complete": false,
              "is_lead_booker": true,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de0147000307",
              "checked_in_at": "1946-08-26T18:20:40.0Z",
              "checked_out_at": "1937-06-24T22:17:15.0Z",
              "customer_id": "f14f31f5-38f4-4758-986c-b30cea4dd8f2",
              "email": "X1cqpRCk0yro@eUEteQRFAKctmOeGLxzJAsfUmjniN.oinp",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de0147000308",
              "intake_form_complete": false,
              "is_lead_booker": true,
              "last_name": "Doe",
              "name": "Jane Doe"
            }
          ],
          "inclusive_tax_amount": -18206962,
          "is_modifiable": true,
          "item_type": "voluptate eu Excepteur",
          "net_total": 29452472,
          "order_discount_amount": -79225647,
          "price": 24986413,
          "sold_by": {
            "id": "qui",
            "name": "labore mollit",
            "type": ""
          },
          "status": "confirmed",
          "total_cost": -15528064,
          "type_id": "69c4fd44ba71de0147000309",
          "type_name": "ea Duis dolore",
          "type_product_code": "aliqua",
          "created_at": "2025-02-04T12:01:01.0Z",
          "updated_at": "2025-02-04T12:01:01.0Z"
        }
      ],
      "booking_items_end_date": "1918-11-18",
      "booking_items_start_date": "1929-04-20",
      "booking_items_span_multiple_days": true,
      "coupon_codes": [
        {
          "id": "69c4fd44ba71de014700030a",
          "code": "FIVEOFF",
          "customer_credit_id": "b26ef704-5111-958d-a535-037fc1ec82e5",
          "description": "Get 10% off all treatments booked in April.",
          "issued_by_id": "69c4fd44ba71de014700030b",
          "issued_by_type": "credit",
          "name": "April special"
        },
        {
          "id": "69c4fd44ba71de014700030c",
          "code": "FIVEOFF",
          "customer_credit_id": "5637daea-5772-cb4b-e57c-c3c02aec871b",
          "description": "Get 10% off all treatments booked in April.",
          "issued_by_id": "69c4fd44ba71de014700030d",
          "issued_by_type": "credit",
          "name": "April special"
        },
        {
          "id": "69c4fd44ba71de014700030e",
          "code": "FIVEOFF",
          "description": "Get 10% off all treatments booked in April.",
          "name": "April special"
        },
        {
          "id": "69c4fd44ba71de014700030f",
          "code": "FIVEOFF",
          "customer_credit_id": "f56f6f62-5b10-cf87-4a57-7a0c688ddb85",
          "description": "Get 10% off all treatments booked in April.",
          "issued_by_id": "69c4fd44ba71de0147000310",
          "name": "April special"
        }
      ],
      "currency": "gbp",
      "customer_id": "ad51dead-7087-dcc6-f73d-5bc81cca0fe9",
      "customer_tax_details": {
        "legal_name": "Jane Jones",
        "address_line_1": "1 Davey Street",
        "country": "United Kingdom"
      },
      "discount_total": 100,
      "discounts": [
        {
          "id": "69c4fd44ba71de0147000311",
          "amount_type": "monetary",
          "applicable_for": "app_and_booking_engine",
          "applied_at": "1899-06-18T10:24:19.0Z",
          "applied_by": {
            "id": "69c4fd44ba71de0147000312",
            "email": "NgYMpvbu9VRn@sLLHpVXseDFiSd.mruh",
            "first_name": "Jane",
            "full_name": "Jane Smith",
            "last_name": "Smith"
          },
          "calculated_amount": 150,
          "coupon": {
            "id": "69c4fd44ba71de0147000313",
            "code": "FIVEOFF",
            "name": "April special",
            "description": "Get 10% off all treatments booked in April.",
            "customer_credit_id": "076f4ba6-dc27-58cd-7da4-4612f3546854"
          },
          "coupon_code_id": "69c4fd44ba71de0147000314",
          "currency": "gbp",
          "discount_amount": 15,
          "discount_type_code": "SUMMER23",
          "reason_code": "general",
          "site_id": "aacc689f-cd42-de6a-3de9-8f66bbdfe059"
        },
        {
          "id": "69c4fd44ba71de0147000315",
          "amount_type": "monetary",
          "applicable_for": "app_and_booking_engine",
          "applied_at": "1932-03-15T04:52:43.0Z",
          "applied_by": {
            "id": "69c4fd44ba71de0147000316",
            "email": "hwb1@zxtcVKINgUjky.oa",
            "first_name": "Jane",
            "full_name": "Jane Smith",
            "last_name": "Smith"
          },
          "calculated_amount": 150,
          "coupon": {
            "id": "69c4fd44ba71de0147000317",
            "code": "FIVEOFF",
            "name": "April special",
            "description": "Get 10% off all treatments booked in April.",
            "customer_credit_id": "b8113b62-8e3f-110b-2eea-2583d467ef6e"
          },
          "coupon_code_id": "69c4fd44ba71de0147000318",
          "currency": "gbp",
          "discount_amount": 15,
          "discount_type_code": "SUMMER23",
          "reason_code": "general",
          "site_id": "24e8f200-ce10-002c-f917-feed65618cce"
        }
      ],
      "email": "janedoe@example.com",
      "external_ids": [
        {
          "key": "pms_id",
          "name": "PMS ID",
          "value": "pms_1234"
        },
        {
          "key": "pms_id",
          "name": "PMS ID",
          "value": "pms_1234"
        },
        {
          "key": "pms_id",
          "name": "PMS ID",
          "value": "pms_1234"
        }
      ],
      "external_ref": "ABC-123",
      "external_visit_ref": "RES1234",
      "first_name": "Jane",
      "guests": [
        {
          "id": "69c4fd44ba71de0147000319",
          "checked_in_at": "1940-04-10T12:31:01.0Z",
          "checked_out_at": "1905-09-29T08:01:27.0Z",
          "customer_id": "cd3721b3-1a07-f9f2-294a-00eae4f31dd5",
          "email": "149n@njJGllGzAWKIfMENgexzuFUHDTXPDTGB.tr",
          "first_name": "Jane",
          "intake_form_submission_id": "69c4fd44ba71de014700031a",
          "intake_form_complete": true,
          "is_lead_booker": false,
          "last_name": "Doe",
          "name": "Jane Doe"
        },
        {
          "id": "69c4fd44ba71de014700031b",
          "checked_in_at": "1907-09-22T11:36:07.0Z",
          "checked_out_at": "1892-07-27T16:59:25.0Z",
          "customer_id": "d0a6161c-af99-6ef6-0551-df836fa5b0b2",
          "email": "bGaf6h3gpE@sCNqLpQlDLaEQLVYZXsxA.ah",
          "first_name": "Jane",
          "intake_form_submission_id": "69c4fd44ba71de014700031c",
          "intake_form_complete": true,
          "is_lead_booker": false,
          "last_name": "Doe",
          "name": "Jane Doe"
        },
        {
          "id": "69c4fd44ba71de014700031d",
          "checked_in_at": "1921-02-10T05:48:22.0Z",
          "checked_out_at": "1956-05-30T07:17:05.0Z",
          "customer_id": "402e539f-87da-4446-eb82-a3346a8dce84",
          "email": "8f6H3@RIDyYfLThVZXYQIRovjoRkwLRDKuWH.onfk",
          "first_name": "Jane",
          "intake_form_submission_id": "69c4fd44ba71de014700031e",
          "intake_form_complete": false,
          "is_lead_booker": false,
          "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": true,
      "items": [
        {
          "id": "69c4fd44ba71de014700031f",
          "added_by_customer": true,
          "base_price": 595,
          "basket_id": "69c4fd44ba71de0147000320",
          "booking_summary": {
            "id": "69c4fd44ba71de0147000321",
            "duration": 82827923,
            "end_time": "1959-01-27T13:04:35.0Z",
            "equipment": [
              {
                "id": "69c4fd44ba71de0147000322",
                "name": "Hot Rocks"
              },
              {
                "id": "69c4fd44ba71de0147000323",
                "name": "Hot Rocks"
              },
              {
                "id": "69c4fd44ba71de0147000324",
                "name": "Hot Rocks"
              },
              {
                "id": "69c4fd44ba71de0147000325",
                "name": "Hot Rocks"
              },
              {
                "id": "69c4fd44ba71de0147000326",
                "name": "Hot Rocks"
              }
            ],
            "equipment_ids": [
              "69c4fd44ba71de0147000327",
              "69c4fd44ba71de0147000328"
            ],
            "offering": {
              "id": "69c4fd44ba71de0147000329",
              "name": "30 Minute Massage",
              "type": "appointment",
              "product_code": "in sed"
            },
            "practitioners": [
              {
                "id": "5dcb47800000000000000000",
                "name": "Jane Doe"
              }
            ],
            "practitioner_ids": [
              "69c4fd44ba71de014700032a",
              "69c4fd44ba71de014700032b"
            ],
            "practitioner_was_requested": false,
            "room": {
              "id": "5dcb47800000000000000000",
              "capacity": -30460230,
              "name": "Duis culpa quis Excepteur magna"
            },
            "room_id": "69c4fd44ba71de014700032c",
            "room_was_requested": true,
            "session_id": "69c4fd44ba71de014700032d",
            "start_time": "1921-03-13T08:05:27.0Z",
            "status": "cancelled",
            "created_at": "2025-02-04T12:01:01.0Z",
            "updated_at": "2025-02-04T12:01:01.0Z"
          },
          "discount_amount": 595,
          "discounts": [
            {
              "id": "69c4fd44ba71de014700032e",
              "amount_type": "percentage",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1932-10-14T16:40:42.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de014700032f",
                "avatar": {
                  "id": "dada2f9c-f450-50c0-7df6-8bb9bae2599a",
                  "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": "x5IzN4SOq@W.lani",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de0147000330",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "d4cecf4f-b8fc-93d1-379e-2937874613bf"
              },
              "coupon_code_id": "69c4fd44ba71de0147000331",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "eb9d5c36-8fb1-03c9-6d63-92b085c72490"
            },
            {
              "id": "69c4fd44ba71de0147000332",
              "amount_type": "percentage",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1914-08-12T03:29:26.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de0147000333",
                "avatar": {
                  "id": "49cac097-fadd-bffc-0de7-24b26bd194cc",
                  "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": "uwpcKx-Xhj02d@xIrTjYpSqQqhJ.jll",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de0147000334",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "25ad3e40-5cb2-273a-a568-f66c325121d1"
              },
              "coupon_code_id": "69c4fd44ba71de0147000335",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "f06c3fca-8146-f217-9292-8fdef3343f80"
            }
          ],
          "exclusive_tax_amount": 0,
          "guests": [
            {
              "id": "69c4fd44ba71de0147000336",
              "customer_id": "69c4fd44ba71de0147000337",
              "name": "Jane Smith",
              "checked_in_at": "2025-10-01T12:01:01.0Z"
            },
            {
              "id": "69c4fd44ba71de0147000338",
              "customer_id": "69c4fd44ba71de0147000339",
              "name": "Jane Smith",
              "checked_in_at": "2025-10-01T12:01:01.0Z"
            },
            {
              "id": "69c4fd44ba71de014700033a",
              "customer_id": "69c4fd44ba71de014700033b",
              "name": "Jane Smith",
              "checked_in_at": "2025-10-01T12:01:01.0Z"
            }
          ],
          "has_posted": false,
          "inclusive_tax_amount": 49,
          "item_configuration": {
            "adipisicing_a": true,
            "aute_8ba": false,
            "dolorc": -85982942,
            "exercitation_6": -80179188,
            "Ut_aa": "labore qui consectetur"
          },
          "last_post_attempt": "1962-10-15T07:52:54.0Z",
          "offering": {
            "id": "69c4fd44ba71de014700033c",
            "name": "30 Minute Massage",
            "type": "appointment",
            "product_code": "irure do sed nisi officia"
          },
          "option_budgets": [
            {
              "budget": "culpa",
              "choice_id": "Ut id Duis culpa",
              "remaining": "nulla",
              "spent": "magna"
            },
            {
              "budget": "sed dolore mollit nostrud",
              "choice_id": "Excepteur officia aute minim",
              "remaining": "dolore labore Lorem Excepteur eiusmod",
              "spent": "voluptate ut"
            },
            {
              "budget": "esse eu eiusmod Lorem minim",
              "choice_id": "minim dolore ad nostrud",
              "remaining": "esse aute",
              "spent": "exercitation laboris"
            },
            {
              "budget": "cillum amet dolor commodo",
              "choice_id": "in anim culpa commodo ea",
              "remaining": "mollit ullamco voluptate",
              "spent": "commodo eiusmod"
            },
            {
              "budget": "exercitation ad anim",
              "choice_id": "in velit laborum anim",
              "remaining": "amet Excepteur dolor",
              "spent": "ex dolore amet magna"
            }
          ],
          "order_discount_amount": 58291571,
          "package_items": [
            {
              "id": "69c4fd44ba71de014700033d",
              "booking_summary": {
                "id": "69c4fd44ba71de014700033e",
                "duration": 95907416,
                "end_time": "1954-03-24T08:38:01.0Z",
                "offering": {
                  "id": "69c4fd44ba71de014700033f",
                  "name": "30 Minute Massage",
                  "type": "appointment",
                  "product_code": "dolore officia quis do ea"
                },
                "start_time": "1961-07-24T03:36:56.0Z",
                "status": "reserved",
                "created_at": "2025-02-04T12:01:01.0Z",
                "updated_at": "2025-02-04T12:01:01.0Z"
              },
              "choice_id": "69c4fd44ba71de0147000340",
              "duration": 32096757,
              "guests": [
                {
                  "id": "69c4fd44ba71de0147000341",
                  "customer_id": "69c4fd44ba71de0147000342",
                  "name": "Jane Smith",
                  "checked_in_at": "2025-10-01T12:01:01.0Z"
                },
                {
                  "id": "69c4fd44ba71de0147000343",
                  "customer_id": "69c4fd44ba71de0147000344",
                  "name": "Jane Smith",
                  "checked_in_at": "2025-10-01T12:01:01.0Z"
                },
                {
                  "id": "69c4fd44ba71de0147000345",
                  "name": "Jane Smith",
                  "checked_in_at": "2025-10-01T12:01:01.0Z"
                }
              ],
              "item_configuration": {
                "occaecat_e63": "sit dolor",
                "aliqua_710": "consequat culpa velit Excepteur",
                "esse_05": -45028512
              },
              "offering_id": "69c4fd44ba71de0147000346",
              "offering_name": "60 minute massage",
              "offering_type": "appointment",
              "option_id": "69c4fd44ba71de0147000347",
              "price_change": 1500,
              "reserved_until": "1915-07-26T05:23:46.0Z",
              "shared_basket_item_id": "69c4fd44ba71de0147000348",
              "status": "submitted",
              "time": "1892-09-04T04:13:23.0Z"
            },
            {
              "id": "69c4fd44ba71de0147000349",
              "choice_id": "69c4fd44ba71de014700034a",
              "duration": -60566826,
              "guests": [
                {
                  "id": "69c4fd44ba71de014700034b",
                  "name": "Jane Smith",
                  "checked_in_at": "2025-10-01T12:01:01.0Z"
                },
                {
                  "id": "69c4fd44ba71de014700034c",
                  "customer_id": "69c4fd44ba71de014700034d",
                  "name": "Jane Smith",
                  "checked_in_at": "2025-10-01T12:01:01.0Z"
                }
              ],
              "item_configuration": {
                "mollit32_": 59058850.40301615
              },
              "offering_id": "69c4fd44ba71de014700034e",
              "offering_name": "60 minute massage",
              "offering_type": "appointment",
              "option_id": "69c4fd44ba71de014700034f",
              "price_change": 1500,
              "reserved_until": "1931-03-30T17:53:19.0Z",
              "status": "submitted",
              "time": "1897-12-19T01:12:41.0Z"
            },
            {
              "id": "69c4fd44ba71de0147000350",
              "booking_summary": {
                "id": "69c4fd44ba71de0147000351",
                "duration": 35813421,
                "end_time": "1928-08-26T04:23:51.0Z",
                "equipment": [
                  {
                    "id": "69c4fd44ba71de0147000352",
                    "name": "Hot Rocks"
                  },
                  {
                    "id": "69c4fd44ba71de0147000353",
                    "name": "Hot Rocks"
                  }
                ],
                "equipment_ids": [
                  "69c4fd44ba71de0147000354",
                  "69c4fd44ba71de0147000355",
                  "69c4fd44ba71de0147000356"
                ],
                "offering": {
                  "id": "69c4fd44ba71de0147000357",
                  "name": "30 Minute Massage",
                  "type": "appointment",
                  "product_code": "consequat sint in dolore"
                },
                "practitioners": [
                  {
                    "id": "5dcb47800000000000000000",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "5dcb47800000000000000000",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "5dcb47800000000000000000",
                    "name": "Jane Doe"
                  }
                ],
                "practitioner_ids": [
                  "69c4fd44ba71de0147000358"
                ],
                "practitioner_was_requested": false,
                "room": {
                  "id": "5dcb47800000000000000000",
                  "capacity": -28919764,
                  "name": "sed dolore culpa deserunt"
                },
                "room_id": "69c4fd44ba71de0147000359",
                "room_was_requested": false,
                "session_id": "69c4fd44ba71de014700035a",
                "start_time": "1934-02-26T14:40:47.0Z",
                "status": "reserved",
                "created_at": "2025-02-04T12:01:01.0Z",
                "updated_at": "2025-02-04T12:01:01.0Z"
              },
              "choice_id": "69c4fd44ba71de014700035b",
              "duration": 46119275,
              "guests": [
                {
                  "id": "69c4fd44ba71de014700035c",
                  "customer_id": "69c4fd44ba71de014700035d",
                  "name": "Jane Smith",
                  "checked_in_at": "2025-10-01T12:01:01.0Z"
                },
                {
                  "id": "69c4fd44ba71de014700035e",
                  "name": "Jane Smith",
                  "checked_in_at": "2025-10-01T12:01:01.0Z"
                },
                {
                  "id": "69c4fd44ba71de014700035f",
                  "name": "Jane Smith",
                  "checked_in_at": "2025-10-01T12:01:01.0Z"
                }
              ],
              "item_configuration": {
                "fugiat_43": true,
                "veniam_e": 54156744,
                "labore_f": 74464688.99804017,
                "eub5": false,
                "exercitation3": 63851702
              },
              "offering_id": "69c4fd44ba71de0147000360",
              "offering_name": "60 minute massage",
              "offering_type": "appointment",
              "option_id": "69c4fd44ba71de0147000361",
              "price_change": 1500,
              "reserved_until": "1919-01-28T19:26:53.0Z",
              "shared_basket_item_id": "69c4fd44ba71de0147000362",
              "status": "submitted",
              "time": "1916-11-18T13:45:37.0Z"
            },
            {
              "id": "69c4fd44ba71de0147000363",
              "booking_summary": {
                "id": "69c4fd44ba71de0147000364",
                "duration": 2691625,
                "end_time": "1957-04-13T04:20:53.0Z",
                "offering": {
                  "id": "69c4fd44ba71de0147000365",
                  "name": "30 Minute Massage",
                  "type": "appointment",
                  "product_code": "nisi velit"
                },
                "start_time": "1936-01-16T08:35:13.0Z",
                "status": "waitlisted",
                "created_at": "2025-02-04T12:01:01.0Z",
                "updated_at": "2025-02-04T12:01:01.0Z"
              },
              "choice_id": "69c4fd44ba71de0147000366",
              "duration": -51387943,
              "guests": [
                {
                  "id": "69c4fd44ba71de0147000367",
                  "name": "Jane Smith",
                  "checked_in_at": "2025-10-01T12:01:01.0Z"
                }
              ],
              "item_configuration": {
                "velitc": 22793180.254824325,
                "dolor_3": "fugiat dolor proident"
              },
              "offering_id": "69c4fd44ba71de0147000368",
              "offering_name": "60 minute massage",
              "offering_type": "appointment",
              "option_id": "69c4fd44ba71de0147000369",
              "price_change": 1500,
              "reserved_until": "1937-07-18T13:18:26.0Z",
              "shared_basket_item_id": "69c4fd44ba71de014700036a",
              "status": "submitted",
              "time": "1905-06-18T16:01:25.0Z"
            }
          ],
          "posted_at": "1910-05-27T18:11:20.0Z",
          "price": 595,
          "purchasable_details": {
            "id": "69c4fd44ba71de014700036b",
            "time_from": "1963-05-24T01:03:27.0Z",
            "time_to": "1949-08-04T02:39:54.0Z"
          },
          "quantity": 1,
          "reserved_until": "1950-07-24T16:49:59.0Z",
          "sold_by": {
            "id": "deserunt dolor sit voluptate irure",
            "name": "eiusmod",
            "type": "user"
          },
          "status": "reserved",
          "total_cost": 595,
          "created_at": "2025-02-04T12:01:01.0Z",
          "updated_at": "2025-02-04T12:01:01.0Z"
        },
        {
          "id": "69c4fd44ba71de014700036c",
          "added_by_customer": true,
          "base_price": 595,
          "basket_id": "69c4fd44ba71de014700036d",
          "booking_summary": {
            "id": "69c4fd44ba71de014700036e",
            "duration": -23541036,
            "end_time": "1908-07-06T04:38:09.0Z",
            "offering": {
              "id": "69c4fd44ba71de014700036f",
              "name": "30 Minute Massage",
              "type": "appointment",
              "product_code": "reprehenderit pariatur dolore"
            },
            "start_time": "1969-10-12T17:34:39.0Z",
            "status": "pending_confirmation",
            "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": "69c4fd44ba71de0147000370",
              "customer_id": "69c4fd44ba71de0147000371",
              "name": "Jane Smith",
              "checked_in_at": "2025-10-01T12:01:01.0Z"
            },
            {
              "id": "69c4fd44ba71de0147000372",
              "customer_id": "69c4fd44ba71de0147000373",
              "name": "Jane Smith",
              "checked_in_at": "2025-10-01T12:01:01.0Z"
            }
          ],
          "has_posted": false,
          "inclusive_tax_amount": 49,
          "item_configuration": {
            "nulla5_5": true,
            "eu__66": "aliquip"
          },
          "last_post_attempt": "1945-04-23T14:02:05.0Z",
          "offering": {
            "id": "69c4fd44ba71de0147000374",
            "name": "30 Minute Massage",
            "type": "appointment",
            "product_code": "nulla velit quis ad dolor"
          },
          "option_budgets": [],
          "order_discount_amount": -48088697,
          "package_items": [
            {
              "id": "69c4fd44ba71de0147000375",
              "booking_summary": {
                "id": "69c4fd44ba71de0147000376",
                "duration": -21939112,
                "end_time": "1917-09-12T02:43:18.0Z",
                "offering": {
                  "id": "69c4fd44ba71de0147000377",
                  "name": "30 Minute Massage",
                  "type": "appointment",
                  "product_code": "Ut"
                },
                "start_time": "1939-07-27T14:26:32.0Z",
                "status": "reserved",
                "created_at": "2025-02-04T12:01:01.0Z",
                "updated_at": "2025-02-04T12:01:01.0Z"
              },
              "choice_id": "69c4fd44ba71de0147000378",
              "duration": 37192242,
              "guests": [
                {
                  "id": "69c4fd44ba71de0147000379",
                  "customer_id": "69c4fd44ba71de014700037a",
                  "name": "Jane Smith",
                  "checked_in_at": "2025-10-01T12:01:01.0Z"
                },
                {
                  "id": "69c4fd44ba71de014700037b",
                  "customer_id": "69c4fd44ba71de014700037c",
                  "name": "Jane Smith",
                  "checked_in_at": "2025-10-01T12:01:01.0Z"
                },
                {
                  "id": "69c4fd44ba71de014700037d",
                  "customer_id": "69c4fd44ba71de014700037e",
                  "name": "Jane Smith",
                  "checked_in_at": "2025-10-01T12:01:01.0Z"
                }
              ],
              "item_configuration": {
                "do_4f": 87952799.82926041
              },
              "offering_id": "69c4fd44ba71de014700037f",
              "offering_name": "60 minute massage",
              "offering_type": "appointment",
              "option_id": "69c4fd44ba71de0147000380",
              "price_change": 1500,
              "reserved_until": "1896-09-30T03:37:18.0Z",
              "shared_basket_item_id": "69c4fd44ba71de0147000381",
              "status": "submitted",
              "time": "1941-01-22T18:34:12.0Z"
            },
            {
              "id": "69c4fd44ba71de0147000382",
              "booking_summary": {
                "id": "69c4fd44ba71de0147000383",
                "duration": 23838784,
                "end_time": "1891-01-29T07:39:08.0Z",
                "equipment": [
                  {
                    "id": "69c4fd44ba71de0147000384",
                    "name": "Hot Rocks"
                  },
                  {
                    "id": "69c4fd44ba71de0147000385",
                    "name": "Hot Rocks"
                  },
                  {
                    "id": "69c4fd44ba71de0147000386",
                    "name": "Hot Rocks"
                  }
                ],
                "equipment_ids": [],
                "offering": {
                  "id": "69c4fd44ba71de0147000387",
                  "name": "30 Minute Massage",
                  "type": "appointment",
                  "product_code": "dolor nostrud ut in ut"
                },
                "practitioners": [
                  {
                    "id": "5dcb47800000000000000000",
                    "name": "Jane Doe"
                  },
                  {
                    "id": "5dcb47800000000000000000",
                    "name": "Jane Doe"
                  }
                ],
                "practitioner_ids": [
                  "69c4fd44ba71de0147000388",
                  "69c4fd44ba71de0147000389"
                ],
                "practitioner_was_requested": true,
                "room": {
                  "id": "5dcb47800000000000000000",
                  "capacity": 61601651,
                  "name": "ut culpa Lorem consectetur"
                },
                "room_id": "69c4fd44ba71de014700038a",
                "room_was_requested": true,
                "session_id": "69c4fd44ba71de014700038b",
                "start_time": "1946-10-02T01:19:32.0Z",
                "status": "pending_confirmation",
                "created_at": "2025-02-04T12:01:01.0Z",
                "updated_at": "2025-02-04T12:01:01.0Z"
              },
              "choice_id": "69c4fd44ba71de014700038c",
              "duration": 28265440,
              "guests": [
                {
                  "id": "69c4fd44ba71de014700038d",
                  "customer_id": "69c4fd44ba71de014700038e",
                  "name": "Jane Smith",
                  "checked_in_at": "2025-10-01T12:01:01.0Z"
                },
                {
                  "id": "69c4fd44ba71de014700038f",
                  "customer_id": "69c4fd44ba71de0147000390",
                  "name": "Jane Smith",
                  "checked_in_at": "2025-10-01T12:01:01.0Z"
                },
                {
                  "id": "69c4fd44ba71de0147000391",
                  "customer_id": "69c4fd44ba71de0147000392",
                  "name": "Jane Smith",
                  "checked_in_at": "2025-10-01T12:01:01.0Z"
                }
              ],
              "item_configuration": {
                "veniam0": "sed",
                "voluptate9": 41540569.32408151,
                "eiusmod_80": "ea Ut est",
                "officia_09f": "in aliquip deserunt tempor cillum"
              },
              "offering_id": "69c4fd44ba71de0147000393",
              "offering_name": "60 minute massage",
              "offering_type": "appointment",
              "option_id": "69c4fd44ba71de0147000394",
              "price_change": 1500,
              "reserved_until": "1955-03-30T11:48:02.0Z",
              "shared_basket_item_id": "69c4fd44ba71de0147000395",
              "status": "submitted",
              "time": "1922-01-03T09:19:16.0Z"
            },
            {
              "id": "69c4fd44ba71de0147000396",
              "booking_summary": {
                "id": "69c4fd44ba71de0147000397",
                "duration": -28607898,
                "end_time": "1946-12-14T19:38:28.0Z",
                "equipment": [
                  {
                    "id": "69c4fd44ba71de0147000398",
                    "name": "Hot Rocks"
                  },
                  {
                    "id": "69c4fd44ba71de0147000399",
                    "name": "Hot Rocks"
                  },
                  {
                    "id": "69c4fd44ba71de014700039a",
                    "name": "Hot Rocks"
                  },
                  {
                    "id": "69c4fd44ba71de014700039b",
                    "name": "Hot Rocks"
                  }
                ],
                "equipment_ids": [
                  "69c4fd44ba71de014700039c",
                  "69c4fd44ba71de014700039d",
                  "69c4fd44ba71de014700039e",
                  "69c4fd44ba71de014700039f"
                ],
                "offering": {
                  "id": "69c4fd44ba71de01470003a0",
                  "name": "30 Minute Massage",
                  "type": "appointment",
                  "product_code": "Duis dolor commodo ex"
                },
                "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": [
                  "69c4fd44ba71de01470003a1",
                  "69c4fd44ba71de01470003a2",
                  "69c4fd44ba71de01470003a3"
                ],
                "practitioner_was_requested": true,
                "room": {
                  "id": "5dcb47800000000000000000",
                  "capacity": -21322931,
                  "name": "eu"
                },
                "room_id": "69c4fd44ba71de01470003a4",
                "room_was_requested": true,
                "session_id": "69c4fd44ba71de01470003a5",
                "start_time": "1916-02-12T21:08:42.0Z",
                "status": "cancelled",
                "created_at": "2025-02-04T12:01:01.0Z",
                "updated_at": "2025-02-04T12:01:01.0Z"
              },
              "choice_id": "69c4fd44ba71de01470003a6",
              "duration": -41749449,
              "guests": [
                {
                  "id": "69c4fd44ba71de01470003a7",
                  "customer_id": "69c4fd44ba71de01470003a8",
                  "name": "Jane Smith",
                  "checked_in_at": "2025-10-01T12:01:01.0Z"
                },
                {
                  "id": "69c4fd44ba71de01470003a9",
                  "customer_id": "69c4fd44ba71de01470003aa",
                  "name": "Jane Smith",
                  "checked_in_at": "2025-10-01T12:01:01.0Z"
                },
                {
                  "id": "69c4fd44ba71de01470003ab",
                  "name": "Jane Smith",
                  "checked_in_at": "2025-10-01T12:01:01.0Z"
                },
                {
                  "id": "69c4fd44ba71de01470003ac",
                  "customer_id": "69c4fd44ba71de01470003ad",
                  "name": "Jane Smith",
                  "checked_in_at": "2025-10-01T12:01:01.0Z"
                },
                {
                  "id": "69c4fd44ba71de01470003ae",
                  "customer_id": "69c4fd44ba71de01470003af",
                  "name": "Jane Smith",
                  "checked_in_at": "2025-10-01T12:01:01.0Z"
                }
              ],
              "item_configuration": {
                "idd5d": "esse nostrud"
              },
              "offering_id": "69c4fd44ba71de01470003b0",
              "offering_name": "60 minute massage",
              "offering_type": "appointment",
              "option_id": "69c4fd44ba71de01470003b1",
              "price_change": 1500,
              "reserved_until": "1951-05-26T03:22:16.0Z",
              "shared_basket_item_id": "69c4fd44ba71de01470003b2",
              "status": "submitted",
              "time": "1903-01-01T14:27:29.0Z"
            },
            {
              "id": "69c4fd44ba71de01470003b3",
              "booking_summary": {
                "id": "69c4fd44ba71de01470003b4",
                "duration": -19817543,
                "end_time": "1923-04-18T17:56:19.0Z",
                "equipment": [
                  {
                    "id": "69c4fd44ba71de01470003b5",
                    "name": "Hot Rocks"
                  },
                  {
                    "id": "69c4fd44ba71de01470003b6",
                    "name": "Hot Rocks"
                  },
                  {
                    "id": "69c4fd44ba71de01470003b7",
                    "name": "Hot Rocks"
                  }
                ],
                "equipment_ids": [
                  "69c4fd44ba71de01470003b8",
                  "69c4fd44ba71de01470003b9",
                  "69c4fd44ba71de01470003ba",
                  "69c4fd44ba71de01470003bb",
                  "69c4fd44ba71de01470003bc"
                ],
                "offering": {
                  "id": "69c4fd44ba71de01470003bd",
                  "name": "30 Minute Massage",
                  "type": "appointment",
                  "product_code": "id consectetur aliquip qui reprehenderit"
                },
                "practitioners": [],
                "practitioner_ids": [],
                "practitioner_was_requested": false,
                "room": {
                  "id": "5dcb47800000000000000000",
                  "capacity": -70645874,
                  "name": "esse veniam"
                },
                "room_id": "69c4fd44ba71de01470003be",
                "room_was_requested": false,
                "start_time": "1958-09-09T11:51:38.0Z",
                "status": "pending_confirmation",
                "created_at": "2025-02-04T12:01:01.0Z",
                "updated_at": "2025-02-04T12:01:01.0Z"
              },
              "choice_id": "69c4fd44ba71de01470003bf",
              "duration": 46321562,
              "guests": [],
              "item_configuration": {
                "elit_7c": false
              },
              "offering_id": "69c4fd44ba71de01470003c0",
              "offering_name": "60 minute massage",
              "offering_type": "appointment",
              "option_id": "69c4fd44ba71de01470003c1",
              "price_change": 1500,
              "reserved_until": "1958-07-06T12:01:16.0Z",
              "shared_basket_item_id": "69c4fd44ba71de01470003c2",
              "status": "submitted",
              "time": "1962-10-02T04:59:54.0Z"
            },
            {
              "id": "69c4fd44ba71de01470003c3",
              "booking_summary": {
                "id": "69c4fd44ba71de01470003c4",
                "duration": -62145137,
                "end_time": "1892-10-01T15:23:03.0Z",
                "equipment": [
                  {
                    "id": "69c4fd44ba71de01470003c5",
                    "name": "Hot Rocks"
                  },
                  {
                    "id": "69c4fd44ba71de01470003c6",
                    "name": "Hot Rocks"
                  },
                  {
                    "id": "69c4fd44ba71de01470003c7",
                    "name": "Hot Rocks"
                  },
                  {
                    "id": "69c4fd44ba71de01470003c8",
                    "name": "Hot Rocks"
                  }
                ],
                "equipment_ids": [
                  "69c4fd44ba71de01470003c9"
                ],
                "offering": {
                  "id": "69c4fd44ba71de01470003ca",
                  "name": "30 Minute Massage",
                  "type": "appointment",
                  "product_code": "sit amet proident sed"
                },
                "practitioners": [],
                "practitioner_ids": [
                  "69c4fd44ba71de01470003cb"
                ],
                "practitioner_was_requested": true,
                "room": {
                  "id": "5dcb47800000000000000000",
                  "capacity": -83602192,
                  "name": "eu"
                },
                "room_id": "69c4fd44ba71de01470003cc",
                "room_was_requested": false,
                "session_id": "69c4fd44ba71de01470003cd",
                "start_time": "1947-07-16T22:26:29.0Z",
                "status": "confirmed",
                "created_at": "2025-02-04T12:01:01.0Z",
                "updated_at": "2025-02-04T12:01:01.0Z"
              },
              "choice_id": "69c4fd44ba71de01470003ce",
              "duration": -49851665,
              "guests": [
                {
                  "id": "69c4fd44ba71de01470003cf",
                  "name": "Jane Smith",
                  "checked_in_at": "2025-10-01T12:01:01.0Z"
                },
                {
                  "id": "69c4fd44ba71de01470003d0",
                  "customer_id": "69c4fd44ba71de01470003d1",
                  "name": "Jane Smith",
                  "checked_in_at": "2025-10-01T12:01:01.0Z"
                },
                {
                  "id": "69c4fd44ba71de01470003d2",
                  "customer_id": "69c4fd44ba71de01470003d3",
                  "name": "Jane Smith",
                  "checked_in_at": "2025-10-01T12:01:01.0Z"
                }
              ],
              "item_configuration": {
                "ut_2": 3371574
              },
              "offering_id": "69c4fd44ba71de01470003d4",
              "offering_name": "60 minute massage",
              "offering_type": "appointment",
              "option_id": "69c4fd44ba71de01470003d5",
              "price_change": 1500,
              "reserved_until": "1927-04-27T01:17:56.0Z",
              "shared_basket_item_id": "69c4fd44ba71de01470003d6",
              "status": "submitted",
              "time": "1909-02-21T18:55:15.0Z"
            }
          ],
          "posted_at": "1936-11-24T13:33:05.0Z",
          "price": 595,
          "purchasable_details": {
            "id": "69c4fd44ba71de01470003d7",
            "time_from": "1928-05-11T16:46:35.0Z",
            "time_to": "1962-05-21T06:13:51.0Z"
          },
          "quantity": 1,
          "reserved_until": "1956-09-18T20:04:44.0Z",
          "sold_by": {
            "id": "qui magna",
            "name": "ut",
            "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": "69c4fd44ba71de01470003d8",
          "color": "#FF0000",
          "name": "VIP",
          "order_id": "69c4fd44ba71de01470003d9"
        },
        {
          "id": "69c4fd44ba71de01470003da",
          "color": "#FF0000",
          "name": "VIP",
          "order_id": "69c4fd44ba71de01470003db"
        },
        {
          "id": "69c4fd44ba71de01470003dc",
          "color": "#FF0000",
          "name": "VIP",
          "order_id": "69c4fd44ba71de01470003dd"
        }
      ],
      "last_name": "Doe",
      "locked_at": "2019-01-15T12:01:01.0Z",
      "net_total": 8000,
      "new_intake_form_url": "nisi culpa commodo",
      "order_ref": "TRY00",
      "organisation_id": "7d1c32fc-4358-9220-3474-a0faeb46cabf",
      "outstanding_payment_amount": 53331269,
      "package_items": [
        {
          "id": "69c4fd44ba71de01470003de",
          "added_by_customer": true,
          "base_price": -22632641,
          "date": "1958-09-01",
          "discount_amount": 44731498,
          "discounts": [
            {
              "id": "69c4fd44ba71de01470003df",
              "amount_type": "monetary",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1912-05-06T21:57:08.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de01470003e0",
                "avatar": {
                  "id": "23c97fc0-57e9-8855-2d66-e8acc7d75086",
                  "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": "vh2dN@QRicZyZlMfDpeYFcbWP.qeb",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de01470003e1",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "f566a0e9-47e3-225f-9f39-427a82eb8a5e"
              },
              "coupon_code_id": "69c4fd44ba71de01470003e2",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "dc4525f2-5d7e-96af-c1de-4aeb81f8210a"
            },
            {
              "id": "69c4fd44ba71de01470003e3",
              "amount_type": "monetary",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1953-01-08T11:51:59.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de01470003e4",
                "avatar": {
                  "id": "f50c8d0b-5298-6f3e-6458-88c57b29fbca",
                  "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": "ZU8y@smzdJc.qwto",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de01470003e5",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "c2f94225-437b-6829-dea7-25db707a376e"
              },
              "coupon_code_id": "69c4fd44ba71de01470003e6",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "94570493-5bff-a6ac-bb1d-32c6d930c633"
            },
            {
              "id": "69c4fd44ba71de01470003e7",
              "amount_type": "percentage",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1948-01-09T05:11:39.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de01470003e8",
                "avatar": {
                  "id": "d8b299eb-eee5-64f6-cd36-e81337844f78",
                  "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": "b3mVCKTxmJ@yIGgIBgnswKfSp.abm",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de01470003e9",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "c3e485cf-68b1-a6e9-52a8-17aa27ff3c2e"
              },
              "coupon_code_id": "69c4fd44ba71de01470003ea",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "7af23529-b9dc-0d84-6600-8a59407ed03e"
            },
            {
              "id": "69c4fd44ba71de01470003eb",
              "amount_type": "monetary",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1930-12-29T10:11:13.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de01470003ec",
                "avatar": {
                  "id": "b831a5b3-6436-f482-a367-8e60e41b92e9",
                  "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": "riwdMYj8zaPKX@LPWshbIuBkVbVYGzpVokVTbikta.va",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de01470003ed",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "e0cf013e-9f44-a2c9-21a8-3e67c70a6191"
              },
              "coupon_code_id": "69c4fd44ba71de01470003ee",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "d8d7f562-5128-f03c-f5cd-4b2c98166e9f"
            }
          ],
          "exclusive_tax_amount": 62274663,
          "guest": {
            "id": "69c4fd44ba71de01470003ef",
            "checked_in_at": "1900-08-17T17:40:20.0Z",
            "checked_out_at": "1967-10-04T17:53:17.0Z",
            "customer_id": "d01ab1df-85ee-7a14-62fb-821907bc0d9d",
            "first_name": "Jane",
            "intake_form_complete": true,
            "is_lead_booker": false,
            "last_name": "Doe",
            "name": "Jane Doe"
          },
          "guests": [],
          "inclusive_tax_amount": 95190800,
          "is_modifiable": true,
          "item_type": "pariatur nulla",
          "net_total": -11088278,
          "option_budgets": [
            {
              "budget": "adipisicing in proident",
              "choice_id": "aute mollit esse",
              "remaining": "minim tempor nostrud",
              "spent": "sit officia minim ipsum"
            },
            {
              "budget": "est",
              "choice_id": "officia",
              "remaining": "elit officia laborum ut",
              "spent": "pariatur incididunt nulla do ex"
            },
            {
              "budget": "laboris",
              "choice_id": "Duis tempor velit mollit occaecat",
              "remaining": "Excepteur",
              "spent": "irure"
            },
            {
              "budget": "nisi quis",
              "choice_id": "adipisicing commodo",
              "remaining": "aute nostrud non in",
              "spent": "laboris consequat sunt incididunt"
            },
            {
              "budget": "officia nostrud",
              "choice_id": "amet",
              "remaining": "dolor Duis mollit incididunt ut",
              "spent": "in aliqua ex eiusmod"
            }
          ],
          "order_discount_amount": 60649522,
          "package_items": [
            {
              "id": "69c4fd44ba71de01470003f0",
              "choice_id": "69c4fd44ba71de01470003f1",
              "duration": -35123653,
              "item_configuration": {
                "dolor_f": true,
                "irure1": "cillum reprehenderit"
              },
              "offering_id": "69c4fd44ba71de01470003f2",
              "offering_name": "consequat pariatur laborum consectetur",
              "offering_type": "appointment",
              "option_id": "69c4fd44ba71de01470003f3",
              "price_change": 76906253,
              "reserved_until": "1911-12-04T13:43:01.0Z",
              "time": 840
            },
            {
              "id": "69c4fd44ba71de01470003f4",
              "booking_summary": {
                "id": "69c4fd44ba71de01470003f5",
                "duration": -97360079,
                "end_time": "1904-04-20T11:34:24.0Z",
                "offering": {
                  "id": "69c4fd44ba71de01470003f6",
                  "name": "30 Minute Massage",
                  "type": "appointment",
                  "product_code": "ut ex"
                },
                "start_time": "1897-05-09T23:45:52.0Z",
                "status": "pending_confirmation",
                "created_at": "2025-02-04T12:01:01.0Z",
                "updated_at": "2025-02-04T12:01:01.0Z"
              },
              "choice_id": "69c4fd44ba71de01470003f7",
              "duration": 70449153,
              "guests": [
                {
                  "id": "69c4fd44ba71de01470003f8",
                  "checked_in_at": "1945-02-07T11:56:46.0Z",
                  "checked_out_at": "1943-07-27T11:16:26.0Z",
                  "customer_id": "0e4cc72c-ba09-413c-8a82-0f624729a4a6",
                  "email": "lc-H3OhmqMfNL@PCbKxoFfchdFvjivPkgxQ.yrql",
                  "first_name": "Jane",
                  "intake_form_submission_id": "69c4fd44ba71de01470003f9",
                  "intake_form_complete": false,
                  "is_lead_booker": true,
                  "last_name": "Doe",
                  "name": "Jane Doe"
                }
              ],
              "item_configuration": {
                "dolore_a": -34968964,
                "commodo_9ff": true,
                "Excepteur_fb6": false,
                "ut_35": 22548551,
                "officiac": 50250112
              },
              "offering_id": "69c4fd44ba71de01470003fa",
              "offering_name": "exercitation anim in minim nulla",
              "offering_type": "appointment",
              "option_id": "69c4fd44ba71de01470003fb",
              "price_change": 49104911,
              "reserved_until": "1910-07-05T10:35:54.0Z",
              "shared_basket_item_id": "69c4fd44ba71de01470003fc",
              "status": "submitted",
              "time": 840
            },
            {
              "id": "69c4fd44ba71de01470003fd",
              "booking_summary": {
                "id": "69c4fd44ba71de01470003fe",
                "duration": -97190034,
                "end_time": "1907-01-22T20:11:45.0Z",
                "offering": {
                  "id": "69c4fd44ba71de01470003ff",
                  "name": "30 Minute Massage",
                  "type": "appointment",
                  "product_code": "laborum officia aliquip tempor"
                },
                "start_time": "1922-12-13T16:10:36.0Z",
                "status": "reserved",
                "created_at": "2025-02-04T12:01:01.0Z",
                "updated_at": "2025-02-04T12:01:01.0Z"
              },
              "choice_id": "69c4fd44ba71de0147000400",
              "duration": -76586181,
              "guests": [],
              "item_configuration": {
                "ullamco_7": -65841747
              },
              "offering_id": "69c4fd44ba71de0147000401",
              "offering_name": "occaecat ad quis nulla",
              "offering_type": "appointment",
              "option_id": "69c4fd44ba71de0147000402",
              "price_change": -22661970,
              "reserved_until": "1939-05-15T13:46:34.0Z",
              "shared_basket_item_id": "69c4fd44ba71de0147000403",
              "status": "submitted",
              "time": 840
            },
            {
              "id": "69c4fd44ba71de0147000404",
              "choice_id": "69c4fd44ba71de0147000405",
              "duration": 45198621,
              "item_configuration": {
                "auteb6": -51200224,
                "aliquip_1c7": -52336094
              },
              "offering_id": "69c4fd44ba71de0147000406",
              "offering_name": "velit Lorem",
              "offering_type": "appointment",
              "option_id": "69c4fd44ba71de0147000407",
              "price_change": 54573875,
              "reserved_until": "1922-10-29T03:54:41.0Z",
              "shared_basket_item_id": "69c4fd44ba71de0147000408",
              "status": "submitted",
              "time": 840
            },
            {
              "id": "69c4fd44ba71de0147000409",
              "booking_summary": {
                "id": "69c4fd44ba71de014700040a",
                "duration": -26732452,
                "end_time": "1904-08-27T15:16:13.0Z",
                "offering": {
                  "id": "69c4fd44ba71de014700040b",
                  "name": "30 Minute Massage",
                  "type": "appointment",
                  "product_code": "ad exercitation tempor cillum elit"
                },
                "start_time": "1920-07-19T17:27:53.0Z",
                "status": "waitlisted",
                "created_at": "2025-02-04T12:01:01.0Z",
                "updated_at": "2025-02-04T12:01:01.0Z"
              },
              "choice_id": "69c4fd44ba71de014700040c",
              "duration": -91932307,
              "guests": [],
              "item_configuration": {
                "ipsum_e": true
              },
              "offering_id": "69c4fd44ba71de014700040d",
              "offering_name": "aliquip ut ad qui esse",
              "offering_type": "appointment",
              "option_id": "69c4fd44ba71de014700040e",
              "price_change": -18901508,
              "reserved_until": "1931-08-03T03:48:39.0Z",
              "shared_basket_item_id": "69c4fd44ba71de014700040f",
              "status": "submitted",
              "time": 840
            }
          ],
          "price": 54303483,
          "sold_by": {
            "id": "dolor reprehenderit aliqua et",
            "name": "qui aute",
            "type": ""
          },
          "status": "cancelled",
          "total_cost": 86726033,
          "type_id": "69c4fd44ba71de0147000410",
          "type_name": "labore consequat",
          "type_product_code": "irure cillum",
          "created_at": "2025-02-04T12:01:01.0Z",
          "updated_at": "2025-02-04T12:01:01.0Z"
        },
        {
          "id": "69c4fd44ba71de0147000411",
          "added_by_customer": true,
          "base_price": 49281373,
          "date": "1925-09-20",
          "discount_amount": 49530898,
          "discounts": [
            {
              "id": "69c4fd44ba71de0147000412",
              "amount_type": "percentage",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1952-04-05T07:18:14.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de0147000413",
                "avatar": {
                  "id": "12372278-faee-6efd-e7ee-f2d16f42d65a",
                  "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": "B3AwMVAUKNt-aIn@SLkFzNShkKLhq.yy",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de0147000414",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "84c635e9-e0cd-dd84-d780-cdf1d35a07eb"
              },
              "coupon_code_id": "69c4fd44ba71de0147000415",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "9f4b2e1a-58fc-f28d-0211-fd5450df46f3"
            }
          ],
          "exclusive_tax_amount": -10221488,
          "guest": {
            "id": "69c4fd44ba71de0147000416",
            "checked_in_at": "1951-09-30T14:01:59.0Z",
            "checked_out_at": "1914-11-12T17:13:51.0Z",
            "customer_id": "ce5454a1-76a2-8d36-6e84-d774837c5c87",
            "email": "UQDOWxXyDzHN4@gke.anr",
            "first_name": "Jane",
            "intake_form_submission_id": "69c4fd44ba71de0147000417",
            "intake_form_complete": false,
            "is_lead_booker": false,
            "last_name": "Doe",
            "name": "Jane Doe"
          },
          "guests": [
            {
              "id": "69c4fd44ba71de0147000418",
              "checked_in_at": "1900-03-06T01:12:50.0Z",
              "checked_out_at": "1900-03-26T14:16:36.0Z",
              "customer_id": "cfd91714-b7e6-eb8c-7dbd-80b3c0178237",
              "email": "wxTVu1Y-gta1i8@ExLST.jt",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de0147000419",
              "intake_form_complete": false,
              "is_lead_booker": false,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de014700041a",
              "checked_in_at": "1968-01-30T21:11:59.0Z",
              "checked_out_at": "1922-11-26T01:24:08.0Z",
              "customer_id": "8def0792-2c8c-302a-cbc3-1630f33eff27",
              "first_name": "Jane",
              "intake_form_complete": true,
              "is_lead_booker": true,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de014700041b",
              "checked_in_at": "1945-08-16T18:01:35.0Z",
              "checked_out_at": "1955-09-29T02:52:20.0Z",
              "customer_id": "294a33d9-8975-d00e-1987-02025bf8e503",
              "email": "uL8gWf9jELRcmX@EcFgFebJHseuH.xyi",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de014700041c",
              "intake_form_complete": false,
              "is_lead_booker": false,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de014700041d",
              "checked_in_at": "1923-05-23T11:13:41.0Z",
              "checked_out_at": "1952-03-26T22:54:16.0Z",
              "customer_id": "f4561b04-0388-e59b-2c27-ab25905ffb37",
              "email": "W2tKEMf3P@lsPjdBMtWDc.iuqm",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de014700041e",
              "intake_form_complete": true,
              "is_lead_booker": true,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de014700041f",
              "checked_in_at": "1901-06-26T17:11:33.0Z",
              "checked_out_at": "1955-08-11T02:40:34.0Z",
              "customer_id": "64afadbb-453d-4c33-0241-76e83317f94b",
              "email": "rF0FInx@EB.uni",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de0147000420",
              "intake_form_complete": true,
              "is_lead_booker": true,
              "last_name": "Doe",
              "name": "Jane Doe"
            }
          ],
          "inclusive_tax_amount": 68919814,
          "is_modifiable": true,
          "item_type": "cupidatat Excepteur",
          "net_total": -43861578,
          "option_budgets": [
            {
              "budget": "incididunt nostrud dolore amet fugiat",
              "choice_id": "non labore culpa",
              "remaining": "aliquip ex",
              "spent": "ut"
            }
          ],
          "order_discount_amount": -21725958,
          "package_items": [
            {
              "id": "69c4fd44ba71de0147000421",
              "choice_id": "69c4fd44ba71de0147000422",
              "duration": 56226758,
              "item_configuration": {
                "uta": -36988027,
                "deserunt_0c7": -9151028
              },
              "offering_id": "69c4fd44ba71de0147000423",
              "offering_name": "eiusmod adipisicing",
              "offering_type": "appointment",
              "option_id": "69c4fd44ba71de0147000424",
              "price_change": 53491740,
              "reserved_until": "1969-05-30T03:04:32.0Z",
              "time": 840
            },
            {
              "id": "69c4fd44ba71de0147000425",
              "booking_summary": {
                "id": "69c4fd44ba71de0147000426",
                "duration": -16723074,
                "end_time": "1953-06-08T01:07:54.0Z",
                "offering": {
                  "id": "69c4fd44ba71de0147000427",
                  "name": "30 Minute Massage",
                  "type": "appointment",
                  "product_code": "amet cupidatat"
                },
                "start_time": "1895-06-25T04:56:07.0Z",
                "status": "reserved",
                "created_at": "2025-02-04T12:01:01.0Z",
                "updated_at": "2025-02-04T12:01:01.0Z"
              },
              "choice_id": "69c4fd44ba71de0147000428",
              "duration": -29760434,
              "item_configuration": {
                "nostrud53": "ea do"
              },
              "offering_id": "69c4fd44ba71de0147000429",
              "offering_name": "fugiat commodo nisi elit aliquip",
              "offering_type": "appointment",
              "option_id": "69c4fd44ba71de014700042a",
              "price_change": -72810922,
              "reserved_until": "1947-01-11T04:21:50.0Z",
              "shared_basket_item_id": "69c4fd44ba71de014700042b",
              "status": "submitted",
              "time": 840
            },
            {
              "id": "69c4fd44ba71de014700042c",
              "booking_summary": {
                "id": "69c4fd44ba71de014700042d",
                "duration": 26153390,
                "end_time": "1901-01-06T01:28:16.0Z",
                "offering": {
                  "id": "69c4fd44ba71de014700042e",
                  "name": "30 Minute Massage",
                  "type": "appointment",
                  "product_code": "ex"
                },
                "start_time": "1890-10-01T16:41:47.0Z",
                "status": "waitlisted",
                "created_at": "2025-02-04T12:01:01.0Z",
                "updated_at": "2025-02-04T12:01:01.0Z"
              },
              "choice_id": "69c4fd44ba71de014700042f",
              "duration": -82304981,
              "guests": [
                {
                  "id": "69c4fd44ba71de0147000430",
                  "checked_in_at": "1967-10-26T15:53:23.0Z",
                  "checked_out_at": "1962-01-07T12:42:50.0Z",
                  "customer_id": "24929f05-5e4b-d3ed-fc5c-bbcb8576c123",
                  "first_name": "Jane",
                  "intake_form_complete": true,
                  "is_lead_booker": false,
                  "last_name": "Doe",
                  "name": "Jane Doe"
                },
                {
                  "id": "69c4fd44ba71de0147000431",
                  "checked_in_at": "1957-11-04T20:34:31.0Z",
                  "checked_out_at": "1947-02-26T10:38:14.0Z",
                  "customer_id": "09fcdc3e-6c63-00d7-b0b0-3e22b46a5e55",
                  "email": "rWDL3zIF2gdiF5@F.pyy",
                  "first_name": "Jane",
                  "intake_form_submission_id": "69c4fd44ba71de0147000432",
                  "intake_form_complete": true,
                  "is_lead_booker": true,
                  "last_name": "Doe",
                  "name": "Jane Doe"
                }
              ],
              "item_configuration": {
                "ut_1": -67454515,
                "laboris_d3": "minim id",
                "tempor_2": -47571886.501243375
              },
              "offering_id": "69c4fd44ba71de0147000433",
              "offering_name": "in",
              "offering_type": "appointment",
              "option_id": "69c4fd44ba71de0147000434",
              "price_change": -64202511,
              "reserved_until": "1922-08-23T11:10:01.0Z",
              "shared_basket_item_id": "69c4fd44ba71de0147000435",
              "status": "submitted",
              "time": 840
            }
          ],
          "price": -62301434,
          "sold_by": {
            "id": "ad velit deserunt cillum",
            "name": "magna",
            "type": ""
          },
          "status": "cancelled",
          "total_cost": 12376430,
          "type_id": "69c4fd44ba71de0147000436",
          "type_name": "ut laboris",
          "type_product_code": "laboris ipsum reprehenderit nulla",
          "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": "69c4fd44ba71de0147000437",
          "amount": 10000,
          "capture_method": "automatic",
          "currency": "gbp",
          "details_source": "pay_by_link",
          "failure_reason": "Suspected fraud",
          "paid_at": "2020-02-24T12:01:01.0Z",
          "payable_id": "69c4fd44ba71de0147000438",
          "payable_type": "cupidatat consectetur Duis",
          "processor": "stripe",
          "processor_data": {
            "enim_da": -9154402,
            "ut_8": "eiusmod laborum"
          },
          "processor_id": "69c4fd44ba71de0147000439",
          "processor_type": "id proident labore eiusmod",
          "refundable_amount": 3500,
          "refunds": [],
          "status": "paid",
          "created_at": "2025-02-04T12:01:01.0Z"
        },
        {
          "id": "69c4fd44ba71de014700043a",
          "amount": 10000,
          "capture_method": "automatic",
          "chargebacks": [
            {
              "id": "69c4fd44ba71de014700043b",
              "amount": "Duis Excepteur",
              "currency": "gbp",
              "payment_id": "69c4fd44ba71de014700043c",
              "processor_data": {
                "ipsumdc": true
              },
              "reason": "minim",
              "status": "processed",
              "created_at": "2025-02-04T12:01:01.0Z"
            },
            {
              "id": "69c4fd44ba71de014700043d",
              "amount": "dolore",
              "currency": "gbp",
              "payment_id": "69c4fd44ba71de014700043e",
              "processor_data": {
                "ex3_d": -15788989.480119258,
                "Loremb18": -51681867
              },
              "reason": "aute",
              "status": "processed",
              "created_at": "2025-02-04T12:01:01.0Z"
            }
          ],
          "currency": "gbp",
          "details_source": "pay_by_link",
          "failure_reason": "Suspected fraud",
          "order_ref": "ex mollit irure",
          "paid_at": "2020-02-24T12:01:01.0Z",
          "payable_id": "69c4fd44ba71de014700043f",
          "payable_type": "in sit quis eu",
          "processor": "stripe",
          "processor_data": {
            "laborumf89": 68934513,
            "nonb44": 74960049.16921368
          },
          "processor_id": "69c4fd44ba71de0147000440",
          "processor_type": "amet sunt ullamco pariatur",
          "refundable_amount": 3500,
          "refunds": [
            {
              "id": "69c4fd44ba71de0147000441",
              "payment_id": "69c4fd44ba71de0147000442",
              "amount": -56793822,
              "currency": "gbp",
              "notes": "ipsum labore et occaecat officia",
              "status": "failed",
              "processor_data": {
                "dolore150": "occaecat id eiusmod deserunt",
                "dolore_7": -36892817,
                "nostrud73": true,
                "fugiat7f": true,
                "tempor_f": 58444051
              },
              "created_at": "1958-08-20T01:19:07.0Z"
            },
            {
              "id": "69c4fd44ba71de0147000443",
              "payment_id": "69c4fd44ba71de0147000444",
              "amount": 35892639,
              "currency": "gbp",
              "notes": "id ut nulla non",
              "status": "pending",
              "processor_data": {
                "elitd0": "sint",
                "eu5_f": true
              },
              "created_at": "1920-01-11T20:29:39.0Z"
            },
            {
              "id": "69c4fd44ba71de0147000445",
              "payment_id": "69c4fd44ba71de0147000446",
              "amount": 58897560,
              "currency": "gbp",
              "notes": "aute esse dolor ullamco dolore",
              "status": "pending",
              "processor_data": {
                "proident_f": true
              },
              "created_at": "1896-04-03T03:56:55.0Z"
            },
            {
              "id": "69c4fd44ba71de0147000447",
              "payment_id": "69c4fd44ba71de0147000448",
              "amount": 30738443,
              "currency": "gbp",
              "notes": "aliqua in velit aliquip consequat",
              "status": "complete",
              "processor_data": {
                "ind3a": 32389904,
                "dolore_f": -2119857.3950465918
              },
              "created_at": "1940-03-14T02:10:51.0Z"
            },
            {
              "id": "69c4fd44ba71de0147000449",
              "payment_id": "69c4fd44ba71de014700044a",
              "amount": -31656029,
              "currency": "gbp",
              "notes": "adipisicing ut aliquip reprehenderit",
              "status": "pending",
              "processor_data": {
                "ametf": -58879700
              },
              "created_at": "1920-08-01T04:05:11.0Z"
            }
          ],
          "status": "expired",
          "created_at": "2025-02-04T12:01:01.0Z"
        },
        {
          "id": "69c4fd44ba71de014700044b",
          "amount": 10000,
          "capture_method": "automatic",
          "chargebacks": [
            {
              "id": "69c4fd44ba71de014700044c",
              "amount": "Ut Excepteur velit officia labore",
              "currency": "gbp",
              "payment_id": "69c4fd44ba71de014700044d",
              "processor_data": {
                "dolor524": "ea magna officia",
                "nisicf6": "incididunt nisi Duis"
              },
              "reason": "velit id occaecat fugiat sit",
              "status": "pending",
              "created_at": "2025-02-04T12:01:01.0Z"
            },
            {
              "id": "69c4fd44ba71de014700044e",
              "amount": "quis laboris in",
              "currency": "gbp",
              "payment_id": "69c4fd44ba71de014700044f",
              "processor_data": {
                "eu047": "amet elit culpa",
                "elit_59b": false
              },
              "reason": "Duis enim Ut sint elit",
              "status": "pending",
              "created_at": "2025-02-04T12:01:01.0Z"
            },
            {
              "id": "69c4fd44ba71de0147000450",
              "amount": "ipsum voluptate ullamco aliqua",
              "currency": "gbp",
              "payment_id": "69c4fd44ba71de0147000451",
              "processor_data": {
                "reprehenderit1fb": 42314214,
                "in_f": -64530050
              },
              "reason": "est",
              "status": "processed",
              "created_at": "2025-02-04T12:01:01.0Z"
            },
            {
              "id": "69c4fd44ba71de0147000452",
              "amount": "id veniam est",
              "currency": "gbp",
              "payment_id": "69c4fd44ba71de0147000453",
              "processor_data": {
                "laboris_d8": "do sint esse",
                "voluptate5": "commodo eiusmod eu laborum dolor"
              },
              "reason": "laboris minim irure anim ex",
              "status": "confirmed",
              "created_at": "2025-02-04T12:01:01.0Z"
            }
          ],
          "currency": "gbp",
          "details_source": "pay_by_link",
          "failure_reason": "Suspected fraud",
          "order_ref": "minim proident",
          "paid_at": "2020-02-24T12:01:01.0Z",
          "payable_id": "69c4fd44ba71de0147000454",
          "payable_type": "dolore",
          "processor": "stripe",
          "processor_data": {
            "laboredb": false
          },
          "processor_id": "69c4fd44ba71de0147000455",
          "processor_type": "voluptate aute amet dolor",
          "refundable_amount": 3500,
          "refunds": [
            {
              "id": "69c4fd44ba71de0147000456",
              "payment_id": "69c4fd44ba71de0147000457",
              "amount": -10060865,
              "currency": "gbp",
              "status": "complete",
              "processor_data": {
                "et_2": "ex ut irure proident cupidatat"
              },
              "created_at": "1916-12-05T13:51:10.0Z"
            },
            {
              "id": "69c4fd44ba71de0147000458",
              "payment_id": "69c4fd44ba71de0147000459",
              "amount": 20406005,
              "currency": "gbp",
              "notes": "dolor exercitation aute",
              "status": "pending",
              "processor_data": {
                "veniam_a_4": "amet",
                "deserunt_2": -21086934,
                "laborisa": -58748402
              },
              "created_at": "1938-11-13T09:42:08.0Z"
            }
          ],
          "status": "expired",
          "created_at": "2025-02-04T12:01:01.0Z"
        },
        {
          "id": "69c4fd44ba71de014700045a",
          "amount": 10000,
          "capture_method": "automatic",
          "chargebacks": [
            {
              "id": "69c4fd44ba71de014700045b",
              "amount": "adipisicing sint",
              "currency": "gbp",
              "payment_id": "69c4fd44ba71de014700045c",
              "processor_data": {
                "sint2": false,
                "consectetur6": -26762027
              },
              "reason": "nisi",
              "status": "confirmed",
              "created_at": "2025-02-04T12:01:01.0Z"
            },
            {
              "id": "69c4fd44ba71de014700045d",
              "amount": "Lorem dolor pariatur voluptate",
              "currency": "gbp",
              "payment_id": "69c4fd44ba71de014700045e",
              "processor_data": {
                "non_fae": "eu sed",
                "ea_e": 55804414.79759073,
                "consequat_a7": -4822955,
                "in_b2": "sint incididunt quis Lorem"
              },
              "reason": "culpa enim eu ad ut",
              "status": "confirmed",
              "created_at": "2025-02-04T12:01:01.0Z"
            },
            {
              "id": "69c4fd44ba71de014700045f",
              "amount": "nisi deserunt consectetur",
              "currency": "gbp",
              "payment_id": "69c4fd44ba71de0147000460",
              "processor_data": {
                "sit4": true
              },
              "reason": "in culpa",
              "status": "processed",
              "created_at": "2025-02-04T12:01:01.0Z"
            },
            {
              "id": "69c4fd44ba71de0147000461",
              "amount": "dolore pariatur cillum qui",
              "currency": "gbp",
              "payment_id": "69c4fd44ba71de0147000462",
              "processor_data": {
                "consequatd": 5982588
              },
              "reason": "proident veniam in ut",
              "status": "processed",
              "created_at": "2025-02-04T12:01:01.0Z"
            },
            {
              "id": "69c4fd44ba71de0147000463",
              "amount": "nulla reprehenderit laborum commodo",
              "currency": "gbp",
              "payment_id": "69c4fd44ba71de0147000464",
              "processor_data": {
                "aute9c": -57288166
              },
              "reason": "in officia",
              "status": "confirmed",
              "created_at": "2025-02-04T12:01:01.0Z"
            }
          ],
          "currency": "gbp",
          "details_source": "pay_by_link",
          "failure_reason": "Suspected fraud",
          "order_ref": "Lorem",
          "paid_at": "2020-02-24T12:01:01.0Z",
          "payable_id": "69c4fd44ba71de0147000465",
          "payable_type": "occaecat",
          "processor": "stripe",
          "processor_data": {
            "cillum3": -56518505.54379605,
            "eiusmod_f_b": "dolor adipisicing",
            "adipisicing_e": "fugiat aute nostrud"
          },
          "processor_id": "69c4fd44ba71de0147000466",
          "processor_type": "Excepteur mollit",
          "refundable_amount": 3500,
          "refunds": [
            {
              "id": "69c4fd44ba71de0147000467",
              "payment_id": "69c4fd44ba71de0147000468",
              "amount": -72573205,
              "currency": "gbp",
              "notes": "magna",
              "status": "failed",
              "processor_data": {
                "ut_9": "enim culpa nulla ea"
              },
              "created_at": "1906-04-02T15:25:51.0Z"
            }
          ],
          "status": "requires_action",
          "created_at": "2025-02-04T12:01:01.0Z"
        }
      ],
      "phone": "+447727123456",
      "post_to_room_config": {
        "associated_at": "1966-02-17T20:07:12.0Z",
        "processor_data": {
          "G#": 2081111,
          "RN": "9500"
        }
      },
      "promo_code_applied_at": "1916-08-07T04:54:58.0Z",
      "promo_code_applied_by": {
        "id": "69c4fd44ba71de0147000469",
        "avatar": {
          "id": "eaef303c-cbba-1f58-cbf6-d00f8929bc01",
          "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": "vsaL2ikH7@dDM.uz",
        "first_name": "Jane",
        "full_name": "Jane Smith",
        "last_name": "Smith"
      },
      "purchase_items": [
        {
          "id": "69c4fd44ba71de014700046a",
          "added_by_customer": false,
          "base_price": 80558132,
          "discount_amount": -32873924,
          "discounts": [
            {
              "id": "69c4fd44ba71de014700046b",
              "amount_type": "monetary",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1891-03-11T03:37:59.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de014700046c",
                "avatar": {
                  "id": "b9510590-f13e-13c1-4713-6b882d122cc1",
                  "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": "S4Ps@JpNYQtjotxtxjOvEUptE.cln",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de014700046d",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "7f96177a-6483-a474-bff1-7696ddd74765"
              },
              "coupon_code_id": "69c4fd44ba71de014700046e",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "d41a4e39-0683-fcdf-d563-7097e9980cd5"
            },
            {
              "id": "69c4fd44ba71de014700046f",
              "amount_type": "monetary",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1894-09-11T16:38:55.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de0147000470",
                "avatar": {
                  "id": "d73e7dec-21f7-87ed-9326-eb89a107f9a8",
                  "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": "hy9VyZu5@LEXgLwkBUFQrmqRtlEYbOAlhUUnZW.dspv",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de0147000471",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "1b4967e8-a473-d0bf-e775-00bff389dbed"
              },
              "coupon_code_id": "69c4fd44ba71de0147000472",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "03e02c13-8580-73d5-5c27-01b83e206d9e"
            }
          ],
          "exclusive_tax_amount": 46135968,
          "guests": [
            {
              "id": "69c4fd44ba71de0147000473",
              "checked_in_at": "1942-03-12T09:12:01.0Z",
              "checked_out_at": "1948-05-08T21:27:07.0Z",
              "customer_id": "6033bbaa-bf29-36a4-18af-cb55fb07aa15",
              "email": "b0C0ub4K@JteePbbCGYZUWCUagftIW.zcd",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de0147000474",
              "intake_form_complete": true,
              "is_lead_booker": true,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de0147000475",
              "checked_in_at": "1943-02-26T01:32:33.0Z",
              "checked_out_at": "1963-07-28T16:46:19.0Z",
              "customer_id": "503e0416-3dcb-815a-1a71-9c489d06fe06",
              "email": "EYo28RaPuxL1pBn@cqzoVwllImJ.sy",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de0147000476",
              "intake_form_complete": true,
              "is_lead_booker": false,
              "last_name": "Doe",
              "name": "Jane Doe"
            }
          ],
          "inclusive_tax_amount": -8448988,
          "is_modifiable": false,
          "item_configuration": {
            "id_3": -17135414.996419266,
            "dolore63": -72490665.39753844
          },
          "item_type": "aute",
          "net_total": -88252987,
          "order_discount_amount": -98791117,
          "purchasable_details": {
            "id": "69c4fd44ba71de0147000477"
          },
          "quantity": -37888951,
          "reserved_until": "1969-11-26T01:24:42.0Z",
          "sold_by": {
            "id": "minim laboris ullamco",
            "name": "enim sed et reprehenderit",
            "type": "practitioner"
          },
          "status": "confirmed",
          "total_cost": -61872431,
          "type_id": "69c4fd44ba71de0147000478",
          "type_name": "est Ut dolore culpa laboris",
          "type_product_code": "in in",
          "unit_price": -43945884,
          "created_at": "2025-02-04T12:01:01.0Z",
          "updated_at": "2025-02-04T12:01:01.0Z"
        },
        {
          "id": "69c4fd44ba71de0147000479",
          "added_by_customer": true,
          "base_price": -10635164,
          "discount_amount": 76458178,
          "discounts": [
            {
              "id": "69c4fd44ba71de014700047a",
              "amount_type": "monetary",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1936-03-19T21:06:54.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de014700047b",
                "avatar": {
                  "id": "ed731268-02d5-6b5d-0e6c-3a639dbc3eb1",
                  "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": "iC4Nae4h@nXvzaaoCgMoWPCCoxfkPiJE.ai",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de014700047c",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "024f9fcb-2779-40bb-9871-30b1371e10cf"
              },
              "coupon_code_id": "69c4fd44ba71de014700047d",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "b8164645-b158-01f1-61ea-adc51d08c94a"
            },
            {
              "id": "69c4fd44ba71de014700047e",
              "amount_type": "percentage",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1917-12-03T05:25:34.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de014700047f",
                "avatar": {
                  "id": "ffc7e240-ec5d-6afd-bca7-a3f55bc31845",
                  "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": "efEMdc0Hcm0@DgzBaBRMNLzFfKVATwkIAgrLgLkMEK.xokk",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de0147000480",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "422510a2-88cf-ce84-d633-b0174f5ac0bc"
              },
              "coupon_code_id": "69c4fd44ba71de0147000481",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "a6b03cbc-b147-6ef6-9804-f464cd481f75"
            },
            {
              "id": "69c4fd44ba71de0147000482",
              "amount_type": "monetary",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1946-05-24T20:45:12.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de0147000483",
                "avatar": {
                  "id": "829ddb75-42a0-cf1c-281a-768fd809ef36",
                  "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": "WLqvJ04H0@RqGDyM.lye",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de0147000484",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "f1724918-02a6-dec5-3910-c9302d9546e8"
              },
              "coupon_code_id": "69c4fd44ba71de0147000485",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "886d66b1-81b3-0626-642e-c188f0b71406"
            },
            {
              "id": "69c4fd44ba71de0147000486",
              "amount_type": "percentage",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1962-11-09T10:44:46.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de0147000487",
                "avatar": {
                  "id": "6e9f00cb-e085-8c86-ca98-d53d31ea0eaa",
                  "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": "s8rb508hq@tUgNOTIKjaYVuoMAxuGwHOmLb.jmyb",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de0147000488",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "0d240902-4c1a-8089-8f83-900725a4b1b3"
              },
              "coupon_code_id": "69c4fd44ba71de0147000489",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "1c1468f4-34dd-4008-1cdc-d9028fcb2f69"
            },
            {
              "id": "69c4fd44ba71de014700048a",
              "amount_type": "monetary",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1969-09-22T18:57:25.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de014700048b",
                "avatar": {
                  "id": "349637a6-653b-6fd3-0393-f9fa5a2c45d3",
                  "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": "Kf9@QJsithuxcGzHBDeEWIxZnTQKuJnXqjGL.bac",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de014700048c",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "b7396a3f-0fd7-1661-7855-2bbb96ed09c3"
              },
              "coupon_code_id": "69c4fd44ba71de014700048d",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "c45f348c-213b-6760-9ab1-795afc055226"
            }
          ],
          "exclusive_tax_amount": -65440145,
          "guests": [
            {
              "id": "69c4fd44ba71de014700048e",
              "checked_in_at": "1923-12-27T04:58:53.0Z",
              "checked_out_at": "1967-09-04T02:47:57.0Z",
              "customer_id": "bd1d23d2-7166-5365-b1ce-ce01b1a33492",
              "email": "Glsi38Lj7@EOYXyJheIBhrXgjxjtvPfQSQEnbOSDW.ufbp",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de014700048f",
              "intake_form_complete": true,
              "is_lead_booker": false,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de0147000490",
              "checked_in_at": "1965-10-29T10:17:30.0Z",
              "checked_out_at": "1891-12-26T02:30:51.0Z",
              "customer_id": "3dedd998-5029-e993-23d0-0c41d1775c0e",
              "email": "YfiKxns@EWRSRSTrXbMEshJMOEibIJhOPh.qe",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de0147000491",
              "intake_form_complete": true,
              "is_lead_booker": false,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de0147000492",
              "checked_in_at": "1960-05-26T03:54:19.0Z",
              "checked_out_at": "1910-06-24T23:01:56.0Z",
              "customer_id": "7e57e45f-ead5-be21-f25f-fba92cc89b25",
              "email": "da-nQ@OtjN.st",
              "first_name": "Jane",
              "intake_form_complete": true,
              "is_lead_booker": true,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de0147000493",
              "checked_in_at": "1928-01-23T04:04:48.0Z",
              "checked_out_at": "1959-04-04T06:58:55.0Z",
              "customer_id": "a9ce8a22-356c-21b9-42a0-b0626dd6a0ad",
              "email": "OqCp9V@NSOszc.ftdv",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de0147000494",
              "intake_form_complete": true,
              "is_lead_booker": false,
              "last_name": "Doe",
              "name": "Jane Doe"
            }
          ],
          "inclusive_tax_amount": 49325419,
          "is_modifiable": false,
          "item_configuration": {
            "minim_1": -25906031.496166542,
            "cillum_a": -76683129,
            "quis_6": "eiusmod irure ipsum",
            "laboris1e": "deserunt velit"
          },
          "item_type": "non nostrud qui in est",
          "net_total": 34632886,
          "order_discount_amount": -72276986,
          "purchasable_details": {
            "dolor6e5": "laborum nostrud",
            "sed_c": "cupidatat in",
            "dolor3": false,
            "id": "69c4fd44ba71de0147000495"
          },
          "quantity": 36012564,
          "reserved_until": "1934-07-19T13:31:47.0Z",
          "sold_by": {
            "id": "irure",
            "name": "commodo sunt ad aute",
            "type": "user"
          },
          "status": "confirmed",
          "total_cost": -34460410,
          "type_id": "69c4fd44ba71de0147000496",
          "type_name": "eiusmod cillum",
          "type_product_code": "magna nisi",
          "unit_price": -90833921,
          "created_at": "2025-02-04T12:01:01.0Z",
          "updated_at": "2025-02-04T12:01:01.0Z"
        },
        {
          "id": "69c4fd44ba71de0147000497",
          "added_by_customer": false,
          "base_price": 14231071,
          "discount_amount": 48230773,
          "discounts": [
            {
              "id": "69c4fd44ba71de0147000498",
              "amount_type": "percentage",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1901-01-25T18:14:54.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de0147000499",
                "avatar": {
                  "id": "f60ef34f-b1c8-6a2c-0b76-7dd1405ed561",
                  "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": "ef80Xvmh10yG@NyUsBEYCsAJKIGpbQvwGtzgzEufsH.qmns",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de014700049a",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "f12c824b-825b-96be-1bd0-ffafb2318224"
              },
              "coupon_code_id": "69c4fd44ba71de014700049b",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "5320c558-2c65-2a6c-a8a1-ce1020247d94"
            }
          ],
          "exclusive_tax_amount": 29578793,
          "guests": [
            {
              "id": "69c4fd44ba71de014700049c",
              "checked_in_at": "1921-05-29T19:31:02.0Z",
              "checked_out_at": "1892-01-09T02:09:05.0Z",
              "customer_id": "00079b0a-7bb1-79e2-6e6a-7d9625ad2da9",
              "first_name": "Jane",
              "intake_form_complete": false,
              "is_lead_booker": true,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de014700049d",
              "checked_in_at": "1924-08-11T13:20:09.0Z",
              "checked_out_at": "1957-12-14T12:31:09.0Z",
              "customer_id": "fc9c162e-6a34-2687-d637-6ed5cdd7ffc3",
              "email": "THp7ubd@i.gk",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de014700049e",
              "intake_form_complete": false,
              "is_lead_booker": false,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de014700049f",
              "checked_in_at": "1951-08-14T18:51:13.0Z",
              "checked_out_at": "1967-02-21T13:02:30.0Z",
              "customer_id": "5dad4a18-148a-8cca-cc79-903a0f02f869",
              "email": "HcRoLRjV4@bU.ajr",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de01470004a0",
              "intake_form_complete": true,
              "is_lead_booker": false,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de01470004a1",
              "checked_in_at": "1897-05-26T06:44:13.0Z",
              "checked_out_at": "1966-02-14T17:16:50.0Z",
              "customer_id": "c67ee734-69e7-5a6c-1839-8cf9320c9c62",
              "email": "LEGCWbInm243ux@VHq.qjb",
              "first_name": "Jane",
              "intake_form_complete": true,
              "is_lead_booker": true,
              "last_name": "Doe",
              "name": "Jane Doe"
            }
          ],
          "inclusive_tax_amount": 94289383,
          "is_modifiable": true,
          "item_configuration": {
            "dolore01": 84664076
          },
          "item_type": "aliquip Ut mollit et occaecat",
          "net_total": 12755090,
          "order_discount_amount": 6508436,
          "purchasable_details": {
            "in_9_4": -30056097,
            "pariatur_e5": 7176517
          },
          "quantity": -79531224,
          "reserved_until": "1955-11-19T05:40:15.0Z",
          "sold_by": {
            "id": "nulla occaecat est aliquip",
            "name": "qui",
            "type": ""
          },
          "status": "waitlisted",
          "total_cost": 48657292,
          "type_id": "69c4fd44ba71de01470004a2",
          "type_name": "sunt commodo dolore dolor reprehenderit",
          "type_product_code": "dolor",
          "unit_price": 53250813,
          "created_at": "2025-02-04T12:01:01.0Z",
          "updated_at": "2025-02-04T12:01:01.0Z"
        },
        {
          "id": "69c4fd44ba71de01470004a3",
          "added_by_customer": true,
          "base_price": 76000439,
          "discount_amount": 22757738,
          "discounts": [
            {
              "id": "69c4fd44ba71de01470004a4",
              "amount_type": "percentage",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1928-08-22T02:20:44.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de01470004a5",
                "avatar": {
                  "id": "a8c47f2e-7df1-047a-0793-56d979cb1f9a",
                  "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": "NnbFm5@uPqz.mu",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de01470004a6",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "96a815b7-4650-769c-0e04-1e54bb4fae39"
              },
              "coupon_code_id": "69c4fd44ba71de01470004a7",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "45ec4668-533a-daa7-6040-e9e6da5083c6"
            },
            {
              "id": "69c4fd44ba71de01470004a8",
              "amount_type": "percentage",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1934-09-22T15:11:08.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de01470004a9",
                "avatar": {
                  "id": "1e13cd6c-77c4-7367-be36-ec34161871d5",
                  "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": "booCm@tpLkEsESlSVoreDJXDLHW.yat",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de01470004aa",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "7362bc61-23b6-ec95-d455-db00631a21d3"
              },
              "coupon_code_id": "69c4fd44ba71de01470004ab",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "c7d84434-4c59-7381-1647-bf75f7ab8646"
            },
            {
              "id": "69c4fd44ba71de01470004ac",
              "amount_type": "monetary",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1937-12-03T18:08:05.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de01470004ad",
                "email": "C8tXy@tRuLIbhdiCmAJLwVyXtGQaLNLDfPlrGLj.rc",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de01470004ae",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "fc036bbf-a0e4-1059-ba90-7066b1b8c51f"
              },
              "coupon_code_id": "69c4fd44ba71de01470004af",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "eab01f6d-cce2-7671-8a30-d2c4b42d776e"
            },
            {
              "id": "69c4fd44ba71de01470004b0",
              "amount_type": "percentage",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1941-04-10T13:53:57.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de01470004b1",
                "avatar": {
                  "id": "23393415-5b15-842e-983a-04499dfd0910",
                  "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": "y-bsh3TrnBh@MfHJPbyOGXVFIwVGyRoDdEOU.pa",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de01470004b2",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "c2bc66e8-c547-4beb-46d2-6abae9dbe5a3"
              },
              "coupon_code_id": "69c4fd44ba71de01470004b3",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "5950151c-d6df-af4b-ea1f-b2e84b4c3b57"
            }
          ],
          "exclusive_tax_amount": -90549727,
          "guests": [
            {
              "id": "69c4fd44ba71de01470004b4",
              "checked_in_at": "1954-10-07T05:01:03.0Z",
              "checked_out_at": "1899-04-21T08:06:40.0Z",
              "customer_id": "f5db671e-bcec-242b-fb24-e80ff8eebf21",
              "email": "leDRNAA@DN.gpw",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de01470004b5",
              "intake_form_complete": true,
              "is_lead_booker": true,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de01470004b6",
              "checked_in_at": "1953-08-19T03:41:12.0Z",
              "checked_out_at": "1930-05-29T21:17:57.0Z",
              "customer_id": "93fece0a-587b-80d0-de13-6d24e5044eae",
              "email": "zVF39m@PrQxNewgrZmIArDTFaU.eg",
              "first_name": "Jane",
              "intake_form_complete": true,
              "is_lead_booker": true,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de01470004b7",
              "checked_in_at": "1911-08-24T20:21:49.0Z",
              "checked_out_at": "1953-04-26T01:48:55.0Z",
              "customer_id": "758eea0e-e445-cd5a-9317-8bdfaa7c6a36",
              "email": "A5MHb32sdkSjQV2@zctXEFqOBqbvMGpQmc.zxbz",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de01470004b8",
              "intake_form_complete": false,
              "is_lead_booker": false,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de01470004b9",
              "checked_in_at": "1948-08-16T12:59:42.0Z",
              "checked_out_at": "1895-07-25T13:57:30.0Z",
              "customer_id": "86a577fe-d961-3897-bda4-5bafe5b6c88d",
              "email": "0J6cvKZCvNcY@aPUJXJLFRCxuL.ke",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de01470004ba",
              "intake_form_complete": false,
              "is_lead_booker": true,
              "last_name": "Doe",
              "name": "Jane Doe"
            },
            {
              "id": "69c4fd44ba71de01470004bb",
              "checked_in_at": "1953-05-06T03:37:04.0Z",
              "checked_out_at": "1910-01-26T23:54:28.0Z",
              "customer_id": "3ceb74fd-5d8a-3f06-215e-e3c2a433c1d5",
              "email": "171@qkuIUxcEEScjGAsUGN.key",
              "first_name": "Jane",
              "intake_form_submission_id": "69c4fd44ba71de01470004bc",
              "intake_form_complete": true,
              "is_lead_booker": false,
              "last_name": "Doe",
              "name": "Jane Doe"
            }
          ],
          "inclusive_tax_amount": 85207847,
          "is_modifiable": false,
          "item_configuration": {
            "est_4f8": true
          },
          "item_type": "Excepteur",
          "net_total": -95281139,
          "order_discount_amount": -36791294,
          "purchasable_details": {
            "dolore_715": -74876761.84785226,
            "id": "69c4fd44ba71de01470004bd"
          },
          "quantity": 79872004,
          "reserved_until": "1896-02-13T11:52:33.0Z",
          "sold_by": {
            "id": "Excepteur officia in labore laborum",
            "name": "cupidatat exercitation ullamco eu cillum",
            "type": "user"
          },
          "status": "reserved",
          "total_cost": 96285033,
          "type_id": "69c4fd44ba71de01470004be",
          "type_name": "Duis amet quis",
          "type_product_code": "fugiat sunt labore",
          "unit_price": -74956232,
          "created_at": "2025-02-04T12:01:01.0Z",
          "updated_at": "2025-02-04T12:01:01.0Z"
        },
        {
          "id": "69c4fd44ba71de01470004bf",
          "added_by_customer": true,
          "base_price": -52916589,
          "discount_amount": 1952183,
          "discounts": [
            {
              "id": "69c4fd44ba71de01470004c0",
              "amount_type": "monetary",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1962-02-22T03:08:22.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de01470004c1",
                "email": "YnRVpLvYWm7@xDRWmuvmAMuczAYQwml.ym",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de01470004c2",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "512013d9-a2f1-36dc-da79-a168274b9935"
              },
              "coupon_code_id": "69c4fd44ba71de01470004c3",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "63192e2b-f631-33fc-9228-d6f9531d0dab"
            },
            {
              "id": "69c4fd44ba71de01470004c4",
              "amount_type": "percentage",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1957-06-27T08:01:14.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de01470004c5",
                "avatar": {
                  "id": "0ed6311f-a7ca-5991-70f5-2b5e6192a3f6",
                  "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": "dxWVoJZ0iixRcM@HBbbXQJmhJhVBcSqMNucxuEIGIohszj.asad",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de01470004c6",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "981219cf-48df-5636-bc9c-bfd3bc505238"
              },
              "coupon_code_id": "69c4fd44ba71de01470004c7",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "47dd02ea-2048-0fef-4d7f-938dc855e9c7"
            },
            {
              "id": "69c4fd44ba71de01470004c8",
              "amount_type": "monetary",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1952-11-11T05:38:52.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de01470004c9",
                "avatar": {
                  "id": "8ab2b343-667d-5f0e-ad92-a1090480a0d2",
                  "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": "c4pJY@mLStfnCXeYiSTglF.vl",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de01470004ca",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "b048b946-25a0-5f42-430e-ceec2e9be7d5"
              },
              "coupon_code_id": "69c4fd44ba71de01470004cb",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "7d8641c6-8169-25a2-0534-be116eae5f7e"
            },
            {
              "id": "69c4fd44ba71de01470004cc",
              "amount_type": "monetary",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1923-05-09T09:01:24.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de01470004cd",
                "avatar": {
                  "id": "89597f62-3290-0cae-cad6-70059b736524",
                  "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": "xlB8by@oOuzYrVxCCcmVjYQWsxmayesggcsKCUwW.sf",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de01470004ce",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "244d51e0-358d-3d80-6a04-db1d1a26fe58"
              },
              "coupon_code_id": "69c4fd44ba71de01470004cf",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "7cfde95d-bd11-2ddf-34a2-30c756a34726"
            },
            {
              "id": "69c4fd44ba71de01470004d0",
              "amount_type": "percentage",
              "applicable_for": "app_and_booking_engine",
              "applied_at": "1960-04-03T07:22:21.0Z",
              "applied_by": {
                "id": "69c4fd44ba71de01470004d1",
                "avatar": {
                  "id": "468343d3-665b-8cb6-d011-59b6be1c0e02",
                  "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": "CaTTIjkM@crA.nqs",
                "first_name": "Jane",
                "full_name": "Jane Smith",
                "last_name": "Smith"
              },
              "calculated_amount": 150,
              "coupon": {
                "id": "69c4fd44ba71de01470004d2",
                "code": "FIVEOFF",
                "name": "April special",
                "description": "Get 10% off all treatments booked in April.",
                "customer_credit_id": "b6fd047e-fde8-16a9-888e-6094dd495470"
              },
              "coupon_code_id": "69c4fd44ba71de01470004d3",
              "currency": "gbp",
              "discount_amount": 15,
              "discount_type_code": "SUMMER23",
              "reason_code": "general",
              "site_id": "72ed89e1-3f9c-ec00-4ab1-f752b9f419a1"
            }
          ],
          "exclusive_tax_amount": 89723571,
          "guests": [],
          "inclusive_tax_amount": 3443586,
          "is_modifiable": true,
          "item_configuration": {
            "reprehenderit_343": false
          },
          "item_type": "commodo dolor Duis",
          "net_total": -58043609,
          "order_discount_amount": -95341058,
          "purchasable_details": {
            "amet_e0e": true,
            "irure985": 23752744.554847017,
            "inab": true,
            "nostrud2df": 71801745,
            "sint14": 90822435,
            "id": "69c4fd44ba71de01470004d4"
          },
          "quantity": 58223108,
          "reserved_until": "1947-12-23T05:16:10.0Z",
          "sold_by": {
            "id": "adipisicing tempor",
            "name": "Duis nisi eiusmod irure",
            "type": "practitioner"
          },
          "status": "reserved",
          "total_cost": -1059557,
          "type_id": "69c4fd44ba71de01470004d5",
          "type_name": "elit consequat",
          "type_product_code": "ipsum",
          "unit_price": -74243926,
          "created_at": "2025-02-04T12:01:01.0Z",
          "updated_at": "2025-02-04T12:01:01.0Z"
        }
      ],
      "sales_channel": {
        "id": "69c4fd44ba71de01470004d6",
        "name": "Web",
        "organisation_id": "7f7ab1b7-bed5-31e6-dc85-0ab36a18fbd8"
      },
      "service_charge": {
        "amount": 1000,
        "item_amounts": [
          {
            "amount": 1000,
            "item_id": "69c4fd44ba71de01470004d7",
            "percentage": 10
          },
          {
            "amount": 1000,
            "item_id": "69c4fd44ba71de01470004d8",
            "percentage": 10
          },
          {
            "amount": 1000,
            "item_id": "69c4fd44ba71de01470004d9",
            "percentage": 10
          },
          {
            "amount": 1000,
            "item_id": "69c4fd44ba71de01470004da",
            "percentage": 10
          }
        ],
        "percentage": 10
      },
      "site_id": "2938b348-a5e8-0904-bc07-7718717f28cf",
      "special_requests": "I would like the Blue Room please",
      "stage": "checked_out",
      "status": "submitted",
      "submit_auth_amount": 85895372,
      "submit_payment_amount": 35810773,
      "submitted_at": "2020-02-24T12:01:01.0Z",
      "submitted_by": {
        "id": "69c4fd44ba71de01470004db",
        "avatar": {
          "id": "107e5a82-a21b-224f-3445-fdda1186e906",
          "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": "RxxfdAmAKYmvjNB@vZpKgxENYBzWTpTJHthxbFLREee.htr",
        "first_name": "Jane",
        "full_name": "Jane Smith",
        "last_name": "Smith"
      },
      "taxes": [],
      "tip_amount": 1050,
      "tips": [
        {
          "id": "69c4fd44ba71de01470004dc",
          "amount": 1050,
          "declined": true,
          "updated_at": "1945-10-18T10:39:59.0Z",
          "can_remove": true
        },
        {
          "id": "69c4fd44ba71de01470004dd",
          "amount": 1050,
          "declined": true,
          "updated_at": "1916-11-22T18:55:52.0Z",
          "can_remove": true
        },
        {
          "id": "69c4fd44ba71de01470004de",
          "amount": 1050,
          "declined": false,
          "updated_at": "1922-12-21T14:31:14.0Z",
          "can_remove": false
        }
      ],
      "total_cost": -91571418,
      "total_paid_or_authed": -36500827,
      "total_tax": 2000,
      "totals": {
        "exclusive_tax": 0,
        "inclusive_tax": 250,
        "order_discount": 11000,
        "subtotal": 12000,
        "subtotal_without_exclusive_tax": 12000,
        "total": 10000
      },
      "visit": {
        "id": "69c4fd44ba71de01470004df",
        "visit_ref": "consequat do occaecat est pariatur",
        "visit_type": {
          "id": "69c4fd44ba71de01470004e0",
          "name": "Stay"
        },
        "status": "enim qui",
        "arrival_date": "1928-04-25T13:52:33.0Z",
        "departure_date": "1936-01-14T14:01:12.0Z",
        "first_name": "sint enim elit dolor deserunt",
        "last_name": "fugiat"
      },
      "voucher_codes": [
        {
          "id": "9196eaa4-bd7a-12dd-99ad-ba45a17641a9",
          "amount_type": "discount_to_zero",
          "calculated_amount": 1000,
          "code": "ABCDEFGHIJ123",
          "coupon_code_id": "69c4fd44ba71de01470004e1",
          "description": "A 30 minute treatment of your choice.",
          "is_redeemed": false,
          "name": "30 min treatment",
          "voucher_type_id": "69c4fd44ba71de01470004e2"
        },
        {
          "id": "f63bb334-6157-b6e7-ae0a-efa81f9632e2",
          "amount_type": "discount_to_zero",
          "calculated_amount": 1000,
          "code": "ABCDEFGHIJ123",
          "coupon_code_id": "69c4fd44ba71de01470004e3",
          "description": "A 30 minute treatment of your choice.",
          "is_redeemed": false,
          "name": "30 min treatment",
          "voucher_type_id": "69c4fd44ba71de01470004e4"
        },
        {
          "id": "76516c7b-3fb7-c553-01af-600da1701cda",
          "amount_type": "discount_to_zero",
          "calculated_amount": 1000,
          "code": "ABCDEFGHIJ123",
          "coupon_code_id": "69c4fd44ba71de01470004e5",
          "description": "A 30 minute treatment of your choice.",
          "is_redeemed": false,
          "name": "30 min treatment",
          "voucher_type_id": "69c4fd44ba71de01470004e6"
        },
        {
          "id": "54563c04-2bd1-aff1-593b-7f94abbf822c",
          "amount_type": "discount_to_zero",
          "code": "ABCDEFGHIJ123",
          "description": "A 30 minute treatment of your choice.",
          "name": "30 min treatment",
          "voucher_type_id": "69c4fd44ba71de01470004e7"
        }
      ],
      "created_at": "2020-02-24T12:01:01.0Z",
      "updated_at": "2020-02-24T12:01:01.0Z"
    },
    "payment_method": {
      "id": "5d1df551-f92b-9a9c-399f-311642d2f270",
      "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": "1901-10-12T01:56:33.0Z"
  }
}
404
example response
{
  "message": "The requested resource could not be found"
}
422
example response
{
  "errors": {
    "proident_28b": [
      "elit aliqua ipsum eiusmod",
      "Lorem"
    ]
  },
  "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": [
    {
      "id": "f1d8d94c-875a-c631-082f-65d5de1cc6b8",
      "attention_reason": "no_mandate",
      "basket_id": "69c4fd42ba71de014700028b",
      "customer": {
        "id": "1c35f897-f4ac-090c-6abd-3be127cacf5b",
        "first_name": "Jane",
        "last_name": "Doe",
        "full_name": "Jane Doe",
        "phone": "+447900000000",
        "has_password": true,
        "dob": "1895-02-23",
        "brand_id": "9516fb1e-e20d-964b-f926-820fddf4260c",
        "site_id": "08568b57-f199-c9cc-147a-71f1e72f81d4",
        "stripe_id": "cus_1234567890",
        "express_stripe_id": "cus_1234567890",
        "email": "janedoe@example.com",
        "labels": [
          {
            "id": "573dab9d-a66f-b7ed-92e2-b84f0e287cf3",
            "value": "VIP",
            "colour": "ff6634"
          },
          {
            "id": "393483ef-fd78-7554-7f6c-1e80bb2d20b2",
            "value": "VIP",
            "colour": "ff6634"
          },
          {
            "id": "9005a139-c5b8-3487-0328-9e395e7838a3",
            "value": "VIP",
            "colour": "ff6634"
          }
        ],
        "preferred_locale": "en",
        "locked_at": "1894-09-17T12:53:40.0Z",
        "created_at": "1969-04-30T10:09:49.0Z",
        "updated_at": "1899-02-04T01:11:47.0Z",
        "deleted_at": "1960-09-16T23:57:58.0Z",
        "last_active_at": "1896-01-04T12:55:06.0Z",
        "email_verified_at": "1890-10-27T07:54:34.0Z",
        "last_check_in": {
          "checked_in_at": "1948-05-16T05:20:39.0Z",
          "method": "Scanned"
        },
        "avatar_id": "000000-000000-000000-000000",
        "avatar": {
          "id": "a6e3e662-1939-8043-36b2-18bf79382f52",
          "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": "irure dolor"
      },
      "end_date": "1923-06-17T14:39:39.0Z",
      "external_ref": "officia aliquip tempor",
      "members": [
        {
          "customer_id": "3c873817-b81e-7ea5-4923-662c9f7b4c15",
          "is_lead": false,
          "membership_number": "1234567890"
        },
        {
          "customer_id": "b87884b3-d5ba-d6b3-3ec6-6c0c63f80353",
          "is_lead": true,
          "membership_number": "1234567890"
        },
        {
          "customer_id": "347e1c14-db63-ca92-7bd9-f8318e117206",
          "is_lead": false,
          "membership_number": "1234567890"
        },
        {
          "customer_id": "e6063c26-2a15-3b29-8295-f1e000e72746",
          "is_lead": true,
          "membership_number": "1234567890"
        }
      ],
      "membership_number": "1234567890",
      "next_billing_date": "1935-02-15T20:29:59.0Z",
      "next_charge": {
        "id": "18a1093d-190c-5571-710a-6443e99df787",
        "amount": 3995,
        "currency": "GBP",
        "status": "errored",
        "billing_period_from": "1909-09-22",
        "billing_period_to": "1943-03-01"
      },
      "payment_method": {
        "id": "officia ipsum",
        "type": "direct_debit",
        "last_4": "minim",
        "status": "revoked",
        "card_brand": "amex"
      },
      "rate": {
        "id": "7c052099-4bd3-641e-a3cc-275eadcfb807",
        "membership_type_id": "5c86a3dd-0f70-51f4-7097-f1e05df323f3",
        "name": "Standard rate",
        "currency": "GBP",
        "price": 5000,
        "joining_fee": 1000,
        "billing_frequency": "P1M",
        "processors": [
          "ut sit amet occaecat",
          "Lorem tempor occaecat et",
          "Ut anim irure eiusmod"
        ],
        "default_duration": "P1Y",
        "private": true,
        "created_at": "1891-06-18T04:30:15.0Z",
        "updated_at": "1953-09-29T23:22:10.0Z"
      },
      "site_id": "d26b5f99-6673-a55a-068b-289c7bece40b",
      "source": "import",
      "start_date": "1957-07-04T03:17:19.0Z",
      "status": "reserved",
      "status_updated_at": "1931-10-22T06:13:34.0Z",
      "type": {
        "id": "ea8302af-7505-6087-319e-d93b65dc4c37",
        "name": "Gold tier",
        "description": "Enjoy exclusive benefits as part of being a member in our Gold tier",
        "terms": "sunt deserunt in",
        "brand_id": "f41bb81c-1821-5742-0bf9-44304f4b3f19",
        "offline_payments": true,
        "disable_confirmation_email": false,
        "private": true,
        "visibility": "link_only",
        "minimum_start_date": "1953-11-07T21:30:01.0Z",
        "min_members": 2,
        "max_members": 4,
        "rates": [
          {
            "id": "90687dfd-8e3e-e655-6708-89acdfbdd9b0",
            "membership_type_id": "b891b0e1-044f-b8bc-faf8-488295306c2c",
            "name": "Standard rate",
            "currency": "GBP",
            "price": 5000,
            "joining_fee": 1000,
            "billing_frequency": "P1M",
            "processors": [
              "ex Ut",
              "ullamco sit est non sint",
              "ullamco",
              "esse id quis commodo in"
            ],
            "default_duration": "P1Y",
            "private": true,
            "created_at": "1929-02-17T18:20:34.0Z",
            "updated_at": "1910-10-11T21:18:09.0Z"
          },
          {
            "id": "40de8220-c2c7-105f-639b-67d7e3e9e57e",
            "membership_type_id": "ca646c1f-9c02-4d72-9380-0f19eb97792f",
            "name": "Standard rate",
            "currency": "GBP",
            "price": 5000,
            "joining_fee": 1000,
            "billing_frequency": "P1M",
            "processors": [
              "cupidatat aliquip commodo in occaecat",
              "labore officia nostrud aliquip"
            ],
            "default_duration": "P1Y",
            "private": true,
            "created_at": "1924-08-02T11:27:43.0Z",
            "updated_at": "1968-07-09T18:31:25.0Z"
          },
          {
            "id": "5295af72-75f5-8743-4a95-4b5be577a0b2",
            "membership_type_id": "c486ab14-987c-601b-99af-2bc9bc8921b2",
            "name": "Standard rate",
            "currency": "GBP",
            "price": 5000,
            "joining_fee": 1000,
            "billing_frequency": "P1M",
            "processors": [
              "in anim",
              "nostrud",
              "aute fugiat eiusmod elit enim",
              "officia velit"
            ],
            "default_duration": "P1Y",
            "private": true,
            "created_at": "1915-10-19T10:26:56.0Z",
            "updated_at": "1904-07-28T01:43:28.0Z"
          }
        ],
        "revenue_schedule": "FREQ=WEEKLY",
        "created_at": "1963-02-15T07:05:08.0Z",
        "updated_at": "1940-01-19T11:29:19.0Z",
        "deleted_at": "1918-10-25T19:34:44.0Z"
      },
      "payment_details_url": "in",
      "created_at": "1929-07-24T23:33:15.0Z"
    },
    {
      "id": "5a7e1011-988f-1574-64d5-179b20456bad",
      "attention_reason": "payment_disputed",
      "basket_id": "69c4fd42ba71de014700028c",
      "customer": {
        "id": "56c09ac2-5446-be00-54aa-691a8bdc2c44",
        "first_name": "Jane",
        "last_name": "Doe",
        "full_name": "Jane Doe",
        "phone": "+447900000000",
        "has_password": true,
        "dob": "1968-05-07",
        "brand_id": "db5e7241-ac1d-0283-c366-51acfcaba17e",
        "site_id": "cf0e1146-603e-e4c8-8481-acda6ecf36ff",
        "stripe_id": "cus_1234567890",
        "express_stripe_id": "cus_1234567890",
        "email": "janedoe@example.com",
        "labels": [
          {
            "id": "9db33620-9595-d1d8-2a2c-b859c8d31737",
            "value": "VIP",
            "colour": "ff6634"
          }
        ],
        "preferred_locale": "en",
        "locked_at": "1890-07-17T03:33:30.0Z",
        "created_at": "1941-10-21T18:32:01.0Z",
        "updated_at": "1925-03-01T20:24:17.0Z",
        "deleted_at": "1898-10-01T22:48:34.0Z",
        "last_active_at": "1898-01-30T16:58:51.0Z",
        "email_verified_at": "1935-06-30T01:56:06.0Z",
        "last_check_in": {
          "checked_in_at": "1906-03-31T16:26:13.0Z",
          "method": "Scanned"
        },
        "avatar_id": "000000-000000-000000-000000",
        "avatar": {
          "id": "ed93b612-85d2-20e1-7bfd-fa3e5a91318f",
          "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": "aute et anim reprehenderit Duis"
      },
      "end_date": "1956-10-27T17:30:36.0Z",
      "external_ref": "anim",
      "members": [
        {
          "customer_id": "f1769d7e-a4f8-30a4-1ed0-f8170c98210e",
          "is_lead": false,
          "membership_number": "1234567890"
        }
      ],
      "membership_number": "1234567890",
      "next_billing_date": "1959-09-26T22:08:02.0Z",
      "next_charge": {
        "id": "fc59da0c-7211-421e-c020-8d0ccd0923f4",
        "amount": 3995,
        "currency": "GBP",
        "status": "errored",
        "billing_period_from": "1904-06-17",
        "billing_period_to": "1959-04-18"
      },
      "payment_method": {
        "id": "in ea pariatur adipisicing non",
        "type": "card",
        "last_4": "qui in ut irure nisi",
        "status": "revoked",
        "card_brand": "amex"
      },
      "rate": {
        "id": "754a2a85-5e81-94e0-d564-834af7dcd374",
        "membership_type_id": "d0b34293-284d-c795-a32f-6774349df51f",
        "name": "Standard rate",
        "currency": "GBP",
        "price": 5000,
        "joining_fee": 1000,
        "billing_frequency": "P1M",
        "processors": [
          "consequat anim pariatur nisi nostrud",
          "in in enim"
        ],
        "default_duration": "P1Y",
        "private": true,
        "created_at": "1969-03-17T18:09:15.0Z",
        "updated_at": "1947-03-05T15:36:09.0Z"
      },
      "site_id": "e9ba990c-b2a7-8a41-500e-a499e6d375fd",
      "source": "self_signup",
      "start_date": "1936-05-12T04:16:30.0Z",
      "status": "reserved",
      "status_updated_at": "1968-10-25T22:42:38.0Z",
      "type": {
        "id": "c59547a4-01d0-78bb-c1ac-2dc41f869605",
        "name": "Gold tier",
        "description": "Enjoy exclusive benefits as part of being a member in our Gold tier",
        "terms": "nulla laboris proident ullamco",
        "brand_id": "c824efd8-0a01-d3fc-9dda-11851f40c40f",
        "offline_payments": true,
        "disable_confirmation_email": true,
        "private": true,
        "visibility": "link_only",
        "minimum_start_date": "1967-03-31T14:25:43.0Z",
        "min_members": 2,
        "max_members": 4,
        "rates": [
          {
            "id": "948bb880-fcc8-0d11-5a4a-dfac333116c2",
            "membership_type_id": "9649e7e9-8f0d-c478-cb61-d55146e99d2f",
            "name": "Standard rate",
            "currency": "GBP",
            "price": 5000,
            "joining_fee": 1000,
            "billing_frequency": "P1M",
            "processors": [
              "dolor in quis proident"
            ],
            "default_duration": "P1Y",
            "private": true,
            "created_at": "1902-11-25T02:36:04.0Z",
            "updated_at": "1945-01-19T01:24:16.0Z"
          },
          {
            "id": "32d50449-14db-d27d-4692-6b50b2bf720a",
            "membership_type_id": "617921f7-ccf2-211e-8a82-89a44aa48860",
            "name": "Standard rate",
            "currency": "GBP",
            "price": 5000,
            "joining_fee": 1000,
            "billing_frequency": "P1M",
            "processors": [
              "minim"
            ],
            "default_duration": "P1Y",
            "private": true,
            "created_at": "1946-09-01T08:47:14.0Z",
            "updated_at": "1933-07-10T12:26:18.0Z"
          },
          {
            "id": "62bf47aa-43fd-77a6-dcb6-0b8ecdce2719",
            "membership_type_id": "101bfbf5-3a3d-c7e3-bed1-7cbc0d28202b",
            "name": "Standard rate",
            "currency": "GBP",
            "price": 5000,
            "joining_fee": 1000,
            "billing_frequency": "P1M",
            "processors": [
              "Duis aliquip minim sed"
            ],
            "default_duration": "P1Y",
            "private": true,
            "created_at": "1954-12-22T08:51:50.0Z",
            "updated_at": "1952-09-28T15:51:50.0Z"
          },
          {
            "id": "7b8d2715-0ff1-d1ec-8e77-6ace5867757d",
            "membership_type_id": "5ba2b81a-9177-988a-4633-3c879e8c7e68",
            "name": "Standard rate",
            "currency": "GBP",
            "price": 5000,
            "joining_fee": 1000,
            "billing_frequency": "P1M",
            "processors": [
              "consectetur nisi eiusmod ut",
              "ad Lorem do officia",
              "qui sit commodo ex esse",
              "exercitation mollit ea irure sint"
            ],
            "default_duration": "P1Y",
            "private": true,
            "created_at": "1929-08-29T05:06:52.0Z",
            "updated_at": "1928-07-18T01:51:38.0Z"
          }
        ],
        "revenue_schedule": "FREQ=WEEKLY",
        "created_at": "1891-08-12T14:59:07.0Z",
        "updated_at": "1905-06-03T07:49:34.0Z",
        "deleted_at": "1900-05-10T10:25:12.0Z"
      },
      "payment_details_url": "ullamco",
      "created_at": "1907-09-01T18:01:20.0Z"
    },
    {
      "id": "5d7a3108-590d-2a00-92c9-2c1934b5bc61",
      "attention_reason": "payment_outstanding",
      "basket_id": "69c4fd42ba71de014700028d",
      "customer": {
        "id": "577ea504-7f21-ad0a-e5e1-963d6f6c8bce",
        "first_name": "Jane",
        "last_name": "Doe",
        "full_name": "Jane Doe",
        "phone": "+447900000000",
        "has_password": true,
        "dob": "1952-01-21",
        "brand_id": "26ccd773-38ef-d425-a443-ad30a592a618",
        "site_id": "e1c2b626-f58b-db07-47ec-5ca9fa0da415",
        "stripe_id": "cus_1234567890",
        "express_stripe_id": "cus_1234567890",
        "email": "janedoe@example.com",
        "labels": [
          {
            "id": "8656720c-8691-4cfa-8977-6334dc9f72f6",
            "value": "VIP",
            "colour": "ff6634"
          }
        ],
        "preferred_locale": "en",
        "locked_at": "1896-11-27T04:17:55.0Z",
        "created_at": "1914-07-29T11:38:01.0Z",
        "updated_at": "1955-11-15T14:14:59.0Z",
        "deleted_at": "1940-05-14T22:51:56.0Z",
        "last_active_at": "1949-04-29T09:13:39.0Z",
        "email_verified_at": "1891-11-29T17:34:06.0Z",
        "last_check_in": {
          "checked_in_at": "1908-09-16T18:20:20.0Z",
          "method": "Scanned"
        },
        "avatar_id": "000000-000000-000000-000000",
        "avatar": {
          "id": "caa97f9d-e34e-e290-e150-9006314ebfb5",
          "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": "et ipsum laborum esse"
      },
      "end_date": "1920-11-07T15:31:37.0Z",
      "external_ref": "labore",
      "members": [
        {
          "customer_id": "fa58acd6-62bd-4b45-89c4-13ba6f5d07d7",
          "is_lead": true,
          "membership_number": "1234567890"
        }
      ],
      "membership_number": "1234567890",
      "next_billing_date": "1907-09-15T13:46:17.0Z",
      "next_charge": {
        "id": "9cde40e0-0610-6846-1d18-bc5b4a46b759",
        "amount": 3995,
        "currency": "GBP",
        "status": "processing",
        "billing_period_from": "1899-03-02",
        "billing_period_to": "1922-04-03"
      },
      "payment_method": {
        "id": "in"
      },
      "rate": {
        "id": "3d436815-e000-4a4a-e294-f79e50881ba7",
        "membership_type_id": "3f0bdf36-0c2a-ae8b-9650-8e9ce61283ae",
        "name": "Standard rate",
        "currency": "GBP",
        "price": 5000,
        "joining_fee": 1000,
        "billing_frequency": "P1M",
        "processors": [
          "ea dolor",
          "dolor minim aute"
        ],
        "default_duration": "P1Y",
        "private": true,
        "created_at": "1905-02-15T05:40:55.0Z",
        "updated_at": "1954-12-12T16:53:42.0Z"
      },
      "site_id": "5231c506-1a5b-2ae3-3f16-60125dca5134",
      "source": "import",
      "start_date": "1919-12-23T18:47:49.0Z",
      "status": "needs_dd_mandate",
      "status_updated_at": "1923-09-02T20:12:57.0Z",
      "type": {
        "id": "9d6e9a1c-1f50-5d5e-b7ce-0cff3e32d5aa",
        "name": "Gold tier",
        "description": "Enjoy exclusive benefits as part of being a member in our Gold tier",
        "terms": "exercitation in est Duis dolor",
        "brand_id": "8593a4cc-128d-3f6d-bb75-5a2831f001c0",
        "offline_payments": false,
        "disable_confirmation_email": false,
        "private": true,
        "visibility": "private",
        "minimum_start_date": "1895-04-21T19:36:13.0Z",
        "min_members": 2,
        "max_members": 4,
        "rates": [
          {
            "id": "20eaa231-86a0-b815-36fc-d7cedb0aa824",
            "membership_type_id": "2182402b-5014-0997-2192-12983abaee80",
            "name": "Standard rate",
            "currency": "GBP",
            "price": 5000,
            "joining_fee": 1000,
            "billing_frequency": "P1M",
            "processors": [
              "enim velit in",
              "adipisicing",
              "sed in deserunt",
              "cillum eu"
            ],
            "default_duration": "P1Y",
            "private": true,
            "created_at": "1939-10-29T14:57:26.0Z",
            "updated_at": "1922-08-26T17:13:59.0Z"
          }
        ],
        "revenue_schedule": "FREQ=WEEKLY",
        "created_at": "1898-09-09T01:34:18.0Z",
        "updated_at": "1908-04-07T06:05:21.0Z",
        "deleted_at": "1931-03-15T04:19:01.0Z"
      },
      "payment_details_url": "Lorem et sunt",
      "created_at": "1923-10-18T09:24:17.0Z"
    },
    {
      "id": "db64d2a8-93a7-35c4-7cbc-66f6c9d4c545",
      "attention_reason": "payment_failed",
      "basket_id": "69c4fd42ba71de014700028e",
      "customer": {
        "id": "b82f2187-25db-450a-7cd8-b841cb50e366",
        "first_name": "Jane",
        "last_name": "Doe",
        "full_name": "Jane Doe",
        "phone": "+447900000000",
        "has_password": true,
        "dob": "1949-02-02",
        "brand_id": "34d1c6b7-3a1f-2b3e-6fe1-ee0916fe49ac",
        "site_id": "8795e8f2-dd70-dd6a-d42a-83a7442676f6",
        "stripe_id": "cus_1234567890",
        "express_stripe_id": "cus_1234567890",
        "email": "janedoe@example.com",
        "labels": [
          {
            "id": "64abfdf5-565b-3e49-9b8f-92aa23c05e59",
            "value": "VIP",
            "colour": "ff6634"
          }
        ],
        "preferred_locale": "en",
        "locked_at": "1904-04-15T22:01:14.0Z",
        "created_at": "1918-07-31T10:01:11.0Z",
        "updated_at": "1961-07-12T17:48:15.0Z",
        "deleted_at": "1910-06-25T02:36:33.0Z",
        "last_active_at": "1966-12-25T11:49:42.0Z",
        "email_verified_at": "1939-10-21T21:33:01.0Z",
        "last_check_in": {
          "checked_in_at": "1912-07-25T20:24:15.0Z",
          "method": "Scanned"
        },
        "avatar_id": "000000-000000-000000-000000",
        "avatar": {
          "id": "8410c337-a506-74d8-6811-66b7584f9d59",
          "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": "commodo qui ad anim nostrud"
      },
      "end_date": "1925-06-13T23:45:13.0Z",
      "external_ref": "fugiat commodo ullamco ut Ut",
      "members": [
        {
          "customer_id": "4f69fdbe-f311-2dce-2f6f-e2f30a073aaf",
          "is_lead": true,
          "membership_number": "1234567890"
        }
      ],
      "membership_number": "1234567890",
      "next_billing_date": "1938-10-15T21:01:51.0Z",
      "next_charge": {
        "id": "2bd8c3bb-da53-6290-5a34-e0e5235bea8b",
        "amount": 3995,
        "currency": "GBP",
        "status": "awaiting_approval",
        "billing_period_from": "1934-06-01",
        "billing_period_to": "1928-08-07"
      },
      "payment_method": {
        "type": "card",
        "last_4": "in sint do aute",
        "status": "revoked"
      },
      "rate": {
        "id": "0aac7c11-5006-fb69-5524-46257a0e6963",
        "membership_type_id": "8594b1c7-4fd5-7ae5-0dce-db8f8a5afa5b",
        "name": "Standard rate",
        "currency": "GBP",
        "price": 5000,
        "joining_fee": 1000,
        "billing_frequency": "P1M",
        "processors": [],
        "default_duration": "P1Y",
        "private": true,
        "created_at": "1907-02-20T14:52:46.0Z",
        "updated_at": "1958-09-02T23:51:21.0Z"
      },
      "site_id": "af5fe478-a528-5e15-fa24-94865e0bce07",
      "source": "unknown",
      "start_date": "1954-06-20T06:49:03.0Z",
      "status": "inactive",
      "status_updated_at": "1921-06-05T17:51:12.0Z",
      "type": {
        "id": "c268729e-b541-9fa4-7c7d-291de202ed0f",
        "name": "Gold tier",
        "description": "Enjoy exclusive benefits as part of being a member in our Gold tier",
        "terms": "dolor quis dolore irure",
        "brand_id": "30d10360-e3d2-81e7-a398-c87c4522a4b9",
        "offline_payments": true,
        "disable_confirmation_email": false,
        "private": false,
        "visibility": "private",
        "minimum_start_date": "1921-07-31T19:54:20.0Z",
        "min_members": 2,
        "max_members": 4,
        "rates": [
          {
            "id": "be09d209-7777-e3c5-e812-7a4a1991a708",
            "membership_type_id": "fdd7e342-39f1-6bee-7715-5f99fe717d87",
            "name": "Standard rate",
            "currency": "GBP",
            "price": 5000,
            "joining_fee": 1000,
            "billing_frequency": "P1M",
            "processors": [
              "sit",
              "ea Duis enim elit dolor",
              "magna velit amet",
              "Excepteur tempor dolore",
              "in occaecat"
            ],
            "default_duration": "P1Y",
            "private": true,
            "created_at": "1945-09-29T20:35:43.0Z",
            "updated_at": "1939-02-19T13:17:52.0Z"
          },
          {
            "id": "5be67835-8c0a-ee55-2685-ef6e72ff6521",
            "membership_type_id": "8376ee81-d6ec-ac24-db0e-3532ce8d321c",
            "name": "Standard rate",
            "currency": "GBP",
            "price": 5000,
            "joining_fee": 1000,
            "billing_frequency": "P1M",
            "processors": [
              "veniam enim ullamco eu id"
            ],
            "default_duration": "P1Y",
            "private": true,
            "created_at": "1957-10-18T21:16:32.0Z",
            "updated_at": "1906-12-26T01:06:32.0Z"
          },
          {
            "id": "736182d7-417f-68dd-5590-d045358df0a0",
            "membership_type_id": "8bf3ff94-2219-f8a9-5bb1-bf216eb44b66",
            "name": "Standard rate",
            "currency": "GBP",
            "price": 5000,
            "joining_fee": 1000,
            "billing_frequency": "P1M",
            "processors": [
              "nulla quis consectetur sunt"
            ],
            "default_duration": "P1Y",
            "private": true,
            "created_at": "1904-04-13T03:31:25.0Z",
            "updated_at": "1896-05-08T02:48:46.0Z"
          },
          {
            "id": "b0be039a-41fb-3d20-5512-39dab8fea5d6",
            "membership_type_id": "8e0c3f53-8025-fa08-323c-e7f691b51487",
            "name": "Standard rate",
            "currency": "GBP",
            "price": 5000,
            "joining_fee": 1000,
            "billing_frequency": "P1M",
            "processors": [],
            "default_duration": "P1Y",
            "private": true,
            "created_at": "1918-06-25T02:47:38.0Z",
            "updated_at": "1909-07-12T14:32:09.0Z"
          },
          {
            "id": "1a3c16fe-070f-bedf-6ca5-39a1acbf86ba",
            "membership_type_id": "f9969952-154d-3500-4cc6-6e5d0b73740e",
            "name": "Standard rate",
            "currency": "GBP",
            "price": 5000,
            "joining_fee": 1000,
            "billing_frequency": "P1M",
            "processors": [
              "nisi",
              "est",
              "in ad fugiat",
              "proident"
            ],
            "default_duration": "P1Y",
            "private": true,
            "created_at": "1931-04-04T03:31:01.0Z",
            "updated_at": "1931-01-09T09:13:07.0Z"
          }
        ],
        "revenue_schedule": "FREQ=WEEKLY",
        "created_at": "1907-03-30T13:39:14.0Z",
        "updated_at": "1950-01-16T10:17:54.0Z",
        "deleted_at": "1914-09-30T04:52:39.0Z"
      },
      "payment_details_url": "cupidatat ut non",
      "created_at": "1939-09-17T02:01:01.0Z"
    }
  ],
  "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": "ba714c9e-c9b9-c4ee-1dee-a625d5212cb9",
    "first_name": "Jane",
    "last_name": "Doe",
    "full_name": "Jane Doe",
    "phone": "+447900000000",
    "has_password": true,
    "dob": "1932-01-31",
    "brand_id": "f8d4ec52-3b50-6e09-147d-1788290a18b9",
    "site_id": "3aa20d31-27ca-9844-c677-522ab1e11fe4",
    "stripe_id": "cus_1234567890",
    "express_stripe_id": "cus_1234567890",
    "email": "janedoe@example.com",
    "labels": [
      {
        "id": "20431326-e85a-e6bb-5782-3801abad4b98",
        "value": "VIP",
        "colour": "ff6634"
      }
    ],
    "preferred_locale": "en",
    "locked_at": "1952-07-19T19:05:15.0Z",
    "created_at": "1930-08-08T02:42:01.0Z",
    "updated_at": "1958-06-08T17:20:28.0Z",
    "deleted_at": "1962-02-07T04:17:54.0Z",
    "last_active_at": "1930-07-25T10:44:11.0Z",
    "email_verified_at": "1954-03-15T16:48:42.0Z",
    "last_check_in": {
      "checked_in_at": "1922-03-07T22:21:38.0Z",
      "method": "Scanned"
    },
    "avatar_id": "000000-000000-000000-000000",
    "avatar": {
      "id": "2b2e4c0b-47cd-4722-8f0b-34aa3eb5a3e5",
      "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": "Duis"
  }
}
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": "054bb4a4-1b2e-828e-f278-2442e71470ec",
    "first_name": "Jane",
    "last_name": "Doe",
    "full_name": "Jane Doe",
    "phone": "+447900000000",
    "has_password": true,
    "dob": "1890-05-14",
    "brand_id": "86691d6b-9e7f-ecfc-13b9-87c97de9e6ba",
    "site_id": "ac8c5158-e426-daa6-84c4-2abf19b7a1ff",
    "stripe_id": "cus_1234567890",
    "express_stripe_id": "cus_1234567890",
    "email": "janedoe@example.com",
    "labels": [
      {
        "id": "8c460c2b-c28a-e471-e276-2de950b13a3f",
        "value": "VIP",
        "colour": "ff6634"
      },
      {
        "id": "b7908392-fe90-e0b6-7a14-eca0db60942a",
        "value": "VIP",
        "colour": "ff6634"
      }
    ],
    "preferred_locale": "en",
    "locked_at": "1969-01-13T03:06:59.0Z",
    "created_at": "1948-05-02T07:48:17.0Z",
    "updated_at": "1928-07-29T04:07:01.0Z",
    "deleted_at": "1944-05-02T08:47:59.0Z",
    "last_active_at": "1962-12-29T16:15:28.0Z",
    "email_verified_at": "1895-11-10T06:19:08.0Z",
    "last_check_in": {
      "checked_in_at": "1955-06-03T03:25:43.0Z",
      "method": "Scanned"
    },
    "avatar_id": "000000-000000-000000-000000",
    "avatar": {
      "id": "b16cee23-e0a1-d843-b6d3-c2bf55a5fe85",
      "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": "ex adipisicing aliqua"
  }
}
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": "92f9303a-3f0a-c9e6-b730-1cc372112477",
    "first_name": "Jane",
    "last_name": "Doe",
    "full_name": "Jane Doe",
    "phone": "+447900000000",
    "has_password": true,
    "dob": "1924-07-04",
    "brand_id": "00282947-7b61-7323-25be-c91010664d4f",
    "site_id": "78b18578-aead-446b-f1bd-5ffbc4a6c8ca",
    "stripe_id": "cus_1234567890",
    "express_stripe_id": "cus_1234567890",
    "email": "janedoe@example.com",
    "labels": [
      {
        "id": "92c2b195-757b-cd8e-8f65-c7fe3c2b709c",
        "value": "VIP",
        "colour": "ff6634"
      },
      {
        "id": "68db0d47-e75e-427c-e4ee-89aa9909b7c8",
        "value": "VIP",
        "colour": "ff6634"
      },
      {
        "id": "e892a7e9-9347-8187-1700-022178d9d456",
        "value": "VIP",
        "colour": "ff6634"
      },
      {
        "id": "0e63b8d8-d255-f0bd-5925-cbc8cfed9fce",
        "value": "VIP",
        "colour": "ff6634"
      }
    ],
    "preferred_locale": "en",
    "locked_at": "1929-10-17T17:12:12.0Z",
    "created_at": "1907-04-09T04:05:36.0Z",
    "updated_at": "1898-03-23T06:59:18.0Z",
    "deleted_at": "1904-02-22T01:44:05.0Z",
    "last_active_at": "1966-12-27T05:29:48.0Z",
    "email_verified_at": "1915-06-13T01:58:06.0Z",
    "last_check_in": {
      "checked_in_at": "1938-06-19T01:41:08.0Z",
      "method": "Scanned"
    },
    "avatar_id": "000000-000000-000000-000000",
    "avatar": {
      "id": "b94d6539-efc7-5022-a7f7-c7fac77017f2",
      "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": "ut in et dolor"
  }
}
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": "54c67eb8-02ac-b055-67c3-f7da467d462d",
    "first_name": "Jane",
    "last_name": "Doe",
    "full_name": "Jane Doe",
    "phone": "+447900000000",
    "has_password": true,
    "dob": "1917-10-15",
    "brand_id": "1416b062-9960-3382-faa7-b90c332ae701",
    "site_id": "896113ba-983f-0e52-4042-de6531ab8ac1",
    "stripe_id": "cus_1234567890",
    "express_stripe_id": "cus_1234567890",
    "email": "janedoe@example.com",
    "labels": [
      {
        "id": "13bebd6e-5baf-5c04-de5d-1cce02fa5d60",
        "value": "VIP",
        "colour": "ff6634"
      },
      {
        "id": "c3e664b3-a04d-4578-4e96-28175e291002",
        "value": "VIP",
        "colour": "ff6634"
      },
      {
        "id": "e5a7fd7f-becd-1d0e-92a2-19eafd0f5078",
        "value": "VIP",
        "colour": "ff6634"
      }
    ],
    "preferred_locale": "en",
    "locked_at": "1906-04-07T05:16:18.0Z",
    "created_at": "1945-10-08T11:35:15.0Z",
    "updated_at": "1916-04-09T10:13:58.0Z",
    "deleted_at": "1955-03-18T18:36:23.0Z",
    "last_active_at": "1937-10-03T18:38:07.0Z",
    "email_verified_at": "1955-04-22T08:26:34.0Z",
    "last_check_in": {
      "checked_in_at": "1922-01-26T03:04:56.0Z",
      "method": "Scanned"
    },
    "avatar_id": "000000-000000-000000-000000",
    "avatar": {
      "id": "65bc10af-e1f9-dddf-c3dc-ffbee39f878f",
      "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": "incididunt pariatur Duis anim"
  }
}
404
example response
{
  "message": "The requested resource could not be found"
}