{"info":{"name":"Tue Distributor API v2.0","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","description":"Distributor API provides catalogue, availability, reservation and order operations for an authenticated distribution.\n\nStart with Introduction to set up your connection, then follow Authentication and the read or booking workflow you need.\n\n# Introduction\n\nUse Products, Categories, Destinations and Locations to explore your catalogue, then Availability to select a sellable date and product type. In v2, Recommendations has its own resource section. Follow Reservations and Orders to create a booking.\n\nThis is a read-only reference. Use [Postman](/postman/v2) to execute requests or download [OpenAPI](/openapi/v2.0) for tooling. Examples are synthetic: replace IDs, dates, references and checkout answers with values returned for your account.\n\n## API versions\n\nYou are reading the latest version, v2.0.\n\n| Version | Reference | OpenAPI | Postman |\n| --- | --- | --- | --- |\n| v2.0 — latest and default | [Open v2.0](/docs/v2.0) | [Download OpenAPI v2.0](/openapi/v2.0) | [Download Postman v2.0](/postman/v2) |\n| v1.0 — legacy | [Open v1.0](/docs/v1.0) | [Download OpenAPI v1.0](/openapi/v1.0) | [Download Postman v1.0](/postman/v1) |\n\nThe service root and `/docs` open v2.0. Choose v1.0 explicitly when maintaining an existing v1 integration. This page documents path version `v2.0`; its JSON request and response envelope uses `api_version=2.0.0`. A collection targets its own contract: changing its version variable does not convert it into the other version.\n\nv2 adds recommendations, invoices and receipts. v1 also exposes POST to release a voucher.\n\n## Environments and request URLs\n\nChoose one HTTPS origin for your environment. The two domains in each row address the same environment and use the same API paths. Test and production credentials and data are separate.\n\n| Environment | Domain | Alternate domain |\n| --- | --- | --- |\n| Test | `https://distributor-test.tuexperiencia.com` | `https://distributor-api.test.tue.services` |\n| Production | `https://distributor-live.tuexperiencia.com` | `https://distributor-api.tue.services` |\n\nBuild a versioned request as **server origin + /version + operation path**. Keep the origin without a trailing slash or version suffix, and include the version exactly once:\n\n```text\nhttps://distributor-api.test.tue.services + /v2.0 + /products\n= https://distributor-api.test.tue.services/v2.0/products\n```\n\nFor example, these product requests use equivalent domains in test. Authentication follows the same version prefix:\n\n```http\nGET https://distributor-test.tuexperiencia.com/v2.0/products\nGET https://distributor-api.test.tue.services/v2.0/products\nPOST https://distributor-api.test.tue.services/v2.0/oauth2/token\n```\n\nThis reference includes `v2.0` directly in operation paths so you can copy them. Switching to the other API reference changes those paths and examples to its version. API requests must always include their version; the v2.0 default applies to the reference page.\n\nSystem routes are unversioned: for example, `GET https://distributor-api.test.tue.services/system/status`. The metrics route is also unversioned, subject to access controls.\n\nIn Postman, set `base_url` to either origin for your environment and `version` to `v2.0`. Requests combine `{{base_url}}` with the `:version` path variable and the operation path. Import the matching collection when switching API versions.\n\n## Quick start\n\n1. Set `base_url` to the environment origin, without a version suffix. Set the Postman `version` variable to `v2.0`. Test and production credentials and data are independent.\n2. Call unversioned `GET /system/status`, without authentication. A 200 response confirms that the process serves HTTP; it does not check every dependency.\n3. Call `POST /v2.0/oauth2/token` with JSON `{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}`. Save `access_token` and send `Authorization: Bearer <access_token>` on protected requests.\n4. List products, choose a product, and list availability with `product_id` and `from_date`. Preserve the exact product, product-type and availability IDs.\n5. Create a reservation, collect any checkout answers, update it and confirm it through Orders. Log out when finished.\n\n## Authentication\n\nLogin accepts a JSON username and password; `grant_type` can be omitted or set to `password`. The HTTP Basic alternative requires a Basic header and the JSON body `{\"grant_type\":\"client_credentials\"}`. Empty and form-urlencoded bodies are not accepted. Both formats use the same API account. Login does not issue an API key, and public Distributor routes do not accept `X-API-Key` or a `key` query credential.\n\nThe account and its assigned distribution must be active. Distribution selectors filter or confirm the permitted context; they do not expand access. Keep credentials and tokens separate between environments.\n\n`GET /v2.0/users/me` returns the authenticated account identity. After logout, discard the saved access token and clear the client cookie. A 401 requires a new authenticated session before retrying.\n\n## Reservation and confirmation\n\n- `POST /reservations` temporarily holds inventory. Use a current calendar date and product, type and availability IDs returned by the read operations.\n- Save `data.reservation.reservation_reference` and its version when supplied. Send the current version on updates that require optimistic concurrency.\n- In v2, collect `reservation_checkout_fields` returned by the reservation. Submit their IDs and `checkout_field_values` through `PUT /reservations/{reservation_reference}`, retaining participant or transaction references. Products can also require options, a booking language or pickup details.\n- `POST /orders` with `booking_option_type=CONFIRM_RESERVATION` and `reservation_reference` confirms the reservation. `DIRECT_BOOKING` instead supplies product details and any required `order_checkout_fields` directly.\n- Save `data.order.order_reference` and read the order to verify its state. Confirmation does not prove payment, and cancellation does not prove a refund. Reconcile state and external references before retrying a mutation after an ambiguous timeout.\n\nThe collection saves returned tokens, references and versions. Booking and payment commands are skipped until `allow_mutations=true`; then execute the operations for your chosen workflow in order. Cancelling a reservation and confirming that same reservation are alternative paths.\n\n## Documents and payments\n\nDownload vouchers using `Accept: application/json` for a download URL or `Accept: application/pdf` for the PDF where that format is available. Voucher release rules depend on the order; `force_release=true` returns 422 when release is not allowed.\n\nInvoice and receipt downloads require an already issued document in the authenticated distribution. These operations do not issue a new document. A 404 can mean that the document does not exist or is outside the account's scope.\n\nUse the payment operations required by your settlement method. Confirming an order does not prove that payment was collected, and cancelling an order does not by itself prove a refund. Check the resulting payment and order state.\n\n## Pagination, languages and prices\n\nPaginated lists use `items_per_page` and either `page` or `start_index`. Indexes start at 1. Follow response metadata rather than inferring totals from one page. Each operation lists its own supported filters.\n\n`product_content_language` selects content, while `product_currency_code` requests a commercial currency where supported. Preserve decimal amounts as strings and currency codes such as EUR. Use reservation prices for confirmation rather than reconstructing them from catalogue prices. Visibility, language and currency rules follow the distribution configuration.\n\n## Errors and recovery\n\nPublic errors include `error`, `error_description`, `error_message`, `error_reference` and, where applicable, `errors`. Error codes are extensible. Use HTTP status to choose recovery and retain the reference for diagnosis.\n\n| Status | Action |\n| --- | --- |\n| 400 / 422 | Correct parameters, JSON, checkout answers or operation constraints |\n| 401 | Authenticate again with credentials for this environment |\n| 403 / 404 | Check distribution scope, visibility and the resource reference |\n| 409 | Read the current version and state before retrying a mutation |\n| 429 | Respect Retry-After, expressed as seconds or an HTTP date; otherwise use bounded exponential backoff with jitter |\n| 501 | The operation is not available for this account or resource |\n| 502 / 503 / 504 | The request could not be completed; reconcile ambiguous mutations before retrying |\n\nLocal defaults allow 1000 requests per IP in 60 seconds and 60 client-error responses per IP in 60 seconds, with a 60-second default block. Environment configuration can override these values. System and documentation paths are excluded. Responses marked `X-Cache: HIT` do not consume the general counter; client errors still consume their error counter. Other API limits may also return 429. Respect the returned error code and Retry-After when supplied.\n\n## Operation availability\n\nThe reference retains the established operation names and contract surface. Operations marked **Not available in this API release** are included for reference. Their Postman requests are skipped automatically.\n"},"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{access_token}}","type":"string"}]},"variable":[{"key":"base_url","value":"https://distributor-test.tuexperiencia.com","type":"string","description":"Target origin without a trailing slash or version suffix. Choose either domain for your environment in Introduction: Environments and request URLs."},{"key":"version","value":"v2.0","type":"string","description":"Path version matching this contract."},{"key":"username","value":"","type":"string","description":"Exact API account email for this environment."},{"key":"password","value":"","type":"string","description":"Private password; leave empty in exports."},{"key":"access_token","value":"","type":"string","description":"Saved after successful login; cleared after logout."},{"key":"login_mode","value":"password","type":"string","description":"password or basic; selects one login for a runner."},{"key":"allow_mutations","value":"false","type":"string","description":"Set true to send booking/payment mutations deliberately."},{"key":"distributor_id","value":"","type":"string","description":"Public distribution ID permitted for this account."},{"key":"product_id","value":"","type":"string","description":"Numeric product ID returned by Products."},{"key":"product_type_id","value":"","type":"string","description":"Exact product type ID for the selected product."},{"key":"availability_id","value":"","type":"string","description":"Exact product availability ID for the selected date and type."},{"key":"from_date","value":"2027-06-15","type":"string","description":"Replace with a date in the current product calendar."},{"key":"to_date","value":"2027-06-16","type":"string","description":"Optional end of the availability window."},{"key":"booking_travel_date","value":"2027-06-15T10:00:00Z","type":"string","description":"Replace with the selected slot date and time."},{"key":"reservation_reference","value":"","type":"string","description":"Saved from reservation responses."},{"key":"reservation_version","value":"1","type":"string","description":"Current reservation version, updated when returned."},{"key":"order_reference","value":"","type":"string","description":"Saved from order responses."},{"key":"order_version","value":"1","type":"string","description":"Current order version, updated when returned."},{"key":"payment_reference","value":"","type":"string","description":"Payment reference used by receipt reads."},{"key":"promocode","value":"","type":"string","description":"Promotion code applicable to this reservation."}],"item":[{"name":"Authentication","description":"Obtain an access token with either of these two request formats. Both use the same API account and return the same token response.\n\n| Mode | Credentials | Required JSON body | Postman request |\n| --- | --- | --- | --- |\n| JSON body | `username` and `password` in the body | `{\"username\":\"...\",\"password\":\"...\"}` | Login for access token |\n| HTTP Basic header | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` | Login for access token - HTTP Basic |\n\n## Credentials in the JSON body\n\nSend the username and password as JSON, without a Basic Authorization header. `grant_type` can be omitted or set to `password`.\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n```sh\ncurl --request POST 'https://distributor-test.tuexperiencia.com/v2.0/oauth2/token' \\\n  --header 'Content-Type: application/json' \\\n  --data '{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}'\n```\n\n## Credentials in the Authorization header\n\nSend HTTP Basic credentials in the Authorization header. Encode the exact `username:password` pair using Base64, or let your HTTP client's Basic Auth helper generate the header. The credentials are in the header; the JSON body still needs `grant_type=client_credentials`.\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\n```sh\ncurl --request POST 'https://distributor-test.tuexperiencia.com/v2.0/oauth2/token' \\\n  --header 'Content-Type: application/json' \\\n  --user 'api-user@example.com:your-private-password' \\\n  --data '{\"grant_type\":\"client_credentials\"}'\n```\n\ncurl's `--user` option generates the Basic Authorization header automatically. Do not send an empty body or a form-urlencoded body for either mode.\n\n## Use the returned token\n\nSave `access_token` from a successful response and send `Authorization: Bearer <access_token>` on protected requests. Basic authentication is used to obtain the token; protected business requests use the returned bearer token.\n\nPostman provides both login requests in Authentication. Set `login_mode=password` or `login_mode=basic` to select the corresponding request in a collection run. Both save the returned token automatically.","item":[{"name":"Login for access token","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"noauth"},"body":{"mode":"raw","raw":"{\n  \"username\": \"{{username}}\",\n  \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"name":"200 - Authenticated","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"noauth"},"body":{"mode":"raw","raw":"{\n  \"username\": \"{{username}}\",\n  \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"access_token\": \"SYNTHETIC_TOKEN_NOT_VALID\",\n  \"token_type\": \"Bearer\",\n  \"expires_in\": 3600\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"noauth"},"body":{"mode":"raw","raw":"{\n  \"username\": \"{{username}}\",\n  \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Invalid account credentials or inactive account context.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"noauth"},"body":{"mode":"raw","raw":"{\n  \"username\": \"{{username}}\",\n  \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNAUTHORIZED\",\n  \"error_description\": \"Invalid account credentials or inactive account context.\",\n  \"error_message\": \"Invalid account credentials or inactive account context.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"noauth"},"body":{"mode":"raw","raw":"{\n  \"username\": \"{{username}}\",\n  \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"409 - Check current resource state and version before retrying.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"noauth"},"body":{"mode":"raw","raw":"{\n  \"username\": \"{{username}}\",\n  \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"CONFLICT\",\n  \"error_description\": \"Check current resource state and version before retrying.\",\n  \"error_message\": \"Check current resource state and version before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"noauth"},"body":{"mode":"raw","raw":"{\n  \"username\": \"{{username}}\",\n  \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"noauth"},"body":{"mode":"raw","raw":"{\n  \"username\": \"{{username}}\",\n  \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"noauth"},"body":{"mode":"raw","raw":"{\n  \"username\": \"{{username}}\",\n  \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"noauth"},"body":{"mode":"raw","raw":"{\n  \"username\": \"{{username}}\",\n  \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"noauth"},"body":{"mode":"raw","raw":"{\n  \"username\": \"{{username}}\",\n  \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"noauth"},"body":{"mode":"raw","raw":"{\n  \"username\": \"{{username}}\",\n  \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"noauth"},"body":{"mode":"raw","raw":"{\n  \"username\": \"{{username}}\",\n  \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}}},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["if (pm.collectionVariables.get('login_mode') === 'basic') pm.execution.skipRequest();"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.collectionVariables.set('access_token', '');"]}},{"listen":"test","script":{"type":"text/javascript","exec":["if (pm.response.code === 200) { const body = pm.response.json(); pm.test('Token response', () => { pm.expect(body.access_token).to.be.a('string').and.not.empty; pm.expect(body.expires_in).to.be.a('number').and.above(0); }); if (typeof body.access_token === 'string' && body.access_token) pm.collectionVariables.set('access_token', body.access_token); }"]}}]},{"name":"Login for access token - HTTP Basic","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"basic","basic":[{"key":"username","value":"{{username}}","type":"string"},{"key":"password","value":"{{password}}","type":"string"}]},"body":{"mode":"raw","raw":"{\n  \"grant_type\": \"client_credentials\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"name":"200 - Authenticated","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"basic","basic":[{"key":"username","value":"{{username}}","type":"string"},{"key":"password","value":"{{password}}","type":"string"}]},"body":{"mode":"raw","raw":"{\n  \"grant_type\": \"client_credentials\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"access_token\": \"SYNTHETIC_TOKEN_NOT_VALID\",\n  \"token_type\": \"Bearer\",\n  \"expires_in\": 3600\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"basic","basic":[{"key":"username","value":"{{username}}","type":"string"},{"key":"password","value":"{{password}}","type":"string"}]},"body":{"mode":"raw","raw":"{\n  \"grant_type\": \"client_credentials\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Invalid account credentials or inactive account context.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"basic","basic":[{"key":"username","value":"{{username}}","type":"string"},{"key":"password","value":"{{password}}","type":"string"}]},"body":{"mode":"raw","raw":"{\n  \"grant_type\": \"client_credentials\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNAUTHORIZED\",\n  \"error_description\": \"Invalid account credentials or inactive account context.\",\n  \"error_message\": \"Invalid account credentials or inactive account context.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"basic","basic":[{"key":"username","value":"{{username}}","type":"string"},{"key":"password","value":"{{password}}","type":"string"}]},"body":{"mode":"raw","raw":"{\n  \"grant_type\": \"client_credentials\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"409 - Check current resource state and version before retrying.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"basic","basic":[{"key":"username","value":"{{username}}","type":"string"},{"key":"password","value":"{{password}}","type":"string"}]},"body":{"mode":"raw","raw":"{\n  \"grant_type\": \"client_credentials\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"CONFLICT\",\n  \"error_description\": \"Check current resource state and version before retrying.\",\n  \"error_message\": \"Check current resource state and version before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"basic","basic":[{"key":"username","value":"{{username}}","type":"string"},{"key":"password","value":"{{password}}","type":"string"}]},"body":{"mode":"raw","raw":"{\n  \"grant_type\": \"client_credentials\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"basic","basic":[{"key":"username","value":"{{username}}","type":"string"},{"key":"password","value":"{{password}}","type":"string"}]},"body":{"mode":"raw","raw":"{\n  \"grant_type\": \"client_credentials\"\n}","options":{"raw":{"language":"json"}}}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"basic","basic":[{"key":"username","value":"{{username}}","type":"string"},{"key":"password","value":"{{password}}","type":"string"}]},"body":{"mode":"raw","raw":"{\n  \"grant_type\": \"client_credentials\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"basic","basic":[{"key":"username","value":"{{username}}","type":"string"},{"key":"password","value":"{{password}}","type":"string"}]},"body":{"mode":"raw","raw":"{\n  \"grant_type\": \"client_credentials\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"basic","basic":[{"key":"username","value":"{{username}}","type":"string"},{"key":"password","value":"{{password}}","type":"string"}]},"body":{"mode":"raw","raw":"{\n  \"grant_type\": \"client_credentials\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"basic","basic":[{"key":"username","value":"{{username}}","type":"string"},{"key":"password","value":"{{password}}","type":"string"}]},"body":{"mode":"raw","raw":"{\n  \"grant_type\": \"client_credentials\"\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/token","host":["{{base_url}}"],"path":[":version","oauth2","token"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Obtain an access token using either of these modes:\n\n| Mode | Authorization header | JSON body |\n| --- | --- | --- |\n| JSON credentials | Omit Basic authentication | `{\"username\":\"...\",\"password\":\"...\"}` |\n| HTTP Basic credentials | `Authorization: Basic <base64(username:password)>` | `{\"grant_type\":\"client_credentials\"}` |\n\nFor HTTP Basic, the JSON grant body is required even though the credentials are sent in the header. Empty and form-urlencoded bodies are unsupported. Both modes return the same token response.\n\n### JSON body credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nContent-Type: application/json\n\n{\"username\":\"api-user@example.com\",\"password\":\"your-private-password\"}\n```\n\n### HTTP Basic header credentials\n\n```http\nPOST /v2.0/oauth2/token HTTP/1.1\nAuthorization: Basic <base64(username:password)>\nContent-Type: application/json\n\n{\"grant_type\":\"client_credentials\"}\n```\n\nSee the JSON body and HTTP Basic request samples for complete curl commands.","auth":{"type":"basic","basic":[{"key":"username","value":"{{username}}","type":"string"},{"key":"password","value":"{{password}}","type":"string"}]},"body":{"mode":"raw","raw":"{\n  \"grant_type\": \"client_credentials\"\n}","options":{"raw":{"language":"json"}}}},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["if (pm.collectionVariables.get('login_mode') !== 'basic') pm.execution.skipRequest();"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.collectionVariables.set('access_token', '');"]}},{"listen":"test","script":{"type":"text/javascript","exec":["if (pm.response.code === 200) { const body = pm.response.json(); pm.test('Token response', () => { pm.expect(body.access_token).to.be.a('string').and.not.empty; pm.expect(body.expires_in).to.be.a('number').and.above(0); }); if (typeof body.access_token === 'string' && body.access_token) pm.collectionVariables.set('access_token', body.access_token); }"]}}]},{"name":"Get current user","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/users/me","host":["{{base_url}}"],"path":[":version","users","me"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Return the currently authenticated account identity."},"response":[{"name":"200 - Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/users/me","host":["{{base_url}}"],"path":[":version","users","me"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Return the currently authenticated account identity."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"status\": \"success\",\n  \"data\": {\n    \"user\": {\n      \"id\": \"00000000-0000-4000-8000-000000000002\",\n      \"email\": \"api-user@example.com\",\n      \"role\": \"API\",\n      \"email_verified\": true,\n      \"active\": true\n    }\n  }\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/users/me","host":["{{base_url}}"],"path":[":version","users","me"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Return the currently authenticated account identity."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/users/me","host":["{{base_url}}"],"path":[":version","users","me"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Return the currently authenticated account identity."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/users/me","host":["{{base_url}}"],"path":[":version","users","me"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Return the currently authenticated account identity."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/users/me","host":["{{base_url}}"],"path":[":version","users","me"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Return the currently authenticated account identity."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/users/me","host":["{{base_url}}"],"path":[":version","users","me"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Return the currently authenticated account identity."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/users/me","host":["{{base_url}}"],"path":[":version","users","me"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Return the currently authenticated account identity."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/users/me","host":["{{base_url}}"],"path":[":version","users","me"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Return the currently authenticated account identity."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/users/me","host":["{{base_url}}"],"path":[":version","users","me"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Return the currently authenticated account identity."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/users/me","host":["{{base_url}}"],"path":[":version","users","me"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Return the currently authenticated account identity."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/users/me","host":["{{base_url}}"],"path":[":version","users","me"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Return the currently authenticated account identity."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]}]},{"name":"Products","description":"Manage and retrieve all your products.\n- View your inventory.\n- Get tax information.\n- Extensive search and filter.\n- Retrieve availability and capacity.\n- Get product ratings and reviews.\n\n In most cases, this content is periodically cached on the partner end, but these API endpoints are also optimized for direct front-end use.\n","item":[{"name":"List Products","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"[CONFIG] content language to return in the response.\n\nLanguages use ISO-639-1. If the requested language is unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es and es in product_content_languages. Existing translations remain authoritative. Content-Language: es is emitted only when every item on a nonempty page uses the corrected Spanish fallback."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"[CONFIG] currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"product_content","value":"tour museum amsterdam","disabled":true,"description":"[FILTER] on product content.\n\nSearches the fields:\n  + `product_id`(Upcoming)\n  + `product_title`\n  + `product_short_description`\n  + `product_long_description`\n  + `product_supplier_name`\n  + `product_highlights`\n  + `product_includes`\n  \nRegex used: '(?is)^(?=.*\\\\b(query1.*)\\\\b)(?=.*\\\\b(query2.*)\\\\b).*'\n\n  + Case insensitive.\n  + Positive lookaheads and word boundaries to make word order not matter and to recognize word spacing."},{"key":"product_start_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_start_date`."},{"key":"product_end_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_end_date`."},{"key":"product_duration","value":"90","disabled":true,"description":"[FILTER] on `product_duration`. (Minutes)"},{"key":"product_booking_quantity_min","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_min`."},{"key":"product_booking_quantity_max","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_max`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_supplier","value":"[\"PRODUCT_SUPPLIER_ID\"]","disabled":true,"description":"[FILTER] on `product_supplier_id`."},{"key":"product_category","value":"[\"PRODUCT_CATEGORY_ID_123\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"product_destination","value":"[\"PRODUCT_DESTINATION_ID_123\"]","disabled":true,"description":"[FILTER] on destinations (`destination_id`)."},{"key":"product_tag","value":"[\"PRODUCT_TAG\"]","disabled":true,"description":"[FILTER] on Tag. \n\nCombination of `product_tag_id`, `product_tag_description` and `product_tag_group`."},{"key":"product_language","value":"[\"en\"]","disabled":true,"description":"[FILTER] on available product languages. \n\nLanguages are defined in [ISO-639-1](https://en.wikipedia.org/wiki/ISO_639-1) format. \n\nProducts without a language value will not be returned."},{"key":"product_location_id","value":"[\"PRODUCT_LOCATION_ID\"]","disabled":true,"description":"[FILTER] on `location_id`."},{"key":"product_location_country_code","value":"[\"NL\"]","disabled":true,"description":"[FILTER] on country ( [ISO-3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},{"key":"product_custom_fields","value":"EXAMPLE","disabled":true,"description":"See the operation contract; values depend on your distribution and provider."},{"key":"product_type","value":"[\"ADULT\",\"CHILD\"]","disabled":true,"description":"[FILTER] on Product Type (`product_type`)."},{"key":"product_availability","value":"true","disabled":true,"description":"[FILTER] Include products with capacity (`product_availability:true`)."},{"key":"product_favorite","value":"false","disabled":true,"description":"[FILTER] Return `product_favorite:true` only."},{"key":"product_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on products modified after the given date. \n\n* This includes newly created products.\n* Deleted products are ignored and should be handled manually.\n\nFor caching purposes we recommend using the `If-Modified-Since` header instead."},{"key":"product_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. \n\nThis API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"product_sort_by","value":"PRODUCT_CREATED","disabled":true,"description":"[SORT] method.\n<details>\n  <summary>**Sort Methods**</summary>\n\nSort Methods:\n* `PRODUCT_CREATED` - Sort on `product_created`.\n* `PRODUCT_MODIFIED` - Sort on `product_modified`.\n* `PRODUCT_TITLE_A_Z` - Sort on `product_title`.\n* `SUPPLIER_NAME_A_Z` - Sort on `product_supplier_name`.\n* `LOCATION_NAME_A_Z` - Sort on `location_name`.\n* `PRICE_VALUE` - Sort on `product_from_price`.\n\n  Price is sorted based on the current season.\n\n* `DISCOUNT_VALUE` - (Upcoming)\n* `SEARCH_RELEVANCE` - Search results are sorted on match relevance. \n\n  This sorting method should only be used during wildcard (`product_search_query`) searches.\n  \n  If `product_search_query` is empty, it will fallback to `CUSTOM`.\n\n* `CUSTOM` - Custom sort as defined in the catalogues.\n\n  If no custom sorting has been configured it will fallback to `PRODUCT_MODIFIED`.\n\n</details>"},{"key":"product_sort_order","value":"ASC","disabled":true,"description":"[SORT] keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the products in the Tue system per distributor.\nExtensive filtering is available but do note that certain filters might affect performance.\n> By default only the latest revision will be returned."},"response":[{"name":"200 - Product List Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"[CONFIG] content language to return in the response.\n\nLanguages use ISO-639-1. If the requested language is unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es and es in product_content_languages. Existing translations remain authoritative. Content-Language: es is emitted only when every item on a nonempty page uses the corrected Spanish fallback."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"[CONFIG] currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"product_content","value":"tour museum amsterdam","disabled":true,"description":"[FILTER] on product content.\n\nSearches the fields:\n  + `product_id`(Upcoming)\n  + `product_title`\n  + `product_short_description`\n  + `product_long_description`\n  + `product_supplier_name`\n  + `product_highlights`\n  + `product_includes`\n  \nRegex used: '(?is)^(?=.*\\\\b(query1.*)\\\\b)(?=.*\\\\b(query2.*)\\\\b).*'\n\n  + Case insensitive.\n  + Positive lookaheads and word boundaries to make word order not matter and to recognize word spacing."},{"key":"product_start_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_start_date`."},{"key":"product_end_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_end_date`."},{"key":"product_duration","value":"90","disabled":true,"description":"[FILTER] on `product_duration`. (Minutes)"},{"key":"product_booking_quantity_min","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_min`."},{"key":"product_booking_quantity_max","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_max`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_supplier","value":"[\"PRODUCT_SUPPLIER_ID\"]","disabled":true,"description":"[FILTER] on `product_supplier_id`."},{"key":"product_category","value":"[\"PRODUCT_CATEGORY_ID_123\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"product_destination","value":"[\"PRODUCT_DESTINATION_ID_123\"]","disabled":true,"description":"[FILTER] on destinations (`destination_id`)."},{"key":"product_tag","value":"[\"PRODUCT_TAG\"]","disabled":true,"description":"[FILTER] on Tag. \n\nCombination of `product_tag_id`, `product_tag_description` and `product_tag_group`."},{"key":"product_language","value":"[\"en\"]","disabled":true,"description":"[FILTER] on available product languages. \n\nLanguages are defined in [ISO-639-1](https://en.wikipedia.org/wiki/ISO_639-1) format. \n\nProducts without a language value will not be returned."},{"key":"product_location_id","value":"[\"PRODUCT_LOCATION_ID\"]","disabled":true,"description":"[FILTER] on `location_id`."},{"key":"product_location_country_code","value":"[\"NL\"]","disabled":true,"description":"[FILTER] on country ( [ISO-3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},{"key":"product_custom_fields","value":"EXAMPLE","disabled":true,"description":"See the operation contract; values depend on your distribution and provider."},{"key":"product_type","value":"[\"ADULT\",\"CHILD\"]","disabled":true,"description":"[FILTER] on Product Type (`product_type`)."},{"key":"product_availability","value":"true","disabled":true,"description":"[FILTER] Include products with capacity (`product_availability:true`)."},{"key":"product_favorite","value":"false","disabled":true,"description":"[FILTER] Return `product_favorite:true` only."},{"key":"product_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on products modified after the given date. \n\n* This includes newly created products.\n* Deleted products are ignored and should be handled manually.\n\nFor caching purposes we recommend using the `If-Modified-Since` header instead."},{"key":"product_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. \n\nThis API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"product_sort_by","value":"PRODUCT_CREATED","disabled":true,"description":"[SORT] method.\n<details>\n  <summary>**Sort Methods**</summary>\n\nSort Methods:\n* `PRODUCT_CREATED` - Sort on `product_created`.\n* `PRODUCT_MODIFIED` - Sort on `product_modified`.\n* `PRODUCT_TITLE_A_Z` - Sort on `product_title`.\n* `SUPPLIER_NAME_A_Z` - Sort on `product_supplier_name`.\n* `LOCATION_NAME_A_Z` - Sort on `location_name`.\n* `PRICE_VALUE` - Sort on `product_from_price`.\n\n  Price is sorted based on the current season.\n\n* `DISCOUNT_VALUE` - (Upcoming)\n* `SEARCH_RELEVANCE` - Search results are sorted on match relevance. \n\n  This sorting method should only be used during wildcard (`product_search_query`) searches.\n  \n  If `product_search_query` is empty, it will fallback to `CUSTOM`.\n\n* `CUSTOM` - Custom sort as defined in the catalogues.\n\n  If no custom sorting has been configured it will fallback to `PRODUCT_MODIFIED`.\n\n</details>"},{"key":"product_sort_order","value":"ASC","disabled":true,"description":"[SORT] keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the products in the Tue system per distributor.\nExtensive filtering is available but do note that certain filters might affect performance.\n> By default only the latest revision will be returned."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"product\",\n    \"current_item_count\": 1,\n    \"items_per_page\": 10,\n    \"start_index\": 1,\n    \"total_items\": 1,\n    \"page_index\": 1,\n    \"total_pages\": 1,\n    \"items\": [\n      {\n        \"product_id\": \"10001\",\n        \"product_external_id\": \"PRODUCT_EXTERNAL_ID_123\",\n        \"product_internal_reference\": \"PRODUCT_INTERNAL_REF\",\n        \"product_platform_id\": \"1\",\n        \"product_platform_name\": \"Platform Name\",\n        \"product_distributor_id\": \"501\",\n        \"product_distributor_name\": \"Demo Distributor\",\n        \"product_reseller_id\": \"1300\",\n        \"product_reseller_name\": \"Demo reseller\",\n        \"product_market_admin_id\": \"345345342\",\n        \"product_market_admin_name\": \"Test Market Admin\",\n        \"product_supplier_admin_id\": \"PRODUCT_SUPPLIER_ADMIN_ID\",\n        \"product_supplier_admin_name\": \"Supplier Admin Name\",\n        \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n        \"product_source_id\": \"34564574\",\n        \"product_source_name\": \"Example source\",\n        \"product_contract_source_id\": \"string\",\n        \"product_contract_source_name\": \"Example source\",\n        \"product_default_language\": \"en\",\n        \"product_version\": 1,\n        \"product_color\": \"#b9f2ff\",\n        \"product_slug\": \"westminster-to-greenwich-sightseeing-cruise-t71379\",\n        \"product_supplier_url\": \"https://example.com/\",\n        \"product_supplier_key_public\": \"b7064e02-37a5-9ce5-ff63-b7536b364102\",\n        \"product_from_price\": \"16.40\",\n        \"product_start_date\": \"2019-08-24T14:15:22Z\",\n        \"product_end_date\": \"2019-08-24T14:15:22Z\",\n        \"product_booking_start_date\": \"2019-08-24T14:15:22Z\",\n        \"product_booking_end_date\": \"2019-08-24T14:15:22Z\",\n        \"product_booking_advance_time_min\": 60,\n        \"product_booking_advance_time_max\": 1440,\n        \"product_booking_quantity_min\": 1,\n        \"product_booking_quantity_max\": 5,\n        \"product_turnout_time\": 15,\n        \"product_duration\": 90,\n        \"product_show_capacity_count\": 25,\n        \"product_third_party\": false,\n        \"product_seasonal_pricing\": true,\n        \"product_quantity_pricing\": true,\n        \"product_daily_pricing\": true,\n        \"product_dynamic_pricing\": true,\n        \"product_relation_details_visible\": true,\n        \"product_timepicker_visible\": true,\n        \"product_sub_only\": false,\n        \"product_cluster\": true,\n        \"product_combi\": true,\n        \"product_bundle\": true,\n        \"product_addon\": true,\n        \"product_availability\": true,\n        \"product_availability_assigned\": true,\n        \"product_capacity\": true,\n        \"product_traveldate_required\": false,\n        \"product_cancellation_allowed\": true,\n        \"product_overbooking_allowed\": false,\n        \"product_past_date_booking_allowed\": true,\n        \"product_capacity_id\": \"43525235\",\n        \"product_capacity_shared_id\": \"435252453\",\n        \"product_capacity_type\": \"OWN\",\n        \"product_admission_type\": \"TIME_PERIOD\",\n        \"product_catalogue_status\": \"ACTIVE\",\n        \"product_pickup_point\": \"MANDATORY\",\n        \"product_pickup_point_details\": [\n          {\n            \"pickup_point_id\": \"PICKUP_POINT_ID_123\",\n            \"pickup_point_name\": \"Walkingtour at the Wyndham Apollo Hotel\",\n            \"pickup_point_type\": \"FIXED\",\n            \"pickup_point_description\": \"Meet at the Wyndham Apollo hotel.\",\n            \"pickup_point_location\": \"LOCATION_ID_123\",\n            \"pickup_point_time\": \"10:00\",\n            \"pickup_point_times\": [\n              \"10:00\"\n            ],\n            \"pickup_point_duration\": 30,\n            \"pickup_point_availability_dependency\": false\n          }\n        ],\n        \"product_content\": {\n          \"product_title\": \"Test Product\",\n          \"product_supplier_name\": \"Test Museum\",\n          \"product_duration_text\": \"1.5 hour\",\n          \"product_short_description\": \"Rijksmuseum Entrance product + Multimediatour\",\n          \"product_long_description\": \"Experience a beautiful evening cruise during the Amsterdam Light Festival without queueing up. Besides a place on a date and time of your choice, this cruise also includes a drink and a snack.\",\n          \"product_additional_information\": \"Some additional information.\",\n          \"product_entry_notes\": \"Reconfirmation: Please call or email atleast 72 hour in advance to reconfirm your arrival.\",\n          \"product_booking_url\": \"https://example.com/productABC\",\n          \"product_landing_page_view_url\": \"https://example.com\",\n          \"product_favorite\": false,\n          \"product_rating\": {\n            \"rating_number\": 4544,\n            \"rating_value\": 4.3\n          },\n          \"product_highlights\": [\n            {\n              \"highlight_description\": \"Audio commentary in 21 languages through our Personal Audio System.\",\n              \"highlight_type\": \"SLOGAN\",\n              \"highlight_icon\": \"https://example.com/products/145/img_1445586351_test1445593536.jpg\"\n            }\n          ],\n          \"product_includes\": [\n            {\n              \"include_name\": \"Drinks\",\n              \"include_description\": \"Free non-alcoholic beverages\",\n              \"include_icon\": \"https://example.com/products/145/img_1445586351_test1445593536.jpg\"\n            }\n          ],\n          \"product_excludes\": [\n            {\n              \"exclude_name\": \"Drinks\",\n              \"exclude_description\": \"Alcoholic beverages\",\n              \"exclude_icon\": \"https://example.com/products/145/img_1445586351_test1445593536.jpg\"\n            }\n          ],\n          \"product_marketing_labels\": [\n            \"Popular\"\n          ],\n          \"product_images\": [\n            {\n              \"image_from_date\": \"2019-08-24T14:15:22Z\",\n              \"image_till_date\": \"2019-08-24T14:15:22Z\",\n              \"image_type\": \"BANNER\",\n              \"image_format\": \"JPG\",\n              \"image_size\": \"ORIGINAL\",\n              \"image_url\": \"https://example.com/products/145/img_1445586351_test1445593536.jpg\"\n            }\n          ]\n        },\n        \"product_redemption_rules\": {\n          \"redemption_has_duration\": true,\n          \"redemption_duration_time\": 86400,\n          \"redemption_duration_type\": \"SCAN\",\n          \"redemption_count_type\": \"LIMITED\",\n          \"redemption_count_value\": 5\n        },\n        \"product_code_settings\": {\n          \"product_code_format\": \"QR_CODE\",\n          \"product_code_source\": \"Distributor\",\n          \"product_group_code\": true,\n          \"product_combi_code\": true,\n          \"product_city_card\": false,\n          \"product_voucher_settings\": \"SINGLE\",\n          \"product_code_release_date\": \"2019-08-24T14:15:22Z\",\n          \"product_code_release_details\": [\n            \"ORDER_CONFIRMATION\"\n          ]\n        },\n        \"product_payment_detail\": {\n          \"product_payment_type\": \"REQUIRED\",\n          \"product_payment_currency\": {\n            \"currency_code\": \"EUR\",\n            \"currency_language_code\": \"en\",\n            \"currency_region_code\": \"US\",\n            \"currency_symbol\": \"string\",\n            \"currency_symbol_position\": \"LEFT\",\n            \"currency_decimal_digits\": 2,\n            \"currency_decimal_delimiter\": \".\",\n            \"currency_thousand_delimiter\": \",\",\n            \"currency_space_between_amount_and_symbol\": true\n          }\n        },\n        \"product_type_seasons\": [],\n        \"product_options\": [],\n        \"product_cancellation_policies\": [],\n        \"product_opening_times\": [],\n        \"product_currencies\": [\n          {\n            \"product_id\": \"10001\",\n            \"product_currency_code\": \"USD\"\n          }\n        ],\n        \"product_flags\": [\n          {\n            \"flag_id\": \"223425262\",\n            \"flag_name\": \"Stock Code\",\n            \"flag_type\": \"FLAG\",\n            \"flag_value_id\": \"123BCa1\",\n            \"flag_value\": \"123BCa1\",\n            \"flag_visible\": true\n          }\n        ],\n        \"product_block_out_dates\": [],\n        \"product_special_dates\": [],\n        \"product_locations\": [],\n        \"product_cluster_details\": [],\n        \"product_combi_details\": [],\n        \"product_bundle_details\": [],\n        \"product_addon_details\": [],\n        \"product_categories\": [\n          \"PRODUCT_CATEGORY_ID_123\"\n        ],\n        \"product_destinations\": [\n          \"PRODUCT_DESTINATION_ID_123\"\n        ],\n        \"product_languages\": [\n          \"en\",\n          \"es\",\n          \"jp\"\n        ],\n        \"product_content_languages\": [\n          \"en\",\n          \"nl\"\n        ],\n        \"product_guide_languages\": [\n          {\n            \"language_codes\": [\n              \"nl\"\n            ],\n            \"language_type\": \"GUIDE_AUDIO\"\n          }\n        ],\n        \"product_routes\": [\n          \"PRODUCT_ROUTE_ID_123\"\n        ],\n        \"product_notes\": [\n          {\n            \"note_value\": \"Wheelchair assistance required.\",\n            \"note_type\": \"GUEST\",\n            \"note_date\": \"2019-08-24T14:15:22Z\",\n            \"note_creator\": \"Andrew (Supervisor)\"\n          }\n        ],\n        \"product_google_categories\": \"string\",\n        \"product_custom_fields\": [\n          {\n            \"custom_field_name\": \"Custom Field Name\",\n            \"custom_field_value\": \"Custom Field Value\",\n            \"custom_field_type\": \"SYSTEM\"\n          }\n        ],\n        \"product_created\": \"2019-08-24T14:15:22Z\",\n        \"product_created_name\": \"cashier@example.com\",\n        \"product_created_email\": \"cashier@example.com\",\n        \"product_modified\": \"2019-08-24T14:15:22Z\",\n        \"product_modified_name\": \"cashier@example.com\",\n        \"product_modified_email\": \"cashier@example.com\"\n      }\n    ]\n  }\n}"},{"name":"304 - Not Modified\n\nThe HTTP 304 Not Modified client redirection response code indicates that there is no need to retransmit the requested resources. It is an implicit redirection to a cached resource. This happens when the request method is safe, like a GET or a HEAD request, or when the request is conditional and uses a `If-None-Match` or a `If-Modified-Since` header.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"[CONFIG] content language to return in the response.\n\nLanguages use ISO-639-1. If the requested language is unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es and es in product_content_languages. Existing translations remain authoritative. Content-Language: es is emitted only when every item on a nonempty page uses the corrected Spanish fallback."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"[CONFIG] currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"product_content","value":"tour museum amsterdam","disabled":true,"description":"[FILTER] on product content.\n\nSearches the fields:\n  + `product_id`(Upcoming)\n  + `product_title`\n  + `product_short_description`\n  + `product_long_description`\n  + `product_supplier_name`\n  + `product_highlights`\n  + `product_includes`\n  \nRegex used: '(?is)^(?=.*\\\\b(query1.*)\\\\b)(?=.*\\\\b(query2.*)\\\\b).*'\n\n  + Case insensitive.\n  + Positive lookaheads and word boundaries to make word order not matter and to recognize word spacing."},{"key":"product_start_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_start_date`."},{"key":"product_end_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_end_date`."},{"key":"product_duration","value":"90","disabled":true,"description":"[FILTER] on `product_duration`. (Minutes)"},{"key":"product_booking_quantity_min","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_min`."},{"key":"product_booking_quantity_max","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_max`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_supplier","value":"[\"PRODUCT_SUPPLIER_ID\"]","disabled":true,"description":"[FILTER] on `product_supplier_id`."},{"key":"product_category","value":"[\"PRODUCT_CATEGORY_ID_123\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"product_destination","value":"[\"PRODUCT_DESTINATION_ID_123\"]","disabled":true,"description":"[FILTER] on destinations (`destination_id`)."},{"key":"product_tag","value":"[\"PRODUCT_TAG\"]","disabled":true,"description":"[FILTER] on Tag. \n\nCombination of `product_tag_id`, `product_tag_description` and `product_tag_group`."},{"key":"product_language","value":"[\"en\"]","disabled":true,"description":"[FILTER] on available product languages. \n\nLanguages are defined in [ISO-639-1](https://en.wikipedia.org/wiki/ISO_639-1) format. \n\nProducts without a language value will not be returned."},{"key":"product_location_id","value":"[\"PRODUCT_LOCATION_ID\"]","disabled":true,"description":"[FILTER] on `location_id`."},{"key":"product_location_country_code","value":"[\"NL\"]","disabled":true,"description":"[FILTER] on country ( [ISO-3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},{"key":"product_custom_fields","value":"EXAMPLE","disabled":true,"description":"See the operation contract; values depend on your distribution and provider."},{"key":"product_type","value":"[\"ADULT\",\"CHILD\"]","disabled":true,"description":"[FILTER] on Product Type (`product_type`)."},{"key":"product_availability","value":"true","disabled":true,"description":"[FILTER] Include products with capacity (`product_availability:true`)."},{"key":"product_favorite","value":"false","disabled":true,"description":"[FILTER] Return `product_favorite:true` only."},{"key":"product_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on products modified after the given date. \n\n* This includes newly created products.\n* Deleted products are ignored and should be handled manually.\n\nFor caching purposes we recommend using the `If-Modified-Since` header instead."},{"key":"product_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. \n\nThis API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"product_sort_by","value":"PRODUCT_CREATED","disabled":true,"description":"[SORT] method.\n<details>\n  <summary>**Sort Methods**</summary>\n\nSort Methods:\n* `PRODUCT_CREATED` - Sort on `product_created`.\n* `PRODUCT_MODIFIED` - Sort on `product_modified`.\n* `PRODUCT_TITLE_A_Z` - Sort on `product_title`.\n* `SUPPLIER_NAME_A_Z` - Sort on `product_supplier_name`.\n* `LOCATION_NAME_A_Z` - Sort on `location_name`.\n* `PRICE_VALUE` - Sort on `product_from_price`.\n\n  Price is sorted based on the current season.\n\n* `DISCOUNT_VALUE` - (Upcoming)\n* `SEARCH_RELEVANCE` - Search results are sorted on match relevance. \n\n  This sorting method should only be used during wildcard (`product_search_query`) searches.\n  \n  If `product_search_query` is empty, it will fallback to `CUSTOM`.\n\n* `CUSTOM` - Custom sort as defined in the catalogues.\n\n  If no custom sorting has been configured it will fallback to `PRODUCT_MODIFIED`.\n\n</details>"},{"key":"product_sort_order","value":"ASC","disabled":true,"description":"[SORT] keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the products in the Tue system per distributor.\nExtensive filtering is available but do note that certain filters might affect performance.\n> By default only the latest revision will be returned."},"status":"Not Modified","code":304,"header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"body":""},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"[CONFIG] content language to return in the response.\n\nLanguages use ISO-639-1. If the requested language is unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es and es in product_content_languages. Existing translations remain authoritative. Content-Language: es is emitted only when every item on a nonempty page uses the corrected Spanish fallback."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"[CONFIG] currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"product_content","value":"tour museum amsterdam","disabled":true,"description":"[FILTER] on product content.\n\nSearches the fields:\n  + `product_id`(Upcoming)\n  + `product_title`\n  + `product_short_description`\n  + `product_long_description`\n  + `product_supplier_name`\n  + `product_highlights`\n  + `product_includes`\n  \nRegex used: '(?is)^(?=.*\\\\b(query1.*)\\\\b)(?=.*\\\\b(query2.*)\\\\b).*'\n\n  + Case insensitive.\n  + Positive lookaheads and word boundaries to make word order not matter and to recognize word spacing."},{"key":"product_start_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_start_date`."},{"key":"product_end_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_end_date`."},{"key":"product_duration","value":"90","disabled":true,"description":"[FILTER] on `product_duration`. (Minutes)"},{"key":"product_booking_quantity_min","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_min`."},{"key":"product_booking_quantity_max","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_max`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_supplier","value":"[\"PRODUCT_SUPPLIER_ID\"]","disabled":true,"description":"[FILTER] on `product_supplier_id`."},{"key":"product_category","value":"[\"PRODUCT_CATEGORY_ID_123\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"product_destination","value":"[\"PRODUCT_DESTINATION_ID_123\"]","disabled":true,"description":"[FILTER] on destinations (`destination_id`)."},{"key":"product_tag","value":"[\"PRODUCT_TAG\"]","disabled":true,"description":"[FILTER] on Tag. \n\nCombination of `product_tag_id`, `product_tag_description` and `product_tag_group`."},{"key":"product_language","value":"[\"en\"]","disabled":true,"description":"[FILTER] on available product languages. \n\nLanguages are defined in [ISO-639-1](https://en.wikipedia.org/wiki/ISO_639-1) format. \n\nProducts without a language value will not be returned."},{"key":"product_location_id","value":"[\"PRODUCT_LOCATION_ID\"]","disabled":true,"description":"[FILTER] on `location_id`."},{"key":"product_location_country_code","value":"[\"NL\"]","disabled":true,"description":"[FILTER] on country ( [ISO-3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},{"key":"product_custom_fields","value":"EXAMPLE","disabled":true,"description":"See the operation contract; values depend on your distribution and provider."},{"key":"product_type","value":"[\"ADULT\",\"CHILD\"]","disabled":true,"description":"[FILTER] on Product Type (`product_type`)."},{"key":"product_availability","value":"true","disabled":true,"description":"[FILTER] Include products with capacity (`product_availability:true`)."},{"key":"product_favorite","value":"false","disabled":true,"description":"[FILTER] Return `product_favorite:true` only."},{"key":"product_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on products modified after the given date. \n\n* This includes newly created products.\n* Deleted products are ignored and should be handled manually.\n\nFor caching purposes we recommend using the `If-Modified-Since` header instead."},{"key":"product_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. \n\nThis API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"product_sort_by","value":"PRODUCT_CREATED","disabled":true,"description":"[SORT] method.\n<details>\n  <summary>**Sort Methods**</summary>\n\nSort Methods:\n* `PRODUCT_CREATED` - Sort on `product_created`.\n* `PRODUCT_MODIFIED` - Sort on `product_modified`.\n* `PRODUCT_TITLE_A_Z` - Sort on `product_title`.\n* `SUPPLIER_NAME_A_Z` - Sort on `product_supplier_name`.\n* `LOCATION_NAME_A_Z` - Sort on `location_name`.\n* `PRICE_VALUE` - Sort on `product_from_price`.\n\n  Price is sorted based on the current season.\n\n* `DISCOUNT_VALUE` - (Upcoming)\n* `SEARCH_RELEVANCE` - Search results are sorted on match relevance. \n\n  This sorting method should only be used during wildcard (`product_search_query`) searches.\n  \n  If `product_search_query` is empty, it will fallback to `CUSTOM`.\n\n* `CUSTOM` - Custom sort as defined in the catalogues.\n\n  If no custom sorting has been configured it will fallback to `PRODUCT_MODIFIED`.\n\n</details>"},{"key":"product_sort_order","value":"ASC","disabled":true,"description":"[SORT] keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the products in the Tue system per distributor.\nExtensive filtering is available but do note that certain filters might affect performance.\n> By default only the latest revision will be returned."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"[CONFIG] content language to return in the response.\n\nLanguages use ISO-639-1. If the requested language is unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es and es in product_content_languages. Existing translations remain authoritative. Content-Language: es is emitted only when every item on a nonempty page uses the corrected Spanish fallback."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"[CONFIG] currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"product_content","value":"tour museum amsterdam","disabled":true,"description":"[FILTER] on product content.\n\nSearches the fields:\n  + `product_id`(Upcoming)\n  + `product_title`\n  + `product_short_description`\n  + `product_long_description`\n  + `product_supplier_name`\n  + `product_highlights`\n  + `product_includes`\n  \nRegex used: '(?is)^(?=.*\\\\b(query1.*)\\\\b)(?=.*\\\\b(query2.*)\\\\b).*'\n\n  + Case insensitive.\n  + Positive lookaheads and word boundaries to make word order not matter and to recognize word spacing."},{"key":"product_start_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_start_date`."},{"key":"product_end_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_end_date`."},{"key":"product_duration","value":"90","disabled":true,"description":"[FILTER] on `product_duration`. (Minutes)"},{"key":"product_booking_quantity_min","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_min`."},{"key":"product_booking_quantity_max","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_max`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_supplier","value":"[\"PRODUCT_SUPPLIER_ID\"]","disabled":true,"description":"[FILTER] on `product_supplier_id`."},{"key":"product_category","value":"[\"PRODUCT_CATEGORY_ID_123\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"product_destination","value":"[\"PRODUCT_DESTINATION_ID_123\"]","disabled":true,"description":"[FILTER] on destinations (`destination_id`)."},{"key":"product_tag","value":"[\"PRODUCT_TAG\"]","disabled":true,"description":"[FILTER] on Tag. \n\nCombination of `product_tag_id`, `product_tag_description` and `product_tag_group`."},{"key":"product_language","value":"[\"en\"]","disabled":true,"description":"[FILTER] on available product languages. \n\nLanguages are defined in [ISO-639-1](https://en.wikipedia.org/wiki/ISO_639-1) format. \n\nProducts without a language value will not be returned."},{"key":"product_location_id","value":"[\"PRODUCT_LOCATION_ID\"]","disabled":true,"description":"[FILTER] on `location_id`."},{"key":"product_location_country_code","value":"[\"NL\"]","disabled":true,"description":"[FILTER] on country ( [ISO-3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},{"key":"product_custom_fields","value":"EXAMPLE","disabled":true,"description":"See the operation contract; values depend on your distribution and provider."},{"key":"product_type","value":"[\"ADULT\",\"CHILD\"]","disabled":true,"description":"[FILTER] on Product Type (`product_type`)."},{"key":"product_availability","value":"true","disabled":true,"description":"[FILTER] Include products with capacity (`product_availability:true`)."},{"key":"product_favorite","value":"false","disabled":true,"description":"[FILTER] Return `product_favorite:true` only."},{"key":"product_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on products modified after the given date. \n\n* This includes newly created products.\n* Deleted products are ignored and should be handled manually.\n\nFor caching purposes we recommend using the `If-Modified-Since` header instead."},{"key":"product_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. \n\nThis API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"product_sort_by","value":"PRODUCT_CREATED","disabled":true,"description":"[SORT] method.\n<details>\n  <summary>**Sort Methods**</summary>\n\nSort Methods:\n* `PRODUCT_CREATED` - Sort on `product_created`.\n* `PRODUCT_MODIFIED` - Sort on `product_modified`.\n* `PRODUCT_TITLE_A_Z` - Sort on `product_title`.\n* `SUPPLIER_NAME_A_Z` - Sort on `product_supplier_name`.\n* `LOCATION_NAME_A_Z` - Sort on `location_name`.\n* `PRICE_VALUE` - Sort on `product_from_price`.\n\n  Price is sorted based on the current season.\n\n* `DISCOUNT_VALUE` - (Upcoming)\n* `SEARCH_RELEVANCE` - Search results are sorted on match relevance. \n\n  This sorting method should only be used during wildcard (`product_search_query`) searches.\n  \n  If `product_search_query` is empty, it will fallback to `CUSTOM`.\n\n* `CUSTOM` - Custom sort as defined in the catalogues.\n\n  If no custom sorting has been configured it will fallback to `PRODUCT_MODIFIED`.\n\n</details>"},{"key":"product_sort_order","value":"ASC","disabled":true,"description":"[SORT] keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the products in the Tue system per distributor.\nExtensive filtering is available but do note that certain filters might affect performance.\n> By default only the latest revision will be returned."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"[CONFIG] content language to return in the response.\n\nLanguages use ISO-639-1. If the requested language is unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es and es in product_content_languages. Existing translations remain authoritative. Content-Language: es is emitted only when every item on a nonempty page uses the corrected Spanish fallback."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"[CONFIG] currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"product_content","value":"tour museum amsterdam","disabled":true,"description":"[FILTER] on product content.\n\nSearches the fields:\n  + `product_id`(Upcoming)\n  + `product_title`\n  + `product_short_description`\n  + `product_long_description`\n  + `product_supplier_name`\n  + `product_highlights`\n  + `product_includes`\n  \nRegex used: '(?is)^(?=.*\\\\b(query1.*)\\\\b)(?=.*\\\\b(query2.*)\\\\b).*'\n\n  + Case insensitive.\n  + Positive lookaheads and word boundaries to make word order not matter and to recognize word spacing."},{"key":"product_start_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_start_date`."},{"key":"product_end_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_end_date`."},{"key":"product_duration","value":"90","disabled":true,"description":"[FILTER] on `product_duration`. (Minutes)"},{"key":"product_booking_quantity_min","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_min`."},{"key":"product_booking_quantity_max","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_max`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_supplier","value":"[\"PRODUCT_SUPPLIER_ID\"]","disabled":true,"description":"[FILTER] on `product_supplier_id`."},{"key":"product_category","value":"[\"PRODUCT_CATEGORY_ID_123\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"product_destination","value":"[\"PRODUCT_DESTINATION_ID_123\"]","disabled":true,"description":"[FILTER] on destinations (`destination_id`)."},{"key":"product_tag","value":"[\"PRODUCT_TAG\"]","disabled":true,"description":"[FILTER] on Tag. \n\nCombination of `product_tag_id`, `product_tag_description` and `product_tag_group`."},{"key":"product_language","value":"[\"en\"]","disabled":true,"description":"[FILTER] on available product languages. \n\nLanguages are defined in [ISO-639-1](https://en.wikipedia.org/wiki/ISO_639-1) format. \n\nProducts without a language value will not be returned."},{"key":"product_location_id","value":"[\"PRODUCT_LOCATION_ID\"]","disabled":true,"description":"[FILTER] on `location_id`."},{"key":"product_location_country_code","value":"[\"NL\"]","disabled":true,"description":"[FILTER] on country ( [ISO-3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},{"key":"product_custom_fields","value":"EXAMPLE","disabled":true,"description":"See the operation contract; values depend on your distribution and provider."},{"key":"product_type","value":"[\"ADULT\",\"CHILD\"]","disabled":true,"description":"[FILTER] on Product Type (`product_type`)."},{"key":"product_availability","value":"true","disabled":true,"description":"[FILTER] Include products with capacity (`product_availability:true`)."},{"key":"product_favorite","value":"false","disabled":true,"description":"[FILTER] Return `product_favorite:true` only."},{"key":"product_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on products modified after the given date. \n\n* This includes newly created products.\n* Deleted products are ignored and should be handled manually.\n\nFor caching purposes we recommend using the `If-Modified-Since` header instead."},{"key":"product_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. \n\nThis API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"product_sort_by","value":"PRODUCT_CREATED","disabled":true,"description":"[SORT] method.\n<details>\n  <summary>**Sort Methods**</summary>\n\nSort Methods:\n* `PRODUCT_CREATED` - Sort on `product_created`.\n* `PRODUCT_MODIFIED` - Sort on `product_modified`.\n* `PRODUCT_TITLE_A_Z` - Sort on `product_title`.\n* `SUPPLIER_NAME_A_Z` - Sort on `product_supplier_name`.\n* `LOCATION_NAME_A_Z` - Sort on `location_name`.\n* `PRICE_VALUE` - Sort on `product_from_price`.\n\n  Price is sorted based on the current season.\n\n* `DISCOUNT_VALUE` - (Upcoming)\n* `SEARCH_RELEVANCE` - Search results are sorted on match relevance. \n\n  This sorting method should only be used during wildcard (`product_search_query`) searches.\n  \n  If `product_search_query` is empty, it will fallback to `CUSTOM`.\n\n* `CUSTOM` - Custom sort as defined in the catalogues.\n\n  If no custom sorting has been configured it will fallback to `PRODUCT_MODIFIED`.\n\n</details>"},{"key":"product_sort_order","value":"ASC","disabled":true,"description":"[SORT] keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the products in the Tue system per distributor.\nExtensive filtering is available but do note that certain filters might affect performance.\n> By default only the latest revision will be returned."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"[CONFIG] content language to return in the response.\n\nLanguages use ISO-639-1. If the requested language is unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es and es in product_content_languages. Existing translations remain authoritative. Content-Language: es is emitted only when every item on a nonempty page uses the corrected Spanish fallback."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"[CONFIG] currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"product_content","value":"tour museum amsterdam","disabled":true,"description":"[FILTER] on product content.\n\nSearches the fields:\n  + `product_id`(Upcoming)\n  + `product_title`\n  + `product_short_description`\n  + `product_long_description`\n  + `product_supplier_name`\n  + `product_highlights`\n  + `product_includes`\n  \nRegex used: '(?is)^(?=.*\\\\b(query1.*)\\\\b)(?=.*\\\\b(query2.*)\\\\b).*'\n\n  + Case insensitive.\n  + Positive lookaheads and word boundaries to make word order not matter and to recognize word spacing."},{"key":"product_start_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_start_date`."},{"key":"product_end_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_end_date`."},{"key":"product_duration","value":"90","disabled":true,"description":"[FILTER] on `product_duration`. (Minutes)"},{"key":"product_booking_quantity_min","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_min`."},{"key":"product_booking_quantity_max","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_max`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_supplier","value":"[\"PRODUCT_SUPPLIER_ID\"]","disabled":true,"description":"[FILTER] on `product_supplier_id`."},{"key":"product_category","value":"[\"PRODUCT_CATEGORY_ID_123\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"product_destination","value":"[\"PRODUCT_DESTINATION_ID_123\"]","disabled":true,"description":"[FILTER] on destinations (`destination_id`)."},{"key":"product_tag","value":"[\"PRODUCT_TAG\"]","disabled":true,"description":"[FILTER] on Tag. \n\nCombination of `product_tag_id`, `product_tag_description` and `product_tag_group`."},{"key":"product_language","value":"[\"en\"]","disabled":true,"description":"[FILTER] on available product languages. \n\nLanguages are defined in [ISO-639-1](https://en.wikipedia.org/wiki/ISO_639-1) format. \n\nProducts without a language value will not be returned."},{"key":"product_location_id","value":"[\"PRODUCT_LOCATION_ID\"]","disabled":true,"description":"[FILTER] on `location_id`."},{"key":"product_location_country_code","value":"[\"NL\"]","disabled":true,"description":"[FILTER] on country ( [ISO-3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},{"key":"product_custom_fields","value":"EXAMPLE","disabled":true,"description":"See the operation contract; values depend on your distribution and provider."},{"key":"product_type","value":"[\"ADULT\",\"CHILD\"]","disabled":true,"description":"[FILTER] on Product Type (`product_type`)."},{"key":"product_availability","value":"true","disabled":true,"description":"[FILTER] Include products with capacity (`product_availability:true`)."},{"key":"product_favorite","value":"false","disabled":true,"description":"[FILTER] Return `product_favorite:true` only."},{"key":"product_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on products modified after the given date. \n\n* This includes newly created products.\n* Deleted products are ignored and should be handled manually.\n\nFor caching purposes we recommend using the `If-Modified-Since` header instead."},{"key":"product_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. \n\nThis API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"product_sort_by","value":"PRODUCT_CREATED","disabled":true,"description":"[SORT] method.\n<details>\n  <summary>**Sort Methods**</summary>\n\nSort Methods:\n* `PRODUCT_CREATED` - Sort on `product_created`.\n* `PRODUCT_MODIFIED` - Sort on `product_modified`.\n* `PRODUCT_TITLE_A_Z` - Sort on `product_title`.\n* `SUPPLIER_NAME_A_Z` - Sort on `product_supplier_name`.\n* `LOCATION_NAME_A_Z` - Sort on `location_name`.\n* `PRICE_VALUE` - Sort on `product_from_price`.\n\n  Price is sorted based on the current season.\n\n* `DISCOUNT_VALUE` - (Upcoming)\n* `SEARCH_RELEVANCE` - Search results are sorted on match relevance. \n\n  This sorting method should only be used during wildcard (`product_search_query`) searches.\n  \n  If `product_search_query` is empty, it will fallback to `CUSTOM`.\n\n* `CUSTOM` - Custom sort as defined in the catalogues.\n\n  If no custom sorting has been configured it will fallback to `PRODUCT_MODIFIED`.\n\n</details>"},{"key":"product_sort_order","value":"ASC","disabled":true,"description":"[SORT] keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the products in the Tue system per distributor.\nExtensive filtering is available but do note that certain filters might affect performance.\n> By default only the latest revision will be returned."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"[CONFIG] content language to return in the response.\n\nLanguages use ISO-639-1. If the requested language is unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es and es in product_content_languages. Existing translations remain authoritative. Content-Language: es is emitted only when every item on a nonempty page uses the corrected Spanish fallback."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"[CONFIG] currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"product_content","value":"tour museum amsterdam","disabled":true,"description":"[FILTER] on product content.\n\nSearches the fields:\n  + `product_id`(Upcoming)\n  + `product_title`\n  + `product_short_description`\n  + `product_long_description`\n  + `product_supplier_name`\n  + `product_highlights`\n  + `product_includes`\n  \nRegex used: '(?is)^(?=.*\\\\b(query1.*)\\\\b)(?=.*\\\\b(query2.*)\\\\b).*'\n\n  + Case insensitive.\n  + Positive lookaheads and word boundaries to make word order not matter and to recognize word spacing."},{"key":"product_start_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_start_date`."},{"key":"product_end_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_end_date`."},{"key":"product_duration","value":"90","disabled":true,"description":"[FILTER] on `product_duration`. (Minutes)"},{"key":"product_booking_quantity_min","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_min`."},{"key":"product_booking_quantity_max","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_max`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_supplier","value":"[\"PRODUCT_SUPPLIER_ID\"]","disabled":true,"description":"[FILTER] on `product_supplier_id`."},{"key":"product_category","value":"[\"PRODUCT_CATEGORY_ID_123\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"product_destination","value":"[\"PRODUCT_DESTINATION_ID_123\"]","disabled":true,"description":"[FILTER] on destinations (`destination_id`)."},{"key":"product_tag","value":"[\"PRODUCT_TAG\"]","disabled":true,"description":"[FILTER] on Tag. \n\nCombination of `product_tag_id`, `product_tag_description` and `product_tag_group`."},{"key":"product_language","value":"[\"en\"]","disabled":true,"description":"[FILTER] on available product languages. \n\nLanguages are defined in [ISO-639-1](https://en.wikipedia.org/wiki/ISO_639-1) format. \n\nProducts without a language value will not be returned."},{"key":"product_location_id","value":"[\"PRODUCT_LOCATION_ID\"]","disabled":true,"description":"[FILTER] on `location_id`."},{"key":"product_location_country_code","value":"[\"NL\"]","disabled":true,"description":"[FILTER] on country ( [ISO-3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},{"key":"product_custom_fields","value":"EXAMPLE","disabled":true,"description":"See the operation contract; values depend on your distribution and provider."},{"key":"product_type","value":"[\"ADULT\",\"CHILD\"]","disabled":true,"description":"[FILTER] on Product Type (`product_type`)."},{"key":"product_availability","value":"true","disabled":true,"description":"[FILTER] Include products with capacity (`product_availability:true`)."},{"key":"product_favorite","value":"false","disabled":true,"description":"[FILTER] Return `product_favorite:true` only."},{"key":"product_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on products modified after the given date. \n\n* This includes newly created products.\n* Deleted products are ignored and should be handled manually.\n\nFor caching purposes we recommend using the `If-Modified-Since` header instead."},{"key":"product_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. \n\nThis API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"product_sort_by","value":"PRODUCT_CREATED","disabled":true,"description":"[SORT] method.\n<details>\n  <summary>**Sort Methods**</summary>\n\nSort Methods:\n* `PRODUCT_CREATED` - Sort on `product_created`.\n* `PRODUCT_MODIFIED` - Sort on `product_modified`.\n* `PRODUCT_TITLE_A_Z` - Sort on `product_title`.\n* `SUPPLIER_NAME_A_Z` - Sort on `product_supplier_name`.\n* `LOCATION_NAME_A_Z` - Sort on `location_name`.\n* `PRICE_VALUE` - Sort on `product_from_price`.\n\n  Price is sorted based on the current season.\n\n* `DISCOUNT_VALUE` - (Upcoming)\n* `SEARCH_RELEVANCE` - Search results are sorted on match relevance. \n\n  This sorting method should only be used during wildcard (`product_search_query`) searches.\n  \n  If `product_search_query` is empty, it will fallback to `CUSTOM`.\n\n* `CUSTOM` - Custom sort as defined in the catalogues.\n\n  If no custom sorting has been configured it will fallback to `PRODUCT_MODIFIED`.\n\n</details>"},{"key":"product_sort_order","value":"ASC","disabled":true,"description":"[SORT] keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the products in the Tue system per distributor.\nExtensive filtering is available but do note that certain filters might affect performance.\n> By default only the latest revision will be returned."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"[CONFIG] content language to return in the response.\n\nLanguages use ISO-639-1. If the requested language is unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es and es in product_content_languages. Existing translations remain authoritative. Content-Language: es is emitted only when every item on a nonempty page uses the corrected Spanish fallback."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"[CONFIG] currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"product_content","value":"tour museum amsterdam","disabled":true,"description":"[FILTER] on product content.\n\nSearches the fields:\n  + `product_id`(Upcoming)\n  + `product_title`\n  + `product_short_description`\n  + `product_long_description`\n  + `product_supplier_name`\n  + `product_highlights`\n  + `product_includes`\n  \nRegex used: '(?is)^(?=.*\\\\b(query1.*)\\\\b)(?=.*\\\\b(query2.*)\\\\b).*'\n\n  + Case insensitive.\n  + Positive lookaheads and word boundaries to make word order not matter and to recognize word spacing."},{"key":"product_start_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_start_date`."},{"key":"product_end_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_end_date`."},{"key":"product_duration","value":"90","disabled":true,"description":"[FILTER] on `product_duration`. (Minutes)"},{"key":"product_booking_quantity_min","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_min`."},{"key":"product_booking_quantity_max","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_max`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_supplier","value":"[\"PRODUCT_SUPPLIER_ID\"]","disabled":true,"description":"[FILTER] on `product_supplier_id`."},{"key":"product_category","value":"[\"PRODUCT_CATEGORY_ID_123\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"product_destination","value":"[\"PRODUCT_DESTINATION_ID_123\"]","disabled":true,"description":"[FILTER] on destinations (`destination_id`)."},{"key":"product_tag","value":"[\"PRODUCT_TAG\"]","disabled":true,"description":"[FILTER] on Tag. \n\nCombination of `product_tag_id`, `product_tag_description` and `product_tag_group`."},{"key":"product_language","value":"[\"en\"]","disabled":true,"description":"[FILTER] on available product languages. \n\nLanguages are defined in [ISO-639-1](https://en.wikipedia.org/wiki/ISO_639-1) format. \n\nProducts without a language value will not be returned."},{"key":"product_location_id","value":"[\"PRODUCT_LOCATION_ID\"]","disabled":true,"description":"[FILTER] on `location_id`."},{"key":"product_location_country_code","value":"[\"NL\"]","disabled":true,"description":"[FILTER] on country ( [ISO-3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},{"key":"product_custom_fields","value":"EXAMPLE","disabled":true,"description":"See the operation contract; values depend on your distribution and provider."},{"key":"product_type","value":"[\"ADULT\",\"CHILD\"]","disabled":true,"description":"[FILTER] on Product Type (`product_type`)."},{"key":"product_availability","value":"true","disabled":true,"description":"[FILTER] Include products with capacity (`product_availability:true`)."},{"key":"product_favorite","value":"false","disabled":true,"description":"[FILTER] Return `product_favorite:true` only."},{"key":"product_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on products modified after the given date. \n\n* This includes newly created products.\n* Deleted products are ignored and should be handled manually.\n\nFor caching purposes we recommend using the `If-Modified-Since` header instead."},{"key":"product_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. \n\nThis API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"product_sort_by","value":"PRODUCT_CREATED","disabled":true,"description":"[SORT] method.\n<details>\n  <summary>**Sort Methods**</summary>\n\nSort Methods:\n* `PRODUCT_CREATED` - Sort on `product_created`.\n* `PRODUCT_MODIFIED` - Sort on `product_modified`.\n* `PRODUCT_TITLE_A_Z` - Sort on `product_title`.\n* `SUPPLIER_NAME_A_Z` - Sort on `product_supplier_name`.\n* `LOCATION_NAME_A_Z` - Sort on `location_name`.\n* `PRICE_VALUE` - Sort on `product_from_price`.\n\n  Price is sorted based on the current season.\n\n* `DISCOUNT_VALUE` - (Upcoming)\n* `SEARCH_RELEVANCE` - Search results are sorted on match relevance. \n\n  This sorting method should only be used during wildcard (`product_search_query`) searches.\n  \n  If `product_search_query` is empty, it will fallback to `CUSTOM`.\n\n* `CUSTOM` - Custom sort as defined in the catalogues.\n\n  If no custom sorting has been configured it will fallback to `PRODUCT_MODIFIED`.\n\n</details>"},{"key":"product_sort_order","value":"ASC","disabled":true,"description":"[SORT] keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the products in the Tue system per distributor.\nExtensive filtering is available but do note that certain filters might affect performance.\n> By default only the latest revision will be returned."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"[CONFIG] content language to return in the response.\n\nLanguages use ISO-639-1. If the requested language is unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es and es in product_content_languages. Existing translations remain authoritative. Content-Language: es is emitted only when every item on a nonempty page uses the corrected Spanish fallback."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"[CONFIG] currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"product_content","value":"tour museum amsterdam","disabled":true,"description":"[FILTER] on product content.\n\nSearches the fields:\n  + `product_id`(Upcoming)\n  + `product_title`\n  + `product_short_description`\n  + `product_long_description`\n  + `product_supplier_name`\n  + `product_highlights`\n  + `product_includes`\n  \nRegex used: '(?is)^(?=.*\\\\b(query1.*)\\\\b)(?=.*\\\\b(query2.*)\\\\b).*'\n\n  + Case insensitive.\n  + Positive lookaheads and word boundaries to make word order not matter and to recognize word spacing."},{"key":"product_start_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_start_date`."},{"key":"product_end_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_end_date`."},{"key":"product_duration","value":"90","disabled":true,"description":"[FILTER] on `product_duration`. (Minutes)"},{"key":"product_booking_quantity_min","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_min`."},{"key":"product_booking_quantity_max","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_max`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_supplier","value":"[\"PRODUCT_SUPPLIER_ID\"]","disabled":true,"description":"[FILTER] on `product_supplier_id`."},{"key":"product_category","value":"[\"PRODUCT_CATEGORY_ID_123\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"product_destination","value":"[\"PRODUCT_DESTINATION_ID_123\"]","disabled":true,"description":"[FILTER] on destinations (`destination_id`)."},{"key":"product_tag","value":"[\"PRODUCT_TAG\"]","disabled":true,"description":"[FILTER] on Tag. \n\nCombination of `product_tag_id`, `product_tag_description` and `product_tag_group`."},{"key":"product_language","value":"[\"en\"]","disabled":true,"description":"[FILTER] on available product languages. \n\nLanguages are defined in [ISO-639-1](https://en.wikipedia.org/wiki/ISO_639-1) format. \n\nProducts without a language value will not be returned."},{"key":"product_location_id","value":"[\"PRODUCT_LOCATION_ID\"]","disabled":true,"description":"[FILTER] on `location_id`."},{"key":"product_location_country_code","value":"[\"NL\"]","disabled":true,"description":"[FILTER] on country ( [ISO-3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},{"key":"product_custom_fields","value":"EXAMPLE","disabled":true,"description":"See the operation contract; values depend on your distribution and provider."},{"key":"product_type","value":"[\"ADULT\",\"CHILD\"]","disabled":true,"description":"[FILTER] on Product Type (`product_type`)."},{"key":"product_availability","value":"true","disabled":true,"description":"[FILTER] Include products with capacity (`product_availability:true`)."},{"key":"product_favorite","value":"false","disabled":true,"description":"[FILTER] Return `product_favorite:true` only."},{"key":"product_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on products modified after the given date. \n\n* This includes newly created products.\n* Deleted products are ignored and should be handled manually.\n\nFor caching purposes we recommend using the `If-Modified-Since` header instead."},{"key":"product_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. \n\nThis API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"product_sort_by","value":"PRODUCT_CREATED","disabled":true,"description":"[SORT] method.\n<details>\n  <summary>**Sort Methods**</summary>\n\nSort Methods:\n* `PRODUCT_CREATED` - Sort on `product_created`.\n* `PRODUCT_MODIFIED` - Sort on `product_modified`.\n* `PRODUCT_TITLE_A_Z` - Sort on `product_title`.\n* `SUPPLIER_NAME_A_Z` - Sort on `product_supplier_name`.\n* `LOCATION_NAME_A_Z` - Sort on `location_name`.\n* `PRICE_VALUE` - Sort on `product_from_price`.\n\n  Price is sorted based on the current season.\n\n* `DISCOUNT_VALUE` - (Upcoming)\n* `SEARCH_RELEVANCE` - Search results are sorted on match relevance. \n\n  This sorting method should only be used during wildcard (`product_search_query`) searches.\n  \n  If `product_search_query` is empty, it will fallback to `CUSTOM`.\n\n* `CUSTOM` - Custom sort as defined in the catalogues.\n\n  If no custom sorting has been configured it will fallback to `PRODUCT_MODIFIED`.\n\n</details>"},{"key":"product_sort_order","value":"ASC","disabled":true,"description":"[SORT] keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the products in the Tue system per distributor.\nExtensive filtering is available but do note that certain filters might affect performance.\n> By default only the latest revision will be returned."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"[CONFIG] content language to return in the response.\n\nLanguages use ISO-639-1. If the requested language is unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es and es in product_content_languages. Existing translations remain authoritative. Content-Language: es is emitted only when every item on a nonempty page uses the corrected Spanish fallback."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"[CONFIG] currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"product_content","value":"tour museum amsterdam","disabled":true,"description":"[FILTER] on product content.\n\nSearches the fields:\n  + `product_id`(Upcoming)\n  + `product_title`\n  + `product_short_description`\n  + `product_long_description`\n  + `product_supplier_name`\n  + `product_highlights`\n  + `product_includes`\n  \nRegex used: '(?is)^(?=.*\\\\b(query1.*)\\\\b)(?=.*\\\\b(query2.*)\\\\b).*'\n\n  + Case insensitive.\n  + Positive lookaheads and word boundaries to make word order not matter and to recognize word spacing."},{"key":"product_start_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_start_date`."},{"key":"product_end_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_end_date`."},{"key":"product_duration","value":"90","disabled":true,"description":"[FILTER] on `product_duration`. (Minutes)"},{"key":"product_booking_quantity_min","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_min`."},{"key":"product_booking_quantity_max","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_max`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_supplier","value":"[\"PRODUCT_SUPPLIER_ID\"]","disabled":true,"description":"[FILTER] on `product_supplier_id`."},{"key":"product_category","value":"[\"PRODUCT_CATEGORY_ID_123\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"product_destination","value":"[\"PRODUCT_DESTINATION_ID_123\"]","disabled":true,"description":"[FILTER] on destinations (`destination_id`)."},{"key":"product_tag","value":"[\"PRODUCT_TAG\"]","disabled":true,"description":"[FILTER] on Tag. \n\nCombination of `product_tag_id`, `product_tag_description` and `product_tag_group`."},{"key":"product_language","value":"[\"en\"]","disabled":true,"description":"[FILTER] on available product languages. \n\nLanguages are defined in [ISO-639-1](https://en.wikipedia.org/wiki/ISO_639-1) format. \n\nProducts without a language value will not be returned."},{"key":"product_location_id","value":"[\"PRODUCT_LOCATION_ID\"]","disabled":true,"description":"[FILTER] on `location_id`."},{"key":"product_location_country_code","value":"[\"NL\"]","disabled":true,"description":"[FILTER] on country ( [ISO-3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},{"key":"product_custom_fields","value":"EXAMPLE","disabled":true,"description":"See the operation contract; values depend on your distribution and provider."},{"key":"product_type","value":"[\"ADULT\",\"CHILD\"]","disabled":true,"description":"[FILTER] on Product Type (`product_type`)."},{"key":"product_availability","value":"true","disabled":true,"description":"[FILTER] Include products with capacity (`product_availability:true`)."},{"key":"product_favorite","value":"false","disabled":true,"description":"[FILTER] Return `product_favorite:true` only."},{"key":"product_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on products modified after the given date. \n\n* This includes newly created products.\n* Deleted products are ignored and should be handled manually.\n\nFor caching purposes we recommend using the `If-Modified-Since` header instead."},{"key":"product_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. \n\nThis API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"product_sort_by","value":"PRODUCT_CREATED","disabled":true,"description":"[SORT] method.\n<details>\n  <summary>**Sort Methods**</summary>\n\nSort Methods:\n* `PRODUCT_CREATED` - Sort on `product_created`.\n* `PRODUCT_MODIFIED` - Sort on `product_modified`.\n* `PRODUCT_TITLE_A_Z` - Sort on `product_title`.\n* `SUPPLIER_NAME_A_Z` - Sort on `product_supplier_name`.\n* `LOCATION_NAME_A_Z` - Sort on `location_name`.\n* `PRICE_VALUE` - Sort on `product_from_price`.\n\n  Price is sorted based on the current season.\n\n* `DISCOUNT_VALUE` - (Upcoming)\n* `SEARCH_RELEVANCE` - Search results are sorted on match relevance. \n\n  This sorting method should only be used during wildcard (`product_search_query`) searches.\n  \n  If `product_search_query` is empty, it will fallback to `CUSTOM`.\n\n* `CUSTOM` - Custom sort as defined in the catalogues.\n\n  If no custom sorting has been configured it will fallback to `PRODUCT_MODIFIED`.\n\n</details>"},{"key":"product_sort_order","value":"ASC","disabled":true,"description":"[SORT] keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the products in the Tue system per distributor.\nExtensive filtering is available but do note that certain filters might affect performance.\n> By default only the latest revision will be returned."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"[CONFIG] content language to return in the response.\n\nLanguages use ISO-639-1. If the requested language is unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es and es in product_content_languages. Existing translations remain authoritative. Content-Language: es is emitted only when every item on a nonempty page uses the corrected Spanish fallback."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"[CONFIG] currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"product_content","value":"tour museum amsterdam","disabled":true,"description":"[FILTER] on product content.\n\nSearches the fields:\n  + `product_id`(Upcoming)\n  + `product_title`\n  + `product_short_description`\n  + `product_long_description`\n  + `product_supplier_name`\n  + `product_highlights`\n  + `product_includes`\n  \nRegex used: '(?is)^(?=.*\\\\b(query1.*)\\\\b)(?=.*\\\\b(query2.*)\\\\b).*'\n\n  + Case insensitive.\n  + Positive lookaheads and word boundaries to make word order not matter and to recognize word spacing."},{"key":"product_start_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_start_date`."},{"key":"product_end_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_end_date`."},{"key":"product_duration","value":"90","disabled":true,"description":"[FILTER] on `product_duration`. (Minutes)"},{"key":"product_booking_quantity_min","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_min`."},{"key":"product_booking_quantity_max","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_max`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_supplier","value":"[\"PRODUCT_SUPPLIER_ID\"]","disabled":true,"description":"[FILTER] on `product_supplier_id`."},{"key":"product_category","value":"[\"PRODUCT_CATEGORY_ID_123\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"product_destination","value":"[\"PRODUCT_DESTINATION_ID_123\"]","disabled":true,"description":"[FILTER] on destinations (`destination_id`)."},{"key":"product_tag","value":"[\"PRODUCT_TAG\"]","disabled":true,"description":"[FILTER] on Tag. \n\nCombination of `product_tag_id`, `product_tag_description` and `product_tag_group`."},{"key":"product_language","value":"[\"en\"]","disabled":true,"description":"[FILTER] on available product languages. \n\nLanguages are defined in [ISO-639-1](https://en.wikipedia.org/wiki/ISO_639-1) format. \n\nProducts without a language value will not be returned."},{"key":"product_location_id","value":"[\"PRODUCT_LOCATION_ID\"]","disabled":true,"description":"[FILTER] on `location_id`."},{"key":"product_location_country_code","value":"[\"NL\"]","disabled":true,"description":"[FILTER] on country ( [ISO-3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},{"key":"product_custom_fields","value":"EXAMPLE","disabled":true,"description":"See the operation contract; values depend on your distribution and provider."},{"key":"product_type","value":"[\"ADULT\",\"CHILD\"]","disabled":true,"description":"[FILTER] on Product Type (`product_type`)."},{"key":"product_availability","value":"true","disabled":true,"description":"[FILTER] Include products with capacity (`product_availability:true`)."},{"key":"product_favorite","value":"false","disabled":true,"description":"[FILTER] Return `product_favorite:true` only."},{"key":"product_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on products modified after the given date. \n\n* This includes newly created products.\n* Deleted products are ignored and should be handled manually.\n\nFor caching purposes we recommend using the `If-Modified-Since` header instead."},{"key":"product_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. \n\nThis API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"product_sort_by","value":"PRODUCT_CREATED","disabled":true,"description":"[SORT] method.\n<details>\n  <summary>**Sort Methods**</summary>\n\nSort Methods:\n* `PRODUCT_CREATED` - Sort on `product_created`.\n* `PRODUCT_MODIFIED` - Sort on `product_modified`.\n* `PRODUCT_TITLE_A_Z` - Sort on `product_title`.\n* `SUPPLIER_NAME_A_Z` - Sort on `product_supplier_name`.\n* `LOCATION_NAME_A_Z` - Sort on `location_name`.\n* `PRICE_VALUE` - Sort on `product_from_price`.\n\n  Price is sorted based on the current season.\n\n* `DISCOUNT_VALUE` - (Upcoming)\n* `SEARCH_RELEVANCE` - Search results are sorted on match relevance. \n\n  This sorting method should only be used during wildcard (`product_search_query`) searches.\n  \n  If `product_search_query` is empty, it will fallback to `CUSTOM`.\n\n* `CUSTOM` - Custom sort as defined in the catalogues.\n\n  If no custom sorting has been configured it will fallback to `PRODUCT_MODIFIED`.\n\n</details>"},{"key":"product_sort_order","value":"ASC","disabled":true,"description":"[SORT] keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the products in the Tue system per distributor.\nExtensive filtering is available but do note that certain filters might affect performance.\n> By default only the latest revision will be returned."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"[CONFIG] content language to return in the response.\n\nLanguages use ISO-639-1. If the requested language is unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es and es in product_content_languages. Existing translations remain authoritative. Content-Language: es is emitted only when every item on a nonempty page uses the corrected Spanish fallback."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"[CONFIG] currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"product_content","value":"tour museum amsterdam","disabled":true,"description":"[FILTER] on product content.\n\nSearches the fields:\n  + `product_id`(Upcoming)\n  + `product_title`\n  + `product_short_description`\n  + `product_long_description`\n  + `product_supplier_name`\n  + `product_highlights`\n  + `product_includes`\n  \nRegex used: '(?is)^(?=.*\\\\b(query1.*)\\\\b)(?=.*\\\\b(query2.*)\\\\b).*'\n\n  + Case insensitive.\n  + Positive lookaheads and word boundaries to make word order not matter and to recognize word spacing."},{"key":"product_start_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_start_date`."},{"key":"product_end_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `product_end_date`."},{"key":"product_duration","value":"90","disabled":true,"description":"[FILTER] on `product_duration`. (Minutes)"},{"key":"product_booking_quantity_min","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_min`."},{"key":"product_booking_quantity_max","value":"1","disabled":true,"description":"[FILTER] on `product_booking_quantity_max`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_supplier","value":"[\"PRODUCT_SUPPLIER_ID\"]","disabled":true,"description":"[FILTER] on `product_supplier_id`."},{"key":"product_category","value":"[\"PRODUCT_CATEGORY_ID_123\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"product_destination","value":"[\"PRODUCT_DESTINATION_ID_123\"]","disabled":true,"description":"[FILTER] on destinations (`destination_id`)."},{"key":"product_tag","value":"[\"PRODUCT_TAG\"]","disabled":true,"description":"[FILTER] on Tag. \n\nCombination of `product_tag_id`, `product_tag_description` and `product_tag_group`."},{"key":"product_language","value":"[\"en\"]","disabled":true,"description":"[FILTER] on available product languages. \n\nLanguages are defined in [ISO-639-1](https://en.wikipedia.org/wiki/ISO_639-1) format. \n\nProducts without a language value will not be returned."},{"key":"product_location_id","value":"[\"PRODUCT_LOCATION_ID\"]","disabled":true,"description":"[FILTER] on `location_id`."},{"key":"product_location_country_code","value":"[\"NL\"]","disabled":true,"description":"[FILTER] on country ( [ISO-3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},{"key":"product_custom_fields","value":"EXAMPLE","disabled":true,"description":"See the operation contract; values depend on your distribution and provider."},{"key":"product_type","value":"[\"ADULT\",\"CHILD\"]","disabled":true,"description":"[FILTER] on Product Type (`product_type`)."},{"key":"product_availability","value":"true","disabled":true,"description":"[FILTER] Include products with capacity (`product_availability:true`)."},{"key":"product_favorite","value":"false","disabled":true,"description":"[FILTER] Return `product_favorite:true` only."},{"key":"product_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on products modified after the given date. \n\n* This includes newly created products.\n* Deleted products are ignored and should be handled manually.\n\nFor caching purposes we recommend using the `If-Modified-Since` header instead."},{"key":"product_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. \n\nThis API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"product_sort_by","value":"PRODUCT_CREATED","disabled":true,"description":"[SORT] method.\n<details>\n  <summary>**Sort Methods**</summary>\n\nSort Methods:\n* `PRODUCT_CREATED` - Sort on `product_created`.\n* `PRODUCT_MODIFIED` - Sort on `product_modified`.\n* `PRODUCT_TITLE_A_Z` - Sort on `product_title`.\n* `SUPPLIER_NAME_A_Z` - Sort on `product_supplier_name`.\n* `LOCATION_NAME_A_Z` - Sort on `location_name`.\n* `PRICE_VALUE` - Sort on `product_from_price`.\n\n  Price is sorted based on the current season.\n\n* `DISCOUNT_VALUE` - (Upcoming)\n* `SEARCH_RELEVANCE` - Search results are sorted on match relevance. \n\n  This sorting method should only be used during wildcard (`product_search_query`) searches.\n  \n  If `product_search_query` is empty, it will fallback to `CUSTOM`.\n\n* `CUSTOM` - Custom sort as defined in the catalogues.\n\n  If no custom sorting has been configured it will fallback to `PRODUCT_MODIFIED`.\n\n</details>"},{"key":"product_sort_order","value":"ASC","disabled":true,"description":"[SORT] keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the products in the Tue system per distributor.\nExtensive filtering is available but do note that certain filters might affect performance.\n> By default only the latest revision will be returned."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"List Product Details","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/:product_id","host":["{{base_url}}"],"path":[":version","products",":product_id"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"Language code for product content. If omitted or unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es, es in product_content_languages and Content-Language: es. An explicitly requested existing translation is preserved and is not labeled Spanish."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"Currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"product_id","value":"{{product_id}}","description":"Unique identifier for the product assigned by Tue."}]},"description":"This API provides all the product information that is available in the Tue system for the requested product (`product_id`)."},"response":[{"name":"200 - Product Detail Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/:product_id","host":["{{base_url}}"],"path":[":version","products",":product_id"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"Language code for product content. If omitted or unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es, es in product_content_languages and Content-Language: es. An explicitly requested existing translation is preserved and is not labeled Spanish."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"Currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"product_id","value":"{{product_id}}","description":"Unique identifier for the product assigned by Tue."}]},"description":"This API provides all the product information that is available in the Tue system for the requested product (`product_id`)."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"product\",\n    \"product\": {\n      \"product_id\": \"10001\",\n      \"product_external_id\": \"PRODUCT_EXTERNAL_ID_123\",\n      \"product_internal_reference\": \"PRODUCT_INTERNAL_REF\",\n      \"product_platform_id\": \"1\",\n      \"product_platform_name\": \"Platform Name\",\n      \"product_distributor_id\": \"501\",\n      \"product_distributor_name\": \"Demo Distributor\",\n      \"product_reseller_id\": \"1300\",\n      \"product_reseller_name\": \"Demo reseller\",\n      \"product_market_admin_id\": \"345345342\",\n      \"product_market_admin_name\": \"Test Market Admin\",\n      \"product_supplier_admin_id\": \"PRODUCT_SUPPLIER_ADMIN_ID\",\n      \"product_supplier_admin_name\": \"Supplier Admin Name\",\n      \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n      \"product_source_id\": \"34564574\",\n      \"product_source_name\": \"Example source\",\n      \"product_contract_source_id\": \"string\",\n      \"product_contract_source_name\": \"Example source\",\n      \"product_default_language\": \"en\",\n      \"product_version\": 1,\n      \"product_color\": \"#b9f2ff\",\n      \"product_slug\": \"westminster-to-greenwich-sightseeing-cruise-t71379\",\n      \"product_supplier_url\": \"https://example.com/\",\n      \"product_supplier_key_public\": \"b7064e02-37a5-9ce5-ff63-b7536b364102\",\n      \"product_from_price\": \"16.40\",\n      \"product_start_date\": \"2019-08-24T14:15:22Z\",\n      \"product_end_date\": \"2019-08-24T14:15:22Z\",\n      \"product_booking_start_date\": \"2019-08-24T14:15:22Z\",\n      \"product_booking_end_date\": \"2019-08-24T14:15:22Z\",\n      \"product_booking_advance_time_min\": 60,\n      \"product_booking_advance_time_max\": 1440,\n      \"product_booking_quantity_min\": 1,\n      \"product_booking_quantity_max\": 5,\n      \"product_turnout_time\": 15,\n      \"product_duration\": 90,\n      \"product_show_capacity_count\": 25,\n      \"product_third_party\": false,\n      \"product_seasonal_pricing\": true,\n      \"product_quantity_pricing\": true,\n      \"product_daily_pricing\": true,\n      \"product_dynamic_pricing\": true,\n      \"product_relation_details_visible\": true,\n      \"product_timepicker_visible\": true,\n      \"product_sub_only\": false,\n      \"product_cluster\": true,\n      \"product_combi\": true,\n      \"product_bundle\": true,\n      \"product_addon\": true,\n      \"product_availability\": true,\n      \"product_availability_assigned\": true,\n      \"product_capacity\": true,\n      \"product_traveldate_required\": false,\n      \"product_cancellation_allowed\": true,\n      \"product_overbooking_allowed\": false,\n      \"product_past_date_booking_allowed\": true,\n      \"product_capacity_id\": \"43525235\",\n      \"product_capacity_shared_id\": \"435252453\",\n      \"product_capacity_type\": \"OWN\",\n      \"product_admission_type\": \"TIME_PERIOD\",\n      \"product_catalogue_status\": \"ACTIVE\",\n      \"product_pickup_point\": \"MANDATORY\",\n      \"product_pickup_point_details\": [\n        {\n          \"pickup_point_id\": \"PICKUP_POINT_ID_123\",\n          \"pickup_point_name\": \"Walkingtour at the Wyndham Apollo Hotel\",\n          \"pickup_point_type\": \"FIXED\",\n          \"pickup_point_description\": \"Meet at the Wyndham Apollo hotel.\",\n          \"pickup_point_location\": \"LOCATION_ID_123\",\n          \"pickup_point_time\": \"10:00\",\n          \"pickup_point_times\": [\n            \"10:00\"\n          ],\n          \"pickup_point_duration\": 30,\n          \"pickup_point_availability_dependency\": false\n        }\n      ],\n      \"product_content\": {\n        \"product_title\": \"Test Product\",\n        \"product_supplier_name\": \"Test Museum\",\n        \"product_duration_text\": \"1.5 hour\",\n        \"product_short_description\": \"Rijksmuseum Entrance product + Multimediatour\",\n        \"product_long_description\": \"Experience a beautiful evening cruise during the Amsterdam Light Festival without queueing up. Besides a place on a date and time of your choice, this cruise also includes a drink and a snack.\",\n        \"product_additional_information\": \"Some additional information.\",\n        \"product_entry_notes\": \"Reconfirmation: Please call or email atleast 72 hour in advance to reconfirm your arrival.\",\n        \"product_booking_url\": \"https://example.com/productABC\",\n        \"product_landing_page_view_url\": \"https://example.com\",\n        \"product_favorite\": false,\n        \"product_rating\": {\n          \"rating_number\": 4544,\n          \"rating_value\": 4.3\n        },\n        \"product_highlights\": [\n          {\n            \"highlight_description\": \"Audio commentary in 21 languages through our Personal Audio System.\",\n            \"highlight_type\": \"SLOGAN\",\n            \"highlight_icon\": \"https://example.com/products/145/img_1445586351_test1445593536.jpg\"\n          }\n        ],\n        \"product_includes\": [\n          {\n            \"include_name\": \"Drinks\",\n            \"include_description\": \"Free non-alcoholic beverages\",\n            \"include_icon\": \"https://example.com/products/145/img_1445586351_test1445593536.jpg\"\n          }\n        ],\n        \"product_excludes\": [\n          {\n            \"exclude_name\": \"Drinks\",\n            \"exclude_description\": \"Alcoholic beverages\",\n            \"exclude_icon\": \"https://example.com/products/145/img_1445586351_test1445593536.jpg\"\n          }\n        ],\n        \"product_marketing_labels\": [\n          \"Popular\"\n        ],\n        \"product_images\": [\n          {\n            \"image_from_date\": \"2019-08-24T14:15:22Z\",\n            \"image_till_date\": \"2019-08-24T14:15:22Z\",\n            \"image_type\": \"BANNER\",\n            \"image_format\": \"JPG\",\n            \"image_size\": \"ORIGINAL\",\n            \"image_url\": \"https://example.com/products/145/img_1445586351_test1445593536.jpg\"\n          }\n        ]\n      },\n      \"product_redemption_rules\": {\n        \"redemption_has_duration\": true,\n        \"redemption_duration_time\": 86400,\n        \"redemption_duration_type\": \"SCAN\",\n        \"redemption_count_type\": \"LIMITED\",\n        \"redemption_count_value\": 5\n      },\n      \"product_code_settings\": {\n        \"product_code_format\": \"QR_CODE\",\n        \"product_code_source\": \"Distributor\",\n        \"product_group_code\": true,\n        \"product_combi_code\": true,\n        \"product_city_card\": false,\n        \"product_voucher_settings\": \"SINGLE\",\n        \"product_code_release_date\": \"2019-08-24T14:15:22Z\",\n        \"product_code_release_details\": [\n          \"ORDER_CONFIRMATION\"\n        ]\n      },\n      \"product_payment_detail\": {\n        \"product_payment_type\": \"REQUIRED\",\n        \"product_payment_currency\": {\n          \"currency_code\": \"EUR\",\n          \"currency_language_code\": \"en\",\n          \"currency_region_code\": \"US\",\n          \"currency_symbol\": \"string\",\n          \"currency_symbol_position\": \"LEFT\",\n          \"currency_decimal_digits\": 2,\n          \"currency_decimal_delimiter\": \".\",\n          \"currency_thousand_delimiter\": \",\",\n          \"currency_space_between_amount_and_symbol\": true\n        }\n      },\n      \"product_type_seasons\": [],\n      \"product_options\": [],\n      \"product_cancellation_policies\": [],\n      \"product_opening_times\": [],\n      \"product_currencies\": [\n        {\n          \"product_id\": \"10001\",\n          \"product_currency_code\": \"USD\"\n        }\n      ],\n      \"product_flags\": [\n        {\n          \"flag_id\": \"223425262\",\n          \"flag_name\": \"Stock Code\",\n          \"flag_type\": \"FLAG\",\n          \"flag_value_id\": \"123BCa1\",\n          \"flag_value\": \"123BCa1\",\n          \"flag_visible\": true\n        }\n      ],\n      \"product_block_out_dates\": [],\n      \"product_special_dates\": [],\n      \"product_locations\": [],\n      \"product_cluster_details\": [],\n      \"product_combi_details\": [],\n      \"product_bundle_details\": [],\n      \"product_addon_details\": [],\n      \"product_categories\": [\n        \"PRODUCT_CATEGORY_ID_123\"\n      ],\n      \"product_destinations\": [\n        \"PRODUCT_DESTINATION_ID_123\"\n      ],\n      \"product_languages\": [\n        \"en\",\n        \"es\",\n        \"jp\"\n      ],\n      \"product_content_languages\": [\n        \"en\",\n        \"nl\"\n      ],\n      \"product_guide_languages\": [\n        {\n          \"language_codes\": [\n            \"nl\"\n          ],\n          \"language_type\": \"GUIDE_AUDIO\"\n        }\n      ],\n      \"product_routes\": [\n        \"PRODUCT_ROUTE_ID_123\"\n      ],\n      \"product_notes\": [\n        {\n          \"note_value\": \"Wheelchair assistance required.\",\n          \"note_type\": \"GUEST\",\n          \"note_date\": \"2019-08-24T14:15:22Z\",\n          \"note_creator\": \"Andrew (Supervisor)\"\n        }\n      ],\n      \"product_google_categories\": \"string\",\n      \"product_custom_fields\": [\n        {\n          \"custom_field_name\": \"Custom Field Name\",\n          \"custom_field_value\": \"Custom Field Value\",\n          \"custom_field_type\": \"SYSTEM\"\n        }\n      ],\n      \"product_created\": \"2019-08-24T14:15:22Z\",\n      \"product_created_name\": \"cashier@example.com\",\n      \"product_created_email\": \"cashier@example.com\",\n      \"product_modified\": \"2019-08-24T14:15:22Z\",\n      \"product_modified_name\": \"cashier@example.com\",\n      \"product_modified_email\": \"cashier@example.com\"\n    }\n  }\n}"},{"name":"304 - Not Modified\n\nThe HTTP 304 Not Modified client redirection response code indicates that there is no need to retransmit the requested resources. It is an implicit redirection to a cached resource. This happens when the request method is safe, like a GET or a HEAD request, or when the request is conditional and uses a `If-None-Match` or a `If-Modified-Since` header.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/:product_id","host":["{{base_url}}"],"path":[":version","products",":product_id"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"Language code for product content. If omitted or unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es, es in product_content_languages and Content-Language: es. An explicitly requested existing translation is preserved and is not labeled Spanish."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"Currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"product_id","value":"{{product_id}}","description":"Unique identifier for the product assigned by Tue."}]},"description":"This API provides all the product information that is available in the Tue system for the requested product (`product_id`)."},"status":"Not Modified","code":304,"header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"body":""},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/:product_id","host":["{{base_url}}"],"path":[":version","products",":product_id"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"Language code for product content. If omitted or unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es, es in product_content_languages and Content-Language: es. An explicitly requested existing translation is preserved and is not labeled Spanish."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"Currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"product_id","value":"{{product_id}}","description":"Unique identifier for the product assigned by Tue."}]},"description":"This API provides all the product information that is available in the Tue system for the requested product (`product_id`)."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/:product_id","host":["{{base_url}}"],"path":[":version","products",":product_id"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"Language code for product content. If omitted or unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es, es in product_content_languages and Content-Language: es. An explicitly requested existing translation is preserved and is not labeled Spanish."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"Currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"product_id","value":"{{product_id}}","description":"Unique identifier for the product assigned by Tue."}]},"description":"This API provides all the product information that is available in the Tue system for the requested product (`product_id`)."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/:product_id","host":["{{base_url}}"],"path":[":version","products",":product_id"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"Language code for product content. If omitted or unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es, es in product_content_languages and Content-Language: es. An explicitly requested existing translation is preserved and is not labeled Spanish."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"Currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"product_id","value":"{{product_id}}","description":"Unique identifier for the product assigned by Tue."}]},"description":"This API provides all the product information that is available in the Tue system for the requested product (`product_id`)."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/:product_id","host":["{{base_url}}"],"path":[":version","products",":product_id"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"Language code for product content. If omitted or unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es, es in product_content_languages and Content-Language: es. An explicitly requested existing translation is preserved and is not labeled Spanish."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"Currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"product_id","value":"{{product_id}}","description":"Unique identifier for the product assigned by Tue."}]},"description":"This API provides all the product information that is available in the Tue system for the requested product (`product_id`)."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/:product_id","host":["{{base_url}}"],"path":[":version","products",":product_id"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"Language code for product content. If omitted or unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es, es in product_content_languages and Content-Language: es. An explicitly requested existing translation is preserved and is not labeled Spanish."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"Currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"product_id","value":"{{product_id}}","description":"Unique identifier for the product assigned by Tue."}]},"description":"This API provides all the product information that is available in the Tue system for the requested product (`product_id`)."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/:product_id","host":["{{base_url}}"],"path":[":version","products",":product_id"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"Language code for product content. If omitted or unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es, es in product_content_languages and Content-Language: es. An explicitly requested existing translation is preserved and is not labeled Spanish."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"Currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"product_id","value":"{{product_id}}","description":"Unique identifier for the product assigned by Tue."}]},"description":"This API provides all the product information that is available in the Tue system for the requested product (`product_id`)."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/:product_id","host":["{{base_url}}"],"path":[":version","products",":product_id"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"Language code for product content. If omitted or unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es, es in product_content_languages and Content-Language: es. An explicitly requested existing translation is preserved and is not labeled Spanish."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"Currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"product_id","value":"{{product_id}}","description":"Unique identifier for the product assigned by Tue."}]},"description":"This API provides all the product information that is available in the Tue system for the requested product (`product_id`)."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/:product_id","host":["{{base_url}}"],"path":[":version","products",":product_id"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"Language code for product content. If omitted or unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es, es in product_content_languages and Content-Language: es. An explicitly requested existing translation is preserved and is not labeled Spanish."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"Currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"product_id","value":"{{product_id}}","description":"Unique identifier for the product assigned by Tue."}]},"description":"This API provides all the product information that is available in the Tue system for the requested product (`product_id`)."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/:product_id","host":["{{base_url}}"],"path":[":version","products",":product_id"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"Language code for product content. If omitted or unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es, es in product_content_languages and Content-Language: es. An explicitly requested existing translation is preserved and is not labeled Spanish."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"Currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"product_id","value":"{{product_id}}","description":"Unique identifier for the product assigned by Tue."}]},"description":"This API provides all the product information that is available in the Tue system for the requested product (`product_id`)."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/:product_id","host":["{{base_url}}"],"path":[":version","products",":product_id"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"Language code for product content. If omitted or unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es, es in product_content_languages and Content-Language: es. An explicitly requested existing translation is preserved and is not labeled Spanish."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"Currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"product_id","value":"{{product_id}}","description":"Unique identifier for the product assigned by Tue."}]},"description":"This API provides all the product information that is available in the Tue system for the requested product (`product_id`)."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/:product_id","host":["{{base_url}}"],"path":[":version","products",":product_id"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_content_language","value":"en","disabled":true,"description":"Language code for product content. If omitted or unavailable, content falls back to product_default_language. For configured Spanish-compatibility distributors, an English fallback without an advertised Spanish translation is exposed with default es, es in product_content_languages and Content-Language: es. An explicitly requested existing translation is preserved and is not labeled Spanish."},{"key":"product_currency_code","value":"EUR","disabled":true,"description":"Currency code to request currency specific product data. If left empty, currency is not available (not included in `currency_rate`) or any rule distribution enabled, the response will be in the default currency i.e. EUR."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"product_id","value":"{{product_id}}","description":"Unique identifier for the product assigned by Tue."}]},"description":"This API provides all the product information that is available in the Tue system for the requested product (`product_id`)."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"List Product Routes","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/routes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","routes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the routes of the products linked to a distributor."},"response":[{"name":"200 - Reference response format. This operation is not available in this API release.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/routes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","routes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the routes of the products linked to a distributor."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"current_item_count\": 10,\n    \"items_per_page\": 10,\n    \"start_index\": 1,\n    \"total_items\": 10,\n    \"page_index\": 1,\n    \"total_pages\": 20,\n    \"items\": []\n  }\n}"},{"name":"304 - Not Modified\n\nThe HTTP 304 Not Modified client redirection response code indicates that there is no need to retransmit the requested resources. It is an implicit redirection to a cached resource. This happens when the request method is safe, like a GET or a HEAD request, or when the request is conditional and uses a `If-None-Match` or a `If-Modified-Since` header.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/routes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","routes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the routes of the products linked to a distributor."},"status":"Not Modified","code":304,"header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"body":""},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/routes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","routes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the routes of the products linked to a distributor."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/routes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","routes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the routes of the products linked to a distributor."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/routes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","routes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the routes of the products linked to a distributor."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"405 - Request failed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/routes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","routes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the routes of the products linked to a distributor."},"status":"Method Not Allowed","code":405,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"406 - Request failed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/routes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","routes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the routes of the products linked to a distributor."},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/routes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","routes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the routes of the products linked to a distributor."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/routes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","routes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the routes of the products linked to a distributor."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/routes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","routes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the routes of the products linked to a distributor."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/routes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","routes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the routes of the products linked to a distributor."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/routes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","routes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the routes of the products linked to a distributor."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/routes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","routes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the routes of the products linked to a distributor."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/routes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","routes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the routes of the products linked to a distributor."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/routes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","routes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the routes of the products linked to a distributor."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["// This operation is not available in this API release.","pm.execution.skipRequest();"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"List Product Taxes","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/taxes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","taxes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"tax_region","value":"India","disabled":true,"description":"[FILTER] on `tax_region`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the tax configurations of the products linked to a distributor."},"response":[{"name":"200 - Reference response format. This operation is not available in this API release.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/taxes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","taxes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"tax_region","value":"India","disabled":true,"description":"[FILTER] on `tax_region`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the tax configurations of the products linked to a distributor."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"current_item_count\": 10,\n    \"items_per_page\": 10,\n    \"start_index\": 1,\n    \"total_items\": 200,\n    \"page_index\": 1,\n    \"total_pages\": 20,\n    \"items\": []\n  }\n}"},{"name":"304 - Not Modified\n\nThe HTTP 304 Not Modified client redirection response code indicates that there is no need to retransmit the requested resources. It is an implicit redirection to a cached resource. This happens when the request method is safe, like a GET or a HEAD request, or when the request is conditional and uses a `If-None-Match` or a `If-Modified-Since` header.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/taxes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","taxes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"tax_region","value":"India","disabled":true,"description":"[FILTER] on `tax_region`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the tax configurations of the products linked to a distributor."},"status":"Not Modified","code":304,"header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"body":""},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/taxes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","taxes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"tax_region","value":"India","disabled":true,"description":"[FILTER] on `tax_region`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the tax configurations of the products linked to a distributor."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/taxes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","taxes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"tax_region","value":"India","disabled":true,"description":"[FILTER] on `tax_region`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the tax configurations of the products linked to a distributor."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/taxes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","taxes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"tax_region","value":"India","disabled":true,"description":"[FILTER] on `tax_region`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the tax configurations of the products linked to a distributor."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"405 - Request failed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/taxes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","taxes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"tax_region","value":"India","disabled":true,"description":"[FILTER] on `tax_region`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the tax configurations of the products linked to a distributor."},"status":"Method Not Allowed","code":405,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"406 - Request failed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/taxes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","taxes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"tax_region","value":"India","disabled":true,"description":"[FILTER] on `tax_region`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the tax configurations of the products linked to a distributor."},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/taxes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","taxes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"tax_region","value":"India","disabled":true,"description":"[FILTER] on `tax_region`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the tax configurations of the products linked to a distributor."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/taxes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","taxes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"tax_region","value":"India","disabled":true,"description":"[FILTER] on `tax_region`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the tax configurations of the products linked to a distributor."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/taxes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","taxes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"tax_region","value":"India","disabled":true,"description":"[FILTER] on `tax_region`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the tax configurations of the products linked to a distributor."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/taxes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","taxes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"tax_region","value":"India","disabled":true,"description":"[FILTER] on `tax_region`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the tax configurations of the products linked to a distributor."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/taxes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","taxes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"tax_region","value":"India","disabled":true,"description":"[FILTER] on `tax_region`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the tax configurations of the products linked to a distributor."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/taxes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","taxes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"tax_region","value":"India","disabled":true,"description":"[FILTER] on `tax_region`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the tax configurations of the products linked to a distributor."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/taxes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","taxes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"tax_region","value":"India","disabled":true,"description":"[FILTER] on `tax_region`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the tax configurations of the products linked to a distributor."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/taxes?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","products","taxes"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"tax_region","value":"India","disabled":true,"description":"[FILTER] on `tax_region`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the tax configurations of the products linked to a distributor."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["// This operation is not available in this API release.","pm.execution.skipRequest();"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]}]},{"name":"Categories","description":"Read product categories available to the authenticated distribution.","item":[{"name":"List Product Categories","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/categories","host":["{{base_url}}"],"path":[":version","products","categories"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"category_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"category_type","value":"EXAMPLE","disabled":true,"description":"[FILTER] on Category Type (`category_type`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product categories that are available in the Tue system per distributor."},"response":[{"name":"200 - Product Category Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/categories","host":["{{base_url}}"],"path":[":version","products","categories"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"category_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"category_type","value":"EXAMPLE","disabled":true,"description":"[FILTER] on Category Type (`category_type`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product categories that are available in the Tue system per distributor."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"category\",\n    \"total_items\": 1,\n    \"items\": [\n      {\n        \"category_id\": \"3743\",\n        \"category_name\": \"Museums\",\n        \"category_description\": \"Art Museums\",\n        \"category_parent_id\": \"2393\",\n        \"category_type\": \"SYSTEM\",\n        \"category_slug\": \"museums-3743\",\n        \"category_icon\": \"https://example.com/qrcodes/categoryupload/img_1438406614_museum.png\",\n        \"category_images\": [\n          {\n            \"image_from_date\": \"2019-08-24T14:15:22Z\",\n            \"image_till_date\": \"2019-08-24T14:15:22Z\",\n            \"image_type\": \"BANNER\",\n            \"image_format\": \"JPG\",\n            \"image_size\": \"ORIGINAL\",\n            \"image_url\": \"https://example.com/products/145/img_1445586351_test1445593536.jpg\"\n          }\n        ],\n        \"category_products\": [\n          \"PRODUCT_ID_123\"\n        ]\n      }\n    ]\n  }\n}"},{"name":"304 - Not Modified\n\nThe HTTP 304 Not Modified client redirection response code indicates that there is no need to retransmit the requested resources. It is an implicit redirection to a cached resource. This happens when the request method is safe, like a GET or a HEAD request, or when the request is conditional and uses a `If-None-Match` or a `If-Modified-Since` header.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/categories","host":["{{base_url}}"],"path":[":version","products","categories"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"category_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"category_type","value":"EXAMPLE","disabled":true,"description":"[FILTER] on Category Type (`category_type`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product categories that are available in the Tue system per distributor."},"status":"Not Modified","code":304,"header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"body":""},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/categories","host":["{{base_url}}"],"path":[":version","products","categories"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"category_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"category_type","value":"EXAMPLE","disabled":true,"description":"[FILTER] on Category Type (`category_type`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product categories that are available in the Tue system per distributor."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/categories","host":["{{base_url}}"],"path":[":version","products","categories"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"category_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"category_type","value":"EXAMPLE","disabled":true,"description":"[FILTER] on Category Type (`category_type`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product categories that are available in the Tue system per distributor."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/categories","host":["{{base_url}}"],"path":[":version","products","categories"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"category_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"category_type","value":"EXAMPLE","disabled":true,"description":"[FILTER] on Category Type (`category_type`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product categories that are available in the Tue system per distributor."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/categories","host":["{{base_url}}"],"path":[":version","products","categories"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"category_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"category_type","value":"EXAMPLE","disabled":true,"description":"[FILTER] on Category Type (`category_type`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product categories that are available in the Tue system per distributor."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/categories","host":["{{base_url}}"],"path":[":version","products","categories"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"category_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"category_type","value":"EXAMPLE","disabled":true,"description":"[FILTER] on Category Type (`category_type`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product categories that are available in the Tue system per distributor."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/categories","host":["{{base_url}}"],"path":[":version","products","categories"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"category_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"category_type","value":"EXAMPLE","disabled":true,"description":"[FILTER] on Category Type (`category_type`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product categories that are available in the Tue system per distributor."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/categories","host":["{{base_url}}"],"path":[":version","products","categories"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"category_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"category_type","value":"EXAMPLE","disabled":true,"description":"[FILTER] on Category Type (`category_type`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product categories that are available in the Tue system per distributor."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/categories","host":["{{base_url}}"],"path":[":version","products","categories"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"category_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"category_type","value":"EXAMPLE","disabled":true,"description":"[FILTER] on Category Type (`category_type`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product categories that are available in the Tue system per distributor."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/categories","host":["{{base_url}}"],"path":[":version","products","categories"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"category_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"category_type","value":"EXAMPLE","disabled":true,"description":"[FILTER] on Category Type (`category_type`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product categories that are available in the Tue system per distributor."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/categories","host":["{{base_url}}"],"path":[":version","products","categories"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"category_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on categories (`category_id`)."},{"key":"category_type","value":"EXAMPLE","disabled":true,"description":"[FILTER] on Category Type (`category_type`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product categories that are available in the Tue system per distributor."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]}]},{"name":"Destinations","description":"Read destinations available to the authenticated distribution.","item":[{"name":"List Product Destinations","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/destinations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","destinations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"destination_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on destination (`destination_id`)."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product destinations that are available in the Tue system per distributor."},"response":[{"name":"200 - Product Destination Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/destinations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","destinations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"destination_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on destination (`destination_id`)."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product destinations that are available in the Tue system per distributor."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"destination\",\n    \"current_item_count\": 1,\n    \"items_per_page\": 10,\n    \"start_index\": 1,\n    \"total_items\": 1,\n    \"page_index\": 1,\n    \"total_pages\": 1,\n    \"items\": [\n      {\n        \"destination_id\": \"3742\",\n        \"destination_name\": \"Paris\",\n        \"destination_slug\": \"paris-3742\",\n        \"destination_description\": \"City of Love\",\n        \"destination_images\": [\n          {\n            \"image_from_date\": \"2019-08-24T14:15:22Z\",\n            \"image_till_date\": \"2019-08-24T14:15:22Z\",\n            \"image_type\": \"BANNER\",\n            \"image_format\": \"JPG\",\n            \"image_size\": \"ORIGINAL\",\n            \"image_url\": \"https://example.com/products/145/img_1445586351_test1445593536.jpg\"\n          }\n        ],\n        \"destination_products\": [\n          \"PRODUCT_ID_123\"\n        ]\n      }\n    ]\n  }\n}"},{"name":"304 - Not Modified\n\nThe HTTP 304 Not Modified client redirection response code indicates that there is no need to retransmit the requested resources. It is an implicit redirection to a cached resource. This happens when the request method is safe, like a GET or a HEAD request, or when the request is conditional and uses a `If-None-Match` or a `If-Modified-Since` header.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/destinations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","destinations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"destination_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on destination (`destination_id`)."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product destinations that are available in the Tue system per distributor."},"status":"Not Modified","code":304,"header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"body":""},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/destinations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","destinations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"destination_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on destination (`destination_id`)."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product destinations that are available in the Tue system per distributor."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/destinations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","destinations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"destination_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on destination (`destination_id`)."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product destinations that are available in the Tue system per distributor."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/destinations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","destinations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"destination_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on destination (`destination_id`)."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product destinations that are available in the Tue system per distributor."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/destinations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","destinations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"destination_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on destination (`destination_id`)."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product destinations that are available in the Tue system per distributor."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/destinations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","destinations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"destination_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on destination (`destination_id`)."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product destinations that are available in the Tue system per distributor."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/destinations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","destinations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"destination_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on destination (`destination_id`)."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product destinations that are available in the Tue system per distributor."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/destinations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","destinations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"destination_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on destination (`destination_id`)."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product destinations that are available in the Tue system per distributor."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/destinations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","destinations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"destination_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on destination (`destination_id`)."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product destinations that are available in the Tue system per distributor."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/destinations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","destinations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"destination_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on destination (`destination_id`)."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product destinations that are available in the Tue system per distributor."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/destinations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","destinations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"destination_id","value":"[\"4\"]","disabled":true,"description":"[FILTER] on destination (`destination_id`)."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product destinations that are available in the Tue system per distributor."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]}]},{"name":"Locations","description":"Read product locations available to the authenticated distribution.","item":[{"name":"List Product Locations","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/locations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","locations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the available locations of products."},"response":[{"name":"200 - Location List Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/locations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","locations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the available locations of products."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"current_item_count\": 1,\n    \"items_per_page\": 10,\n    \"start_index\": 1,\n    \"total_items\": 1,\n    \"page_index\": 1,\n    \"total_pages\": 1,\n    \"items\": [\n      {\n        \"location_id\": \"LOCATION_ID_123\",\n        \"location_label\": \"Theaters\",\n        \"location_name\": \"Theater 1\",\n        \"location_description\": \"The largest theater in Amsterdam.\",\n        \"location_url\": \"string\",\n        \"location_type\": \"VENUE\",\n        \"location_address\": {\n          \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"name\": \"Start of the Tour / My house / Office / John Doe\",\n          \"street\": \"Amstel 1\",\n          \"addition\": \"Apt B1\",\n          \"city\": \"Amsterdam\",\n          \"postal_code\": \"1011 PN\",\n          \"region\": \"Noord-Holland\",\n          \"country\": \"The Netherlands\",\n          \"country_code\": \"NL\",\n          \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n          \"latitude\": \"52.3785323\",\n          \"longitude\": \"4.893942\",\n          \"notes\": \"It's on the fourth floor\"\n        },\n        \"location_contacts\": [\n          {\n            \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n            \"contact_version\": 2,\n            \"contact_number\": \"4573246\",\n            \"contact_type\": \"GUEST\",\n            \"contact_title\": \"Mr.\",\n            \"contact_name_first\": \"John\",\n            \"contact_name_last\": \"Doe\",\n            \"contact_email\": \"Johndoe@example.com\",\n            \"contact_phone\": \"+14155552671\",\n            \"contact_mobile\": \"+14155552671\",\n            \"contact_language\": \"NL\",\n            \"contact_nationality\": \"Dutch\",\n            \"contact_flight_number\": \"KL 445\",\n            \"contact_loyalty_number\": \"46564564564547476\",\n            \"contact_birth_place\": \"Amsterdam\",\n            \"contact_birth_date\": \"2019-08-24\",\n            \"contact_passport\": \"JXXXXXXX\",\n            \"contact_gender\": \"MALE\",\n            \"contact_age\": 19,\n            \"contact_redacted\": false,\n            \"contact_room_number\": \"523\",\n            \"contact_website\": \"example.com\",\n            \"contact_company\": {\n              \"company_name\": \"Example LTD.\",\n              \"company_registration_number\": \"string\",\n              \"company_tax_number\": \"string\"\n            },\n            \"contact_classification\": \"IMPORTANT\",\n            \"contact_address\": {\n              \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n              \"name\": \"Start of the Tour / My house / Office / John Doe\",\n              \"street\": \"Amstel 1\",\n              \"addition\": \"Apt B1\",\n              \"city\": \"Amsterdam\",\n              \"postal_code\": \"1011 PN\",\n              \"region\": \"Noord-Holland\",\n              \"country\": \"The Netherlands\",\n              \"country_code\": \"NL\",\n              \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n              \"latitude\": \"52.3785323\",\n              \"longitude\": \"4.893942\",\n              \"notes\": \"It's on the fourth floor\"\n            },\n            \"contact_notes\": [\n              {\n                \"note_value\": \"Wheelchair assistance required.\",\n                \"note_type\": \"GUEST\",\n                \"note_date\": \"2019-08-24T14:15:22Z\",\n                \"note_creator\": \"Andrew (Supervisor)\"\n              }\n            ],\n            \"contact_custom_fields\": [\n              {\n                \"custom_field_name\": \"Custom Field Name\",\n                \"custom_field_value\": \"Custom Field Value\",\n                \"custom_field_type\": \"SYSTEM\"\n              }\n            ],\n            \"contact_created\": \"2019-08-24T14:15:22Z\",\n            \"contact_modified\": \"2019-08-24T14:15:22Z\"\n          }\n        ],\n        \"location_opening_times\": [\n          {\n            \"opening_time_valid_from\": \"2019-08-24\",\n            \"opening_time_valid_till\": \"2019-08-24\",\n            \"opening_time_details\": [\n              {\n                \"opening_time_day\": \"THURSDAY\",\n                \"opening_time_start\": \"09:00:00\",\n                \"opening_time_end\": \"17:00:00\"\n              }\n            ]\n          }\n        ],\n        \"location_custom_fields\": [\n          {\n            \"custom_field_name\": \"Custom Field Name\",\n            \"custom_field_value\": \"Custom Field Value\",\n            \"custom_field_type\": \"SYSTEM\"\n          }\n        ],\n        \"location_products\": [\n          \"PRODUCT_ID_123\"\n        ]\n      }\n    ]\n  }\n}"},{"name":"304 - Not Modified\n\nThe HTTP 304 Not Modified client redirection response code indicates that there is no need to retransmit the requested resources. It is an implicit redirection to a cached resource. This happens when the request method is safe, like a GET or a HEAD request, or when the request is conditional and uses a `If-None-Match` or a `If-Modified-Since` header.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/locations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","locations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the available locations of products."},"status":"Not Modified","code":304,"header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"body":""},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/locations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","locations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the available locations of products."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/locations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","locations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the available locations of products."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/locations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","locations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the available locations of products."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/locations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","locations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the available locations of products."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/locations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","locations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the available locations of products."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/locations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","locations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the available locations of products."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/locations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","locations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the available locations of products."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/locations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","locations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the available locations of products."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/locations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","locations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the available locations of products."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/locations?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","products","locations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the available locations of products."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]}]},{"name":"Recommendations","description":"Read product recommendations available to the authenticated account. Available in v2.","item":[{"name":"List Product Recommendations","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/recommendations","host":["{{base_url}}"],"path":[":version","products","recommendations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product recommendations that are available in the Tue system."},"response":[{"name":"200 - Product Recommendation Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/recommendations","host":["{{base_url}}"],"path":[":version","products","recommendations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product recommendations that are available in the Tue system."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"recommendation\",\n    \"total_items\": 1,\n    \"items\": [\n      {\n        \"recommendation_id\": \"100\",\n        \"recommendation_title\": \"City highlights\",\n        \"recommendation_description\": \"A synthetic product recommendation.\",\n        \"recommendation_products\": [\n          \"10001\"\n        ]\n      }\n    ]\n  }\n}"},{"name":"304 - Not Modified\n\nThe HTTP 304 Not Modified client redirection response code indicates that there is no need to retransmit the requested resources. It is an implicit redirection to a cached resource. This happens when the request method is safe, like a GET or a HEAD request, or when the request is conditional and uses a `If-None-Match` or a `If-Modified-Since` header.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/recommendations","host":["{{base_url}}"],"path":[":version","products","recommendations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product recommendations that are available in the Tue system."},"status":"Not Modified","code":304,"header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"body":""},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/recommendations","host":["{{base_url}}"],"path":[":version","products","recommendations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product recommendations that are available in the Tue system."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/recommendations","host":["{{base_url}}"],"path":[":version","products","recommendations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product recommendations that are available in the Tue system."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/recommendations","host":["{{base_url}}"],"path":[":version","products","recommendations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product recommendations that are available in the Tue system."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/recommendations","host":["{{base_url}}"],"path":[":version","products","recommendations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product recommendations that are available in the Tue system."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/recommendations","host":["{{base_url}}"],"path":[":version","products","recommendations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product recommendations that are available in the Tue system."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/recommendations","host":["{{base_url}}"],"path":[":version","products","recommendations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product recommendations that are available in the Tue system."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/recommendations","host":["{{base_url}}"],"path":[":version","products","recommendations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product recommendations that are available in the Tue system."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/recommendations","host":["{{base_url}}"],"path":[":version","products","recommendations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product recommendations that are available in the Tue system."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/recommendations","host":["{{base_url}}"],"path":[":version","products","recommendations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product recommendations that are available in the Tue system."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/recommendations","host":["{{base_url}}"],"path":[":version","products","recommendations"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API provides all the product recommendations that are available in the Tue system."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]}]},{"name":"Currency rates","description":"Read currency pairs and observation dates available to the authenticated account.","item":[{"name":"List Product Currency Rates","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/currency_rates","host":["{{base_url}}"],"path":[":version","products","currency_rates"],"query":[{"key":"currency_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `currency_date`."},{"key":"currency_base","value":"EUR","disabled":true,"description":"[FILTER] on `currency_base`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the currency rates on a daily basis."},"response":[{"name":"200 - Product Currency Rates Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/currency_rates","host":["{{base_url}}"],"path":[":version","products","currency_rates"],"query":[{"key":"currency_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `currency_date`."},{"key":"currency_base","value":"EUR","disabled":true,"description":"[FILTER] on `currency_base`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the currency rates on a daily basis."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"currency\",\n    \"total_items\": 1,\n    \"items\": [\n      {\n        \"currency_base\": \"EUR\",\n        \"currency_date\": \"2027-06-15\",\n        \"currency_rates\": {\n          \"USD\": \"1.10\"\n        }\n      }\n    ]\n  }\n}"},{"name":"304 - Not Modified\n\nThe HTTP 304 Not Modified client redirection response code indicates that there is no need to retransmit the requested resources. It is an implicit redirection to a cached resource. This happens when the request method is safe, like a GET or a HEAD request, or when the request is conditional and uses a `If-None-Match` or a `If-Modified-Since` header.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/currency_rates","host":["{{base_url}}"],"path":[":version","products","currency_rates"],"query":[{"key":"currency_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `currency_date`."},{"key":"currency_base","value":"EUR","disabled":true,"description":"[FILTER] on `currency_base`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the currency rates on a daily basis."},"status":"Not Modified","code":304,"header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"body":""},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/currency_rates","host":["{{base_url}}"],"path":[":version","products","currency_rates"],"query":[{"key":"currency_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `currency_date`."},{"key":"currency_base","value":"EUR","disabled":true,"description":"[FILTER] on `currency_base`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the currency rates on a daily basis."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/currency_rates","host":["{{base_url}}"],"path":[":version","products","currency_rates"],"query":[{"key":"currency_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `currency_date`."},{"key":"currency_base","value":"EUR","disabled":true,"description":"[FILTER] on `currency_base`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the currency rates on a daily basis."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/currency_rates","host":["{{base_url}}"],"path":[":version","products","currency_rates"],"query":[{"key":"currency_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `currency_date`."},{"key":"currency_base","value":"EUR","disabled":true,"description":"[FILTER] on `currency_base`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the currency rates on a daily basis."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/currency_rates","host":["{{base_url}}"],"path":[":version","products","currency_rates"],"query":[{"key":"currency_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `currency_date`."},{"key":"currency_base","value":"EUR","disabled":true,"description":"[FILTER] on `currency_base`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the currency rates on a daily basis."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/currency_rates","host":["{{base_url}}"],"path":[":version","products","currency_rates"],"query":[{"key":"currency_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `currency_date`."},{"key":"currency_base","value":"EUR","disabled":true,"description":"[FILTER] on `currency_base`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the currency rates on a daily basis."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/currency_rates","host":["{{base_url}}"],"path":[":version","products","currency_rates"],"query":[{"key":"currency_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `currency_date`."},{"key":"currency_base","value":"EUR","disabled":true,"description":"[FILTER] on `currency_base`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the currency rates on a daily basis."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/currency_rates","host":["{{base_url}}"],"path":[":version","products","currency_rates"],"query":[{"key":"currency_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `currency_date`."},{"key":"currency_base","value":"EUR","disabled":true,"description":"[FILTER] on `currency_base`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the currency rates on a daily basis."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/currency_rates","host":["{{base_url}}"],"path":[":version","products","currency_rates"],"query":[{"key":"currency_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `currency_date`."},{"key":"currency_base","value":"EUR","disabled":true,"description":"[FILTER] on `currency_base`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the currency rates on a daily basis."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/currency_rates","host":["{{base_url}}"],"path":[":version","products","currency_rates"],"query":[{"key":"currency_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `currency_date`."},{"key":"currency_base","value":"EUR","disabled":true,"description":"[FILTER] on `currency_base`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the currency rates on a daily basis."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/currency_rates","host":["{{base_url}}"],"path":[":version","products","currency_rates"],"query":[{"key":"currency_date","value":"2027-06-15","disabled":true,"description":"[FILTER] on `currency_date`."},{"key":"currency_base","value":"EUR","disabled":true,"description":"[FILTER] on `currency_base`."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API returns all the currency rates on a daily basis."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]}]},{"name":"Stock","description":"Reference operations for product stock. These operations are not available in this API release.","item":[{"name":"List Product Stock","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock","host":["{{base_url}}"],"path":[":version","products","stock"],"query":[{"key":"stock_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_id`."},{"key":"stock_product_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_product_id`."},{"key":"include_disabled","value":"true","disabled":true,"description":"[FILTER] Include disabled / closed (`stock_active:false`) entries. "},{"key":"stock_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] Only show entries modified after the given date."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the stock items."},"response":[{"name":"200 - Reference response format. This operation is not available in this API release.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock","host":["{{base_url}}"],"path":[":version","products","stock"],"query":[{"key":"stock_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_id`."},{"key":"stock_product_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_product_id`."},{"key":"include_disabled","value":"true","disabled":true,"description":"[FILTER] Include disabled / closed (`stock_active:false`) entries. "},{"key":"stock_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] Only show entries modified after the given date."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the stock items."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"total_items\": 10,\n    \"items\": []\n  }\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock","host":["{{base_url}}"],"path":[":version","products","stock"],"query":[{"key":"stock_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_id`."},{"key":"stock_product_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_product_id`."},{"key":"include_disabled","value":"true","disabled":true,"description":"[FILTER] Include disabled / closed (`stock_active:false`) entries. "},{"key":"stock_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] Only show entries modified after the given date."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the stock items."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock","host":["{{base_url}}"],"path":[":version","products","stock"],"query":[{"key":"stock_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_id`."},{"key":"stock_product_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_product_id`."},{"key":"include_disabled","value":"true","disabled":true,"description":"[FILTER] Include disabled / closed (`stock_active:false`) entries. "},{"key":"stock_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] Only show entries modified after the given date."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the stock items."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock","host":["{{base_url}}"],"path":[":version","products","stock"],"query":[{"key":"stock_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_id`."},{"key":"stock_product_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_product_id`."},{"key":"include_disabled","value":"true","disabled":true,"description":"[FILTER] Include disabled / closed (`stock_active:false`) entries. "},{"key":"stock_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] Only show entries modified after the given date."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the stock items."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"405 - Request failed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock","host":["{{base_url}}"],"path":[":version","products","stock"],"query":[{"key":"stock_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_id`."},{"key":"stock_product_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_product_id`."},{"key":"include_disabled","value":"true","disabled":true,"description":"[FILTER] Include disabled / closed (`stock_active:false`) entries. "},{"key":"stock_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] Only show entries modified after the given date."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the stock items."},"status":"Method Not Allowed","code":405,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"406 - Request failed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock","host":["{{base_url}}"],"path":[":version","products","stock"],"query":[{"key":"stock_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_id`."},{"key":"stock_product_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_product_id`."},{"key":"include_disabled","value":"true","disabled":true,"description":"[FILTER] Include disabled / closed (`stock_active:false`) entries. "},{"key":"stock_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] Only show entries modified after the given date."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the stock items."},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock","host":["{{base_url}}"],"path":[":version","products","stock"],"query":[{"key":"stock_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_id`."},{"key":"stock_product_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_product_id`."},{"key":"include_disabled","value":"true","disabled":true,"description":"[FILTER] Include disabled / closed (`stock_active:false`) entries. "},{"key":"stock_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] Only show entries modified after the given date."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the stock items."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock","host":["{{base_url}}"],"path":[":version","products","stock"],"query":[{"key":"stock_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_id`."},{"key":"stock_product_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_product_id`."},{"key":"include_disabled","value":"true","disabled":true,"description":"[FILTER] Include disabled / closed (`stock_active:false`) entries. "},{"key":"stock_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] Only show entries modified after the given date."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the stock items."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock","host":["{{base_url}}"],"path":[":version","products","stock"],"query":[{"key":"stock_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_id`."},{"key":"stock_product_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_product_id`."},{"key":"include_disabled","value":"true","disabled":true,"description":"[FILTER] Include disabled / closed (`stock_active:false`) entries. "},{"key":"stock_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] Only show entries modified after the given date."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the stock items."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock","host":["{{base_url}}"],"path":[":version","products","stock"],"query":[{"key":"stock_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_id`."},{"key":"stock_product_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_product_id`."},{"key":"include_disabled","value":"true","disabled":true,"description":"[FILTER] Include disabled / closed (`stock_active:false`) entries. "},{"key":"stock_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] Only show entries modified after the given date."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the stock items."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock","host":["{{base_url}}"],"path":[":version","products","stock"],"query":[{"key":"stock_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_id`."},{"key":"stock_product_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_product_id`."},{"key":"include_disabled","value":"true","disabled":true,"description":"[FILTER] Include disabled / closed (`stock_active:false`) entries. "},{"key":"stock_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] Only show entries modified after the given date."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the stock items."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock","host":["{{base_url}}"],"path":[":version","products","stock"],"query":[{"key":"stock_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_id`."},{"key":"stock_product_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_product_id`."},{"key":"include_disabled","value":"true","disabled":true,"description":"[FILTER] Include disabled / closed (`stock_active:false`) entries. "},{"key":"stock_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] Only show entries modified after the given date."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the stock items."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock","host":["{{base_url}}"],"path":[":version","products","stock"],"query":[{"key":"stock_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_id`."},{"key":"stock_product_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_product_id`."},{"key":"include_disabled","value":"true","disabled":true,"description":"[FILTER] Include disabled / closed (`stock_active:false`) entries. "},{"key":"stock_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] Only show entries modified after the given date."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the stock items."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock","host":["{{base_url}}"],"path":[":version","products","stock"],"query":[{"key":"stock_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_id`."},{"key":"stock_product_id","value":"[]","disabled":true,"description":"[FILTER] on `stock_product_id`."},{"key":"include_disabled","value":"true","disabled":true,"description":"[FILTER] Include disabled / closed (`stock_active:false`) entries. "},{"key":"stock_modified","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] Only show entries modified after the given date."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API returns all the stock items."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["// This operation is not available in this API release.","pm.execution.skipRequest();"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Update Product Stock","request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock/:stock_id?stock_items_available=50","host":["{{base_url}}"],"path":[":version","products","stock",":stock_id"],"query":[{"key":"stock_items_available","value":"50","disabled":false,"description":"Updated stock quantity."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"stock_id","value":"{{stock_id}}","description":"Identifier of the stock that is updated."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to update the stock for merchandise items."},"response":[{"name":"200 - Reference response format. This operation is not available in this API release.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock/:stock_id?stock_items_available=50","host":["{{base_url}}"],"path":[":version","products","stock",":stock_id"],"query":[{"key":"stock_items_available","value":"50","disabled":false,"description":"Updated stock quantity."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"stock_id","value":"{{stock_id}}","description":"Identifier of the stock that is updated."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to update the stock for merchandise items."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"total_items\": 10,\n    \"items\": []\n  }\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock/:stock_id?stock_items_available=50","host":["{{base_url}}"],"path":[":version","products","stock",":stock_id"],"query":[{"key":"stock_items_available","value":"50","disabled":false,"description":"Updated stock quantity."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"stock_id","value":"{{stock_id}}","description":"Identifier of the stock that is updated."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to update the stock for merchandise items."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock/:stock_id?stock_items_available=50","host":["{{base_url}}"],"path":[":version","products","stock",":stock_id"],"query":[{"key":"stock_items_available","value":"50","disabled":false,"description":"Updated stock quantity."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"stock_id","value":"{{stock_id}}","description":"Identifier of the stock that is updated."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to update the stock for merchandise items."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock/:stock_id?stock_items_available=50","host":["{{base_url}}"],"path":[":version","products","stock",":stock_id"],"query":[{"key":"stock_items_available","value":"50","disabled":false,"description":"Updated stock quantity."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"stock_id","value":"{{stock_id}}","description":"Identifier of the stock that is updated."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to update the stock for merchandise items."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"405 - Request failed.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock/:stock_id?stock_items_available=50","host":["{{base_url}}"],"path":[":version","products","stock",":stock_id"],"query":[{"key":"stock_items_available","value":"50","disabled":false,"description":"Updated stock quantity."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"stock_id","value":"{{stock_id}}","description":"Identifier of the stock that is updated."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to update the stock for merchandise items."},"status":"Method Not Allowed","code":405,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"406 - Request failed.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock/:stock_id?stock_items_available=50","host":["{{base_url}}"],"path":[":version","products","stock",":stock_id"],"query":[{"key":"stock_items_available","value":"50","disabled":false,"description":"Updated stock quantity."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"stock_id","value":"{{stock_id}}","description":"Identifier of the stock that is updated."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to update the stock for merchandise items."},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock/:stock_id?stock_items_available=50","host":["{{base_url}}"],"path":[":version","products","stock",":stock_id"],"query":[{"key":"stock_items_available","value":"50","disabled":false,"description":"Updated stock quantity."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"stock_id","value":"{{stock_id}}","description":"Identifier of the stock that is updated."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to update the stock for merchandise items."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock/:stock_id?stock_items_available=50","host":["{{base_url}}"],"path":[":version","products","stock",":stock_id"],"query":[{"key":"stock_items_available","value":"50","disabled":false,"description":"Updated stock quantity."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"stock_id","value":"{{stock_id}}","description":"Identifier of the stock that is updated."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to update the stock for merchandise items."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock/:stock_id?stock_items_available=50","host":["{{base_url}}"],"path":[":version","products","stock",":stock_id"],"query":[{"key":"stock_items_available","value":"50","disabled":false,"description":"Updated stock quantity."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"stock_id","value":"{{stock_id}}","description":"Identifier of the stock that is updated."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to update the stock for merchandise items."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock/:stock_id?stock_items_available=50","host":["{{base_url}}"],"path":[":version","products","stock",":stock_id"],"query":[{"key":"stock_items_available","value":"50","disabled":false,"description":"Updated stock quantity."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"stock_id","value":"{{stock_id}}","description":"Identifier of the stock that is updated."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to update the stock for merchandise items."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock/:stock_id?stock_items_available=50","host":["{{base_url}}"],"path":[":version","products","stock",":stock_id"],"query":[{"key":"stock_items_available","value":"50","disabled":false,"description":"Updated stock quantity."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"stock_id","value":"{{stock_id}}","description":"Identifier of the stock that is updated."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to update the stock for merchandise items."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock/:stock_id?stock_items_available=50","host":["{{base_url}}"],"path":[":version","products","stock",":stock_id"],"query":[{"key":"stock_items_available","value":"50","disabled":false,"description":"Updated stock quantity."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"stock_id","value":"{{stock_id}}","description":"Identifier of the stock that is updated."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to update the stock for merchandise items."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock/:stock_id?stock_items_available=50","host":["{{base_url}}"],"path":[":version","products","stock",":stock_id"],"query":[{"key":"stock_items_available","value":"50","disabled":false,"description":"Updated stock quantity."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"stock_id","value":"{{stock_id}}","description":"Identifier of the stock that is updated."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to update the stock for merchandise items."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/products/stock/:stock_id?stock_items_available=50","host":["{{base_url}}"],"path":[":version","products","stock",":stock_id"],"query":[{"key":"stock_items_available","value":"50","disabled":false,"description":"Updated stock quantity."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"stock_id","value":"{{stock_id}}","description":"Identifier of the stock that is updated."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to update the stock for merchandise items."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["// This operation is not available in this API release.","pm.execution.skipRequest();"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["if (pm.collectionVariables.get('allow_mutations') !== 'true') { pm.execution.skipRequest(); }"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]}]},{"name":"Availability","description":"The availability API is used to make sure that the product or service is available on the desired date and time slot.","item":[{"name":"List Product Availability","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/availability?product_id={{product_id}}&from_date={{from_date}}","host":["{{base_url}}"],"path":[":version","availability"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":false,"description":"One product ID or a comma-separated list of IDs from Products; required by the supported provider flows."},{"key":"from_date","value":"{{from_date}}","disabled":false,"description":"[FILTER] From which date availability is requested.\nIf supplied with `to_date` , then availability request is for a date range. \nIf supplied without `to_date`, then for a single date availability is requested."},{"key":"to_date","value":"{{to_date}}","disabled":true,"description":"[FILTER] Till which date availability is requested.\nIf this is empty, availability will be searched for the given `from_date` only. "},{"key":"include_disabled","value":"false","disabled":true,"description":"[FILTER] Include disabled / closed (`availability_active:false`) entries. "},{"key":"availability_capacity_id","value":"EXAMPLE","disabled":true,"description":"[FILTER] on `availability_capacity_id`."},{"key":"spots_open_min","value":"1","disabled":true,"description":"[FILTER] The minimum remaining `availability_spots_open`."},{"key":"sub_products_depth","value":"1","disabled":true,"description":"[FILTER] The iteration depth of the included entries of the sub-products in the response. This will not apply to sub-products which have shared capacity linked to the main product.\n\nExample Setup:\n```\nProduct 101 (Main)\n  Product 201 (Sub)\n    Product 301 (Nested)\n    Product 302 (Nested)\n  Product 202 (Sub)\n    Product 401 (Nested)\n    Product 402 (Nested)\n```\n* `sub_products_depth:0` will return Product 101.\n* `sub_products_depth:1` will return Product 101, 201 and 202.\n* `sub_products_depth:2` will return Product 101, 201, 202, 301, 302, 401 and 402."},{"key":"external_cache_policy","value":"CACHE_DYNAMIC","disabled":true,"description":"[CACHE] External cache policy.\n\ntuexperiencia stores snapshots of third-party capacity to improve response times and reduce networking latency. Using an intelligent algorithm our system can decide whether capacity can be served from our cache or a roundtrip to the third-party reservation system is required. These checks include runtime specific metrics such as last modification date, popularity of the product and date range (length and time in advance) to determine the likelihood of the capacity being changed since our last retrieval. \n\nIn most circumstances it is recommended to use the default cache policy, however using this setting you can configure an alternate behaviour. This setting is only applicable to products which source their availabilty from a third-party reservation system (`product_third_party:true`).\n<details>\n  <summary>**External Cache Policies**</summary>\n  \nPolicies:\n* `CACHE_PASS` - Force to pass the cache (Not Recommended).\n\n  Prevents stale and provides realtime data at all times. This setting is likely to cause a considerable increase in response time as one or more synchronous roundtrips are required to one or more third-party systems. These requests will be executed in parallel but our system needs to wait for the slowest performing system to respond. If any third-party system fails or does not acknowledge within the timeout window, this request will fail.\n\n* `CACHE_FORCE` - Force cache.\n\n  Always retrieve data from cache. This can be usefull when you want to batch / search a lot of products at once and allow for some data to be stale.\n Scenarios include daily batching of availability, searching for available products across your complete inventory or determining whether a product is in high or low demand.\n\n* `CACHE_DYNAMIC` - Dynamic cache (Recommended).\nOur system decides during runtime whether it is required to fetch availability directly from the source system or our own internal cache. Written rules optimize response times by automatically weighing third-party latency and cache age (stale data). Automatic fallback is configured in case of the third-party system not being available during a refresh. \n</details>\n"}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"The availability API is used to make sure that the product or service is available on the desired date and time slot. \n\nDepending on the `product_availability` parameter given in the product feed, the availability needs to be requested using this endpoint prior to making a booking.\n\nThis endpoint should be called in order to get up-to-date availability information for a product with managed capacity. \nThe response will contain the availability for each time slot of the requested product that lies within the specified date range. \n\n**Optimize response time**\n\nThe response times depend on two important factors:\n\n  1. Whether the `product_source` is tuexperiencia or a third party system. If the product origin is a third party system, we heavily rely on the performance of that system as well, limiting our ability to ensure low response times. \n  2. Pagination and search complexity. The higher you set the ItemsPerPage param and the more [FILTER] values you add to the URL query, the slower the response time will be. Try to keep it to a minimum to ensure the best results.\n\n**Caching Recommendations**\n\nWe only recommend caching if you would like to show availability for multiple products at once or for example hide fully booked products in a general overview page. Consider carefully whether caching is needed.\n\n\n  An example caching policy: \n  \n  * Before every order, we recommend checking the availability again to get the exact price and availability.\n  * Once per hour, update the availability for the coming week.\n  * Once per day, update the availability for the coming month.\n  * Once per week, update the availability for the coming 90 days.\n  \n  * To further improve accuracy, you could tweak intervals based on the popularity or remaining capacity of the product. For example, only regularly fetch availabilty once the remaining capacity falls below 100.\n    \n> ### Notes\n> * Dates and times are always relative to the supplier timezone and all offsets are automatically adjusted based on daylight saving time (DST).\n> * A maximum of 90 days is allowed. If you would like to batch availability for a longer period, please make multiple calls.\n> * The retrieval of multiple products for longer date ranges can result in slower response times.  "},"response":[{"name":"200 - Product Availability Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/availability?product_id={{product_id}}&from_date={{from_date}}","host":["{{base_url}}"],"path":[":version","availability"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":false,"description":"One product ID or a comma-separated list of IDs from Products; required by the supported provider flows."},{"key":"from_date","value":"{{from_date}}","disabled":false,"description":"[FILTER] From which date availability is requested.\nIf supplied with `to_date` , then availability request is for a date range. \nIf supplied without `to_date`, then for a single date availability is requested."},{"key":"to_date","value":"{{to_date}}","disabled":true,"description":"[FILTER] Till which date availability is requested.\nIf this is empty, availability will be searched for the given `from_date` only. "},{"key":"include_disabled","value":"false","disabled":true,"description":"[FILTER] Include disabled / closed (`availability_active:false`) entries. "},{"key":"availability_capacity_id","value":"EXAMPLE","disabled":true,"description":"[FILTER] on `availability_capacity_id`."},{"key":"spots_open_min","value":"1","disabled":true,"description":"[FILTER] The minimum remaining `availability_spots_open`."},{"key":"sub_products_depth","value":"1","disabled":true,"description":"[FILTER] The iteration depth of the included entries of the sub-products in the response. This will not apply to sub-products which have shared capacity linked to the main product.\n\nExample Setup:\n```\nProduct 101 (Main)\n  Product 201 (Sub)\n    Product 301 (Nested)\n    Product 302 (Nested)\n  Product 202 (Sub)\n    Product 401 (Nested)\n    Product 402 (Nested)\n```\n* `sub_products_depth:0` will return Product 101.\n* `sub_products_depth:1` will return Product 101, 201 and 202.\n* `sub_products_depth:2` will return Product 101, 201, 202, 301, 302, 401 and 402."},{"key":"external_cache_policy","value":"CACHE_DYNAMIC","disabled":true,"description":"[CACHE] External cache policy.\n\ntuexperiencia stores snapshots of third-party capacity to improve response times and reduce networking latency. Using an intelligent algorithm our system can decide whether capacity can be served from our cache or a roundtrip to the third-party reservation system is required. These checks include runtime specific metrics such as last modification date, popularity of the product and date range (length and time in advance) to determine the likelihood of the capacity being changed since our last retrieval. \n\nIn most circumstances it is recommended to use the default cache policy, however using this setting you can configure an alternate behaviour. This setting is only applicable to products which source their availabilty from a third-party reservation system (`product_third_party:true`).\n<details>\n  <summary>**External Cache Policies**</summary>\n  \nPolicies:\n* `CACHE_PASS` - Force to pass the cache (Not Recommended).\n\n  Prevents stale and provides realtime data at all times. This setting is likely to cause a considerable increase in response time as one or more synchronous roundtrips are required to one or more third-party systems. These requests will be executed in parallel but our system needs to wait for the slowest performing system to respond. If any third-party system fails or does not acknowledge within the timeout window, this request will fail.\n\n* `CACHE_FORCE` - Force cache.\n\n  Always retrieve data from cache. This can be usefull when you want to batch / search a lot of products at once and allow for some data to be stale.\n Scenarios include daily batching of availability, searching for available products across your complete inventory or determining whether a product is in high or low demand.\n\n* `CACHE_DYNAMIC` - Dynamic cache (Recommended).\nOur system decides during runtime whether it is required to fetch availability directly from the source system or our own internal cache. Written rules optimize response times by automatically weighing third-party latency and cache age (stale data). Automatic fallback is configured in case of the third-party system not being available during a refresh. \n</details>\n"}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"The availability API is used to make sure that the product or service is available on the desired date and time slot. \n\nDepending on the `product_availability` parameter given in the product feed, the availability needs to be requested using this endpoint prior to making a booking.\n\nThis endpoint should be called in order to get up-to-date availability information for a product with managed capacity. \nThe response will contain the availability for each time slot of the requested product that lies within the specified date range. \n\n**Optimize response time**\n\nThe response times depend on two important factors:\n\n  1. Whether the `product_source` is tuexperiencia or a third party system. If the product origin is a third party system, we heavily rely on the performance of that system as well, limiting our ability to ensure low response times. \n  2. Pagination and search complexity. The higher you set the ItemsPerPage param and the more [FILTER] values you add to the URL query, the slower the response time will be. Try to keep it to a minimum to ensure the best results.\n\n**Caching Recommendations**\n\nWe only recommend caching if you would like to show availability for multiple products at once or for example hide fully booked products in a general overview page. Consider carefully whether caching is needed.\n\n\n  An example caching policy: \n  \n  * Before every order, we recommend checking the availability again to get the exact price and availability.\n  * Once per hour, update the availability for the coming week.\n  * Once per day, update the availability for the coming month.\n  * Once per week, update the availability for the coming 90 days.\n  \n  * To further improve accuracy, you could tweak intervals based on the popularity or remaining capacity of the product. For example, only regularly fetch availabilty once the remaining capacity falls below 100.\n    \n> ### Notes\n> * Dates and times are always relative to the supplier timezone and all offsets are automatically adjusted based on daylight saving time (DST).\n> * A maximum of 90 days is allowed. If you would like to batch availability for a longer period, please make multiple calls.\n> * The retrieval of multiple products for longer date ranges can result in slower response times.  "},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"availability\",\n    \"total_items\": 1,\n    \"items\": [\n      {\n        \"availability_id\": \"20191026090010006526\",\n        \"availability_external_id\": \"20191026090010006526\",\n        \"availability_capacity_id\": \"43525235\",\n        \"availability_capacity_shared_id\": \"435252453\",\n        \"availability_active\": true,\n        \"availability_label\": \"Morning\",\n        \"availability_product_id\": \"3532\",\n        \"availability_admission_type\": \"TIME_PERIOD\",\n        \"availability_duration\": 3600,\n        \"availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n        \"availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n        \"availability_party_size\": 5,\n        \"availability_spots\": {\n          \"availability_spots_total\": 100,\n          \"availability_spots_reserved\": 15,\n          \"availability_spots_booked\": 10,\n          \"availability_spots_open\": 75,\n          \"availability_spots_redeemed\": 10,\n          \"availability_spots_details\": [\n            {\n              \"spot_id\": \"345346363463\",\n              \"spot_name\": \"Regular seat\",\n              \"spot_section\": \"VIP Area\",\n              \"spot_row\": \"F\",\n              \"spot_number\": \"5\",\n              \"spot_type\": \"SEAT\",\n              \"spot_state\": \"AVAILABLE\"\n            }\n          ]\n        },\n        \"availability_pricing\": [\n          {\n            \"availability_pricing_variation_amount\": \"-3.00\",\n            \"availability_pricing_variation_percentage\": \"20.00\",\n            \"availability_pricing_variation_description\": \"Peak hour\",\n            \"availability_pricing_variation_type\": \"WEEKDAY_VARIATION\",\n            \"availability_pricing_variation_price_type\": \"SALES_PRICE\",\n            \"availability_pricing_variation_commission_included\": true,\n            \"availability_pricing_variation_product_type_id\": \"PRODUCT_TYPE_ID_123\",\n            \"availability_pricing_variation_product_type_discount_included\": true,\n            \"availability_pricing_variation_product_type\": \"ADULT\"\n          }\n        ],\n        \"availability_notes\": [\n          {\n            \"note_value\": \"Wheelchair assistance required.\",\n            \"note_type\": \"GUEST\",\n            \"note_date\": \"2019-08-24T14:15:22Z\",\n            \"note_creator\": \"Andrew (Supervisor)\"\n          }\n        ],\n        \"availability_created\": \"2019-08-24T14:15:22Z\",\n        \"availability_modified\": \"2019-08-24T14:15:22Z\"\n      }\n    ]\n  }\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/availability?product_id={{product_id}}&from_date={{from_date}}","host":["{{base_url}}"],"path":[":version","availability"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":false,"description":"One product ID or a comma-separated list of IDs from Products; required by the supported provider flows."},{"key":"from_date","value":"{{from_date}}","disabled":false,"description":"[FILTER] From which date availability is requested.\nIf supplied with `to_date` , then availability request is for a date range. \nIf supplied without `to_date`, then for a single date availability is requested."},{"key":"to_date","value":"{{to_date}}","disabled":true,"description":"[FILTER] Till which date availability is requested.\nIf this is empty, availability will be searched for the given `from_date` only. "},{"key":"include_disabled","value":"false","disabled":true,"description":"[FILTER] Include disabled / closed (`availability_active:false`) entries. "},{"key":"availability_capacity_id","value":"EXAMPLE","disabled":true,"description":"[FILTER] on `availability_capacity_id`."},{"key":"spots_open_min","value":"1","disabled":true,"description":"[FILTER] The minimum remaining `availability_spots_open`."},{"key":"sub_products_depth","value":"1","disabled":true,"description":"[FILTER] The iteration depth of the included entries of the sub-products in the response. This will not apply to sub-products which have shared capacity linked to the main product.\n\nExample Setup:\n```\nProduct 101 (Main)\n  Product 201 (Sub)\n    Product 301 (Nested)\n    Product 302 (Nested)\n  Product 202 (Sub)\n    Product 401 (Nested)\n    Product 402 (Nested)\n```\n* `sub_products_depth:0` will return Product 101.\n* `sub_products_depth:1` will return Product 101, 201 and 202.\n* `sub_products_depth:2` will return Product 101, 201, 202, 301, 302, 401 and 402."},{"key":"external_cache_policy","value":"CACHE_DYNAMIC","disabled":true,"description":"[CACHE] External cache policy.\n\ntuexperiencia stores snapshots of third-party capacity to improve response times and reduce networking latency. Using an intelligent algorithm our system can decide whether capacity can be served from our cache or a roundtrip to the third-party reservation system is required. These checks include runtime specific metrics such as last modification date, popularity of the product and date range (length and time in advance) to determine the likelihood of the capacity being changed since our last retrieval. \n\nIn most circumstances it is recommended to use the default cache policy, however using this setting you can configure an alternate behaviour. This setting is only applicable to products which source their availabilty from a third-party reservation system (`product_third_party:true`).\n<details>\n  <summary>**External Cache Policies**</summary>\n  \nPolicies:\n* `CACHE_PASS` - Force to pass the cache (Not Recommended).\n\n  Prevents stale and provides realtime data at all times. This setting is likely to cause a considerable increase in response time as one or more synchronous roundtrips are required to one or more third-party systems. These requests will be executed in parallel but our system needs to wait for the slowest performing system to respond. If any third-party system fails or does not acknowledge within the timeout window, this request will fail.\n\n* `CACHE_FORCE` - Force cache.\n\n  Always retrieve data from cache. This can be usefull when you want to batch / search a lot of products at once and allow for some data to be stale.\n Scenarios include daily batching of availability, searching for available products across your complete inventory or determining whether a product is in high or low demand.\n\n* `CACHE_DYNAMIC` - Dynamic cache (Recommended).\nOur system decides during runtime whether it is required to fetch availability directly from the source system or our own internal cache. Written rules optimize response times by automatically weighing third-party latency and cache age (stale data). Automatic fallback is configured in case of the third-party system not being available during a refresh. \n</details>\n"}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"The availability API is used to make sure that the product or service is available on the desired date and time slot. \n\nDepending on the `product_availability` parameter given in the product feed, the availability needs to be requested using this endpoint prior to making a booking.\n\nThis endpoint should be called in order to get up-to-date availability information for a product with managed capacity. \nThe response will contain the availability for each time slot of the requested product that lies within the specified date range. \n\n**Optimize response time**\n\nThe response times depend on two important factors:\n\n  1. Whether the `product_source` is tuexperiencia or a third party system. If the product origin is a third party system, we heavily rely on the performance of that system as well, limiting our ability to ensure low response times. \n  2. Pagination and search complexity. The higher you set the ItemsPerPage param and the more [FILTER] values you add to the URL query, the slower the response time will be. Try to keep it to a minimum to ensure the best results.\n\n**Caching Recommendations**\n\nWe only recommend caching if you would like to show availability for multiple products at once or for example hide fully booked products in a general overview page. Consider carefully whether caching is needed.\n\n\n  An example caching policy: \n  \n  * Before every order, we recommend checking the availability again to get the exact price and availability.\n  * Once per hour, update the availability for the coming week.\n  * Once per day, update the availability for the coming month.\n  * Once per week, update the availability for the coming 90 days.\n  \n  * To further improve accuracy, you could tweak intervals based on the popularity or remaining capacity of the product. For example, only regularly fetch availabilty once the remaining capacity falls below 100.\n    \n> ### Notes\n> * Dates and times are always relative to the supplier timezone and all offsets are automatically adjusted based on daylight saving time (DST).\n> * A maximum of 90 days is allowed. If you would like to batch availability for a longer period, please make multiple calls.\n> * The retrieval of multiple products for longer date ranges can result in slower response times.  "},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/availability?product_id={{product_id}}&from_date={{from_date}}","host":["{{base_url}}"],"path":[":version","availability"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":false,"description":"One product ID or a comma-separated list of IDs from Products; required by the supported provider flows."},{"key":"from_date","value":"{{from_date}}","disabled":false,"description":"[FILTER] From which date availability is requested.\nIf supplied with `to_date` , then availability request is for a date range. \nIf supplied without `to_date`, then for a single date availability is requested."},{"key":"to_date","value":"{{to_date}}","disabled":true,"description":"[FILTER] Till which date availability is requested.\nIf this is empty, availability will be searched for the given `from_date` only. "},{"key":"include_disabled","value":"false","disabled":true,"description":"[FILTER] Include disabled / closed (`availability_active:false`) entries. "},{"key":"availability_capacity_id","value":"EXAMPLE","disabled":true,"description":"[FILTER] on `availability_capacity_id`."},{"key":"spots_open_min","value":"1","disabled":true,"description":"[FILTER] The minimum remaining `availability_spots_open`."},{"key":"sub_products_depth","value":"1","disabled":true,"description":"[FILTER] The iteration depth of the included entries of the sub-products in the response. This will not apply to sub-products which have shared capacity linked to the main product.\n\nExample Setup:\n```\nProduct 101 (Main)\n  Product 201 (Sub)\n    Product 301 (Nested)\n    Product 302 (Nested)\n  Product 202 (Sub)\n    Product 401 (Nested)\n    Product 402 (Nested)\n```\n* `sub_products_depth:0` will return Product 101.\n* `sub_products_depth:1` will return Product 101, 201 and 202.\n* `sub_products_depth:2` will return Product 101, 201, 202, 301, 302, 401 and 402."},{"key":"external_cache_policy","value":"CACHE_DYNAMIC","disabled":true,"description":"[CACHE] External cache policy.\n\ntuexperiencia stores snapshots of third-party capacity to improve response times and reduce networking latency. Using an intelligent algorithm our system can decide whether capacity can be served from our cache or a roundtrip to the third-party reservation system is required. These checks include runtime specific metrics such as last modification date, popularity of the product and date range (length and time in advance) to determine the likelihood of the capacity being changed since our last retrieval. \n\nIn most circumstances it is recommended to use the default cache policy, however using this setting you can configure an alternate behaviour. This setting is only applicable to products which source their availabilty from a third-party reservation system (`product_third_party:true`).\n<details>\n  <summary>**External Cache Policies**</summary>\n  \nPolicies:\n* `CACHE_PASS` - Force to pass the cache (Not Recommended).\n\n  Prevents stale and provides realtime data at all times. This setting is likely to cause a considerable increase in response time as one or more synchronous roundtrips are required to one or more third-party systems. These requests will be executed in parallel but our system needs to wait for the slowest performing system to respond. If any third-party system fails or does not acknowledge within the timeout window, this request will fail.\n\n* `CACHE_FORCE` - Force cache.\n\n  Always retrieve data from cache. This can be usefull when you want to batch / search a lot of products at once and allow for some data to be stale.\n Scenarios include daily batching of availability, searching for available products across your complete inventory or determining whether a product is in high or low demand.\n\n* `CACHE_DYNAMIC` - Dynamic cache (Recommended).\nOur system decides during runtime whether it is required to fetch availability directly from the source system or our own internal cache. Written rules optimize response times by automatically weighing third-party latency and cache age (stale data). Automatic fallback is configured in case of the third-party system not being available during a refresh. \n</details>\n"}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"The availability API is used to make sure that the product or service is available on the desired date and time slot. \n\nDepending on the `product_availability` parameter given in the product feed, the availability needs to be requested using this endpoint prior to making a booking.\n\nThis endpoint should be called in order to get up-to-date availability information for a product with managed capacity. \nThe response will contain the availability for each time slot of the requested product that lies within the specified date range. \n\n**Optimize response time**\n\nThe response times depend on two important factors:\n\n  1. Whether the `product_source` is tuexperiencia or a third party system. If the product origin is a third party system, we heavily rely on the performance of that system as well, limiting our ability to ensure low response times. \n  2. Pagination and search complexity. The higher you set the ItemsPerPage param and the more [FILTER] values you add to the URL query, the slower the response time will be. Try to keep it to a minimum to ensure the best results.\n\n**Caching Recommendations**\n\nWe only recommend caching if you would like to show availability for multiple products at once or for example hide fully booked products in a general overview page. Consider carefully whether caching is needed.\n\n\n  An example caching policy: \n  \n  * Before every order, we recommend checking the availability again to get the exact price and availability.\n  * Once per hour, update the availability for the coming week.\n  * Once per day, update the availability for the coming month.\n  * Once per week, update the availability for the coming 90 days.\n  \n  * To further improve accuracy, you could tweak intervals based on the popularity or remaining capacity of the product. For example, only regularly fetch availabilty once the remaining capacity falls below 100.\n    \n> ### Notes\n> * Dates and times are always relative to the supplier timezone and all offsets are automatically adjusted based on daylight saving time (DST).\n> * A maximum of 90 days is allowed. If you would like to batch availability for a longer period, please make multiple calls.\n> * The retrieval of multiple products for longer date ranges can result in slower response times.  "},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/availability?product_id={{product_id}}&from_date={{from_date}}","host":["{{base_url}}"],"path":[":version","availability"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":false,"description":"One product ID or a comma-separated list of IDs from Products; required by the supported provider flows."},{"key":"from_date","value":"{{from_date}}","disabled":false,"description":"[FILTER] From which date availability is requested.\nIf supplied with `to_date` , then availability request is for a date range. \nIf supplied without `to_date`, then for a single date availability is requested."},{"key":"to_date","value":"{{to_date}}","disabled":true,"description":"[FILTER] Till which date availability is requested.\nIf this is empty, availability will be searched for the given `from_date` only. "},{"key":"include_disabled","value":"false","disabled":true,"description":"[FILTER] Include disabled / closed (`availability_active:false`) entries. "},{"key":"availability_capacity_id","value":"EXAMPLE","disabled":true,"description":"[FILTER] on `availability_capacity_id`."},{"key":"spots_open_min","value":"1","disabled":true,"description":"[FILTER] The minimum remaining `availability_spots_open`."},{"key":"sub_products_depth","value":"1","disabled":true,"description":"[FILTER] The iteration depth of the included entries of the sub-products in the response. This will not apply to sub-products which have shared capacity linked to the main product.\n\nExample Setup:\n```\nProduct 101 (Main)\n  Product 201 (Sub)\n    Product 301 (Nested)\n    Product 302 (Nested)\n  Product 202 (Sub)\n    Product 401 (Nested)\n    Product 402 (Nested)\n```\n* `sub_products_depth:0` will return Product 101.\n* `sub_products_depth:1` will return Product 101, 201 and 202.\n* `sub_products_depth:2` will return Product 101, 201, 202, 301, 302, 401 and 402."},{"key":"external_cache_policy","value":"CACHE_DYNAMIC","disabled":true,"description":"[CACHE] External cache policy.\n\ntuexperiencia stores snapshots of third-party capacity to improve response times and reduce networking latency. Using an intelligent algorithm our system can decide whether capacity can be served from our cache or a roundtrip to the third-party reservation system is required. These checks include runtime specific metrics such as last modification date, popularity of the product and date range (length and time in advance) to determine the likelihood of the capacity being changed since our last retrieval. \n\nIn most circumstances it is recommended to use the default cache policy, however using this setting you can configure an alternate behaviour. This setting is only applicable to products which source their availabilty from a third-party reservation system (`product_third_party:true`).\n<details>\n  <summary>**External Cache Policies**</summary>\n  \nPolicies:\n* `CACHE_PASS` - Force to pass the cache (Not Recommended).\n\n  Prevents stale and provides realtime data at all times. This setting is likely to cause a considerable increase in response time as one or more synchronous roundtrips are required to one or more third-party systems. These requests will be executed in parallel but our system needs to wait for the slowest performing system to respond. If any third-party system fails or does not acknowledge within the timeout window, this request will fail.\n\n* `CACHE_FORCE` - Force cache.\n\n  Always retrieve data from cache. This can be usefull when you want to batch / search a lot of products at once and allow for some data to be stale.\n Scenarios include daily batching of availability, searching for available products across your complete inventory or determining whether a product is in high or low demand.\n\n* `CACHE_DYNAMIC` - Dynamic cache (Recommended).\nOur system decides during runtime whether it is required to fetch availability directly from the source system or our own internal cache. Written rules optimize response times by automatically weighing third-party latency and cache age (stale data). Automatic fallback is configured in case of the third-party system not being available during a refresh. \n</details>\n"}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"The availability API is used to make sure that the product or service is available on the desired date and time slot. \n\nDepending on the `product_availability` parameter given in the product feed, the availability needs to be requested using this endpoint prior to making a booking.\n\nThis endpoint should be called in order to get up-to-date availability information for a product with managed capacity. \nThe response will contain the availability for each time slot of the requested product that lies within the specified date range. \n\n**Optimize response time**\n\nThe response times depend on two important factors:\n\n  1. Whether the `product_source` is tuexperiencia or a third party system. If the product origin is a third party system, we heavily rely on the performance of that system as well, limiting our ability to ensure low response times. \n  2. Pagination and search complexity. The higher you set the ItemsPerPage param and the more [FILTER] values you add to the URL query, the slower the response time will be. Try to keep it to a minimum to ensure the best results.\n\n**Caching Recommendations**\n\nWe only recommend caching if you would like to show availability for multiple products at once or for example hide fully booked products in a general overview page. Consider carefully whether caching is needed.\n\n\n  An example caching policy: \n  \n  * Before every order, we recommend checking the availability again to get the exact price and availability.\n  * Once per hour, update the availability for the coming week.\n  * Once per day, update the availability for the coming month.\n  * Once per week, update the availability for the coming 90 days.\n  \n  * To further improve accuracy, you could tweak intervals based on the popularity or remaining capacity of the product. For example, only regularly fetch availabilty once the remaining capacity falls below 100.\n    \n> ### Notes\n> * Dates and times are always relative to the supplier timezone and all offsets are automatically adjusted based on daylight saving time (DST).\n> * A maximum of 90 days is allowed. If you would like to batch availability for a longer period, please make multiple calls.\n> * The retrieval of multiple products for longer date ranges can result in slower response times.  "},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/availability?product_id={{product_id}}&from_date={{from_date}}","host":["{{base_url}}"],"path":[":version","availability"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":false,"description":"One product ID or a comma-separated list of IDs from Products; required by the supported provider flows."},{"key":"from_date","value":"{{from_date}}","disabled":false,"description":"[FILTER] From which date availability is requested.\nIf supplied with `to_date` , then availability request is for a date range. \nIf supplied without `to_date`, then for a single date availability is requested."},{"key":"to_date","value":"{{to_date}}","disabled":true,"description":"[FILTER] Till which date availability is requested.\nIf this is empty, availability will be searched for the given `from_date` only. "},{"key":"include_disabled","value":"false","disabled":true,"description":"[FILTER] Include disabled / closed (`availability_active:false`) entries. "},{"key":"availability_capacity_id","value":"EXAMPLE","disabled":true,"description":"[FILTER] on `availability_capacity_id`."},{"key":"spots_open_min","value":"1","disabled":true,"description":"[FILTER] The minimum remaining `availability_spots_open`."},{"key":"sub_products_depth","value":"1","disabled":true,"description":"[FILTER] The iteration depth of the included entries of the sub-products in the response. This will not apply to sub-products which have shared capacity linked to the main product.\n\nExample Setup:\n```\nProduct 101 (Main)\n  Product 201 (Sub)\n    Product 301 (Nested)\n    Product 302 (Nested)\n  Product 202 (Sub)\n    Product 401 (Nested)\n    Product 402 (Nested)\n```\n* `sub_products_depth:0` will return Product 101.\n* `sub_products_depth:1` will return Product 101, 201 and 202.\n* `sub_products_depth:2` will return Product 101, 201, 202, 301, 302, 401 and 402."},{"key":"external_cache_policy","value":"CACHE_DYNAMIC","disabled":true,"description":"[CACHE] External cache policy.\n\ntuexperiencia stores snapshots of third-party capacity to improve response times and reduce networking latency. Using an intelligent algorithm our system can decide whether capacity can be served from our cache or a roundtrip to the third-party reservation system is required. These checks include runtime specific metrics such as last modification date, popularity of the product and date range (length and time in advance) to determine the likelihood of the capacity being changed since our last retrieval. \n\nIn most circumstances it is recommended to use the default cache policy, however using this setting you can configure an alternate behaviour. This setting is only applicable to products which source their availabilty from a third-party reservation system (`product_third_party:true`).\n<details>\n  <summary>**External Cache Policies**</summary>\n  \nPolicies:\n* `CACHE_PASS` - Force to pass the cache (Not Recommended).\n\n  Prevents stale and provides realtime data at all times. This setting is likely to cause a considerable increase in response time as one or more synchronous roundtrips are required to one or more third-party systems. These requests will be executed in parallel but our system needs to wait for the slowest performing system to respond. If any third-party system fails or does not acknowledge within the timeout window, this request will fail.\n\n* `CACHE_FORCE` - Force cache.\n\n  Always retrieve data from cache. This can be usefull when you want to batch / search a lot of products at once and allow for some data to be stale.\n Scenarios include daily batching of availability, searching for available products across your complete inventory or determining whether a product is in high or low demand.\n\n* `CACHE_DYNAMIC` - Dynamic cache (Recommended).\nOur system decides during runtime whether it is required to fetch availability directly from the source system or our own internal cache. Written rules optimize response times by automatically weighing third-party latency and cache age (stale data). Automatic fallback is configured in case of the third-party system not being available during a refresh. \n</details>\n"}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"The availability API is used to make sure that the product or service is available on the desired date and time slot. \n\nDepending on the `product_availability` parameter given in the product feed, the availability needs to be requested using this endpoint prior to making a booking.\n\nThis endpoint should be called in order to get up-to-date availability information for a product with managed capacity. \nThe response will contain the availability for each time slot of the requested product that lies within the specified date range. \n\n**Optimize response time**\n\nThe response times depend on two important factors:\n\n  1. Whether the `product_source` is tuexperiencia or a third party system. If the product origin is a third party system, we heavily rely on the performance of that system as well, limiting our ability to ensure low response times. \n  2. Pagination and search complexity. The higher you set the ItemsPerPage param and the more [FILTER] values you add to the URL query, the slower the response time will be. Try to keep it to a minimum to ensure the best results.\n\n**Caching Recommendations**\n\nWe only recommend caching if you would like to show availability for multiple products at once or for example hide fully booked products in a general overview page. Consider carefully whether caching is needed.\n\n\n  An example caching policy: \n  \n  * Before every order, we recommend checking the availability again to get the exact price and availability.\n  * Once per hour, update the availability for the coming week.\n  * Once per day, update the availability for the coming month.\n  * Once per week, update the availability for the coming 90 days.\n  \n  * To further improve accuracy, you could tweak intervals based on the popularity or remaining capacity of the product. For example, only regularly fetch availabilty once the remaining capacity falls below 100.\n    \n> ### Notes\n> * Dates and times are always relative to the supplier timezone and all offsets are automatically adjusted based on daylight saving time (DST).\n> * A maximum of 90 days is allowed. If you would like to batch availability for a longer period, please make multiple calls.\n> * The retrieval of multiple products for longer date ranges can result in slower response times.  "},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/availability?product_id={{product_id}}&from_date={{from_date}}","host":["{{base_url}}"],"path":[":version","availability"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":false,"description":"One product ID or a comma-separated list of IDs from Products; required by the supported provider flows."},{"key":"from_date","value":"{{from_date}}","disabled":false,"description":"[FILTER] From which date availability is requested.\nIf supplied with `to_date` , then availability request is for a date range. \nIf supplied without `to_date`, then for a single date availability is requested."},{"key":"to_date","value":"{{to_date}}","disabled":true,"description":"[FILTER] Till which date availability is requested.\nIf this is empty, availability will be searched for the given `from_date` only. "},{"key":"include_disabled","value":"false","disabled":true,"description":"[FILTER] Include disabled / closed (`availability_active:false`) entries. "},{"key":"availability_capacity_id","value":"EXAMPLE","disabled":true,"description":"[FILTER] on `availability_capacity_id`."},{"key":"spots_open_min","value":"1","disabled":true,"description":"[FILTER] The minimum remaining `availability_spots_open`."},{"key":"sub_products_depth","value":"1","disabled":true,"description":"[FILTER] The iteration depth of the included entries of the sub-products in the response. This will not apply to sub-products which have shared capacity linked to the main product.\n\nExample Setup:\n```\nProduct 101 (Main)\n  Product 201 (Sub)\n    Product 301 (Nested)\n    Product 302 (Nested)\n  Product 202 (Sub)\n    Product 401 (Nested)\n    Product 402 (Nested)\n```\n* `sub_products_depth:0` will return Product 101.\n* `sub_products_depth:1` will return Product 101, 201 and 202.\n* `sub_products_depth:2` will return Product 101, 201, 202, 301, 302, 401 and 402."},{"key":"external_cache_policy","value":"CACHE_DYNAMIC","disabled":true,"description":"[CACHE] External cache policy.\n\ntuexperiencia stores snapshots of third-party capacity to improve response times and reduce networking latency. Using an intelligent algorithm our system can decide whether capacity can be served from our cache or a roundtrip to the third-party reservation system is required. These checks include runtime specific metrics such as last modification date, popularity of the product and date range (length and time in advance) to determine the likelihood of the capacity being changed since our last retrieval. \n\nIn most circumstances it is recommended to use the default cache policy, however using this setting you can configure an alternate behaviour. This setting is only applicable to products which source their availabilty from a third-party reservation system (`product_third_party:true`).\n<details>\n  <summary>**External Cache Policies**</summary>\n  \nPolicies:\n* `CACHE_PASS` - Force to pass the cache (Not Recommended).\n\n  Prevents stale and provides realtime data at all times. This setting is likely to cause a considerable increase in response time as one or more synchronous roundtrips are required to one or more third-party systems. These requests will be executed in parallel but our system needs to wait for the slowest performing system to respond. If any third-party system fails or does not acknowledge within the timeout window, this request will fail.\n\n* `CACHE_FORCE` - Force cache.\n\n  Always retrieve data from cache. This can be usefull when you want to batch / search a lot of products at once and allow for some data to be stale.\n Scenarios include daily batching of availability, searching for available products across your complete inventory or determining whether a product is in high or low demand.\n\n* `CACHE_DYNAMIC` - Dynamic cache (Recommended).\nOur system decides during runtime whether it is required to fetch availability directly from the source system or our own internal cache. Written rules optimize response times by automatically weighing third-party latency and cache age (stale data). Automatic fallback is configured in case of the third-party system not being available during a refresh. \n</details>\n"}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"The availability API is used to make sure that the product or service is available on the desired date and time slot. \n\nDepending on the `product_availability` parameter given in the product feed, the availability needs to be requested using this endpoint prior to making a booking.\n\nThis endpoint should be called in order to get up-to-date availability information for a product with managed capacity. \nThe response will contain the availability for each time slot of the requested product that lies within the specified date range. \n\n**Optimize response time**\n\nThe response times depend on two important factors:\n\n  1. Whether the `product_source` is tuexperiencia or a third party system. If the product origin is a third party system, we heavily rely on the performance of that system as well, limiting our ability to ensure low response times. \n  2. Pagination and search complexity. The higher you set the ItemsPerPage param and the more [FILTER] values you add to the URL query, the slower the response time will be. Try to keep it to a minimum to ensure the best results.\n\n**Caching Recommendations**\n\nWe only recommend caching if you would like to show availability for multiple products at once or for example hide fully booked products in a general overview page. Consider carefully whether caching is needed.\n\n\n  An example caching policy: \n  \n  * Before every order, we recommend checking the availability again to get the exact price and availability.\n  * Once per hour, update the availability for the coming week.\n  * Once per day, update the availability for the coming month.\n  * Once per week, update the availability for the coming 90 days.\n  \n  * To further improve accuracy, you could tweak intervals based on the popularity or remaining capacity of the product. For example, only regularly fetch availabilty once the remaining capacity falls below 100.\n    \n> ### Notes\n> * Dates and times are always relative to the supplier timezone and all offsets are automatically adjusted based on daylight saving time (DST).\n> * A maximum of 90 days is allowed. If you would like to batch availability for a longer period, please make multiple calls.\n> * The retrieval of multiple products for longer date ranges can result in slower response times.  "},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/availability?product_id={{product_id}}&from_date={{from_date}}","host":["{{base_url}}"],"path":[":version","availability"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":false,"description":"One product ID or a comma-separated list of IDs from Products; required by the supported provider flows."},{"key":"from_date","value":"{{from_date}}","disabled":false,"description":"[FILTER] From which date availability is requested.\nIf supplied with `to_date` , then availability request is for a date range. \nIf supplied without `to_date`, then for a single date availability is requested."},{"key":"to_date","value":"{{to_date}}","disabled":true,"description":"[FILTER] Till which date availability is requested.\nIf this is empty, availability will be searched for the given `from_date` only. "},{"key":"include_disabled","value":"false","disabled":true,"description":"[FILTER] Include disabled / closed (`availability_active:false`) entries. "},{"key":"availability_capacity_id","value":"EXAMPLE","disabled":true,"description":"[FILTER] on `availability_capacity_id`."},{"key":"spots_open_min","value":"1","disabled":true,"description":"[FILTER] The minimum remaining `availability_spots_open`."},{"key":"sub_products_depth","value":"1","disabled":true,"description":"[FILTER] The iteration depth of the included entries of the sub-products in the response. This will not apply to sub-products which have shared capacity linked to the main product.\n\nExample Setup:\n```\nProduct 101 (Main)\n  Product 201 (Sub)\n    Product 301 (Nested)\n    Product 302 (Nested)\n  Product 202 (Sub)\n    Product 401 (Nested)\n    Product 402 (Nested)\n```\n* `sub_products_depth:0` will return Product 101.\n* `sub_products_depth:1` will return Product 101, 201 and 202.\n* `sub_products_depth:2` will return Product 101, 201, 202, 301, 302, 401 and 402."},{"key":"external_cache_policy","value":"CACHE_DYNAMIC","disabled":true,"description":"[CACHE] External cache policy.\n\ntuexperiencia stores snapshots of third-party capacity to improve response times and reduce networking latency. Using an intelligent algorithm our system can decide whether capacity can be served from our cache or a roundtrip to the third-party reservation system is required. These checks include runtime specific metrics such as last modification date, popularity of the product and date range (length and time in advance) to determine the likelihood of the capacity being changed since our last retrieval. \n\nIn most circumstances it is recommended to use the default cache policy, however using this setting you can configure an alternate behaviour. This setting is only applicable to products which source their availabilty from a third-party reservation system (`product_third_party:true`).\n<details>\n  <summary>**External Cache Policies**</summary>\n  \nPolicies:\n* `CACHE_PASS` - Force to pass the cache (Not Recommended).\n\n  Prevents stale and provides realtime data at all times. This setting is likely to cause a considerable increase in response time as one or more synchronous roundtrips are required to one or more third-party systems. These requests will be executed in parallel but our system needs to wait for the slowest performing system to respond. If any third-party system fails or does not acknowledge within the timeout window, this request will fail.\n\n* `CACHE_FORCE` - Force cache.\n\n  Always retrieve data from cache. This can be usefull when you want to batch / search a lot of products at once and allow for some data to be stale.\n Scenarios include daily batching of availability, searching for available products across your complete inventory or determining whether a product is in high or low demand.\n\n* `CACHE_DYNAMIC` - Dynamic cache (Recommended).\nOur system decides during runtime whether it is required to fetch availability directly from the source system or our own internal cache. Written rules optimize response times by automatically weighing third-party latency and cache age (stale data). Automatic fallback is configured in case of the third-party system not being available during a refresh. \n</details>\n"}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"The availability API is used to make sure that the product or service is available on the desired date and time slot. \n\nDepending on the `product_availability` parameter given in the product feed, the availability needs to be requested using this endpoint prior to making a booking.\n\nThis endpoint should be called in order to get up-to-date availability information for a product with managed capacity. \nThe response will contain the availability for each time slot of the requested product that lies within the specified date range. \n\n**Optimize response time**\n\nThe response times depend on two important factors:\n\n  1. Whether the `product_source` is tuexperiencia or a third party system. If the product origin is a third party system, we heavily rely on the performance of that system as well, limiting our ability to ensure low response times. \n  2. Pagination and search complexity. The higher you set the ItemsPerPage param and the more [FILTER] values you add to the URL query, the slower the response time will be. Try to keep it to a minimum to ensure the best results.\n\n**Caching Recommendations**\n\nWe only recommend caching if you would like to show availability for multiple products at once or for example hide fully booked products in a general overview page. Consider carefully whether caching is needed.\n\n\n  An example caching policy: \n  \n  * Before every order, we recommend checking the availability again to get the exact price and availability.\n  * Once per hour, update the availability for the coming week.\n  * Once per day, update the availability for the coming month.\n  * Once per week, update the availability for the coming 90 days.\n  \n  * To further improve accuracy, you could tweak intervals based on the popularity or remaining capacity of the product. For example, only regularly fetch availabilty once the remaining capacity falls below 100.\n    \n> ### Notes\n> * Dates and times are always relative to the supplier timezone and all offsets are automatically adjusted based on daylight saving time (DST).\n> * A maximum of 90 days is allowed. If you would like to batch availability for a longer period, please make multiple calls.\n> * The retrieval of multiple products for longer date ranges can result in slower response times.  "},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/availability?product_id={{product_id}}&from_date={{from_date}}","host":["{{base_url}}"],"path":[":version","availability"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":false,"description":"One product ID or a comma-separated list of IDs from Products; required by the supported provider flows."},{"key":"from_date","value":"{{from_date}}","disabled":false,"description":"[FILTER] From which date availability is requested.\nIf supplied with `to_date` , then availability request is for a date range. \nIf supplied without `to_date`, then for a single date availability is requested."},{"key":"to_date","value":"{{to_date}}","disabled":true,"description":"[FILTER] Till which date availability is requested.\nIf this is empty, availability will be searched for the given `from_date` only. "},{"key":"include_disabled","value":"false","disabled":true,"description":"[FILTER] Include disabled / closed (`availability_active:false`) entries. "},{"key":"availability_capacity_id","value":"EXAMPLE","disabled":true,"description":"[FILTER] on `availability_capacity_id`."},{"key":"spots_open_min","value":"1","disabled":true,"description":"[FILTER] The minimum remaining `availability_spots_open`."},{"key":"sub_products_depth","value":"1","disabled":true,"description":"[FILTER] The iteration depth of the included entries of the sub-products in the response. This will not apply to sub-products which have shared capacity linked to the main product.\n\nExample Setup:\n```\nProduct 101 (Main)\n  Product 201 (Sub)\n    Product 301 (Nested)\n    Product 302 (Nested)\n  Product 202 (Sub)\n    Product 401 (Nested)\n    Product 402 (Nested)\n```\n* `sub_products_depth:0` will return Product 101.\n* `sub_products_depth:1` will return Product 101, 201 and 202.\n* `sub_products_depth:2` will return Product 101, 201, 202, 301, 302, 401 and 402."},{"key":"external_cache_policy","value":"CACHE_DYNAMIC","disabled":true,"description":"[CACHE] External cache policy.\n\ntuexperiencia stores snapshots of third-party capacity to improve response times and reduce networking latency. Using an intelligent algorithm our system can decide whether capacity can be served from our cache or a roundtrip to the third-party reservation system is required. These checks include runtime specific metrics such as last modification date, popularity of the product and date range (length and time in advance) to determine the likelihood of the capacity being changed since our last retrieval. \n\nIn most circumstances it is recommended to use the default cache policy, however using this setting you can configure an alternate behaviour. This setting is only applicable to products which source their availabilty from a third-party reservation system (`product_third_party:true`).\n<details>\n  <summary>**External Cache Policies**</summary>\n  \nPolicies:\n* `CACHE_PASS` - Force to pass the cache (Not Recommended).\n\n  Prevents stale and provides realtime data at all times. This setting is likely to cause a considerable increase in response time as one or more synchronous roundtrips are required to one or more third-party systems. These requests will be executed in parallel but our system needs to wait for the slowest performing system to respond. If any third-party system fails or does not acknowledge within the timeout window, this request will fail.\n\n* `CACHE_FORCE` - Force cache.\n\n  Always retrieve data from cache. This can be usefull when you want to batch / search a lot of products at once and allow for some data to be stale.\n Scenarios include daily batching of availability, searching for available products across your complete inventory or determining whether a product is in high or low demand.\n\n* `CACHE_DYNAMIC` - Dynamic cache (Recommended).\nOur system decides during runtime whether it is required to fetch availability directly from the source system or our own internal cache. Written rules optimize response times by automatically weighing third-party latency and cache age (stale data). Automatic fallback is configured in case of the third-party system not being available during a refresh. \n</details>\n"}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"The availability API is used to make sure that the product or service is available on the desired date and time slot. \n\nDepending on the `product_availability` parameter given in the product feed, the availability needs to be requested using this endpoint prior to making a booking.\n\nThis endpoint should be called in order to get up-to-date availability information for a product with managed capacity. \nThe response will contain the availability for each time slot of the requested product that lies within the specified date range. \n\n**Optimize response time**\n\nThe response times depend on two important factors:\n\n  1. Whether the `product_source` is tuexperiencia or a third party system. If the product origin is a third party system, we heavily rely on the performance of that system as well, limiting our ability to ensure low response times. \n  2. Pagination and search complexity. The higher you set the ItemsPerPage param and the more [FILTER] values you add to the URL query, the slower the response time will be. Try to keep it to a minimum to ensure the best results.\n\n**Caching Recommendations**\n\nWe only recommend caching if you would like to show availability for multiple products at once or for example hide fully booked products in a general overview page. Consider carefully whether caching is needed.\n\n\n  An example caching policy: \n  \n  * Before every order, we recommend checking the availability again to get the exact price and availability.\n  * Once per hour, update the availability for the coming week.\n  * Once per day, update the availability for the coming month.\n  * Once per week, update the availability for the coming 90 days.\n  \n  * To further improve accuracy, you could tweak intervals based on the popularity or remaining capacity of the product. For example, only regularly fetch availabilty once the remaining capacity falls below 100.\n    \n> ### Notes\n> * Dates and times are always relative to the supplier timezone and all offsets are automatically adjusted based on daylight saving time (DST).\n> * A maximum of 90 days is allowed. If you would like to batch availability for a longer period, please make multiple calls.\n> * The retrieval of multiple products for longer date ranges can result in slower response times.  "},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/availability?product_id={{product_id}}&from_date={{from_date}}","host":["{{base_url}}"],"path":[":version","availability"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":false,"description":"One product ID or a comma-separated list of IDs from Products; required by the supported provider flows."},{"key":"from_date","value":"{{from_date}}","disabled":false,"description":"[FILTER] From which date availability is requested.\nIf supplied with `to_date` , then availability request is for a date range. \nIf supplied without `to_date`, then for a single date availability is requested."},{"key":"to_date","value":"{{to_date}}","disabled":true,"description":"[FILTER] Till which date availability is requested.\nIf this is empty, availability will be searched for the given `from_date` only. "},{"key":"include_disabled","value":"false","disabled":true,"description":"[FILTER] Include disabled / closed (`availability_active:false`) entries. "},{"key":"availability_capacity_id","value":"EXAMPLE","disabled":true,"description":"[FILTER] on `availability_capacity_id`."},{"key":"spots_open_min","value":"1","disabled":true,"description":"[FILTER] The minimum remaining `availability_spots_open`."},{"key":"sub_products_depth","value":"1","disabled":true,"description":"[FILTER] The iteration depth of the included entries of the sub-products in the response. This will not apply to sub-products which have shared capacity linked to the main product.\n\nExample Setup:\n```\nProduct 101 (Main)\n  Product 201 (Sub)\n    Product 301 (Nested)\n    Product 302 (Nested)\n  Product 202 (Sub)\n    Product 401 (Nested)\n    Product 402 (Nested)\n```\n* `sub_products_depth:0` will return Product 101.\n* `sub_products_depth:1` will return Product 101, 201 and 202.\n* `sub_products_depth:2` will return Product 101, 201, 202, 301, 302, 401 and 402."},{"key":"external_cache_policy","value":"CACHE_DYNAMIC","disabled":true,"description":"[CACHE] External cache policy.\n\ntuexperiencia stores snapshots of third-party capacity to improve response times and reduce networking latency. Using an intelligent algorithm our system can decide whether capacity can be served from our cache or a roundtrip to the third-party reservation system is required. These checks include runtime specific metrics such as last modification date, popularity of the product and date range (length and time in advance) to determine the likelihood of the capacity being changed since our last retrieval. \n\nIn most circumstances it is recommended to use the default cache policy, however using this setting you can configure an alternate behaviour. This setting is only applicable to products which source their availabilty from a third-party reservation system (`product_third_party:true`).\n<details>\n  <summary>**External Cache Policies**</summary>\n  \nPolicies:\n* `CACHE_PASS` - Force to pass the cache (Not Recommended).\n\n  Prevents stale and provides realtime data at all times. This setting is likely to cause a considerable increase in response time as one or more synchronous roundtrips are required to one or more third-party systems. These requests will be executed in parallel but our system needs to wait for the slowest performing system to respond. If any third-party system fails or does not acknowledge within the timeout window, this request will fail.\n\n* `CACHE_FORCE` - Force cache.\n\n  Always retrieve data from cache. This can be usefull when you want to batch / search a lot of products at once and allow for some data to be stale.\n Scenarios include daily batching of availability, searching for available products across your complete inventory or determining whether a product is in high or low demand.\n\n* `CACHE_DYNAMIC` - Dynamic cache (Recommended).\nOur system decides during runtime whether it is required to fetch availability directly from the source system or our own internal cache. Written rules optimize response times by automatically weighing third-party latency and cache age (stale data). Automatic fallback is configured in case of the third-party system not being available during a refresh. \n</details>\n"}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"The availability API is used to make sure that the product or service is available on the desired date and time slot. \n\nDepending on the `product_availability` parameter given in the product feed, the availability needs to be requested using this endpoint prior to making a booking.\n\nThis endpoint should be called in order to get up-to-date availability information for a product with managed capacity. \nThe response will contain the availability for each time slot of the requested product that lies within the specified date range. \n\n**Optimize response time**\n\nThe response times depend on two important factors:\n\n  1. Whether the `product_source` is tuexperiencia or a third party system. If the product origin is a third party system, we heavily rely on the performance of that system as well, limiting our ability to ensure low response times. \n  2. Pagination and search complexity. The higher you set the ItemsPerPage param and the more [FILTER] values you add to the URL query, the slower the response time will be. Try to keep it to a minimum to ensure the best results.\n\n**Caching Recommendations**\n\nWe only recommend caching if you would like to show availability for multiple products at once or for example hide fully booked products in a general overview page. Consider carefully whether caching is needed.\n\n\n  An example caching policy: \n  \n  * Before every order, we recommend checking the availability again to get the exact price and availability.\n  * Once per hour, update the availability for the coming week.\n  * Once per day, update the availability for the coming month.\n  * Once per week, update the availability for the coming 90 days.\n  \n  * To further improve accuracy, you could tweak intervals based on the popularity or remaining capacity of the product. For example, only regularly fetch availabilty once the remaining capacity falls below 100.\n    \n> ### Notes\n> * Dates and times are always relative to the supplier timezone and all offsets are automatically adjusted based on daylight saving time (DST).\n> * A maximum of 90 days is allowed. If you would like to batch availability for a longer period, please make multiple calls.\n> * The retrieval of multiple products for longer date ranges can result in slower response times.  "},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/availability?product_id={{product_id}}&from_date={{from_date}}","host":["{{base_url}}"],"path":[":version","availability"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":false,"description":"One product ID or a comma-separated list of IDs from Products; required by the supported provider flows."},{"key":"from_date","value":"{{from_date}}","disabled":false,"description":"[FILTER] From which date availability is requested.\nIf supplied with `to_date` , then availability request is for a date range. \nIf supplied without `to_date`, then for a single date availability is requested."},{"key":"to_date","value":"{{to_date}}","disabled":true,"description":"[FILTER] Till which date availability is requested.\nIf this is empty, availability will be searched for the given `from_date` only. "},{"key":"include_disabled","value":"false","disabled":true,"description":"[FILTER] Include disabled / closed (`availability_active:false`) entries. "},{"key":"availability_capacity_id","value":"EXAMPLE","disabled":true,"description":"[FILTER] on `availability_capacity_id`."},{"key":"spots_open_min","value":"1","disabled":true,"description":"[FILTER] The minimum remaining `availability_spots_open`."},{"key":"sub_products_depth","value":"1","disabled":true,"description":"[FILTER] The iteration depth of the included entries of the sub-products in the response. This will not apply to sub-products which have shared capacity linked to the main product.\n\nExample Setup:\n```\nProduct 101 (Main)\n  Product 201 (Sub)\n    Product 301 (Nested)\n    Product 302 (Nested)\n  Product 202 (Sub)\n    Product 401 (Nested)\n    Product 402 (Nested)\n```\n* `sub_products_depth:0` will return Product 101.\n* `sub_products_depth:1` will return Product 101, 201 and 202.\n* `sub_products_depth:2` will return Product 101, 201, 202, 301, 302, 401 and 402."},{"key":"external_cache_policy","value":"CACHE_DYNAMIC","disabled":true,"description":"[CACHE] External cache policy.\n\ntuexperiencia stores snapshots of third-party capacity to improve response times and reduce networking latency. Using an intelligent algorithm our system can decide whether capacity can be served from our cache or a roundtrip to the third-party reservation system is required. These checks include runtime specific metrics such as last modification date, popularity of the product and date range (length and time in advance) to determine the likelihood of the capacity being changed since our last retrieval. \n\nIn most circumstances it is recommended to use the default cache policy, however using this setting you can configure an alternate behaviour. This setting is only applicable to products which source their availabilty from a third-party reservation system (`product_third_party:true`).\n<details>\n  <summary>**External Cache Policies**</summary>\n  \nPolicies:\n* `CACHE_PASS` - Force to pass the cache (Not Recommended).\n\n  Prevents stale and provides realtime data at all times. This setting is likely to cause a considerable increase in response time as one or more synchronous roundtrips are required to one or more third-party systems. These requests will be executed in parallel but our system needs to wait for the slowest performing system to respond. If any third-party system fails or does not acknowledge within the timeout window, this request will fail.\n\n* `CACHE_FORCE` - Force cache.\n\n  Always retrieve data from cache. This can be usefull when you want to batch / search a lot of products at once and allow for some data to be stale.\n Scenarios include daily batching of availability, searching for available products across your complete inventory or determining whether a product is in high or low demand.\n\n* `CACHE_DYNAMIC` - Dynamic cache (Recommended).\nOur system decides during runtime whether it is required to fetch availability directly from the source system or our own internal cache. Written rules optimize response times by automatically weighing third-party latency and cache age (stale data). Automatic fallback is configured in case of the third-party system not being available during a refresh. \n</details>\n"}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"The availability API is used to make sure that the product or service is available on the desired date and time slot. \n\nDepending on the `product_availability` parameter given in the product feed, the availability needs to be requested using this endpoint prior to making a booking.\n\nThis endpoint should be called in order to get up-to-date availability information for a product with managed capacity. \nThe response will contain the availability for each time slot of the requested product that lies within the specified date range. \n\n**Optimize response time**\n\nThe response times depend on two important factors:\n\n  1. Whether the `product_source` is tuexperiencia or a third party system. If the product origin is a third party system, we heavily rely on the performance of that system as well, limiting our ability to ensure low response times. \n  2. Pagination and search complexity. The higher you set the ItemsPerPage param and the more [FILTER] values you add to the URL query, the slower the response time will be. Try to keep it to a minimum to ensure the best results.\n\n**Caching Recommendations**\n\nWe only recommend caching if you would like to show availability for multiple products at once or for example hide fully booked products in a general overview page. Consider carefully whether caching is needed.\n\n\n  An example caching policy: \n  \n  * Before every order, we recommend checking the availability again to get the exact price and availability.\n  * Once per hour, update the availability for the coming week.\n  * Once per day, update the availability for the coming month.\n  * Once per week, update the availability for the coming 90 days.\n  \n  * To further improve accuracy, you could tweak intervals based on the popularity or remaining capacity of the product. For example, only regularly fetch availabilty once the remaining capacity falls below 100.\n    \n> ### Notes\n> * Dates and times are always relative to the supplier timezone and all offsets are automatically adjusted based on daylight saving time (DST).\n> * A maximum of 90 days is allowed. If you would like to batch availability for a longer period, please make multiple calls.\n> * The retrieval of multiple products for longer date ranges can result in slower response times.  "},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/availability?product_id={{product_id}}&from_date={{from_date}}","host":["{{base_url}}"],"path":[":version","availability"],"query":[{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"product_id","value":"{{product_id}}","disabled":false,"description":"One product ID or a comma-separated list of IDs from Products; required by the supported provider flows."},{"key":"from_date","value":"{{from_date}}","disabled":false,"description":"[FILTER] From which date availability is requested.\nIf supplied with `to_date` , then availability request is for a date range. \nIf supplied without `to_date`, then for a single date availability is requested."},{"key":"to_date","value":"{{to_date}}","disabled":true,"description":"[FILTER] Till which date availability is requested.\nIf this is empty, availability will be searched for the given `from_date` only. "},{"key":"include_disabled","value":"false","disabled":true,"description":"[FILTER] Include disabled / closed (`availability_active:false`) entries. "},{"key":"availability_capacity_id","value":"EXAMPLE","disabled":true,"description":"[FILTER] on `availability_capacity_id`."},{"key":"spots_open_min","value":"1","disabled":true,"description":"[FILTER] The minimum remaining `availability_spots_open`."},{"key":"sub_products_depth","value":"1","disabled":true,"description":"[FILTER] The iteration depth of the included entries of the sub-products in the response. This will not apply to sub-products which have shared capacity linked to the main product.\n\nExample Setup:\n```\nProduct 101 (Main)\n  Product 201 (Sub)\n    Product 301 (Nested)\n    Product 302 (Nested)\n  Product 202 (Sub)\n    Product 401 (Nested)\n    Product 402 (Nested)\n```\n* `sub_products_depth:0` will return Product 101.\n* `sub_products_depth:1` will return Product 101, 201 and 202.\n* `sub_products_depth:2` will return Product 101, 201, 202, 301, 302, 401 and 402."},{"key":"external_cache_policy","value":"CACHE_DYNAMIC","disabled":true,"description":"[CACHE] External cache policy.\n\ntuexperiencia stores snapshots of third-party capacity to improve response times and reduce networking latency. Using an intelligent algorithm our system can decide whether capacity can be served from our cache or a roundtrip to the third-party reservation system is required. These checks include runtime specific metrics such as last modification date, popularity of the product and date range (length and time in advance) to determine the likelihood of the capacity being changed since our last retrieval. \n\nIn most circumstances it is recommended to use the default cache policy, however using this setting you can configure an alternate behaviour. This setting is only applicable to products which source their availabilty from a third-party reservation system (`product_third_party:true`).\n<details>\n  <summary>**External Cache Policies**</summary>\n  \nPolicies:\n* `CACHE_PASS` - Force to pass the cache (Not Recommended).\n\n  Prevents stale and provides realtime data at all times. This setting is likely to cause a considerable increase in response time as one or more synchronous roundtrips are required to one or more third-party systems. These requests will be executed in parallel but our system needs to wait for the slowest performing system to respond. If any third-party system fails or does not acknowledge within the timeout window, this request will fail.\n\n* `CACHE_FORCE` - Force cache.\n\n  Always retrieve data from cache. This can be usefull when you want to batch / search a lot of products at once and allow for some data to be stale.\n Scenarios include daily batching of availability, searching for available products across your complete inventory or determining whether a product is in high or low demand.\n\n* `CACHE_DYNAMIC` - Dynamic cache (Recommended).\nOur system decides during runtime whether it is required to fetch availability directly from the source system or our own internal cache. Written rules optimize response times by automatically weighing third-party latency and cache age (stale data). Automatic fallback is configured in case of the third-party system not being available during a refresh. \n</details>\n"}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"The availability API is used to make sure that the product or service is available on the desired date and time slot. \n\nDepending on the `product_availability` parameter given in the product feed, the availability needs to be requested using this endpoint prior to making a booking.\n\nThis endpoint should be called in order to get up-to-date availability information for a product with managed capacity. \nThe response will contain the availability for each time slot of the requested product that lies within the specified date range. \n\n**Optimize response time**\n\nThe response times depend on two important factors:\n\n  1. Whether the `product_source` is tuexperiencia or a third party system. If the product origin is a third party system, we heavily rely on the performance of that system as well, limiting our ability to ensure low response times. \n  2. Pagination and search complexity. The higher you set the ItemsPerPage param and the more [FILTER] values you add to the URL query, the slower the response time will be. Try to keep it to a minimum to ensure the best results.\n\n**Caching Recommendations**\n\nWe only recommend caching if you would like to show availability for multiple products at once or for example hide fully booked products in a general overview page. Consider carefully whether caching is needed.\n\n\n  An example caching policy: \n  \n  * Before every order, we recommend checking the availability again to get the exact price and availability.\n  * Once per hour, update the availability for the coming week.\n  * Once per day, update the availability for the coming month.\n  * Once per week, update the availability for the coming 90 days.\n  \n  * To further improve accuracy, you could tweak intervals based on the popularity or remaining capacity of the product. For example, only regularly fetch availabilty once the remaining capacity falls below 100.\n    \n> ### Notes\n> * Dates and times are always relative to the supplier timezone and all offsets are automatically adjusted based on daylight saving time (DST).\n> * A maximum of 90 days is allowed. If you would like to batch availability for a longer period, please make multiple calls.\n> * The retrieval of multiple products for longer date ranges can result in slower response times.  "},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]}]},{"name":"Reservations / Cart","description":"Reserving a product is only mandatory in case the product has managed capacity. Although we also recommend to implement it in the following cases:\n- When holding customer products inside a shoppingcart. \n- Lock a slot while waiting for a confirmed payment.\n- High demand / low availability tickets (concert/events).\n- Adding promocodes to an order.\n- Managing combi- and cart-discounts.\n- Cross-client order process.\n\nReservations can be confirmed by passing the `reservation_reference` to the Create Order API. One or more products can be reserved at once. We highly recommend implementing the Cart flow for maximum functionality. \n","item":[{"name":"Create Reservation / Create Cart","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations","host":["{{base_url}}"],"path":[":version","reservations"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to reserve one or multiple product(s).\n* This endpoint can also be requested for products without managed capacity.\n* This endpoint should be called only once per order. \n  Followup request such as amending the cart should be done using the 'Update Reservation` endpoint.\n\n### Checkout fields (API v2.0)\n\nThe request to create a reservation does not need to include `reservation_checkout_fields`. When additional information is configured for a selected product, the response includes `data.reservation.reservation_checkout_fields`. This property is optional and may be absent or empty.\n\nClients should inspect the returned fields dynamically, preserve their IDs and booking references, collect every supported field marked `REQUIRED`, and submit the answers through `PUT /reservations/{reservation_reference}` before creating the order. Do not confirm the reservation until that update succeeds.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_distributor_id\": \"{{distributor_id}}\",\n      \"reservation_external_reference\": \"EXAMPLE-RESERVATION\",\n      \"reservation_details\": [\n        {\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"name":"201 - Reservation Created","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations","host":["{{base_url}}"],"path":[":version","reservations"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to reserve one or multiple product(s).\n* This endpoint can also be requested for products without managed capacity.\n* This endpoint should be called only once per order. \n  Followup request such as amending the cart should be done using the 'Update Reservation` endpoint.\n\n### Checkout fields (API v2.0)\n\nThe request to create a reservation does not need to include `reservation_checkout_fields`. When additional information is configured for a selected product, the response includes `data.reservation.reservation_checkout_fields`. This property is optional and may be absent or empty.\n\nClients should inspect the returned fields dynamically, preserve their IDs and booking references, collect every supported field marked `REQUIRED`, and submit the answers through `PUT /reservations/{reservation_reference}` before creating the order. Do not confirm the reservation until that update succeeds.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_distributor_id\": \"{{distributor_id}}\",\n      \"reservation_external_reference\": \"EXAMPLE-RESERVATION\",\n      \"reservation_details\": [\n        {\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_distributor_id\": \"501\",\n      \"reservation_distributor_name\": \"Demo Distributor\",\n      \"reservation_partner_id\": \"4534543543\",\n      \"reservation_partner_name\": \"Partner Name\",\n      \"reservation_reference\": \"ABC123456\",\n      \"reservation_external_reference\": \"EXTERNALREF123\",\n      \"reservation_hold_token\": \"17378c14-ae6a-46a4-ada4-9c745a45e018\",\n      \"reservation_valid_until\": \"2019-08-24T14:15:22Z\",\n      \"reservation_details\": [\n        {\n          \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n          \"booking_status\": \"BOOKING_RESERVED\",\n          \"booking_version\": 1,\n          \"booking_voucher_released\": true,\n          \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n          \"booking_valid_until\": \"2019-08-24T14:15:22Z\",\n          \"booking_invoice_status\": \"INVOICED\",\n          \"booking_language\": \"en\",\n          \"booking_addon_reference\": \"BOOKING_ADDON_REFERENCE_123\",\n          \"booking_pricing\": {\n            \"price_type\": \"SALES\",\n            \"price_currency_code\": \"EUR\",\n            \"price_currency_rate\": \"1.647\",\n            \"price_subtotal\": \"20.00\",\n            \"price_variations\": [\n              {\n                \"variation_label\": \"Peak Hour\",\n                \"variation_amount\": \"2.50\",\n                \"variation_type\": \"PRODUCT_DYNAMIC\"\n              }\n            ],\n            \"price_promocodes\": [\n              {\n                \"promo_code\": \"PROMOCODE_123\",\n                \"promo_amount\": \"-5.50\"\n              }\n            ],\n            \"price_taxes\": [\n              {\n                \"tax_id\": \"TAX_ID_123\",\n                \"tax_name\": \"VAT Regular 20%\",\n                \"tax_amount\": \"0.65\",\n                \"tax_rate\": \"20.00\"\n              }\n            ],\n            \"price_fees\": [\n              {\n                \"fee_label\": \"Creditcard - Variable Cost\",\n                \"fee_type\": \"SERVICE\",\n                \"fee_amount\": \"0.50\",\n                \"fee_percentage\": \"25.00\",\n                \"fee_tax_id\": \"TAX_ID_123\",\n                \"fee_tax_amount\": \"0.65\",\n                \"fee_included\": true,\n                \"fee_refundable\": true\n              }\n            ],\n            \"price_margins\": [\n              {\n                \"margin_type\": \"SERVICE\",\n                \"margin_amount\": \"0.50\",\n                \"margin_tax_id\": \"TAX_ID_123\",\n                \"margin_tax_amount\": \"0.65\"\n              }\n            ],\n            \"price_total\": \"12.00\"\n          },\n          \"booking_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"booking_customer_url\": \"https://example.com/orders/ORDRREF123456\",\n          \"booking_created\": \"2019-08-24T14:15:22Z\",\n          \"booking_modified\": \"2019-08-24T14:15:22Z\",\n          \"booking_confirmed\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancelled\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancellation_reason\": \"Payment declined\",\n          \"product_id\": \"10001\",\n          \"product_relation_id\": \"MAIN_PRODUCT_ID_123\",\n          \"product_pickup_point_id\": \"PICKUP_POINT_ID_123\",\n          \"product_pickup_point\": {\n            \"pickup_point_id\": \"PICKUP_POINT_ID_123\",\n            \"pickup_point_name\": \"Walkingtour at the Wyndham Apollo Hotel\",\n            \"pickup_point_type\": \"FIXED\",\n            \"pickup_point_description\": \"Meet at the Wyndham Apollo hotel.\",\n            \"pickup_point_location\": \"LOCATION_ID_123\",\n            \"pickup_point_time\": \"10:00\",\n            \"pickup_point_times\": [\n              \"10:00\"\n            ],\n            \"pickup_point_duration\": 30,\n            \"pickup_point_availability_dependency\": false\n          },\n          \"product_availability_id\": \"20191026090010006526\",\n          \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_capacity_id\": \"43525235\",\n          \"product_availability_capacity_shared_id\": \"435252453\",\n          \"product_title\": \"Test Product\",\n          \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n          \"product_supplier_name\": \"Test Museum\",\n          \"product_supplier_admin_id\": \"PRODUCT_SUPPLIER_ADMIN_ID\",\n          \"product_supplier_admin_name\": \"Supplier Admin Name\",\n          \"product_market_admin_id\": \"345345342\",\n          \"product_market_admin_name\": \"Market Admin Name\",\n          \"product_source_id\": \"34564574\",\n          \"product_source_name\": \"Example source\",\n          \"product_entry_notes\": \"Reconfirmation: Please call or email atleast 72 hour in advance to reconfirm your arrival.\",\n          \"product_admission_type\": \"TIME_PERIOD\",\n          \"product_currency_code\": \"USD\",\n          \"product_cancellation_allowed\": true,\n          \"product_options\": [\n            {\n              \"option_id\": \"1118\",\n              \"option_value_text\": \"string\",\n              \"option_values\": [\n                {\n                  \"value_id\": \"4921\",\n                  \"value_name\": \"Wine\",\n                  \"value_price\": \"8.00\",\n                  \"value_price_tax_id\": \"TAX_ID_123\",\n                  \"value_price_tax_amount\": \"0.65\",\n                  \"value_product_type_id\": \"ADULT_123\",\n                  \"value_count\": 2\n                }\n              ]\n            }\n          ],\n          \"product_combi_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\"\n            }\n          ],\n          \"product_bundle_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\"\n            }\n          ],\n          \"product_addon_details\": [\n            {\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_order_reference\": \"BOOKING_ORDER_REFERENCE\",\n              \"booking_reference\": \"BOOKING_REF123\"\n            }\n          ],\n          \"booking_reservation_reference\": \"BOOKING_RESERVATION_REFERENCE_123\",\n          \"booking_reservation_valid_until\": \"2019-08-24T14:15:22Z\",\n          \"product_type_details\": [\n            {\n              \"product_type\": \"ADULT\",\n              \"product_type_class\": \"STANDARD\",\n              \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n              \"product_type_label\": \"Adult\",\n              \"product_type_age_from\": 18,\n              \"product_type_age_to\": 65,\n              \"product_type_count\": 1,\n              \"product_type_pax\": 1,\n              \"product_type_capacity\": 1,\n              \"product_type_spots\": [\n                {\n                  \"spot_id\": \"345346363463\",\n                  \"spot_name\": \"Regular seat\",\n                  \"spot_section\": \"VIP Area\",\n                  \"spot_row\": \"F\",\n                  \"spot_number\": \"5\",\n                  \"spot_type\": \"SEAT\",\n                  \"spot_state\": \"AVAILABLE\"\n                }\n              ],\n              \"product_type_code\": \"1539762088951995\",\n              \"product_type_pricing\": {\n                \"price_type\": \"SALES\",\n                \"price_currency_code\": \"EUR\",\n                \"price_currency_rate\": \"1.647\",\n                \"price_subtotal\": \"20.00\",\n                \"price_variations\": [\n                  {\n                    \"variation_label\": \"Peak Hour\",\n                    \"variation_amount\": \"2.50\",\n                    \"variation_type\": \"PRODUCT_DYNAMIC\"\n                  }\n                ],\n                \"price_promocodes\": [],\n                \"price_taxes\": [],\n                \"price_fees\": [],\n                \"price_margins\": [],\n                \"price_total\": \"12.00\"\n              }\n            }\n          ]\n        }\n      ],\n      \"reservation_contacts\": [\n        {\n          \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n          \"contact_version\": 2,\n          \"contact_number\": \"4573246\",\n          \"contact_type\": \"GUEST\",\n          \"contact_title\": \"Mr.\",\n          \"contact_name_first\": \"John\",\n          \"contact_name_last\": \"Doe\",\n          \"contact_email\": \"Johndoe@example.com\",\n          \"contact_phone\": \"+14155552671\",\n          \"contact_mobile\": \"+14155552671\",\n          \"contact_language\": \"NL\",\n          \"contact_nationality\": \"Dutch\",\n          \"contact_flight_number\": \"KL 445\",\n          \"contact_loyalty_number\": \"46564564564547476\",\n          \"contact_birth_place\": \"Amsterdam\",\n          \"contact_birth_date\": \"2019-08-24\",\n          \"contact_passport\": \"JXXXXXXX\",\n          \"contact_gender\": \"MALE\",\n          \"contact_age\": 19,\n          \"contact_redacted\": false,\n          \"contact_room_number\": \"523\",\n          \"contact_website\": \"example.com\",\n          \"contact_company\": {\n            \"company_name\": \"Example LTD.\",\n            \"company_registration_number\": \"string\",\n            \"company_tax_number\": \"string\"\n          },\n          \"contact_classification\": \"IMPORTANT\",\n          \"contact_address\": {\n            \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"name\": \"Start of the Tour / My house / Office / John Doe\",\n            \"street\": \"Amstel 1\",\n            \"addition\": \"Apt B1\",\n            \"city\": \"Amsterdam\",\n            \"postal_code\": \"1011 PN\",\n            \"region\": \"Noord-Holland\",\n            \"country\": \"The Netherlands\",\n            \"country_code\": \"NL\",\n            \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n            \"latitude\": \"52.3785323\",\n            \"longitude\": \"4.893942\",\n            \"notes\": \"It's on the fourth floor\"\n          },\n          \"contact_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"contact_custom_fields\": [\n            {\n              \"custom_field_name\": \"Custom Field Name\",\n              \"custom_field_value\": \"Custom Field Value\",\n              \"custom_field_type\": \"SYSTEM\"\n            }\n          ],\n          \"contact_created\": \"2019-08-24T14:15:22Z\",\n          \"contact_modified\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"reservation_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"CHECKOUT_FIELD_ID\",\n          \"checkout_field_title\": \"First Name\",\n          \"checkout_field_label\": \"Please provide your first name\",\n          \"checkout_field_account_type\": \"DISTRIBUTOR\",\n          \"checkout_field_booking_reference\": [\n            \"string\"\n          ],\n          \"checkout_field_restriction\": \"REQUIRED\",\n          \"checkout_field_level\": \"PRODUCT\",\n          \"checkout_field_unit\": \"string\",\n          \"checkout_field_input_type\": \"SINGLE\",\n          \"checkout_field_type\": \"contact_title\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value_product_type\": \"string\",\n              \"checkout_field_value\": [\n                \"string\"\n              ],\n              \"checkout_field_value_transaction_reference\": \"string\"\n            }\n          ],\n          \"checkout_field_created\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"reservation_promocodes\": [\n        {\n          \"promo_title\": \"Christmas Sale 2019\",\n          \"promo_description\": \"20 percent discount during the Christmas days.\",\n          \"promo_code\": \"PROMOCODE_123\"\n        }\n      ],\n      \"reservation_pricing\": {\n        \"price_type\": \"SALES\",\n        \"price_currency_code\": \"EUR\",\n        \"price_currency_rate\": \"1.647\",\n        \"price_subtotal\": \"20.00\",\n        \"price_variations\": [\n          {\n            \"variation_label\": \"Peak Hour\",\n            \"variation_amount\": \"2.50\",\n            \"variation_type\": \"PRODUCT_DYNAMIC\"\n          }\n        ],\n        \"price_promocodes\": [\n          {\n            \"promo_code\": \"PROMOCODE_123\",\n            \"promo_amount\": \"-5.50\"\n          }\n        ],\n        \"price_taxes\": [\n          {\n            \"tax_id\": \"TAX_ID_123\",\n            \"tax_name\": \"VAT Regular 20%\",\n            \"tax_amount\": \"0.65\",\n            \"tax_rate\": \"20.00\"\n          }\n        ],\n        \"price_fees\": [\n          {\n            \"fee_label\": \"Creditcard - Variable Cost\",\n            \"fee_type\": \"SERVICE\",\n            \"fee_amount\": \"0.50\",\n            \"fee_percentage\": \"25.00\",\n            \"fee_tax_id\": \"TAX_ID_123\",\n            \"fee_tax_amount\": \"0.65\",\n            \"fee_included\": true,\n            \"fee_refundable\": true\n          }\n        ],\n        \"price_margins\": [\n          {\n            \"margin_type\": \"SERVICE\",\n            \"margin_amount\": \"0.50\",\n            \"margin_tax_id\": \"TAX_ID_123\",\n            \"margin_tax_amount\": \"0.65\"\n          }\n        ],\n        \"price_total\": \"12.00\"\n      },\n      \"reservation_payments\": [\n        {\n          \"payment_id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"payment_original_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n          \"payment_partner_id\": \"PAYMENT_PARTNER_ID\",\n          \"payment_shift_id\": \"PAYMENT_SHIFT_ID_123\",\n          \"payment_merchant_reference\": \"1478349849927_771663371\",\n          \"payment_external_reference\": \"SHOPPER_REFERENCE\",\n          \"payment_order_reference\": \"ORDRREF123456\",\n          \"payment_booking_references\": [\n            \"BKNGREF123456\"\n          ],\n          \"payment_order_version\": 2,\n          \"payment_status\": \"PAID\",\n          \"payment_method\": \"EXTERNAL\",\n          \"payment_scheme\": \"VISA\",\n          \"payment_type\": \"CAPTURE\",\n          \"payment_link\": \"https://example.com/s?q=K0U2VmVNRGo0SEhGdFVUZ09IK2ViZkdtK1NjPQ==\",\n          \"payment_link_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_authorization_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_recurring\": false,\n          \"payment_recurring_type\": \"STORE\",\n          \"payment_class\": \"SALES\",\n          \"payment_refund_type\": \"SYSTEM\",\n          \"payment_refund_reason\": \"Guest reimbursement\",\n          \"payment_currency_code\": \"EUR\",\n          \"payment_currency_rate\": \"2.5263\",\n          \"payment_currency_amount\": \"10.25\",\n          \"payment_amount\": \"10.00\",\n          \"payment_total\": \"100.00\",\n          \"payment_gateway_details\": {\n            \"payment_merchant_account_name\": \"ExampleMerchant\",\n            \"payment_service_provider_reference\": \"852596799876396F\",\n            \"payment_service_provider_original_reference\": \"882596799845511E\",\n            \"payment_gateway_type\": \"ADYEN\",\n            \"payment_gateway_additional_values\": {\n              \"psp_shopper_name\": \"Checkout Shopper PlaceHolder\",\n              \"psp_shopper_cardnumber\": \"1111\",\n              \"psp_issuer_country\": \"NL\",\n              \"psp_fraudscore\": \"63\",\n              \"psp_payment_status\": \"Settled\"\n            }\n          },\n          \"payment_contact\": {\n            \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n            \"contact_version\": 2,\n            \"contact_number\": \"4573246\",\n            \"contact_type\": \"GUEST\",\n            \"contact_title\": \"Mr.\",\n            \"contact_name_first\": \"John\",\n            \"contact_name_last\": \"Doe\",\n            \"contact_email\": \"Johndoe@example.com\",\n            \"contact_phone\": \"+14155552671\",\n            \"contact_mobile\": \"+14155552671\",\n            \"contact_language\": \"NL\",\n            \"contact_nationality\": \"Dutch\",\n            \"contact_flight_number\": \"KL 445\",\n            \"contact_loyalty_number\": \"46564564564547476\",\n            \"contact_birth_place\": \"Amsterdam\",\n            \"contact_birth_date\": \"2019-08-24\",\n            \"contact_passport\": \"JXXXXXXX\",\n            \"contact_gender\": \"MALE\",\n            \"contact_age\": 19,\n            \"contact_redacted\": false,\n            \"contact_room_number\": \"523\",\n            \"contact_website\": \"example.com\",\n            \"contact_company\": {\n              \"company_name\": \"Example LTD.\",\n              \"company_registration_number\": \"string\",\n              \"company_tax_number\": \"string\"\n            },\n            \"contact_classification\": \"IMPORTANT\",\n            \"contact_address\": {\n              \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n              \"name\": \"Start of the Tour / My house / Office / John Doe\",\n              \"street\": \"Amstel 1\",\n              \"addition\": \"Apt B1\",\n              \"city\": \"Amsterdam\",\n              \"postal_code\": \"1011 PN\",\n              \"region\": \"Noord-Holland\",\n              \"country\": \"The Netherlands\",\n              \"country_code\": \"NL\",\n              \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n              \"latitude\": \"52.3785323\",\n              \"longitude\": \"4.893942\",\n              \"notes\": \"It's on the fourth floor\"\n            },\n            \"contact_notes\": [\n              {\n                \"note_value\": \"Wheelchair assistance required.\",\n                \"note_type\": \"GUEST\",\n                \"note_date\": \"2019-08-24T14:15:22Z\",\n                \"note_creator\": \"Andrew (Supervisor)\"\n              }\n            ],\n            \"contact_custom_fields\": [\n              {\n                \"custom_field_name\": \"Custom Field Name\",\n                \"custom_field_value\": \"Custom Field Value\",\n                \"custom_field_type\": \"SYSTEM\"\n              }\n            ],\n            \"contact_created\": \"2019-08-24T14:15:22Z\",\n            \"contact_modified\": \"2019-08-24T14:15:22Z\"\n          },\n          \"payment_fees\": [\n            {\n              \"fee_label\": \"Credit Card Fee (VISA)\",\n              \"fee_amount\": \"0.10\",\n              \"fee_type\": \"PAYMENT\"\n            }\n          ],\n          \"payment_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"payment_created\": \"2019-08-24T14:15:22Z\",\n          \"payment_created_name\": \"Cashier Name\",\n          \"payment_created_email\": \"cashier@example.com\"\n        }\n      ],\n      \"reservation_credit\": {\n        \"credit_status\": \"ACTIVE\",\n        \"credit_total\": \"100.00\",\n        \"credit_deposit\": \"string\",\n        \"credit_blocked\": \"20.00\",\n        \"credit_used\": \"30.00\",\n        \"credit_remaining\": \"50.00\",\n        \"credit_invoice_interval\": \"MANUAL\",\n        \"credit_invoice_settlement\": \"MANUAL\",\n        \"credit_reset\": \"2019-08-24T14:15:22Z\"\n      },\n      \"reservation_custom_fields\": [\n        {\n          \"custom_field_name\": \"Custom Field Name\",\n          \"custom_field_value\": \"Custom Field Value\",\n          \"custom_field_type\": \"SYSTEM\"\n        }\n      ],\n      \"reservation_created\": \"2019-08-24T14:15:22Z\",\n      \"reservation_created_name\": \"Demo Cashier\",\n      \"reservation_created_email\": \"cashier@example.com\",\n      \"reservation_modified\": \"2019-08-24T14:15:22Z\"\n    }\n  }\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations","host":["{{base_url}}"],"path":[":version","reservations"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to reserve one or multiple product(s).\n* This endpoint can also be requested for products without managed capacity.\n* This endpoint should be called only once per order. \n  Followup request such as amending the cart should be done using the 'Update Reservation` endpoint.\n\n### Checkout fields (API v2.0)\n\nThe request to create a reservation does not need to include `reservation_checkout_fields`. When additional information is configured for a selected product, the response includes `data.reservation.reservation_checkout_fields`. This property is optional and may be absent or empty.\n\nClients should inspect the returned fields dynamically, preserve their IDs and booking references, collect every supported field marked `REQUIRED`, and submit the answers through `PUT /reservations/{reservation_reference}` before creating the order. Do not confirm the reservation until that update succeeds.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_distributor_id\": \"{{distributor_id}}\",\n      \"reservation_external_reference\": \"EXAMPLE-RESERVATION\",\n      \"reservation_details\": [\n        {\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations","host":["{{base_url}}"],"path":[":version","reservations"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to reserve one or multiple product(s).\n* This endpoint can also be requested for products without managed capacity.\n* This endpoint should be called only once per order. \n  Followup request such as amending the cart should be done using the 'Update Reservation` endpoint.\n\n### Checkout fields (API v2.0)\n\nThe request to create a reservation does not need to include `reservation_checkout_fields`. When additional information is configured for a selected product, the response includes `data.reservation.reservation_checkout_fields`. This property is optional and may be absent or empty.\n\nClients should inspect the returned fields dynamically, preserve their IDs and booking references, collect every supported field marked `REQUIRED`, and submit the answers through `PUT /reservations/{reservation_reference}` before creating the order. Do not confirm the reservation until that update succeeds.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_distributor_id\": \"{{distributor_id}}\",\n      \"reservation_external_reference\": \"EXAMPLE-RESERVATION\",\n      \"reservation_details\": [\n        {\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations","host":["{{base_url}}"],"path":[":version","reservations"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to reserve one or multiple product(s).\n* This endpoint can also be requested for products without managed capacity.\n* This endpoint should be called only once per order. \n  Followup request such as amending the cart should be done using the 'Update Reservation` endpoint.\n\n### Checkout fields (API v2.0)\n\nThe request to create a reservation does not need to include `reservation_checkout_fields`. When additional information is configured for a selected product, the response includes `data.reservation.reservation_checkout_fields`. This property is optional and may be absent or empty.\n\nClients should inspect the returned fields dynamically, preserve their IDs and booking references, collect every supported field marked `REQUIRED`, and submit the answers through `PUT /reservations/{reservation_reference}` before creating the order. Do not confirm the reservation until that update succeeds.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_distributor_id\": \"{{distributor_id}}\",\n      \"reservation_external_reference\": \"EXAMPLE-RESERVATION\",\n      \"reservation_details\": [\n        {\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"409 - Check current resource state and version before retrying.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations","host":["{{base_url}}"],"path":[":version","reservations"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to reserve one or multiple product(s).\n* This endpoint can also be requested for products without managed capacity.\n* This endpoint should be called only once per order. \n  Followup request such as amending the cart should be done using the 'Update Reservation` endpoint.\n\n### Checkout fields (API v2.0)\n\nThe request to create a reservation does not need to include `reservation_checkout_fields`. When additional information is configured for a selected product, the response includes `data.reservation.reservation_checkout_fields`. This property is optional and may be absent or empty.\n\nClients should inspect the returned fields dynamically, preserve their IDs and booking references, collect every supported field marked `REQUIRED`, and submit the answers through `PUT /reservations/{reservation_reference}` before creating the order. Do not confirm the reservation until that update succeeds.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_distributor_id\": \"{{distributor_id}}\",\n      \"reservation_external_reference\": \"EXAMPLE-RESERVATION\",\n      \"reservation_details\": [\n        {\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"CONFLICT\",\n  \"error_description\": \"Check current resource state and version before retrying.\",\n  \"error_message\": \"Check current resource state and version before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations","host":["{{base_url}}"],"path":[":version","reservations"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to reserve one or multiple product(s).\n* This endpoint can also be requested for products without managed capacity.\n* This endpoint should be called only once per order. \n  Followup request such as amending the cart should be done using the 'Update Reservation` endpoint.\n\n### Checkout fields (API v2.0)\n\nThe request to create a reservation does not need to include `reservation_checkout_fields`. When additional information is configured for a selected product, the response includes `data.reservation.reservation_checkout_fields`. This property is optional and may be absent or empty.\n\nClients should inspect the returned fields dynamically, preserve their IDs and booking references, collect every supported field marked `REQUIRED`, and submit the answers through `PUT /reservations/{reservation_reference}` before creating the order. Do not confirm the reservation until that update succeeds.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_distributor_id\": \"{{distributor_id}}\",\n      \"reservation_external_reference\": \"EXAMPLE-RESERVATION\",\n      \"reservation_details\": [\n        {\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations","host":["{{base_url}}"],"path":[":version","reservations"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to reserve one or multiple product(s).\n* This endpoint can also be requested for products without managed capacity.\n* This endpoint should be called only once per order. \n  Followup request such as amending the cart should be done using the 'Update Reservation` endpoint.\n\n### Checkout fields (API v2.0)\n\nThe request to create a reservation does not need to include `reservation_checkout_fields`. When additional information is configured for a selected product, the response includes `data.reservation.reservation_checkout_fields`. This property is optional and may be absent or empty.\n\nClients should inspect the returned fields dynamically, preserve their IDs and booking references, collect every supported field marked `REQUIRED`, and submit the answers through `PUT /reservations/{reservation_reference}` before creating the order. Do not confirm the reservation until that update succeeds.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_distributor_id\": \"{{distributor_id}}\",\n      \"reservation_external_reference\": \"EXAMPLE-RESERVATION\",\n      \"reservation_details\": [\n        {\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations","host":["{{base_url}}"],"path":[":version","reservations"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to reserve one or multiple product(s).\n* This endpoint can also be requested for products without managed capacity.\n* This endpoint should be called only once per order. \n  Followup request such as amending the cart should be done using the 'Update Reservation` endpoint.\n\n### Checkout fields (API v2.0)\n\nThe request to create a reservation does not need to include `reservation_checkout_fields`. When additional information is configured for a selected product, the response includes `data.reservation.reservation_checkout_fields`. This property is optional and may be absent or empty.\n\nClients should inspect the returned fields dynamically, preserve their IDs and booking references, collect every supported field marked `REQUIRED`, and submit the answers through `PUT /reservations/{reservation_reference}` before creating the order. Do not confirm the reservation until that update succeeds.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_distributor_id\": \"{{distributor_id}}\",\n      \"reservation_external_reference\": \"EXAMPLE-RESERVATION\",\n      \"reservation_details\": [\n        {\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations","host":["{{base_url}}"],"path":[":version","reservations"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to reserve one or multiple product(s).\n* This endpoint can also be requested for products without managed capacity.\n* This endpoint should be called only once per order. \n  Followup request such as amending the cart should be done using the 'Update Reservation` endpoint.\n\n### Checkout fields (API v2.0)\n\nThe request to create a reservation does not need to include `reservation_checkout_fields`. When additional information is configured for a selected product, the response includes `data.reservation.reservation_checkout_fields`. This property is optional and may be absent or empty.\n\nClients should inspect the returned fields dynamically, preserve their IDs and booking references, collect every supported field marked `REQUIRED`, and submit the answers through `PUT /reservations/{reservation_reference}` before creating the order. Do not confirm the reservation until that update succeeds.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_distributor_id\": \"{{distributor_id}}\",\n      \"reservation_external_reference\": \"EXAMPLE-RESERVATION\",\n      \"reservation_details\": [\n        {\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations","host":["{{base_url}}"],"path":[":version","reservations"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to reserve one or multiple product(s).\n* This endpoint can also be requested for products without managed capacity.\n* This endpoint should be called only once per order. \n  Followup request such as amending the cart should be done using the 'Update Reservation` endpoint.\n\n### Checkout fields (API v2.0)\n\nThe request to create a reservation does not need to include `reservation_checkout_fields`. When additional information is configured for a selected product, the response includes `data.reservation.reservation_checkout_fields`. This property is optional and may be absent or empty.\n\nClients should inspect the returned fields dynamically, preserve their IDs and booking references, collect every supported field marked `REQUIRED`, and submit the answers through `PUT /reservations/{reservation_reference}` before creating the order. Do not confirm the reservation until that update succeeds.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_distributor_id\": \"{{distributor_id}}\",\n      \"reservation_external_reference\": \"EXAMPLE-RESERVATION\",\n      \"reservation_details\": [\n        {\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations","host":["{{base_url}}"],"path":[":version","reservations"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to reserve one or multiple product(s).\n* This endpoint can also be requested for products without managed capacity.\n* This endpoint should be called only once per order. \n  Followup request such as amending the cart should be done using the 'Update Reservation` endpoint.\n\n### Checkout fields (API v2.0)\n\nThe request to create a reservation does not need to include `reservation_checkout_fields`. When additional information is configured for a selected product, the response includes `data.reservation.reservation_checkout_fields`. This property is optional and may be absent or empty.\n\nClients should inspect the returned fields dynamically, preserve their IDs and booking references, collect every supported field marked `REQUIRED`, and submit the answers through `PUT /reservations/{reservation_reference}` before creating the order. Do not confirm the reservation until that update succeeds.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_distributor_id\": \"{{distributor_id}}\",\n      \"reservation_external_reference\": \"EXAMPLE-RESERVATION\",\n      \"reservation_details\": [\n        {\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations","host":["{{base_url}}"],"path":[":version","reservations"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to reserve one or multiple product(s).\n* This endpoint can also be requested for products without managed capacity.\n* This endpoint should be called only once per order. \n  Followup request such as amending the cart should be done using the 'Update Reservation` endpoint.\n\n### Checkout fields (API v2.0)\n\nThe request to create a reservation does not need to include `reservation_checkout_fields`. When additional information is configured for a selected product, the response includes `data.reservation.reservation_checkout_fields`. This property is optional and may be absent or empty.\n\nClients should inspect the returned fields dynamically, preserve their IDs and booking references, collect every supported field marked `REQUIRED`, and submit the answers through `PUT /reservations/{reservation_reference}` before creating the order. Do not confirm the reservation until that update succeeds.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_distributor_id\": \"{{distributor_id}}\",\n      \"reservation_external_reference\": \"EXAMPLE-RESERVATION\",\n      \"reservation_details\": [\n        {\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["if (pm.collectionVariables.get('allow_mutations') !== 'true') { pm.execution.skipRequest(); }"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([201]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Reservation Details / Cart Details","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the create reservation API."}]},"description":"This API is called to get reservation details and status.\n> You are still able to retrieve the cart details for expired reservations up to 10 days.\n\nIf checkout fields apply, the response includes their current definitions and answers in `data.reservation.reservation_checkout_fields`. Clients may use this operation to restore or verify the checkout state and should not assume that the field configuration is the same for every product."},"response":[{"name":"200 - Get Reservation Detail Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the create reservation API."}]},"description":"This API is called to get reservation details and status.\n> You are still able to retrieve the cart details for expired reservations up to 10 days.\n\nIf checkout fields apply, the response includes their current definitions and answers in `data.reservation.reservation_checkout_fields`. Clients may use this operation to restore or verify the checkout state and should not assume that the field configuration is the same for every product."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_distributor_id\": \"501\",\n      \"reservation_distributor_name\": \"Demo Distributor\",\n      \"reservation_partner_id\": \"4534543543\",\n      \"reservation_partner_name\": \"Partner Name\",\n      \"reservation_reference\": \"ABC123456\",\n      \"reservation_external_reference\": \"EXTERNALREF123\",\n      \"reservation_hold_token\": \"17378c14-ae6a-46a4-ada4-9c745a45e018\",\n      \"reservation_valid_until\": \"2019-08-24T14:15:22Z\",\n      \"reservation_details\": [\n        {\n          \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n          \"booking_status\": \"BOOKING_RESERVED\",\n          \"booking_version\": 1,\n          \"booking_voucher_released\": true,\n          \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n          \"booking_valid_until\": \"2019-08-24T14:15:22Z\",\n          \"booking_invoice_status\": \"INVOICED\",\n          \"booking_language\": \"en\",\n          \"booking_addon_reference\": \"BOOKING_ADDON_REFERENCE_123\",\n          \"booking_pricing\": {\n            \"price_type\": \"SALES\",\n            \"price_currency_code\": \"EUR\",\n            \"price_currency_rate\": \"1.647\",\n            \"price_subtotal\": \"20.00\",\n            \"price_variations\": [\n              {\n                \"variation_label\": \"Peak Hour\",\n                \"variation_amount\": \"2.50\",\n                \"variation_type\": \"PRODUCT_DYNAMIC\"\n              }\n            ],\n            \"price_promocodes\": [\n              {\n                \"promo_code\": \"PROMOCODE_123\",\n                \"promo_amount\": \"-5.50\"\n              }\n            ],\n            \"price_taxes\": [\n              {\n                \"tax_id\": \"TAX_ID_123\",\n                \"tax_name\": \"VAT Regular 20%\",\n                \"tax_amount\": \"0.65\",\n                \"tax_rate\": \"20.00\"\n              }\n            ],\n            \"price_fees\": [\n              {\n                \"fee_label\": \"Creditcard - Variable Cost\",\n                \"fee_type\": \"SERVICE\",\n                \"fee_amount\": \"0.50\",\n                \"fee_percentage\": \"25.00\",\n                \"fee_tax_id\": \"TAX_ID_123\",\n                \"fee_tax_amount\": \"0.65\",\n                \"fee_included\": true,\n                \"fee_refundable\": true\n              }\n            ],\n            \"price_margins\": [\n              {\n                \"margin_type\": \"SERVICE\",\n                \"margin_amount\": \"0.50\",\n                \"margin_tax_id\": \"TAX_ID_123\",\n                \"margin_tax_amount\": \"0.65\"\n              }\n            ],\n            \"price_total\": \"12.00\"\n          },\n          \"booking_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"booking_customer_url\": \"https://example.com/orders/ORDRREF123456\",\n          \"booking_created\": \"2019-08-24T14:15:22Z\",\n          \"booking_modified\": \"2019-08-24T14:15:22Z\",\n          \"booking_confirmed\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancelled\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancellation_reason\": \"Payment declined\",\n          \"product_id\": \"10001\",\n          \"product_relation_id\": \"MAIN_PRODUCT_ID_123\",\n          \"product_pickup_point_id\": \"PICKUP_POINT_ID_123\",\n          \"product_pickup_point\": {\n            \"pickup_point_id\": \"PICKUP_POINT_ID_123\",\n            \"pickup_point_name\": \"Walkingtour at the Wyndham Apollo Hotel\",\n            \"pickup_point_type\": \"FIXED\",\n            \"pickup_point_description\": \"Meet at the Wyndham Apollo hotel.\",\n            \"pickup_point_location\": \"LOCATION_ID_123\",\n            \"pickup_point_time\": \"10:00\",\n            \"pickup_point_times\": [\n              \"10:00\"\n            ],\n            \"pickup_point_duration\": 30,\n            \"pickup_point_availability_dependency\": false\n          },\n          \"product_availability_id\": \"20191026090010006526\",\n          \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_capacity_id\": \"43525235\",\n          \"product_availability_capacity_shared_id\": \"435252453\",\n          \"product_title\": \"Test Product\",\n          \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n          \"product_supplier_name\": \"Test Museum\",\n          \"product_supplier_admin_id\": \"PRODUCT_SUPPLIER_ADMIN_ID\",\n          \"product_supplier_admin_name\": \"Supplier Admin Name\",\n          \"product_market_admin_id\": \"345345342\",\n          \"product_market_admin_name\": \"Market Admin Name\",\n          \"product_source_id\": \"34564574\",\n          \"product_source_name\": \"Example source\",\n          \"product_entry_notes\": \"Reconfirmation: Please call or email atleast 72 hour in advance to reconfirm your arrival.\",\n          \"product_admission_type\": \"TIME_PERIOD\",\n          \"product_currency_code\": \"USD\",\n          \"product_cancellation_allowed\": true,\n          \"product_options\": [\n            {\n              \"option_id\": \"1118\",\n              \"option_value_text\": \"string\",\n              \"option_values\": [\n                {\n                  \"value_id\": \"4921\",\n                  \"value_name\": \"Wine\",\n                  \"value_price\": \"8.00\",\n                  \"value_price_tax_id\": \"TAX_ID_123\",\n                  \"value_price_tax_amount\": \"0.65\",\n                  \"value_product_type_id\": \"ADULT_123\",\n                  \"value_count\": 2\n                }\n              ]\n            }\n          ],\n          \"product_combi_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\"\n            }\n          ],\n          \"product_bundle_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\"\n            }\n          ],\n          \"product_addon_details\": [\n            {\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_order_reference\": \"BOOKING_ORDER_REFERENCE\",\n              \"booking_reference\": \"BOOKING_REF123\"\n            }\n          ],\n          \"booking_reservation_reference\": \"BOOKING_RESERVATION_REFERENCE_123\",\n          \"booking_reservation_valid_until\": \"2019-08-24T14:15:22Z\",\n          \"product_type_details\": [\n            {\n              \"product_type\": \"ADULT\",\n              \"product_type_class\": \"STANDARD\",\n              \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n              \"product_type_label\": \"Adult\",\n              \"product_type_age_from\": 18,\n              \"product_type_age_to\": 65,\n              \"product_type_count\": 1,\n              \"product_type_pax\": 1,\n              \"product_type_capacity\": 1,\n              \"product_type_spots\": [\n                {\n                  \"spot_id\": \"345346363463\",\n                  \"spot_name\": \"Regular seat\",\n                  \"spot_section\": \"VIP Area\",\n                  \"spot_row\": \"F\",\n                  \"spot_number\": \"5\",\n                  \"spot_type\": \"SEAT\",\n                  \"spot_state\": \"AVAILABLE\"\n                }\n              ],\n              \"product_type_code\": \"1539762088951995\",\n              \"product_type_pricing\": {\n                \"price_type\": \"SALES\",\n                \"price_currency_code\": \"EUR\",\n                \"price_currency_rate\": \"1.647\",\n                \"price_subtotal\": \"20.00\",\n                \"price_variations\": [\n                  {\n                    \"variation_label\": \"Peak Hour\",\n                    \"variation_amount\": \"2.50\",\n                    \"variation_type\": \"PRODUCT_DYNAMIC\"\n                  }\n                ],\n                \"price_promocodes\": [],\n                \"price_taxes\": [],\n                \"price_fees\": [],\n                \"price_margins\": [],\n                \"price_total\": \"12.00\"\n              }\n            }\n          ]\n        }\n      ],\n      \"reservation_contacts\": [\n        {\n          \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n          \"contact_version\": 2,\n          \"contact_number\": \"4573246\",\n          \"contact_type\": \"GUEST\",\n          \"contact_title\": \"Mr.\",\n          \"contact_name_first\": \"John\",\n          \"contact_name_last\": \"Doe\",\n          \"contact_email\": \"Johndoe@example.com\",\n          \"contact_phone\": \"+14155552671\",\n          \"contact_mobile\": \"+14155552671\",\n          \"contact_language\": \"NL\",\n          \"contact_nationality\": \"Dutch\",\n          \"contact_flight_number\": \"KL 445\",\n          \"contact_loyalty_number\": \"46564564564547476\",\n          \"contact_birth_place\": \"Amsterdam\",\n          \"contact_birth_date\": \"2019-08-24\",\n          \"contact_passport\": \"JXXXXXXX\",\n          \"contact_gender\": \"MALE\",\n          \"contact_age\": 19,\n          \"contact_redacted\": false,\n          \"contact_room_number\": \"523\",\n          \"contact_website\": \"example.com\",\n          \"contact_company\": {\n            \"company_name\": \"Example LTD.\",\n            \"company_registration_number\": \"string\",\n            \"company_tax_number\": \"string\"\n          },\n          \"contact_classification\": \"IMPORTANT\",\n          \"contact_address\": {\n            \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"name\": \"Start of the Tour / My house / Office / John Doe\",\n            \"street\": \"Amstel 1\",\n            \"addition\": \"Apt B1\",\n            \"city\": \"Amsterdam\",\n            \"postal_code\": \"1011 PN\",\n            \"region\": \"Noord-Holland\",\n            \"country\": \"The Netherlands\",\n            \"country_code\": \"NL\",\n            \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n            \"latitude\": \"52.3785323\",\n            \"longitude\": \"4.893942\",\n            \"notes\": \"It's on the fourth floor\"\n          },\n          \"contact_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"contact_custom_fields\": [\n            {\n              \"custom_field_name\": \"Custom Field Name\",\n              \"custom_field_value\": \"Custom Field Value\",\n              \"custom_field_type\": \"SYSTEM\"\n            }\n          ],\n          \"contact_created\": \"2019-08-24T14:15:22Z\",\n          \"contact_modified\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"reservation_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"CHECKOUT_FIELD_ID\",\n          \"checkout_field_title\": \"First Name\",\n          \"checkout_field_label\": \"Please provide your first name\",\n          \"checkout_field_account_type\": \"DISTRIBUTOR\",\n          \"checkout_field_booking_reference\": [\n            \"string\"\n          ],\n          \"checkout_field_restriction\": \"REQUIRED\",\n          \"checkout_field_level\": \"PRODUCT\",\n          \"checkout_field_unit\": \"string\",\n          \"checkout_field_input_type\": \"SINGLE\",\n          \"checkout_field_type\": \"contact_title\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value_product_type\": \"string\",\n              \"checkout_field_value\": [\n                \"string\"\n              ],\n              \"checkout_field_value_transaction_reference\": \"string\"\n            }\n          ],\n          \"checkout_field_created\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"reservation_promocodes\": [\n        {\n          \"promo_title\": \"Christmas Sale 2019\",\n          \"promo_description\": \"20 percent discount during the Christmas days.\",\n          \"promo_code\": \"PROMOCODE_123\"\n        }\n      ],\n      \"reservation_pricing\": {\n        \"price_type\": \"SALES\",\n        \"price_currency_code\": \"EUR\",\n        \"price_currency_rate\": \"1.647\",\n        \"price_subtotal\": \"20.00\",\n        \"price_variations\": [\n          {\n            \"variation_label\": \"Peak Hour\",\n            \"variation_amount\": \"2.50\",\n            \"variation_type\": \"PRODUCT_DYNAMIC\"\n          }\n        ],\n        \"price_promocodes\": [\n          {\n            \"promo_code\": \"PROMOCODE_123\",\n            \"promo_amount\": \"-5.50\"\n          }\n        ],\n        \"price_taxes\": [\n          {\n            \"tax_id\": \"TAX_ID_123\",\n            \"tax_name\": \"VAT Regular 20%\",\n            \"tax_amount\": \"0.65\",\n            \"tax_rate\": \"20.00\"\n          }\n        ],\n        \"price_fees\": [\n          {\n            \"fee_label\": \"Creditcard - Variable Cost\",\n            \"fee_type\": \"SERVICE\",\n            \"fee_amount\": \"0.50\",\n            \"fee_percentage\": \"25.00\",\n            \"fee_tax_id\": \"TAX_ID_123\",\n            \"fee_tax_amount\": \"0.65\",\n            \"fee_included\": true,\n            \"fee_refundable\": true\n          }\n        ],\n        \"price_margins\": [\n          {\n            \"margin_type\": \"SERVICE\",\n            \"margin_amount\": \"0.50\",\n            \"margin_tax_id\": \"TAX_ID_123\",\n            \"margin_tax_amount\": \"0.65\"\n          }\n        ],\n        \"price_total\": \"12.00\"\n      },\n      \"reservation_payments\": [\n        {\n          \"payment_id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"payment_original_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n          \"payment_partner_id\": \"PAYMENT_PARTNER_ID\",\n          \"payment_shift_id\": \"PAYMENT_SHIFT_ID_123\",\n          \"payment_merchant_reference\": \"1478349849927_771663371\",\n          \"payment_external_reference\": \"SHOPPER_REFERENCE\",\n          \"payment_order_reference\": \"ORDRREF123456\",\n          \"payment_booking_references\": [\n            \"BKNGREF123456\"\n          ],\n          \"payment_order_version\": 2,\n          \"payment_status\": \"PAID\",\n          \"payment_method\": \"EXTERNAL\",\n          \"payment_scheme\": \"VISA\",\n          \"payment_type\": \"CAPTURE\",\n          \"payment_link\": \"https://example.com/s?q=K0U2VmVNRGo0SEhGdFVUZ09IK2ViZkdtK1NjPQ==\",\n          \"payment_link_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_authorization_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_recurring\": false,\n          \"payment_recurring_type\": \"STORE\",\n          \"payment_class\": \"SALES\",\n          \"payment_refund_type\": \"SYSTEM\",\n          \"payment_refund_reason\": \"Guest reimbursement\",\n          \"payment_currency_code\": \"EUR\",\n          \"payment_currency_rate\": \"2.5263\",\n          \"payment_currency_amount\": \"10.25\",\n          \"payment_amount\": \"10.00\",\n          \"payment_total\": \"100.00\",\n          \"payment_gateway_details\": {\n            \"payment_merchant_account_name\": \"ExampleMerchant\",\n            \"payment_service_provider_reference\": \"852596799876396F\",\n            \"payment_service_provider_original_reference\": \"882596799845511E\",\n            \"payment_gateway_type\": \"ADYEN\",\n            \"payment_gateway_additional_values\": {\n              \"psp_shopper_name\": \"Checkout Shopper PlaceHolder\",\n              \"psp_shopper_cardnumber\": \"1111\",\n              \"psp_issuer_country\": \"NL\",\n              \"psp_fraudscore\": \"63\",\n              \"psp_payment_status\": \"Settled\"\n            }\n          },\n          \"payment_contact\": {\n            \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n            \"contact_version\": 2,\n            \"contact_number\": \"4573246\",\n            \"contact_type\": \"GUEST\",\n            \"contact_title\": \"Mr.\",\n            \"contact_name_first\": \"John\",\n            \"contact_name_last\": \"Doe\",\n            \"contact_email\": \"Johndoe@example.com\",\n            \"contact_phone\": \"+14155552671\",\n            \"contact_mobile\": \"+14155552671\",\n            \"contact_language\": \"NL\",\n            \"contact_nationality\": \"Dutch\",\n            \"contact_flight_number\": \"KL 445\",\n            \"contact_loyalty_number\": \"46564564564547476\",\n            \"contact_birth_place\": \"Amsterdam\",\n            \"contact_birth_date\": \"2019-08-24\",\n            \"contact_passport\": \"JXXXXXXX\",\n            \"contact_gender\": \"MALE\",\n            \"contact_age\": 19,\n            \"contact_redacted\": false,\n            \"contact_room_number\": \"523\",\n            \"contact_website\": \"example.com\",\n            \"contact_company\": {\n              \"company_name\": \"Example LTD.\",\n              \"company_registration_number\": \"string\",\n              \"company_tax_number\": \"string\"\n            },\n            \"contact_classification\": \"IMPORTANT\",\n            \"contact_address\": {\n              \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n              \"name\": \"Start of the Tour / My house / Office / John Doe\",\n              \"street\": \"Amstel 1\",\n              \"addition\": \"Apt B1\",\n              \"city\": \"Amsterdam\",\n              \"postal_code\": \"1011 PN\",\n              \"region\": \"Noord-Holland\",\n              \"country\": \"The Netherlands\",\n              \"country_code\": \"NL\",\n              \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n              \"latitude\": \"52.3785323\",\n              \"longitude\": \"4.893942\",\n              \"notes\": \"It's on the fourth floor\"\n            },\n            \"contact_notes\": [\n              {\n                \"note_value\": \"Wheelchair assistance required.\",\n                \"note_type\": \"GUEST\",\n                \"note_date\": \"2019-08-24T14:15:22Z\",\n                \"note_creator\": \"Andrew (Supervisor)\"\n              }\n            ],\n            \"contact_custom_fields\": [\n              {\n                \"custom_field_name\": \"Custom Field Name\",\n                \"custom_field_value\": \"Custom Field Value\",\n                \"custom_field_type\": \"SYSTEM\"\n              }\n            ],\n            \"contact_created\": \"2019-08-24T14:15:22Z\",\n            \"contact_modified\": \"2019-08-24T14:15:22Z\"\n          },\n          \"payment_fees\": [\n            {\n              \"fee_label\": \"Credit Card Fee (VISA)\",\n              \"fee_amount\": \"0.10\",\n              \"fee_type\": \"PAYMENT\"\n            }\n          ],\n          \"payment_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"payment_created\": \"2019-08-24T14:15:22Z\",\n          \"payment_created_name\": \"Cashier Name\",\n          \"payment_created_email\": \"cashier@example.com\"\n        }\n      ],\n      \"reservation_credit\": {\n        \"credit_status\": \"ACTIVE\",\n        \"credit_total\": \"100.00\",\n        \"credit_deposit\": \"string\",\n        \"credit_blocked\": \"20.00\",\n        \"credit_used\": \"30.00\",\n        \"credit_remaining\": \"50.00\",\n        \"credit_invoice_interval\": \"MANUAL\",\n        \"credit_invoice_settlement\": \"MANUAL\",\n        \"credit_reset\": \"2019-08-24T14:15:22Z\"\n      },\n      \"reservation_custom_fields\": [\n        {\n          \"custom_field_name\": \"Custom Field Name\",\n          \"custom_field_value\": \"Custom Field Value\",\n          \"custom_field_type\": \"SYSTEM\"\n        }\n      ],\n      \"reservation_created\": \"2019-08-24T14:15:22Z\",\n      \"reservation_created_name\": \"Demo Cashier\",\n      \"reservation_created_email\": \"cashier@example.com\",\n      \"reservation_modified\": \"2019-08-24T14:15:22Z\"\n    }\n  }\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the create reservation API."}]},"description":"This API is called to get reservation details and status.\n> You are still able to retrieve the cart details for expired reservations up to 10 days.\n\nIf checkout fields apply, the response includes their current definitions and answers in `data.reservation.reservation_checkout_fields`. Clients may use this operation to restore or verify the checkout state and should not assume that the field configuration is the same for every product."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the create reservation API."}]},"description":"This API is called to get reservation details and status.\n> You are still able to retrieve the cart details for expired reservations up to 10 days.\n\nIf checkout fields apply, the response includes their current definitions and answers in `data.reservation.reservation_checkout_fields`. Clients may use this operation to restore or verify the checkout state and should not assume that the field configuration is the same for every product."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the create reservation API."}]},"description":"This API is called to get reservation details and status.\n> You are still able to retrieve the cart details for expired reservations up to 10 days.\n\nIf checkout fields apply, the response includes their current definitions and answers in `data.reservation.reservation_checkout_fields`. Clients may use this operation to restore or verify the checkout state and should not assume that the field configuration is the same for every product."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the create reservation API."}]},"description":"This API is called to get reservation details and status.\n> You are still able to retrieve the cart details for expired reservations up to 10 days.\n\nIf checkout fields apply, the response includes their current definitions and answers in `data.reservation.reservation_checkout_fields`. Clients may use this operation to restore or verify the checkout state and should not assume that the field configuration is the same for every product."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the create reservation API."}]},"description":"This API is called to get reservation details and status.\n> You are still able to retrieve the cart details for expired reservations up to 10 days.\n\nIf checkout fields apply, the response includes their current definitions and answers in `data.reservation.reservation_checkout_fields`. Clients may use this operation to restore or verify the checkout state and should not assume that the field configuration is the same for every product."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the create reservation API."}]},"description":"This API is called to get reservation details and status.\n> You are still able to retrieve the cart details for expired reservations up to 10 days.\n\nIf checkout fields apply, the response includes their current definitions and answers in `data.reservation.reservation_checkout_fields`. Clients may use this operation to restore or verify the checkout state and should not assume that the field configuration is the same for every product."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the create reservation API."}]},"description":"This API is called to get reservation details and status.\n> You are still able to retrieve the cart details for expired reservations up to 10 days.\n\nIf checkout fields apply, the response includes their current definitions and answers in `data.reservation.reservation_checkout_fields`. Clients may use this operation to restore or verify the checkout state and should not assume that the field configuration is the same for every product."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the create reservation API."}]},"description":"This API is called to get reservation details and status.\n> You are still able to retrieve the cart details for expired reservations up to 10 days.\n\nIf checkout fields apply, the response includes their current definitions and answers in `data.reservation.reservation_checkout_fields`. Clients may use this operation to restore or verify the checkout state and should not assume that the field configuration is the same for every product."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the create reservation API."}]},"description":"This API is called to get reservation details and status.\n> You are still able to retrieve the cart details for expired reservations up to 10 days.\n\nIf checkout fields apply, the response includes their current definitions and answers in `data.reservation.reservation_checkout_fields`. Clients may use this operation to restore or verify the checkout state and should not assume that the field configuration is the same for every product."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the create reservation API."}]},"description":"This API is called to get reservation details and status.\n> You are still able to retrieve the cart details for expired reservations up to 10 days.\n\nIf checkout fields apply, the response includes their current definitions and answers in `data.reservation.reservation_checkout_fields`. Clients may use this operation to restore or verify the checkout state and should not assume that the field configuration is the same for every product."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the create reservation API."}]},"description":"This API is called to get reservation details and status.\n> You are still able to retrieve the cart details for expired reservations up to 10 days.\n\nIf checkout fields apply, the response includes their current definitions and answers in `data.reservation.reservation_checkout_fields`. Clients may use this operation to restore or verify the checkout state and should not assume that the field configuration is the same for every product."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Update Reservation / Update Cart","request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"name":"200 - Reservation Updated","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_distributor_id\": \"501\",\n      \"reservation_distributor_name\": \"Demo Distributor\",\n      \"reservation_partner_id\": \"4534543543\",\n      \"reservation_partner_name\": \"Partner Name\",\n      \"reservation_reference\": \"ABC123456\",\n      \"reservation_external_reference\": \"EXTERNALREF123\",\n      \"reservation_hold_token\": \"17378c14-ae6a-46a4-ada4-9c745a45e018\",\n      \"reservation_valid_until\": \"2019-08-24T14:15:22Z\",\n      \"reservation_details\": [\n        {\n          \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n          \"booking_status\": \"BOOKING_RESERVED\",\n          \"booking_version\": 1,\n          \"booking_voucher_released\": true,\n          \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n          \"booking_valid_until\": \"2019-08-24T14:15:22Z\",\n          \"booking_invoice_status\": \"INVOICED\",\n          \"booking_language\": \"en\",\n          \"booking_addon_reference\": \"BOOKING_ADDON_REFERENCE_123\",\n          \"booking_pricing\": {\n            \"price_type\": \"SALES\",\n            \"price_currency_code\": \"EUR\",\n            \"price_currency_rate\": \"1.647\",\n            \"price_subtotal\": \"20.00\",\n            \"price_variations\": [\n              {\n                \"variation_label\": \"Peak Hour\",\n                \"variation_amount\": \"2.50\",\n                \"variation_type\": \"PRODUCT_DYNAMIC\"\n              }\n            ],\n            \"price_promocodes\": [\n              {\n                \"promo_code\": \"PROMOCODE_123\",\n                \"promo_amount\": \"-5.50\"\n              }\n            ],\n            \"price_taxes\": [\n              {\n                \"tax_id\": \"TAX_ID_123\",\n                \"tax_name\": \"VAT Regular 20%\",\n                \"tax_amount\": \"0.65\",\n                \"tax_rate\": \"20.00\"\n              }\n            ],\n            \"price_fees\": [\n              {\n                \"fee_label\": \"Creditcard - Variable Cost\",\n                \"fee_type\": \"SERVICE\",\n                \"fee_amount\": \"0.50\",\n                \"fee_percentage\": \"25.00\",\n                \"fee_tax_id\": \"TAX_ID_123\",\n                \"fee_tax_amount\": \"0.65\",\n                \"fee_included\": true,\n                \"fee_refundable\": true\n              }\n            ],\n            \"price_margins\": [\n              {\n                \"margin_type\": \"SERVICE\",\n                \"margin_amount\": \"0.50\",\n                \"margin_tax_id\": \"TAX_ID_123\",\n                \"margin_tax_amount\": \"0.65\"\n              }\n            ],\n            \"price_total\": \"12.00\"\n          },\n          \"booking_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"booking_customer_url\": \"https://example.com/orders/ORDRREF123456\",\n          \"booking_created\": \"2019-08-24T14:15:22Z\",\n          \"booking_modified\": \"2019-08-24T14:15:22Z\",\n          \"booking_confirmed\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancelled\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancellation_reason\": \"Payment declined\",\n          \"product_id\": \"10001\",\n          \"product_relation_id\": \"MAIN_PRODUCT_ID_123\",\n          \"product_pickup_point_id\": \"PICKUP_POINT_ID_123\",\n          \"product_pickup_point\": {\n            \"pickup_point_id\": \"PICKUP_POINT_ID_123\",\n            \"pickup_point_name\": \"Walkingtour at the Wyndham Apollo Hotel\",\n            \"pickup_point_type\": \"FIXED\",\n            \"pickup_point_description\": \"Meet at the Wyndham Apollo hotel.\",\n            \"pickup_point_location\": \"LOCATION_ID_123\",\n            \"pickup_point_time\": \"10:00\",\n            \"pickup_point_times\": [\n              \"10:00\"\n            ],\n            \"pickup_point_duration\": 30,\n            \"pickup_point_availability_dependency\": false\n          },\n          \"product_availability_id\": \"20191026090010006526\",\n          \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_capacity_id\": \"43525235\",\n          \"product_availability_capacity_shared_id\": \"435252453\",\n          \"product_title\": \"Test Product\",\n          \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n          \"product_supplier_name\": \"Test Museum\",\n          \"product_supplier_admin_id\": \"PRODUCT_SUPPLIER_ADMIN_ID\",\n          \"product_supplier_admin_name\": \"Supplier Admin Name\",\n          \"product_market_admin_id\": \"345345342\",\n          \"product_market_admin_name\": \"Market Admin Name\",\n          \"product_source_id\": \"34564574\",\n          \"product_source_name\": \"Example source\",\n          \"product_entry_notes\": \"Reconfirmation: Please call or email atleast 72 hour in advance to reconfirm your arrival.\",\n          \"product_admission_type\": \"TIME_PERIOD\",\n          \"product_currency_code\": \"USD\",\n          \"product_cancellation_allowed\": true,\n          \"product_options\": [\n            {\n              \"option_id\": \"1118\",\n              \"option_value_text\": \"string\",\n              \"option_values\": [\n                {\n                  \"value_id\": \"4921\",\n                  \"value_name\": \"Wine\",\n                  \"value_price\": \"8.00\",\n                  \"value_price_tax_id\": \"TAX_ID_123\",\n                  \"value_price_tax_amount\": \"0.65\",\n                  \"value_product_type_id\": \"ADULT_123\",\n                  \"value_count\": 2\n                }\n              ]\n            }\n          ],\n          \"product_combi_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [\n                    null\n                  ],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\"\n            }\n          ],\n          \"product_bundle_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [\n                    null\n                  ],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\"\n            }\n          ],\n          \"product_addon_details\": [\n            {\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_order_reference\": \"BOOKING_ORDER_REFERENCE\",\n              \"booking_reference\": \"BOOKING_REF123\"\n            }\n          ],\n          \"booking_reservation_reference\": \"BOOKING_RESERVATION_REFERENCE_123\",\n          \"booking_reservation_valid_until\": \"2019-08-24T14:15:22Z\",\n          \"product_type_details\": [\n            {\n              \"product_type\": \"ADULT\",\n              \"product_type_class\": \"STANDARD\",\n              \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n              \"product_type_label\": \"Adult\",\n              \"product_type_age_from\": 18,\n              \"product_type_age_to\": 65,\n              \"product_type_count\": 1,\n              \"product_type_pax\": 1,\n              \"product_type_capacity\": 1,\n              \"product_type_spots\": [\n                {\n                  \"spot_id\": \"345346363463\",\n                  \"spot_name\": \"Regular seat\",\n                  \"spot_section\": \"VIP Area\",\n                  \"spot_row\": \"F\",\n                  \"spot_number\": \"5\",\n                  \"spot_type\": \"SEAT\",\n                  \"spot_state\": \"AVAILABLE\"\n                }\n              ],\n              \"product_type_code\": \"1539762088951995\",\n              \"product_type_pricing\": {\n                \"price_type\": \"SALES\",\n                \"price_currency_code\": \"EUR\",\n                \"price_currency_rate\": \"1.647\",\n                \"price_subtotal\": \"20.00\",\n                \"price_variations\": [\n                  {\n                    \"variation_label\": \"Peak Hour\",\n                    \"variation_amount\": \"2.50\",\n                    \"variation_type\": \"PRODUCT_DYNAMIC\"\n                  }\n                ],\n                \"price_promocodes\": [\n                  {}\n                ],\n                \"price_taxes\": [\n                  {}\n                ],\n                \"price_fees\": [\n                  {}\n                ],\n                \"price_margins\": [\n                  {}\n                ],\n                \"price_total\": \"12.00\"\n              }\n            }\n          ]\n        }\n      ],\n      \"reservation_contacts\": [\n        {\n          \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n          \"contact_version\": 2,\n          \"contact_number\": \"4573246\",\n          \"contact_type\": \"GUEST\",\n          \"contact_title\": \"Mr.\",\n          \"contact_name_first\": \"John\",\n          \"contact_name_last\": \"Doe\",\n          \"contact_email\": \"Johndoe@example.com\",\n          \"contact_phone\": \"+14155552671\",\n          \"contact_mobile\": \"+14155552671\",\n          \"contact_language\": \"NL\",\n          \"contact_nationality\": \"Dutch\",\n          \"contact_flight_number\": \"KL 445\",\n          \"contact_loyalty_number\": \"46564564564547476\",\n          \"contact_birth_place\": \"Amsterdam\",\n          \"contact_birth_date\": \"2019-08-24\",\n          \"contact_passport\": \"JXXXXXXX\",\n          \"contact_gender\": \"MALE\",\n          \"contact_age\": 19,\n          \"contact_redacted\": false,\n          \"contact_room_number\": \"523\",\n          \"contact_website\": \"example.com\",\n          \"contact_company\": {\n            \"company_name\": \"Example LTD.\",\n            \"company_registration_number\": \"string\",\n            \"company_tax_number\": \"string\"\n          },\n          \"contact_classification\": \"IMPORTANT\",\n          \"contact_address\": {\n            \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"name\": \"Start of the Tour / My house / Office / John Doe\",\n            \"street\": \"Amstel 1\",\n            \"addition\": \"Apt B1\",\n            \"city\": \"Amsterdam\",\n            \"postal_code\": \"1011 PN\",\n            \"region\": \"Noord-Holland\",\n            \"country\": \"The Netherlands\",\n            \"country_code\": \"NL\",\n            \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n            \"latitude\": \"52.3785323\",\n            \"longitude\": \"4.893942\",\n            \"notes\": \"It's on the fourth floor\"\n          },\n          \"contact_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"contact_custom_fields\": [\n            {\n              \"custom_field_name\": \"Custom Field Name\",\n              \"custom_field_value\": \"Custom Field Value\",\n              \"custom_field_type\": \"SYSTEM\"\n            }\n          ],\n          \"contact_created\": \"2019-08-24T14:15:22Z\",\n          \"contact_modified\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"reservation_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"CHECKOUT_FIELD_ID\",\n          \"checkout_field_title\": \"First Name\",\n          \"checkout_field_label\": \"Please provide your first name\",\n          \"checkout_field_account_type\": \"DISTRIBUTOR\",\n          \"checkout_field_booking_reference\": [\n            \"string\"\n          ],\n          \"checkout_field_restriction\": \"REQUIRED\",\n          \"checkout_field_level\": \"PRODUCT\",\n          \"checkout_field_unit\": \"string\",\n          \"checkout_field_input_type\": \"SINGLE\",\n          \"checkout_field_type\": \"contact_title\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value_product_type\": \"string\",\n              \"checkout_field_value\": [\n                \"string\"\n              ],\n              \"checkout_field_value_transaction_reference\": \"string\"\n            }\n          ],\n          \"checkout_field_created\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"reservation_promocodes\": [\n        {\n          \"promo_title\": \"Christmas Sale 2019\",\n          \"promo_description\": \"20 percent discount during the Christmas days.\",\n          \"promo_code\": \"PROMOCODE_123\"\n        }\n      ],\n      \"reservation_pricing\": {\n        \"price_type\": \"SALES\",\n        \"price_currency_code\": \"EUR\",\n        \"price_currency_rate\": \"1.647\",\n        \"price_subtotal\": \"20.00\",\n        \"price_variations\": [\n          {\n            \"variation_label\": \"Peak Hour\",\n            \"variation_amount\": \"2.50\",\n            \"variation_type\": \"PRODUCT_DYNAMIC\"\n          }\n        ],\n        \"price_promocodes\": [\n          {\n            \"promo_code\": \"PROMOCODE_123\",\n            \"promo_amount\": \"-5.50\"\n          }\n        ],\n        \"price_taxes\": [\n          {\n            \"tax_id\": \"TAX_ID_123\",\n            \"tax_name\": \"VAT Regular 20%\",\n            \"tax_amount\": \"0.65\",\n            \"tax_rate\": \"20.00\"\n          }\n        ],\n        \"price_fees\": [\n          {\n            \"fee_label\": \"Creditcard - Variable Cost\",\n            \"fee_type\": \"SERVICE\",\n            \"fee_amount\": \"0.50\",\n            \"fee_percentage\": \"25.00\",\n            \"fee_tax_id\": \"TAX_ID_123\",\n            \"fee_tax_amount\": \"0.65\",\n            \"fee_included\": true,\n            \"fee_refundable\": true\n          }\n        ],\n        \"price_margins\": [\n          {\n            \"margin_type\": \"SERVICE\",\n            \"margin_amount\": \"0.50\",\n            \"margin_tax_id\": \"TAX_ID_123\",\n            \"margin_tax_amount\": \"0.65\"\n          }\n        ],\n        \"price_total\": \"12.00\"\n      },\n      \"reservation_payments\": [\n        {\n          \"payment_id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"payment_original_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n          \"payment_partner_id\": \"PAYMENT_PARTNER_ID\",\n          \"payment_shift_id\": \"PAYMENT_SHIFT_ID_123\",\n          \"payment_merchant_reference\": \"1478349849927_771663371\",\n          \"payment_external_reference\": \"SHOPPER_REFERENCE\",\n          \"payment_order_reference\": \"ORDRREF123456\",\n          \"payment_booking_references\": [\n            \"BKNGREF123456\"\n          ],\n          \"payment_order_version\": 2,\n          \"payment_status\": \"PAID\",\n          \"payment_method\": \"EXTERNAL\",\n          \"payment_scheme\": \"VISA\",\n          \"payment_type\": \"CAPTURE\",\n          \"payment_link\": \"https://example.com/s?q=K0U2VmVNRGo0SEhGdFVUZ09IK2ViZkdtK1NjPQ==\",\n          \"payment_link_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_authorization_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_recurring\": false,\n          \"payment_recurring_type\": \"STORE\",\n          \"payment_class\": \"SALES\",\n          \"payment_refund_type\": \"SYSTEM\",\n          \"payment_refund_reason\": \"Guest reimbursement\",\n          \"payment_currency_code\": \"EUR\",\n          \"payment_currency_rate\": \"2.5263\",\n          \"payment_currency_amount\": \"10.25\",\n          \"payment_amount\": \"10.00\",\n          \"payment_total\": \"100.00\",\n          \"payment_gateway_details\": {\n            \"payment_merchant_account_name\": \"ExampleMerchant\",\n            \"payment_service_provider_reference\": \"852596799876396F\",\n            \"payment_service_provider_original_reference\": \"882596799845511E\",\n            \"payment_gateway_type\": \"ADYEN\",\n            \"payment_gateway_additional_values\": {\n              \"psp_shopper_name\": \"Checkout Shopper PlaceHolder\",\n              \"psp_shopper_cardnumber\": \"1111\",\n              \"psp_issuer_country\": \"NL\",\n              \"psp_fraudscore\": \"63\",\n              \"psp_payment_status\": \"Settled\"\n            }\n          },\n          \"payment_contact\": {\n            \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n            \"contact_version\": 2,\n            \"contact_number\": \"4573246\",\n            \"contact_type\": \"GUEST\",\n            \"contact_title\": \"Mr.\",\n            \"contact_name_first\": \"John\",\n            \"contact_name_last\": \"Doe\",\n            \"contact_email\": \"Johndoe@example.com\",\n            \"contact_phone\": \"+14155552671\",\n            \"contact_mobile\": \"+14155552671\",\n            \"contact_language\": \"NL\",\n            \"contact_nationality\": \"Dutch\",\n            \"contact_flight_number\": \"KL 445\",\n            \"contact_loyalty_number\": \"46564564564547476\",\n            \"contact_birth_place\": \"Amsterdam\",\n            \"contact_birth_date\": \"2019-08-24\",\n            \"contact_passport\": \"JXXXXXXX\",\n            \"contact_gender\": \"MALE\",\n            \"contact_age\": 19,\n            \"contact_redacted\": false,\n            \"contact_room_number\": \"523\",\n            \"contact_website\": \"example.com\",\n            \"contact_company\": {\n              \"company_name\": \"Example LTD.\",\n              \"company_registration_number\": \"string\",\n              \"company_tax_number\": \"string\"\n            },\n            \"contact_classification\": \"IMPORTANT\",\n            \"contact_address\": {\n              \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n              \"name\": \"Start of the Tour / My house / Office / John Doe\",\n              \"street\": \"Amstel 1\",\n              \"addition\": \"Apt B1\",\n              \"city\": \"Amsterdam\",\n              \"postal_code\": \"1011 PN\",\n              \"region\": \"Noord-Holland\",\n              \"country\": \"The Netherlands\",\n              \"country_code\": \"NL\",\n              \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n              \"latitude\": \"52.3785323\",\n              \"longitude\": \"4.893942\",\n              \"notes\": \"It's on the fourth floor\"\n            },\n            \"contact_notes\": [\n              {\n                \"note_value\": \"Wheelchair assistance required.\",\n                \"note_type\": \"GUEST\",\n                \"note_date\": \"2019-08-24T14:15:22Z\",\n                \"note_creator\": \"Andrew (Supervisor)\"\n              }\n            ],\n            \"contact_custom_fields\": [\n              {\n                \"custom_field_name\": \"Custom Field Name\",\n                \"custom_field_value\": \"Custom Field Value\",\n                \"custom_field_type\": \"SYSTEM\"\n              }\n            ],\n            \"contact_created\": \"2019-08-24T14:15:22Z\",\n            \"contact_modified\": \"2019-08-24T14:15:22Z\"\n          },\n          \"payment_fees\": [\n            {\n              \"fee_label\": \"Credit Card Fee (VISA)\",\n              \"fee_amount\": \"0.10\",\n              \"fee_type\": \"PAYMENT\"\n            }\n          ],\n          \"payment_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"payment_created\": \"2019-08-24T14:15:22Z\",\n          \"payment_created_name\": \"Cashier Name\",\n          \"payment_created_email\": \"cashier@example.com\"\n        }\n      ],\n      \"reservation_credit\": {\n        \"credit_status\": \"ACTIVE\",\n        \"credit_total\": \"100.00\",\n        \"credit_deposit\": \"string\",\n        \"credit_blocked\": \"20.00\",\n        \"credit_used\": \"30.00\",\n        \"credit_remaining\": \"50.00\",\n        \"credit_invoice_interval\": \"MANUAL\",\n        \"credit_invoice_settlement\": \"MANUAL\",\n        \"credit_reset\": \"2019-08-24T14:15:22Z\"\n      },\n      \"reservation_custom_fields\": [\n        {\n          \"custom_field_name\": \"Custom Field Name\",\n          \"custom_field_value\": \"Custom Field Value\",\n          \"custom_field_type\": \"SYSTEM\"\n        }\n      ],\n      \"reservation_created\": \"2019-08-24T14:15:22Z\",\n      \"reservation_created_name\": \"Demo Cashier\",\n      \"reservation_created_email\": \"cashier@example.com\",\n      \"reservation_modified\": \"2019-08-24T14:15:22Z\"\n    }\n  }\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"409 - Check current resource state and version before retrying.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"CONFLICT\",\n  \"error_description\": \"Check current resource state and version before retrying.\",\n  \"error_message\": \"Check current resource state and version before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["if (pm.collectionVariables.get('allow_mutations') !== 'true') { pm.execution.skipRequest(); }"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Update Reservation / Update Cart - checkout fields","request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ],\n      \"reservation_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"FIRST_NAME\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value\": [\n                \"Example\"\n              ],\n              \"checkout_field_value_product_type\": \"ADULT\",\n              \"checkout_field_value_transaction_reference\": \"TRANSACTION_REFERENCE\"\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"name":"200 - Reservation Updated","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ],\n      \"reservation_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"FIRST_NAME\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value\": [\n                \"Example\"\n              ],\n              \"checkout_field_value_product_type\": \"ADULT\",\n              \"checkout_field_value_transaction_reference\": \"TRANSACTION_REFERENCE\"\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_distributor_id\": \"501\",\n      \"reservation_distributor_name\": \"Demo Distributor\",\n      \"reservation_partner_id\": \"4534543543\",\n      \"reservation_partner_name\": \"Partner Name\",\n      \"reservation_reference\": \"ABC123456\",\n      \"reservation_external_reference\": \"EXTERNALREF123\",\n      \"reservation_hold_token\": \"17378c14-ae6a-46a4-ada4-9c745a45e018\",\n      \"reservation_valid_until\": \"2019-08-24T14:15:22Z\",\n      \"reservation_details\": [\n        {\n          \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n          \"booking_status\": \"BOOKING_RESERVED\",\n          \"booking_version\": 1,\n          \"booking_voucher_released\": true,\n          \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n          \"booking_valid_until\": \"2019-08-24T14:15:22Z\",\n          \"booking_invoice_status\": \"INVOICED\",\n          \"booking_language\": \"en\",\n          \"booking_addon_reference\": \"BOOKING_ADDON_REFERENCE_123\",\n          \"booking_pricing\": {\n            \"price_type\": \"SALES\",\n            \"price_currency_code\": \"EUR\",\n            \"price_currency_rate\": \"1.647\",\n            \"price_subtotal\": \"20.00\",\n            \"price_variations\": [\n              {\n                \"variation_label\": \"Peak Hour\",\n                \"variation_amount\": \"2.50\",\n                \"variation_type\": \"PRODUCT_DYNAMIC\"\n              }\n            ],\n            \"price_promocodes\": [\n              {\n                \"promo_code\": \"PROMOCODE_123\",\n                \"promo_amount\": \"-5.50\"\n              }\n            ],\n            \"price_taxes\": [\n              {\n                \"tax_id\": \"TAX_ID_123\",\n                \"tax_name\": \"VAT Regular 20%\",\n                \"tax_amount\": \"0.65\",\n                \"tax_rate\": \"20.00\"\n              }\n            ],\n            \"price_fees\": [\n              {\n                \"fee_label\": \"Creditcard - Variable Cost\",\n                \"fee_type\": \"SERVICE\",\n                \"fee_amount\": \"0.50\",\n                \"fee_percentage\": \"25.00\",\n                \"fee_tax_id\": \"TAX_ID_123\",\n                \"fee_tax_amount\": \"0.65\",\n                \"fee_included\": true,\n                \"fee_refundable\": true\n              }\n            ],\n            \"price_margins\": [\n              {\n                \"margin_type\": \"SERVICE\",\n                \"margin_amount\": \"0.50\",\n                \"margin_tax_id\": \"TAX_ID_123\",\n                \"margin_tax_amount\": \"0.65\"\n              }\n            ],\n            \"price_total\": \"12.00\"\n          },\n          \"booking_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"booking_customer_url\": \"https://example.com/orders/ORDRREF123456\",\n          \"booking_created\": \"2019-08-24T14:15:22Z\",\n          \"booking_modified\": \"2019-08-24T14:15:22Z\",\n          \"booking_confirmed\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancelled\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancellation_reason\": \"Payment declined\",\n          \"product_id\": \"10001\",\n          \"product_relation_id\": \"MAIN_PRODUCT_ID_123\",\n          \"product_pickup_point_id\": \"PICKUP_POINT_ID_123\",\n          \"product_pickup_point\": {\n            \"pickup_point_id\": \"PICKUP_POINT_ID_123\",\n            \"pickup_point_name\": \"Walkingtour at the Wyndham Apollo Hotel\",\n            \"pickup_point_type\": \"FIXED\",\n            \"pickup_point_description\": \"Meet at the Wyndham Apollo hotel.\",\n            \"pickup_point_location\": \"LOCATION_ID_123\",\n            \"pickup_point_time\": \"10:00\",\n            \"pickup_point_times\": [\n              \"10:00\"\n            ],\n            \"pickup_point_duration\": 30,\n            \"pickup_point_availability_dependency\": false\n          },\n          \"product_availability_id\": \"20191026090010006526\",\n          \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_capacity_id\": \"43525235\",\n          \"product_availability_capacity_shared_id\": \"435252453\",\n          \"product_title\": \"Test Product\",\n          \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n          \"product_supplier_name\": \"Test Museum\",\n          \"product_supplier_admin_id\": \"PRODUCT_SUPPLIER_ADMIN_ID\",\n          \"product_supplier_admin_name\": \"Supplier Admin Name\",\n          \"product_market_admin_id\": \"345345342\",\n          \"product_market_admin_name\": \"Market Admin Name\",\n          \"product_source_id\": \"34564574\",\n          \"product_source_name\": \"Example source\",\n          \"product_entry_notes\": \"Reconfirmation: Please call or email atleast 72 hour in advance to reconfirm your arrival.\",\n          \"product_admission_type\": \"TIME_PERIOD\",\n          \"product_currency_code\": \"USD\",\n          \"product_cancellation_allowed\": true,\n          \"product_options\": [\n            {\n              \"option_id\": \"1118\",\n              \"option_value_text\": \"string\",\n              \"option_values\": [\n                {\n                  \"value_id\": \"4921\",\n                  \"value_name\": \"Wine\",\n                  \"value_price\": \"8.00\",\n                  \"value_price_tax_id\": \"TAX_ID_123\",\n                  \"value_price_tax_amount\": \"0.65\",\n                  \"value_product_type_id\": \"ADULT_123\",\n                  \"value_count\": 2\n                }\n              ]\n            }\n          ],\n          \"product_combi_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [\n                    null\n                  ],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\"\n            }\n          ],\n          \"product_bundle_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [\n                    null\n                  ],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\"\n            }\n          ],\n          \"product_addon_details\": [\n            {\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_order_reference\": \"BOOKING_ORDER_REFERENCE\",\n              \"booking_reference\": \"BOOKING_REF123\"\n            }\n          ],\n          \"booking_reservation_reference\": \"BOOKING_RESERVATION_REFERENCE_123\",\n          \"booking_reservation_valid_until\": \"2019-08-24T14:15:22Z\",\n          \"product_type_details\": [\n            {\n              \"product_type\": \"ADULT\",\n              \"product_type_class\": \"STANDARD\",\n              \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n              \"product_type_label\": \"Adult\",\n              \"product_type_age_from\": 18,\n              \"product_type_age_to\": 65,\n              \"product_type_count\": 1,\n              \"product_type_pax\": 1,\n              \"product_type_capacity\": 1,\n              \"product_type_spots\": [\n                {\n                  \"spot_id\": \"345346363463\",\n                  \"spot_name\": \"Regular seat\",\n                  \"spot_section\": \"VIP Area\",\n                  \"spot_row\": \"F\",\n                  \"spot_number\": \"5\",\n                  \"spot_type\": \"SEAT\",\n                  \"spot_state\": \"AVAILABLE\"\n                }\n              ],\n              \"product_type_code\": \"1539762088951995\",\n              \"product_type_pricing\": {\n                \"price_type\": \"SALES\",\n                \"price_currency_code\": \"EUR\",\n                \"price_currency_rate\": \"1.647\",\n                \"price_subtotal\": \"20.00\",\n                \"price_variations\": [\n                  {\n                    \"variation_label\": \"Peak Hour\",\n                    \"variation_amount\": \"2.50\",\n                    \"variation_type\": \"PRODUCT_DYNAMIC\"\n                  }\n                ],\n                \"price_promocodes\": [\n                  {}\n                ],\n                \"price_taxes\": [\n                  {}\n                ],\n                \"price_fees\": [\n                  {}\n                ],\n                \"price_margins\": [\n                  {}\n                ],\n                \"price_total\": \"12.00\"\n              }\n            }\n          ]\n        }\n      ],\n      \"reservation_contacts\": [\n        {\n          \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n          \"contact_version\": 2,\n          \"contact_number\": \"4573246\",\n          \"contact_type\": \"GUEST\",\n          \"contact_title\": \"Mr.\",\n          \"contact_name_first\": \"John\",\n          \"contact_name_last\": \"Doe\",\n          \"contact_email\": \"Johndoe@example.com\",\n          \"contact_phone\": \"+14155552671\",\n          \"contact_mobile\": \"+14155552671\",\n          \"contact_language\": \"NL\",\n          \"contact_nationality\": \"Dutch\",\n          \"contact_flight_number\": \"KL 445\",\n          \"contact_loyalty_number\": \"46564564564547476\",\n          \"contact_birth_place\": \"Amsterdam\",\n          \"contact_birth_date\": \"2019-08-24\",\n          \"contact_passport\": \"JXXXXXXX\",\n          \"contact_gender\": \"MALE\",\n          \"contact_age\": 19,\n          \"contact_redacted\": false,\n          \"contact_room_number\": \"523\",\n          \"contact_website\": \"example.com\",\n          \"contact_company\": {\n            \"company_name\": \"Example LTD.\",\n            \"company_registration_number\": \"string\",\n            \"company_tax_number\": \"string\"\n          },\n          \"contact_classification\": \"IMPORTANT\",\n          \"contact_address\": {\n            \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"name\": \"Start of the Tour / My house / Office / John Doe\",\n            \"street\": \"Amstel 1\",\n            \"addition\": \"Apt B1\",\n            \"city\": \"Amsterdam\",\n            \"postal_code\": \"1011 PN\",\n            \"region\": \"Noord-Holland\",\n            \"country\": \"The Netherlands\",\n            \"country_code\": \"NL\",\n            \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n            \"latitude\": \"52.3785323\",\n            \"longitude\": \"4.893942\",\n            \"notes\": \"It's on the fourth floor\"\n          },\n          \"contact_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"contact_custom_fields\": [\n            {\n              \"custom_field_name\": \"Custom Field Name\",\n              \"custom_field_value\": \"Custom Field Value\",\n              \"custom_field_type\": \"SYSTEM\"\n            }\n          ],\n          \"contact_created\": \"2019-08-24T14:15:22Z\",\n          \"contact_modified\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"reservation_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"CHECKOUT_FIELD_ID\",\n          \"checkout_field_title\": \"First Name\",\n          \"checkout_field_label\": \"Please provide your first name\",\n          \"checkout_field_account_type\": \"DISTRIBUTOR\",\n          \"checkout_field_booking_reference\": [\n            \"string\"\n          ],\n          \"checkout_field_restriction\": \"REQUIRED\",\n          \"checkout_field_level\": \"PRODUCT\",\n          \"checkout_field_unit\": \"string\",\n          \"checkout_field_input_type\": \"SINGLE\",\n          \"checkout_field_type\": \"contact_title\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value_product_type\": \"string\",\n              \"checkout_field_value\": [\n                \"string\"\n              ],\n              \"checkout_field_value_transaction_reference\": \"string\"\n            }\n          ],\n          \"checkout_field_created\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"reservation_promocodes\": [\n        {\n          \"promo_title\": \"Christmas Sale 2019\",\n          \"promo_description\": \"20 percent discount during the Christmas days.\",\n          \"promo_code\": \"PROMOCODE_123\"\n        }\n      ],\n      \"reservation_pricing\": {\n        \"price_type\": \"SALES\",\n        \"price_currency_code\": \"EUR\",\n        \"price_currency_rate\": \"1.647\",\n        \"price_subtotal\": \"20.00\",\n        \"price_variations\": [\n          {\n            \"variation_label\": \"Peak Hour\",\n            \"variation_amount\": \"2.50\",\n            \"variation_type\": \"PRODUCT_DYNAMIC\"\n          }\n        ],\n        \"price_promocodes\": [\n          {\n            \"promo_code\": \"PROMOCODE_123\",\n            \"promo_amount\": \"-5.50\"\n          }\n        ],\n        \"price_taxes\": [\n          {\n            \"tax_id\": \"TAX_ID_123\",\n            \"tax_name\": \"VAT Regular 20%\",\n            \"tax_amount\": \"0.65\",\n            \"tax_rate\": \"20.00\"\n          }\n        ],\n        \"price_fees\": [\n          {\n            \"fee_label\": \"Creditcard - Variable Cost\",\n            \"fee_type\": \"SERVICE\",\n            \"fee_amount\": \"0.50\",\n            \"fee_percentage\": \"25.00\",\n            \"fee_tax_id\": \"TAX_ID_123\",\n            \"fee_tax_amount\": \"0.65\",\n            \"fee_included\": true,\n            \"fee_refundable\": true\n          }\n        ],\n        \"price_margins\": [\n          {\n            \"margin_type\": \"SERVICE\",\n            \"margin_amount\": \"0.50\",\n            \"margin_tax_id\": \"TAX_ID_123\",\n            \"margin_tax_amount\": \"0.65\"\n          }\n        ],\n        \"price_total\": \"12.00\"\n      },\n      \"reservation_payments\": [\n        {\n          \"payment_id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"payment_original_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n          \"payment_partner_id\": \"PAYMENT_PARTNER_ID\",\n          \"payment_shift_id\": \"PAYMENT_SHIFT_ID_123\",\n          \"payment_merchant_reference\": \"1478349849927_771663371\",\n          \"payment_external_reference\": \"SHOPPER_REFERENCE\",\n          \"payment_order_reference\": \"ORDRREF123456\",\n          \"payment_booking_references\": [\n            \"BKNGREF123456\"\n          ],\n          \"payment_order_version\": 2,\n          \"payment_status\": \"PAID\",\n          \"payment_method\": \"EXTERNAL\",\n          \"payment_scheme\": \"VISA\",\n          \"payment_type\": \"CAPTURE\",\n          \"payment_link\": \"https://example.com/s?q=K0U2VmVNRGo0SEhGdFVUZ09IK2ViZkdtK1NjPQ==\",\n          \"payment_link_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_authorization_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_recurring\": false,\n          \"payment_recurring_type\": \"STORE\",\n          \"payment_class\": \"SALES\",\n          \"payment_refund_type\": \"SYSTEM\",\n          \"payment_refund_reason\": \"Guest reimbursement\",\n          \"payment_currency_code\": \"EUR\",\n          \"payment_currency_rate\": \"2.5263\",\n          \"payment_currency_amount\": \"10.25\",\n          \"payment_amount\": \"10.00\",\n          \"payment_total\": \"100.00\",\n          \"payment_gateway_details\": {\n            \"payment_merchant_account_name\": \"ExampleMerchant\",\n            \"payment_service_provider_reference\": \"852596799876396F\",\n            \"payment_service_provider_original_reference\": \"882596799845511E\",\n            \"payment_gateway_type\": \"ADYEN\",\n            \"payment_gateway_additional_values\": {\n              \"psp_shopper_name\": \"Checkout Shopper PlaceHolder\",\n              \"psp_shopper_cardnumber\": \"1111\",\n              \"psp_issuer_country\": \"NL\",\n              \"psp_fraudscore\": \"63\",\n              \"psp_payment_status\": \"Settled\"\n            }\n          },\n          \"payment_contact\": {\n            \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n            \"contact_version\": 2,\n            \"contact_number\": \"4573246\",\n            \"contact_type\": \"GUEST\",\n            \"contact_title\": \"Mr.\",\n            \"contact_name_first\": \"John\",\n            \"contact_name_last\": \"Doe\",\n            \"contact_email\": \"Johndoe@example.com\",\n            \"contact_phone\": \"+14155552671\",\n            \"contact_mobile\": \"+14155552671\",\n            \"contact_language\": \"NL\",\n            \"contact_nationality\": \"Dutch\",\n            \"contact_flight_number\": \"KL 445\",\n            \"contact_loyalty_number\": \"46564564564547476\",\n            \"contact_birth_place\": \"Amsterdam\",\n            \"contact_birth_date\": \"2019-08-24\",\n            \"contact_passport\": \"JXXXXXXX\",\n            \"contact_gender\": \"MALE\",\n            \"contact_age\": 19,\n            \"contact_redacted\": false,\n            \"contact_room_number\": \"523\",\n            \"contact_website\": \"example.com\",\n            \"contact_company\": {\n              \"company_name\": \"Example LTD.\",\n              \"company_registration_number\": \"string\",\n              \"company_tax_number\": \"string\"\n            },\n            \"contact_classification\": \"IMPORTANT\",\n            \"contact_address\": {\n              \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n              \"name\": \"Start of the Tour / My house / Office / John Doe\",\n              \"street\": \"Amstel 1\",\n              \"addition\": \"Apt B1\",\n              \"city\": \"Amsterdam\",\n              \"postal_code\": \"1011 PN\",\n              \"region\": \"Noord-Holland\",\n              \"country\": \"The Netherlands\",\n              \"country_code\": \"NL\",\n              \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n              \"latitude\": \"52.3785323\",\n              \"longitude\": \"4.893942\",\n              \"notes\": \"It's on the fourth floor\"\n            },\n            \"contact_notes\": [\n              {\n                \"note_value\": \"Wheelchair assistance required.\",\n                \"note_type\": \"GUEST\",\n                \"note_date\": \"2019-08-24T14:15:22Z\",\n                \"note_creator\": \"Andrew (Supervisor)\"\n              }\n            ],\n            \"contact_custom_fields\": [\n              {\n                \"custom_field_name\": \"Custom Field Name\",\n                \"custom_field_value\": \"Custom Field Value\",\n                \"custom_field_type\": \"SYSTEM\"\n              }\n            ],\n            \"contact_created\": \"2019-08-24T14:15:22Z\",\n            \"contact_modified\": \"2019-08-24T14:15:22Z\"\n          },\n          \"payment_fees\": [\n            {\n              \"fee_label\": \"Credit Card Fee (VISA)\",\n              \"fee_amount\": \"0.10\",\n              \"fee_type\": \"PAYMENT\"\n            }\n          ],\n          \"payment_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"payment_created\": \"2019-08-24T14:15:22Z\",\n          \"payment_created_name\": \"Cashier Name\",\n          \"payment_created_email\": \"cashier@example.com\"\n        }\n      ],\n      \"reservation_credit\": {\n        \"credit_status\": \"ACTIVE\",\n        \"credit_total\": \"100.00\",\n        \"credit_deposit\": \"string\",\n        \"credit_blocked\": \"20.00\",\n        \"credit_used\": \"30.00\",\n        \"credit_remaining\": \"50.00\",\n        \"credit_invoice_interval\": \"MANUAL\",\n        \"credit_invoice_settlement\": \"MANUAL\",\n        \"credit_reset\": \"2019-08-24T14:15:22Z\"\n      },\n      \"reservation_custom_fields\": [\n        {\n          \"custom_field_name\": \"Custom Field Name\",\n          \"custom_field_value\": \"Custom Field Value\",\n          \"custom_field_type\": \"SYSTEM\"\n        }\n      ],\n      \"reservation_created\": \"2019-08-24T14:15:22Z\",\n      \"reservation_created_name\": \"Demo Cashier\",\n      \"reservation_created_email\": \"cashier@example.com\",\n      \"reservation_modified\": \"2019-08-24T14:15:22Z\"\n    }\n  }\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ],\n      \"reservation_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"FIRST_NAME\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value\": [\n                \"Example\"\n              ],\n              \"checkout_field_value_product_type\": \"ADULT\",\n              \"checkout_field_value_transaction_reference\": \"TRANSACTION_REFERENCE\"\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ],\n      \"reservation_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"FIRST_NAME\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value\": [\n                \"Example\"\n              ],\n              \"checkout_field_value_product_type\": \"ADULT\",\n              \"checkout_field_value_transaction_reference\": \"TRANSACTION_REFERENCE\"\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ],\n      \"reservation_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"FIRST_NAME\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value\": [\n                \"Example\"\n              ],\n              \"checkout_field_value_product_type\": \"ADULT\",\n              \"checkout_field_value_transaction_reference\": \"TRANSACTION_REFERENCE\"\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"409 - Check current resource state and version before retrying.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ],\n      \"reservation_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"FIRST_NAME\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value\": [\n                \"Example\"\n              ],\n              \"checkout_field_value_product_type\": \"ADULT\",\n              \"checkout_field_value_transaction_reference\": \"TRANSACTION_REFERENCE\"\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"CONFLICT\",\n  \"error_description\": \"Check current resource state and version before retrying.\",\n  \"error_message\": \"Check current resource state and version before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ],\n      \"reservation_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"FIRST_NAME\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value\": [\n                \"Example\"\n              ],\n              \"checkout_field_value_product_type\": \"ADULT\",\n              \"checkout_field_value_transaction_reference\": \"TRANSACTION_REFERENCE\"\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ],\n      \"reservation_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"FIRST_NAME\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value\": [\n                \"Example\"\n              ],\n              \"checkout_field_value_product_type\": \"ADULT\",\n              \"checkout_field_value_transaction_reference\": \"TRANSACTION_REFERENCE\"\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ],\n      \"reservation_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"FIRST_NAME\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value\": [\n                \"Example\"\n              ],\n              \"checkout_field_value_product_type\": \"ADULT\",\n              \"checkout_field_value_transaction_reference\": \"TRANSACTION_REFERENCE\"\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ],\n      \"reservation_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"FIRST_NAME\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value\": [\n                \"Example\"\n              ],\n              \"checkout_field_value_product_type\": \"ADULT\",\n              \"checkout_field_value_transaction_reference\": \"TRANSACTION_REFERENCE\"\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ],\n      \"reservation_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"FIRST_NAME\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value\": [\n                \"Example\"\n              ],\n              \"checkout_field_value_product_type\": \"ADULT\",\n              \"checkout_field_value_transaction_reference\": \"TRANSACTION_REFERENCE\"\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ],\n      \"reservation_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"FIRST_NAME\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value\": [\n                \"Example\"\n              ],\n              \"checkout_field_value_product_type\": \"ADULT\",\n              \"checkout_field_value_transaction_reference\": \"TRANSACTION_REFERENCE\"\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ],\n      \"reservation_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"FIRST_NAME\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value\": [\n                \"Example\"\n              ],\n              \"checkout_field_value_product_type\": \"ADULT\",\n              \"checkout_field_value_transaction_reference\": \"TRANSACTION_REFERENCE\"\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in Tue."}]},"description":"This API is called to update an existing reservation / cart.\n> This endpoint can also be requested for products without availability (`product_availability:false`) or managed capacity (`product_capacity:false`).\n\n### Checkout fields (API v2.0)\n\nUse this operation to submit answers returned in `reservation_checkout_fields`. Keep the original `checkout_field_id` and booking references. Send `checkout_field_value` as an array of strings, including single-value and Boolean answers. For `PARTICIPANT` fields, keep each answer associated with its product type and transaction reference. Every supported `REQUIRED` field must be answered before confirming the reservation. Wait for a successful update response before calling `POST /orders`.\n\n**Cart Functionality:**\n\n * To add a product to the cart, send a `reservation_details` array item with a blank `booking_reservation_reference`.\n \n * To amend an existing booking, please send the corresponding `booking_reservation_reference` for the array item with the amended data. In this case the latest request takes precedence and therefore the quantity is always overwritten, not summed.\n \n    Only sent the booking details of those bookings you would like to amend.\n \n * To remove a product from the cart, please call the \"Remove Cart Item\" endpoint. \n \n * To only change the contact details, do not provide the `reservation_details` object in the request.\n \n * TIP: The full reservation / cart details will be returned on every request. Therefore you are able to manage the cart outside of your system if required. ReadOnly properties which are included in the response, but not allowed in the request, such as `booking_reservation_valid_until` will be ignored and can be safely sent. If you choose not to do this, make sure both carts are kept in sync.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_version\": {{reservation_version}},\n      \"reservation_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ],\n      \"reservation_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"FIRST_NAME\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value\": [\n                \"Example\"\n              ],\n              \"checkout_field_value_product_type\": \"ADULT\",\n              \"checkout_field_value_transaction_reference\": \"TRANSACTION_REFERENCE\"\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["if (pm.collectionVariables.get('allow_mutations') !== 'true') { pm.execution.skipRequest(); }"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Cancel Reservation / Remove Cart Item / Empty Cart","request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[{"key":"booking_reservation_reference","value":"EXAMPLE","disabled":true,"description":"When using the Cart functionality you are able to remove individual products."},{"key":"cancellation_reason","value":"Payment declined","disabled":true,"description":"Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in the Tue system."}]},"description":"This API is called to cancel a reserved timeslot, delete products from your cart or empty the cart.\nIn case of a full cancellation, you are no longer able to amend the reservation.\nOtherwise, the updated cart will be returned.\n\nNote that (combi-)pricing might have changed.\n\n> If payment is made, funds will be automatically refunded."},"response":[{"name":"200 - Item(s) removed from Cart","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[{"key":"booking_reservation_reference","value":"EXAMPLE","disabled":true,"description":"When using the Cart functionality you are able to remove individual products."},{"key":"cancellation_reason","value":"Payment declined","disabled":true,"description":"Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in the Tue system."}]},"description":"This API is called to cancel a reserved timeslot, delete products from your cart or empty the cart.\nIn case of a full cancellation, you are no longer able to amend the reservation.\nOtherwise, the updated cart will be returned.\n\nNote that (combi-)pricing might have changed.\n\n> If payment is made, funds will be automatically refunded."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_distributor_id\": \"501\",\n      \"reservation_distributor_name\": \"Demo Distributor\",\n      \"reservation_partner_id\": \"4534543543\",\n      \"reservation_partner_name\": \"Partner Name\",\n      \"reservation_reference\": \"ABC123456\",\n      \"reservation_external_reference\": \"EXTERNALREF123\",\n      \"reservation_hold_token\": \"17378c14-ae6a-46a4-ada4-9c745a45e018\",\n      \"reservation_valid_until\": \"2019-08-24T14:15:22Z\",\n      \"reservation_details\": [\n        {\n          \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n          \"booking_status\": \"BOOKING_RESERVED\",\n          \"booking_version\": 1,\n          \"booking_voucher_released\": true,\n          \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n          \"booking_valid_until\": \"2019-08-24T14:15:22Z\",\n          \"booking_invoice_status\": \"INVOICED\",\n          \"booking_language\": \"en\",\n          \"booking_addon_reference\": \"BOOKING_ADDON_REFERENCE_123\",\n          \"booking_pricing\": {\n            \"price_type\": \"SALES\",\n            \"price_currency_code\": \"EUR\",\n            \"price_currency_rate\": \"1.647\",\n            \"price_subtotal\": \"20.00\",\n            \"price_variations\": [\n              {\n                \"variation_label\": \"Peak Hour\",\n                \"variation_amount\": \"2.50\",\n                \"variation_type\": \"PRODUCT_DYNAMIC\"\n              }\n            ],\n            \"price_promocodes\": [\n              {\n                \"promo_code\": \"PROMOCODE_123\",\n                \"promo_amount\": \"-5.50\"\n              }\n            ],\n            \"price_taxes\": [\n              {\n                \"tax_id\": \"TAX_ID_123\",\n                \"tax_name\": \"VAT Regular 20%\",\n                \"tax_amount\": \"0.65\",\n                \"tax_rate\": \"20.00\"\n              }\n            ],\n            \"price_fees\": [\n              {\n                \"fee_label\": \"Creditcard - Variable Cost\",\n                \"fee_type\": \"SERVICE\",\n                \"fee_amount\": \"0.50\",\n                \"fee_percentage\": \"25.00\",\n                \"fee_tax_id\": \"TAX_ID_123\",\n                \"fee_tax_amount\": \"0.65\",\n                \"fee_included\": true,\n                \"fee_refundable\": true\n              }\n            ],\n            \"price_margins\": [\n              {\n                \"margin_type\": \"SERVICE\",\n                \"margin_amount\": \"0.50\",\n                \"margin_tax_id\": \"TAX_ID_123\",\n                \"margin_tax_amount\": \"0.65\"\n              }\n            ],\n            \"price_total\": \"12.00\"\n          },\n          \"booking_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"booking_customer_url\": \"https://example.com/orders/ORDRREF123456\",\n          \"booking_created\": \"2019-08-24T14:15:22Z\",\n          \"booking_modified\": \"2019-08-24T14:15:22Z\",\n          \"booking_confirmed\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancelled\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancellation_reason\": \"Payment declined\",\n          \"product_id\": \"10001\",\n          \"product_relation_id\": \"MAIN_PRODUCT_ID_123\",\n          \"product_pickup_point_id\": \"PICKUP_POINT_ID_123\",\n          \"product_pickup_point\": {\n            \"pickup_point_id\": \"PICKUP_POINT_ID_123\",\n            \"pickup_point_name\": \"Walkingtour at the Wyndham Apollo Hotel\",\n            \"pickup_point_type\": \"FIXED\",\n            \"pickup_point_description\": \"Meet at the Wyndham Apollo hotel.\",\n            \"pickup_point_location\": \"LOCATION_ID_123\",\n            \"pickup_point_time\": \"10:00\",\n            \"pickup_point_times\": [\n              \"10:00\"\n            ],\n            \"pickup_point_duration\": 30,\n            \"pickup_point_availability_dependency\": false\n          },\n          \"product_availability_id\": \"20191026090010006526\",\n          \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_capacity_id\": \"43525235\",\n          \"product_availability_capacity_shared_id\": \"435252453\",\n          \"product_title\": \"Test Product\",\n          \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n          \"product_supplier_name\": \"Test Museum\",\n          \"product_supplier_admin_id\": \"PRODUCT_SUPPLIER_ADMIN_ID\",\n          \"product_supplier_admin_name\": \"Supplier Admin Name\",\n          \"product_market_admin_id\": \"345345342\",\n          \"product_market_admin_name\": \"Market Admin Name\",\n          \"product_source_id\": \"34564574\",\n          \"product_source_name\": \"Example source\",\n          \"product_entry_notes\": \"Reconfirmation: Please call or email atleast 72 hour in advance to reconfirm your arrival.\",\n          \"product_admission_type\": \"TIME_PERIOD\",\n          \"product_currency_code\": \"USD\",\n          \"product_cancellation_allowed\": true,\n          \"product_options\": [\n            {\n              \"option_id\": \"1118\",\n              \"option_value_text\": \"string\",\n              \"option_values\": [\n                {\n                  \"value_id\": \"4921\",\n                  \"value_name\": \"Wine\",\n                  \"value_price\": \"8.00\",\n                  \"value_price_tax_id\": \"TAX_ID_123\",\n                  \"value_price_tax_amount\": \"0.65\",\n                  \"value_product_type_id\": \"ADULT_123\",\n                  \"value_count\": 2\n                }\n              ]\n            }\n          ],\n          \"product_combi_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [\n                    null\n                  ],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\"\n            }\n          ],\n          \"product_bundle_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [\n                    null\n                  ],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\"\n            }\n          ],\n          \"product_addon_details\": [\n            {\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_order_reference\": \"BOOKING_ORDER_REFERENCE\",\n              \"booking_reference\": \"BOOKING_REF123\"\n            }\n          ],\n          \"booking_reservation_reference\": \"BOOKING_RESERVATION_REFERENCE_123\",\n          \"booking_reservation_valid_until\": \"2019-08-24T14:15:22Z\",\n          \"product_type_details\": [\n            {\n              \"product_type\": \"ADULT\",\n              \"product_type_class\": \"STANDARD\",\n              \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n              \"product_type_label\": \"Adult\",\n              \"product_type_age_from\": 18,\n              \"product_type_age_to\": 65,\n              \"product_type_count\": 1,\n              \"product_type_pax\": 1,\n              \"product_type_capacity\": 1,\n              \"product_type_spots\": [\n                {\n                  \"spot_id\": \"345346363463\",\n                  \"spot_name\": \"Regular seat\",\n                  \"spot_section\": \"VIP Area\",\n                  \"spot_row\": \"F\",\n                  \"spot_number\": \"5\",\n                  \"spot_type\": \"SEAT\",\n                  \"spot_state\": \"AVAILABLE\"\n                }\n              ],\n              \"product_type_code\": \"1539762088951995\",\n              \"product_type_pricing\": {\n                \"price_type\": \"SALES\",\n                \"price_currency_code\": \"EUR\",\n                \"price_currency_rate\": \"1.647\",\n                \"price_subtotal\": \"20.00\",\n                \"price_variations\": [\n                  {\n                    \"variation_label\": \"Peak Hour\",\n                    \"variation_amount\": \"2.50\",\n                    \"variation_type\": \"PRODUCT_DYNAMIC\"\n                  }\n                ],\n                \"price_promocodes\": [\n                  {}\n                ],\n                \"price_taxes\": [\n                  {}\n                ],\n                \"price_fees\": [\n                  {}\n                ],\n                \"price_margins\": [\n                  {}\n                ],\n                \"price_total\": \"12.00\"\n              }\n            }\n          ]\n        }\n      ],\n      \"reservation_contacts\": [\n        {\n          \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n          \"contact_version\": 2,\n          \"contact_number\": \"4573246\",\n          \"contact_type\": \"GUEST\",\n          \"contact_title\": \"Mr.\",\n          \"contact_name_first\": \"John\",\n          \"contact_name_last\": \"Doe\",\n          \"contact_email\": \"Johndoe@example.com\",\n          \"contact_phone\": \"+14155552671\",\n          \"contact_mobile\": \"+14155552671\",\n          \"contact_language\": \"NL\",\n          \"contact_nationality\": \"Dutch\",\n          \"contact_flight_number\": \"KL 445\",\n          \"contact_loyalty_number\": \"46564564564547476\",\n          \"contact_birth_place\": \"Amsterdam\",\n          \"contact_birth_date\": \"2019-08-24\",\n          \"contact_passport\": \"JXXXXXXX\",\n          \"contact_gender\": \"MALE\",\n          \"contact_age\": 19,\n          \"contact_redacted\": false,\n          \"contact_room_number\": \"523\",\n          \"contact_website\": \"example.com\",\n          \"contact_company\": {\n            \"company_name\": \"Example LTD.\",\n            \"company_registration_number\": \"string\",\n            \"company_tax_number\": \"string\"\n          },\n          \"contact_classification\": \"IMPORTANT\",\n          \"contact_address\": {\n            \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"name\": \"Start of the Tour / My house / Office / John Doe\",\n            \"street\": \"Amstel 1\",\n            \"addition\": \"Apt B1\",\n            \"city\": \"Amsterdam\",\n            \"postal_code\": \"1011 PN\",\n            \"region\": \"Noord-Holland\",\n            \"country\": \"The Netherlands\",\n            \"country_code\": \"NL\",\n            \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n            \"latitude\": \"52.3785323\",\n            \"longitude\": \"4.893942\",\n            \"notes\": \"It's on the fourth floor\"\n          },\n          \"contact_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"contact_custom_fields\": [\n            {\n              \"custom_field_name\": \"Custom Field Name\",\n              \"custom_field_value\": \"Custom Field Value\",\n              \"custom_field_type\": \"SYSTEM\"\n            }\n          ],\n          \"contact_created\": \"2019-08-24T14:15:22Z\",\n          \"contact_modified\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"reservation_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"CHECKOUT_FIELD_ID\",\n          \"checkout_field_title\": \"First Name\",\n          \"checkout_field_label\": \"Please provide your first name\",\n          \"checkout_field_account_type\": \"DISTRIBUTOR\",\n          \"checkout_field_booking_reference\": [\n            \"string\"\n          ],\n          \"checkout_field_restriction\": \"REQUIRED\",\n          \"checkout_field_level\": \"PRODUCT\",\n          \"checkout_field_unit\": \"string\",\n          \"checkout_field_input_type\": \"SINGLE\",\n          \"checkout_field_type\": \"contact_title\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value_product_type\": \"string\",\n              \"checkout_field_value\": [\n                \"string\"\n              ],\n              \"checkout_field_value_transaction_reference\": \"string\"\n            }\n          ],\n          \"checkout_field_created\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"reservation_promocodes\": [\n        {\n          \"promo_title\": \"Christmas Sale 2019\",\n          \"promo_description\": \"20 percent discount during the Christmas days.\",\n          \"promo_code\": \"PROMOCODE_123\"\n        }\n      ],\n      \"reservation_pricing\": {\n        \"price_type\": \"SALES\",\n        \"price_currency_code\": \"EUR\",\n        \"price_currency_rate\": \"1.647\",\n        \"price_subtotal\": \"20.00\",\n        \"price_variations\": [\n          {\n            \"variation_label\": \"Peak Hour\",\n            \"variation_amount\": \"2.50\",\n            \"variation_type\": \"PRODUCT_DYNAMIC\"\n          }\n        ],\n        \"price_promocodes\": [\n          {\n            \"promo_code\": \"PROMOCODE_123\",\n            \"promo_amount\": \"-5.50\"\n          }\n        ],\n        \"price_taxes\": [\n          {\n            \"tax_id\": \"TAX_ID_123\",\n            \"tax_name\": \"VAT Regular 20%\",\n            \"tax_amount\": \"0.65\",\n            \"tax_rate\": \"20.00\"\n          }\n        ],\n        \"price_fees\": [\n          {\n            \"fee_label\": \"Creditcard - Variable Cost\",\n            \"fee_type\": \"SERVICE\",\n            \"fee_amount\": \"0.50\",\n            \"fee_percentage\": \"25.00\",\n            \"fee_tax_id\": \"TAX_ID_123\",\n            \"fee_tax_amount\": \"0.65\",\n            \"fee_included\": true,\n            \"fee_refundable\": true\n          }\n        ],\n        \"price_margins\": [\n          {\n            \"margin_type\": \"SERVICE\",\n            \"margin_amount\": \"0.50\",\n            \"margin_tax_id\": \"TAX_ID_123\",\n            \"margin_tax_amount\": \"0.65\"\n          }\n        ],\n        \"price_total\": \"12.00\"\n      },\n      \"reservation_payments\": [\n        {\n          \"payment_id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"payment_original_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n          \"payment_partner_id\": \"PAYMENT_PARTNER_ID\",\n          \"payment_shift_id\": \"PAYMENT_SHIFT_ID_123\",\n          \"payment_merchant_reference\": \"1478349849927_771663371\",\n          \"payment_external_reference\": \"SHOPPER_REFERENCE\",\n          \"payment_order_reference\": \"ORDRREF123456\",\n          \"payment_booking_references\": [\n            \"BKNGREF123456\"\n          ],\n          \"payment_order_version\": 2,\n          \"payment_status\": \"PAID\",\n          \"payment_method\": \"EXTERNAL\",\n          \"payment_scheme\": \"VISA\",\n          \"payment_type\": \"CAPTURE\",\n          \"payment_link\": \"https://example.com/s?q=K0U2VmVNRGo0SEhGdFVUZ09IK2ViZkdtK1NjPQ==\",\n          \"payment_link_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_authorization_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_recurring\": false,\n          \"payment_recurring_type\": \"STORE\",\n          \"payment_class\": \"SALES\",\n          \"payment_refund_type\": \"SYSTEM\",\n          \"payment_refund_reason\": \"Guest reimbursement\",\n          \"payment_currency_code\": \"EUR\",\n          \"payment_currency_rate\": \"2.5263\",\n          \"payment_currency_amount\": \"10.25\",\n          \"payment_amount\": \"10.00\",\n          \"payment_total\": \"100.00\",\n          \"payment_gateway_details\": {\n            \"payment_merchant_account_name\": \"ExampleMerchant\",\n            \"payment_service_provider_reference\": \"852596799876396F\",\n            \"payment_service_provider_original_reference\": \"882596799845511E\",\n            \"payment_gateway_type\": \"ADYEN\",\n            \"payment_gateway_additional_values\": {\n              \"psp_shopper_name\": \"Checkout Shopper PlaceHolder\",\n              \"psp_shopper_cardnumber\": \"1111\",\n              \"psp_issuer_country\": \"NL\",\n              \"psp_fraudscore\": \"63\",\n              \"psp_payment_status\": \"Settled\"\n            }\n          },\n          \"payment_contact\": {\n            \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n            \"contact_version\": 2,\n            \"contact_number\": \"4573246\",\n            \"contact_type\": \"GUEST\",\n            \"contact_title\": \"Mr.\",\n            \"contact_name_first\": \"John\",\n            \"contact_name_last\": \"Doe\",\n            \"contact_email\": \"Johndoe@example.com\",\n            \"contact_phone\": \"+14155552671\",\n            \"contact_mobile\": \"+14155552671\",\n            \"contact_language\": \"NL\",\n            \"contact_nationality\": \"Dutch\",\n            \"contact_flight_number\": \"KL 445\",\n            \"contact_loyalty_number\": \"46564564564547476\",\n            \"contact_birth_place\": \"Amsterdam\",\n            \"contact_birth_date\": \"2019-08-24\",\n            \"contact_passport\": \"JXXXXXXX\",\n            \"contact_gender\": \"MALE\",\n            \"contact_age\": 19,\n            \"contact_redacted\": false,\n            \"contact_room_number\": \"523\",\n            \"contact_website\": \"example.com\",\n            \"contact_company\": {\n              \"company_name\": \"Example LTD.\",\n              \"company_registration_number\": \"string\",\n              \"company_tax_number\": \"string\"\n            },\n            \"contact_classification\": \"IMPORTANT\",\n            \"contact_address\": {\n              \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n              \"name\": \"Start of the Tour / My house / Office / John Doe\",\n              \"street\": \"Amstel 1\",\n              \"addition\": \"Apt B1\",\n              \"city\": \"Amsterdam\",\n              \"postal_code\": \"1011 PN\",\n              \"region\": \"Noord-Holland\",\n              \"country\": \"The Netherlands\",\n              \"country_code\": \"NL\",\n              \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n              \"latitude\": \"52.3785323\",\n              \"longitude\": \"4.893942\",\n              \"notes\": \"It's on the fourth floor\"\n            },\n            \"contact_notes\": [\n              {\n                \"note_value\": \"Wheelchair assistance required.\",\n                \"note_type\": \"GUEST\",\n                \"note_date\": \"2019-08-24T14:15:22Z\",\n                \"note_creator\": \"Andrew (Supervisor)\"\n              }\n            ],\n            \"contact_custom_fields\": [\n              {\n                \"custom_field_name\": \"Custom Field Name\",\n                \"custom_field_value\": \"Custom Field Value\",\n                \"custom_field_type\": \"SYSTEM\"\n              }\n            ],\n            \"contact_created\": \"2019-08-24T14:15:22Z\",\n            \"contact_modified\": \"2019-08-24T14:15:22Z\"\n          },\n          \"payment_fees\": [\n            {\n              \"fee_label\": \"Credit Card Fee (VISA)\",\n              \"fee_amount\": \"0.10\",\n              \"fee_type\": \"PAYMENT\"\n            }\n          ],\n          \"payment_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"payment_created\": \"2019-08-24T14:15:22Z\",\n          \"payment_created_name\": \"Cashier Name\",\n          \"payment_created_email\": \"cashier@example.com\"\n        }\n      ],\n      \"reservation_credit\": {\n        \"credit_status\": \"ACTIVE\",\n        \"credit_total\": \"100.00\",\n        \"credit_deposit\": \"string\",\n        \"credit_blocked\": \"20.00\",\n        \"credit_used\": \"30.00\",\n        \"credit_remaining\": \"50.00\",\n        \"credit_invoice_interval\": \"MANUAL\",\n        \"credit_invoice_settlement\": \"MANUAL\",\n        \"credit_reset\": \"2019-08-24T14:15:22Z\"\n      },\n      \"reservation_custom_fields\": [\n        {\n          \"custom_field_name\": \"Custom Field Name\",\n          \"custom_field_value\": \"Custom Field Value\",\n          \"custom_field_type\": \"SYSTEM\"\n        }\n      ],\n      \"reservation_created\": \"2019-08-24T14:15:22Z\",\n      \"reservation_created_name\": \"Demo Cashier\",\n      \"reservation_created_email\": \"cashier@example.com\",\n      \"reservation_modified\": \"2019-08-24T14:15:22Z\"\n    }\n  }\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[{"key":"booking_reservation_reference","value":"EXAMPLE","disabled":true,"description":"When using the Cart functionality you are able to remove individual products."},{"key":"cancellation_reason","value":"Payment declined","disabled":true,"description":"Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in the Tue system."}]},"description":"This API is called to cancel a reserved timeslot, delete products from your cart or empty the cart.\nIn case of a full cancellation, you are no longer able to amend the reservation.\nOtherwise, the updated cart will be returned.\n\nNote that (combi-)pricing might have changed.\n\n> If payment is made, funds will be automatically refunded."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[{"key":"booking_reservation_reference","value":"EXAMPLE","disabled":true,"description":"When using the Cart functionality you are able to remove individual products."},{"key":"cancellation_reason","value":"Payment declined","disabled":true,"description":"Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in the Tue system."}]},"description":"This API is called to cancel a reserved timeslot, delete products from your cart or empty the cart.\nIn case of a full cancellation, you are no longer able to amend the reservation.\nOtherwise, the updated cart will be returned.\n\nNote that (combi-)pricing might have changed.\n\n> If payment is made, funds will be automatically refunded."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[{"key":"booking_reservation_reference","value":"EXAMPLE","disabled":true,"description":"When using the Cart functionality you are able to remove individual products."},{"key":"cancellation_reason","value":"Payment declined","disabled":true,"description":"Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in the Tue system."}]},"description":"This API is called to cancel a reserved timeslot, delete products from your cart or empty the cart.\nIn case of a full cancellation, you are no longer able to amend the reservation.\nOtherwise, the updated cart will be returned.\n\nNote that (combi-)pricing might have changed.\n\n> If payment is made, funds will be automatically refunded."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"409 - Check current resource state and version before retrying.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[{"key":"booking_reservation_reference","value":"EXAMPLE","disabled":true,"description":"When using the Cart functionality you are able to remove individual products."},{"key":"cancellation_reason","value":"Payment declined","disabled":true,"description":"Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in the Tue system."}]},"description":"This API is called to cancel a reserved timeslot, delete products from your cart or empty the cart.\nIn case of a full cancellation, you are no longer able to amend the reservation.\nOtherwise, the updated cart will be returned.\n\nNote that (combi-)pricing might have changed.\n\n> If payment is made, funds will be automatically refunded."},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"CONFLICT\",\n  \"error_description\": \"Check current resource state and version before retrying.\",\n  \"error_message\": \"Check current resource state and version before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[{"key":"booking_reservation_reference","value":"EXAMPLE","disabled":true,"description":"When using the Cart functionality you are able to remove individual products."},{"key":"cancellation_reason","value":"Payment declined","disabled":true,"description":"Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in the Tue system."}]},"description":"This API is called to cancel a reserved timeslot, delete products from your cart or empty the cart.\nIn case of a full cancellation, you are no longer able to amend the reservation.\nOtherwise, the updated cart will be returned.\n\nNote that (combi-)pricing might have changed.\n\n> If payment is made, funds will be automatically refunded."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[{"key":"booking_reservation_reference","value":"EXAMPLE","disabled":true,"description":"When using the Cart functionality you are able to remove individual products."},{"key":"cancellation_reason","value":"Payment declined","disabled":true,"description":"Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in the Tue system."}]},"description":"This API is called to cancel a reserved timeslot, delete products from your cart or empty the cart.\nIn case of a full cancellation, you are no longer able to amend the reservation.\nOtherwise, the updated cart will be returned.\n\nNote that (combi-)pricing might have changed.\n\n> If payment is made, funds will be automatically refunded."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[{"key":"booking_reservation_reference","value":"EXAMPLE","disabled":true,"description":"When using the Cart functionality you are able to remove individual products."},{"key":"cancellation_reason","value":"Payment declined","disabled":true,"description":"Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in the Tue system."}]},"description":"This API is called to cancel a reserved timeslot, delete products from your cart or empty the cart.\nIn case of a full cancellation, you are no longer able to amend the reservation.\nOtherwise, the updated cart will be returned.\n\nNote that (combi-)pricing might have changed.\n\n> If payment is made, funds will be automatically refunded."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[{"key":"booking_reservation_reference","value":"EXAMPLE","disabled":true,"description":"When using the Cart functionality you are able to remove individual products."},{"key":"cancellation_reason","value":"Payment declined","disabled":true,"description":"Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in the Tue system."}]},"description":"This API is called to cancel a reserved timeslot, delete products from your cart or empty the cart.\nIn case of a full cancellation, you are no longer able to amend the reservation.\nOtherwise, the updated cart will be returned.\n\nNote that (combi-)pricing might have changed.\n\n> If payment is made, funds will be automatically refunded."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[{"key":"booking_reservation_reference","value":"EXAMPLE","disabled":true,"description":"When using the Cart functionality you are able to remove individual products."},{"key":"cancellation_reason","value":"Payment declined","disabled":true,"description":"Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in the Tue system."}]},"description":"This API is called to cancel a reserved timeslot, delete products from your cart or empty the cart.\nIn case of a full cancellation, you are no longer able to amend the reservation.\nOtherwise, the updated cart will be returned.\n\nNote that (combi-)pricing might have changed.\n\n> If payment is made, funds will be automatically refunded."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[{"key":"booking_reservation_reference","value":"EXAMPLE","disabled":true,"description":"When using the Cart functionality you are able to remove individual products."},{"key":"cancellation_reason","value":"Payment declined","disabled":true,"description":"Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in the Tue system."}]},"description":"This API is called to cancel a reserved timeslot, delete products from your cart or empty the cart.\nIn case of a full cancellation, you are no longer able to amend the reservation.\nOtherwise, the updated cart will be returned.\n\nNote that (combi-)pricing might have changed.\n\n> If payment is made, funds will be automatically refunded."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[{"key":"booking_reservation_reference","value":"EXAMPLE","disabled":true,"description":"When using the Cart functionality you are able to remove individual products."},{"key":"cancellation_reason","value":"Payment declined","disabled":true,"description":"Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in the Tue system."}]},"description":"This API is called to cancel a reserved timeslot, delete products from your cart or empty the cart.\nIn case of a full cancellation, you are no longer able to amend the reservation.\nOtherwise, the updated cart will be returned.\n\nNote that (combi-)pricing might have changed.\n\n> If payment is made, funds will be automatically refunded."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference"],"query":[{"key":"booking_reservation_reference","value":"EXAMPLE","disabled":true,"description":"When using the Cart functionality you are able to remove individual products."},{"key":"cancellation_reason","value":"Payment declined","disabled":true,"description":"Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier for the created reservation in the Tue system."}]},"description":"This API is called to cancel a reserved timeslot, delete products from your cart or empty the cart.\nIn case of a full cancellation, you are no longer able to amend the reservation.\nOtherwise, the updated cart will be returned.\n\nNote that (combi-)pricing might have changed.\n\n> If payment is made, funds will be automatically refunded."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["if (pm.collectionVariables.get('allow_mutations') !== 'true') { pm.execution.skipRequest(); }"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Add Promocode","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode?promocode={{promocode}}","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode"],"query":[{"key":"promocode","value":"{{promocode}}","disabled":false,"description":"See the operation contract; values depend on your distribution and provider."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation_reference API."}]},"description":"This API is called to apply promocodes on a reservation.\n\n**Promocode Functionality:**\n\n * To add a promocode to the Cart / Reservation, add the applicable promocode to the query. The promocode will automatically be added to the Cart and the updated prices will be returned in the response.\n* There could be multiple reasons for a promocode to be declined. For example, insufficient cart balance, expired, already used etc. In this case an error `INVALID_PROMOCODE` will be returned with a customer friendly message which can be shown on your front-end."},"response":[{"name":"200 - Promocode Added","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode?promocode={{promocode}}","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode"],"query":[{"key":"promocode","value":"{{promocode}}","disabled":false,"description":"See the operation contract; values depend on your distribution and provider."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation_reference API."}]},"description":"This API is called to apply promocodes on a reservation.\n\n**Promocode Functionality:**\n\n * To add a promocode to the Cart / Reservation, add the applicable promocode to the query. The promocode will automatically be added to the Cart and the updated prices will be returned in the response.\n* There could be multiple reasons for a promocode to be declined. For example, insufficient cart balance, expired, already used etc. In this case an error `INVALID_PROMOCODE` will be returned with a customer friendly message which can be shown on your front-end."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_distributor_id\": \"501\",\n      \"reservation_distributor_name\": \"Demo Distributor\",\n      \"reservation_partner_id\": \"4534543543\",\n      \"reservation_partner_name\": \"Partner Name\",\n      \"reservation_reference\": \"ABC123456\",\n      \"reservation_external_reference\": \"EXTERNALREF123\",\n      \"reservation_hold_token\": \"17378c14-ae6a-46a4-ada4-9c745a45e018\",\n      \"reservation_valid_until\": \"2019-08-24T14:15:22Z\",\n      \"reservation_details\": [\n        {\n          \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n          \"booking_status\": \"BOOKING_RESERVED\",\n          \"booking_version\": 1,\n          \"booking_voucher_released\": true,\n          \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n          \"booking_valid_until\": \"2019-08-24T14:15:22Z\",\n          \"booking_invoice_status\": \"INVOICED\",\n          \"booking_language\": \"en\",\n          \"booking_addon_reference\": \"BOOKING_ADDON_REFERENCE_123\",\n          \"booking_pricing\": {\n            \"price_type\": \"SALES\",\n            \"price_currency_code\": \"EUR\",\n            \"price_currency_rate\": \"1.647\",\n            \"price_subtotal\": \"20.00\",\n            \"price_variations\": [\n              {\n                \"variation_label\": \"Peak Hour\",\n                \"variation_amount\": \"2.50\",\n                \"variation_type\": \"PRODUCT_DYNAMIC\"\n              }\n            ],\n            \"price_promocodes\": [\n              {\n                \"promo_code\": \"PROMOCODE_123\",\n                \"promo_amount\": \"-5.50\"\n              }\n            ],\n            \"price_taxes\": [\n              {\n                \"tax_id\": \"TAX_ID_123\",\n                \"tax_name\": \"VAT Regular 20%\",\n                \"tax_amount\": \"0.65\",\n                \"tax_rate\": \"20.00\"\n              }\n            ],\n            \"price_fees\": [\n              {\n                \"fee_label\": \"Creditcard - Variable Cost\",\n                \"fee_type\": \"SERVICE\",\n                \"fee_amount\": \"0.50\",\n                \"fee_percentage\": \"25.00\",\n                \"fee_tax_id\": \"TAX_ID_123\",\n                \"fee_tax_amount\": \"0.65\",\n                \"fee_included\": true,\n                \"fee_refundable\": true\n              }\n            ],\n            \"price_margins\": [\n              {\n                \"margin_type\": \"SERVICE\",\n                \"margin_amount\": \"0.50\",\n                \"margin_tax_id\": \"TAX_ID_123\",\n                \"margin_tax_amount\": \"0.65\"\n              }\n            ],\n            \"price_total\": \"12.00\"\n          },\n          \"booking_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"booking_customer_url\": \"https://example.com/orders/ORDRREF123456\",\n          \"booking_created\": \"2019-08-24T14:15:22Z\",\n          \"booking_modified\": \"2019-08-24T14:15:22Z\",\n          \"booking_confirmed\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancelled\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancellation_reason\": \"Payment declined\",\n          \"product_id\": \"10001\",\n          \"product_relation_id\": \"MAIN_PRODUCT_ID_123\",\n          \"product_pickup_point_id\": \"PICKUP_POINT_ID_123\",\n          \"product_pickup_point\": {\n            \"pickup_point_id\": \"PICKUP_POINT_ID_123\",\n            \"pickup_point_name\": \"Walkingtour at the Wyndham Apollo Hotel\",\n            \"pickup_point_type\": \"FIXED\",\n            \"pickup_point_description\": \"Meet at the Wyndham Apollo hotel.\",\n            \"pickup_point_location\": \"LOCATION_ID_123\",\n            \"pickup_point_time\": \"10:00\",\n            \"pickup_point_times\": [\n              \"10:00\"\n            ],\n            \"pickup_point_duration\": 30,\n            \"pickup_point_availability_dependency\": false\n          },\n          \"product_availability_id\": \"20191026090010006526\",\n          \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_capacity_id\": \"43525235\",\n          \"product_availability_capacity_shared_id\": \"435252453\",\n          \"product_title\": \"Test Product\",\n          \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n          \"product_supplier_name\": \"Test Museum\",\n          \"product_supplier_admin_id\": \"PRODUCT_SUPPLIER_ADMIN_ID\",\n          \"product_supplier_admin_name\": \"Supplier Admin Name\",\n          \"product_market_admin_id\": \"345345342\",\n          \"product_market_admin_name\": \"Market Admin Name\",\n          \"product_source_id\": \"34564574\",\n          \"product_source_name\": \"Example source\",\n          \"product_entry_notes\": \"Reconfirmation: Please call or email atleast 72 hour in advance to reconfirm your arrival.\",\n          \"product_admission_type\": \"TIME_PERIOD\",\n          \"product_currency_code\": \"USD\",\n          \"product_cancellation_allowed\": true,\n          \"product_options\": [\n            {\n              \"option_id\": \"1118\",\n              \"option_value_text\": \"string\",\n              \"option_values\": [\n                {\n                  \"value_id\": \"4921\",\n                  \"value_name\": \"Wine\",\n                  \"value_price\": \"8.00\",\n                  \"value_price_tax_id\": \"TAX_ID_123\",\n                  \"value_price_tax_amount\": \"0.65\",\n                  \"value_product_type_id\": \"ADULT_123\",\n                  \"value_count\": 2\n                }\n              ]\n            }\n          ],\n          \"product_combi_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [\n                    null\n                  ],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\"\n            }\n          ],\n          \"product_bundle_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [\n                    null\n                  ],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\"\n            }\n          ],\n          \"product_addon_details\": [\n            {\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_order_reference\": \"BOOKING_ORDER_REFERENCE\",\n              \"booking_reference\": \"BOOKING_REF123\"\n            }\n          ],\n          \"booking_reservation_reference\": \"BOOKING_RESERVATION_REFERENCE_123\",\n          \"booking_reservation_valid_until\": \"2019-08-24T14:15:22Z\",\n          \"product_type_details\": [\n            {\n              \"product_type\": \"ADULT\",\n              \"product_type_class\": \"STANDARD\",\n              \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n              \"product_type_label\": \"Adult\",\n              \"product_type_age_from\": 18,\n              \"product_type_age_to\": 65,\n              \"product_type_count\": 1,\n              \"product_type_pax\": 1,\n              \"product_type_capacity\": 1,\n              \"product_type_spots\": [\n                {\n                  \"spot_id\": \"345346363463\",\n                  \"spot_name\": \"Regular seat\",\n                  \"spot_section\": \"VIP Area\",\n                  \"spot_row\": \"F\",\n                  \"spot_number\": \"5\",\n                  \"spot_type\": \"SEAT\",\n                  \"spot_state\": \"AVAILABLE\"\n                }\n              ],\n              \"product_type_code\": \"1539762088951995\",\n              \"product_type_pricing\": {\n                \"price_type\": \"SALES\",\n                \"price_currency_code\": \"EUR\",\n                \"price_currency_rate\": \"1.647\",\n                \"price_subtotal\": \"20.00\",\n                \"price_variations\": [\n                  {\n                    \"variation_label\": \"Peak Hour\",\n                    \"variation_amount\": \"2.50\",\n                    \"variation_type\": \"PRODUCT_DYNAMIC\"\n                  }\n                ],\n                \"price_promocodes\": [\n                  {}\n                ],\n                \"price_taxes\": [\n                  {}\n                ],\n                \"price_fees\": [\n                  {}\n                ],\n                \"price_margins\": [\n                  {}\n                ],\n                \"price_total\": \"12.00\"\n              }\n            }\n          ]\n        }\n      ],\n      \"reservation_contacts\": [\n        {\n          \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n          \"contact_version\": 2,\n          \"contact_number\": \"4573246\",\n          \"contact_type\": \"GUEST\",\n          \"contact_title\": \"Mr.\",\n          \"contact_name_first\": \"John\",\n          \"contact_name_last\": \"Doe\",\n          \"contact_email\": \"Johndoe@example.com\",\n          \"contact_phone\": \"+14155552671\",\n          \"contact_mobile\": \"+14155552671\",\n          \"contact_language\": \"NL\",\n          \"contact_nationality\": \"Dutch\",\n          \"contact_flight_number\": \"KL 445\",\n          \"contact_loyalty_number\": \"46564564564547476\",\n          \"contact_birth_place\": \"Amsterdam\",\n          \"contact_birth_date\": \"2019-08-24\",\n          \"contact_passport\": \"JXXXXXXX\",\n          \"contact_gender\": \"MALE\",\n          \"contact_age\": 19,\n          \"contact_redacted\": false,\n          \"contact_room_number\": \"523\",\n          \"contact_website\": \"example.com\",\n          \"contact_company\": {\n            \"company_name\": \"Example LTD.\",\n            \"company_registration_number\": \"string\",\n            \"company_tax_number\": \"string\"\n          },\n          \"contact_classification\": \"IMPORTANT\",\n          \"contact_address\": {\n            \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"name\": \"Start of the Tour / My house / Office / John Doe\",\n            \"street\": \"Amstel 1\",\n            \"addition\": \"Apt B1\",\n            \"city\": \"Amsterdam\",\n            \"postal_code\": \"1011 PN\",\n            \"region\": \"Noord-Holland\",\n            \"country\": \"The Netherlands\",\n            \"country_code\": \"NL\",\n            \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n            \"latitude\": \"52.3785323\",\n            \"longitude\": \"4.893942\",\n            \"notes\": \"It's on the fourth floor\"\n          },\n          \"contact_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"contact_custom_fields\": [\n            {\n              \"custom_field_name\": \"Custom Field Name\",\n              \"custom_field_value\": \"Custom Field Value\",\n              \"custom_field_type\": \"SYSTEM\"\n            }\n          ],\n          \"contact_created\": \"2019-08-24T14:15:22Z\",\n          \"contact_modified\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"reservation_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"CHECKOUT_FIELD_ID\",\n          \"checkout_field_title\": \"First Name\",\n          \"checkout_field_label\": \"Please provide your first name\",\n          \"checkout_field_account_type\": \"DISTRIBUTOR\",\n          \"checkout_field_booking_reference\": [\n            \"string\"\n          ],\n          \"checkout_field_restriction\": \"REQUIRED\",\n          \"checkout_field_level\": \"PRODUCT\",\n          \"checkout_field_unit\": \"string\",\n          \"checkout_field_input_type\": \"SINGLE\",\n          \"checkout_field_type\": \"contact_title\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value_product_type\": \"string\",\n              \"checkout_field_value\": [\n                \"string\"\n              ],\n              \"checkout_field_value_transaction_reference\": \"string\"\n            }\n          ],\n          \"checkout_field_created\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"reservation_promocodes\": [\n        {\n          \"promo_title\": \"Christmas Sale 2019\",\n          \"promo_description\": \"20 percent discount during the Christmas days.\",\n          \"promo_code\": \"PROMOCODE_123\"\n        }\n      ],\n      \"reservation_pricing\": {\n        \"price_type\": \"SALES\",\n        \"price_currency_code\": \"EUR\",\n        \"price_currency_rate\": \"1.647\",\n        \"price_subtotal\": \"20.00\",\n        \"price_variations\": [\n          {\n            \"variation_label\": \"Peak Hour\",\n            \"variation_amount\": \"2.50\",\n            \"variation_type\": \"PRODUCT_DYNAMIC\"\n          }\n        ],\n        \"price_promocodes\": [\n          {\n            \"promo_code\": \"PROMOCODE_123\",\n            \"promo_amount\": \"-5.50\"\n          }\n        ],\n        \"price_taxes\": [\n          {\n            \"tax_id\": \"TAX_ID_123\",\n            \"tax_name\": \"VAT Regular 20%\",\n            \"tax_amount\": \"0.65\",\n            \"tax_rate\": \"20.00\"\n          }\n        ],\n        \"price_fees\": [\n          {\n            \"fee_label\": \"Creditcard - Variable Cost\",\n            \"fee_type\": \"SERVICE\",\n            \"fee_amount\": \"0.50\",\n            \"fee_percentage\": \"25.00\",\n            \"fee_tax_id\": \"TAX_ID_123\",\n            \"fee_tax_amount\": \"0.65\",\n            \"fee_included\": true,\n            \"fee_refundable\": true\n          }\n        ],\n        \"price_margins\": [\n          {\n            \"margin_type\": \"SERVICE\",\n            \"margin_amount\": \"0.50\",\n            \"margin_tax_id\": \"TAX_ID_123\",\n            \"margin_tax_amount\": \"0.65\"\n          }\n        ],\n        \"price_total\": \"12.00\"\n      },\n      \"reservation_payments\": [\n        {\n          \"payment_id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"payment_original_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n          \"payment_partner_id\": \"PAYMENT_PARTNER_ID\",\n          \"payment_shift_id\": \"PAYMENT_SHIFT_ID_123\",\n          \"payment_merchant_reference\": \"1478349849927_771663371\",\n          \"payment_external_reference\": \"SHOPPER_REFERENCE\",\n          \"payment_order_reference\": \"ORDRREF123456\",\n          \"payment_booking_references\": [\n            \"BKNGREF123456\"\n          ],\n          \"payment_order_version\": 2,\n          \"payment_status\": \"PAID\",\n          \"payment_method\": \"EXTERNAL\",\n          \"payment_scheme\": \"VISA\",\n          \"payment_type\": \"CAPTURE\",\n          \"payment_link\": \"https://example.com/s?q=K0U2VmVNRGo0SEhGdFVUZ09IK2ViZkdtK1NjPQ==\",\n          \"payment_link_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_authorization_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_recurring\": false,\n          \"payment_recurring_type\": \"STORE\",\n          \"payment_class\": \"SALES\",\n          \"payment_refund_type\": \"SYSTEM\",\n          \"payment_refund_reason\": \"Guest reimbursement\",\n          \"payment_currency_code\": \"EUR\",\n          \"payment_currency_rate\": \"2.5263\",\n          \"payment_currency_amount\": \"10.25\",\n          \"payment_amount\": \"10.00\",\n          \"payment_total\": \"100.00\",\n          \"payment_gateway_details\": {\n            \"payment_merchant_account_name\": \"ExampleMerchant\",\n            \"payment_service_provider_reference\": \"852596799876396F\",\n            \"payment_service_provider_original_reference\": \"882596799845511E\",\n            \"payment_gateway_type\": \"ADYEN\",\n            \"payment_gateway_additional_values\": {\n              \"psp_shopper_name\": \"Checkout Shopper PlaceHolder\",\n              \"psp_shopper_cardnumber\": \"1111\",\n              \"psp_issuer_country\": \"NL\",\n              \"psp_fraudscore\": \"63\",\n              \"psp_payment_status\": \"Settled\"\n            }\n          },\n          \"payment_contact\": {\n            \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n            \"contact_version\": 2,\n            \"contact_number\": \"4573246\",\n            \"contact_type\": \"GUEST\",\n            \"contact_title\": \"Mr.\",\n            \"contact_name_first\": \"John\",\n            \"contact_name_last\": \"Doe\",\n            \"contact_email\": \"Johndoe@example.com\",\n            \"contact_phone\": \"+14155552671\",\n            \"contact_mobile\": \"+14155552671\",\n            \"contact_language\": \"NL\",\n            \"contact_nationality\": \"Dutch\",\n            \"contact_flight_number\": \"KL 445\",\n            \"contact_loyalty_number\": \"46564564564547476\",\n            \"contact_birth_place\": \"Amsterdam\",\n            \"contact_birth_date\": \"2019-08-24\",\n            \"contact_passport\": \"JXXXXXXX\",\n            \"contact_gender\": \"MALE\",\n            \"contact_age\": 19,\n            \"contact_redacted\": false,\n            \"contact_room_number\": \"523\",\n            \"contact_website\": \"example.com\",\n            \"contact_company\": {\n              \"company_name\": \"Example LTD.\",\n              \"company_registration_number\": \"string\",\n              \"company_tax_number\": \"string\"\n            },\n            \"contact_classification\": \"IMPORTANT\",\n            \"contact_address\": {\n              \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n              \"name\": \"Start of the Tour / My house / Office / John Doe\",\n              \"street\": \"Amstel 1\",\n              \"addition\": \"Apt B1\",\n              \"city\": \"Amsterdam\",\n              \"postal_code\": \"1011 PN\",\n              \"region\": \"Noord-Holland\",\n              \"country\": \"The Netherlands\",\n              \"country_code\": \"NL\",\n              \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n              \"latitude\": \"52.3785323\",\n              \"longitude\": \"4.893942\",\n              \"notes\": \"It's on the fourth floor\"\n            },\n            \"contact_notes\": [\n              {\n                \"note_value\": \"Wheelchair assistance required.\",\n                \"note_type\": \"GUEST\",\n                \"note_date\": \"2019-08-24T14:15:22Z\",\n                \"note_creator\": \"Andrew (Supervisor)\"\n              }\n            ],\n            \"contact_custom_fields\": [\n              {\n                \"custom_field_name\": \"Custom Field Name\",\n                \"custom_field_value\": \"Custom Field Value\",\n                \"custom_field_type\": \"SYSTEM\"\n              }\n            ],\n            \"contact_created\": \"2019-08-24T14:15:22Z\",\n            \"contact_modified\": \"2019-08-24T14:15:22Z\"\n          },\n          \"payment_fees\": [\n            {\n              \"fee_label\": \"Credit Card Fee (VISA)\",\n              \"fee_amount\": \"0.10\",\n              \"fee_type\": \"PAYMENT\"\n            }\n          ],\n          \"payment_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"payment_created\": \"2019-08-24T14:15:22Z\",\n          \"payment_created_name\": \"Cashier Name\",\n          \"payment_created_email\": \"cashier@example.com\"\n        }\n      ],\n      \"reservation_credit\": {\n        \"credit_status\": \"ACTIVE\",\n        \"credit_total\": \"100.00\",\n        \"credit_deposit\": \"string\",\n        \"credit_blocked\": \"20.00\",\n        \"credit_used\": \"30.00\",\n        \"credit_remaining\": \"50.00\",\n        \"credit_invoice_interval\": \"MANUAL\",\n        \"credit_invoice_settlement\": \"MANUAL\",\n        \"credit_reset\": \"2019-08-24T14:15:22Z\"\n      },\n      \"reservation_custom_fields\": [\n        {\n          \"custom_field_name\": \"Custom Field Name\",\n          \"custom_field_value\": \"Custom Field Value\",\n          \"custom_field_type\": \"SYSTEM\"\n        }\n      ],\n      \"reservation_created\": \"2019-08-24T14:15:22Z\",\n      \"reservation_created_name\": \"Demo Cashier\",\n      \"reservation_created_email\": \"cashier@example.com\",\n      \"reservation_modified\": \"2019-08-24T14:15:22Z\"\n    }\n  }\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode?promocode={{promocode}}","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode"],"query":[{"key":"promocode","value":"{{promocode}}","disabled":false,"description":"See the operation contract; values depend on your distribution and provider."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation_reference API."}]},"description":"This API is called to apply promocodes on a reservation.\n\n**Promocode Functionality:**\n\n * To add a promocode to the Cart / Reservation, add the applicable promocode to the query. The promocode will automatically be added to the Cart and the updated prices will be returned in the response.\n* There could be multiple reasons for a promocode to be declined. For example, insufficient cart balance, expired, already used etc. In this case an error `INVALID_PROMOCODE` will be returned with a customer friendly message which can be shown on your front-end."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode?promocode={{promocode}}","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode"],"query":[{"key":"promocode","value":"{{promocode}}","disabled":false,"description":"See the operation contract; values depend on your distribution and provider."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation_reference API."}]},"description":"This API is called to apply promocodes on a reservation.\n\n**Promocode Functionality:**\n\n * To add a promocode to the Cart / Reservation, add the applicable promocode to the query. The promocode will automatically be added to the Cart and the updated prices will be returned in the response.\n* There could be multiple reasons for a promocode to be declined. For example, insufficient cart balance, expired, already used etc. In this case an error `INVALID_PROMOCODE` will be returned with a customer friendly message which can be shown on your front-end."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode?promocode={{promocode}}","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode"],"query":[{"key":"promocode","value":"{{promocode}}","disabled":false,"description":"See the operation contract; values depend on your distribution and provider."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation_reference API."}]},"description":"This API is called to apply promocodes on a reservation.\n\n**Promocode Functionality:**\n\n * To add a promocode to the Cart / Reservation, add the applicable promocode to the query. The promocode will automatically be added to the Cart and the updated prices will be returned in the response.\n* There could be multiple reasons for a promocode to be declined. For example, insufficient cart balance, expired, already used etc. In this case an error `INVALID_PROMOCODE` will be returned with a customer friendly message which can be shown on your front-end."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"409 - Check current resource state and version before retrying.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode?promocode={{promocode}}","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode"],"query":[{"key":"promocode","value":"{{promocode}}","disabled":false,"description":"See the operation contract; values depend on your distribution and provider."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation_reference API."}]},"description":"This API is called to apply promocodes on a reservation.\n\n**Promocode Functionality:**\n\n * To add a promocode to the Cart / Reservation, add the applicable promocode to the query. The promocode will automatically be added to the Cart and the updated prices will be returned in the response.\n* There could be multiple reasons for a promocode to be declined. For example, insufficient cart balance, expired, already used etc. In this case an error `INVALID_PROMOCODE` will be returned with a customer friendly message which can be shown on your front-end."},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"CONFLICT\",\n  \"error_description\": \"Check current resource state and version before retrying.\",\n  \"error_message\": \"Check current resource state and version before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode?promocode={{promocode}}","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode"],"query":[{"key":"promocode","value":"{{promocode}}","disabled":false,"description":"See the operation contract; values depend on your distribution and provider."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation_reference API."}]},"description":"This API is called to apply promocodes on a reservation.\n\n**Promocode Functionality:**\n\n * To add a promocode to the Cart / Reservation, add the applicable promocode to the query. The promocode will automatically be added to the Cart and the updated prices will be returned in the response.\n* There could be multiple reasons for a promocode to be declined. For example, insufficient cart balance, expired, already used etc. In this case an error `INVALID_PROMOCODE` will be returned with a customer friendly message which can be shown on your front-end."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode?promocode={{promocode}}","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode"],"query":[{"key":"promocode","value":"{{promocode}}","disabled":false,"description":"See the operation contract; values depend on your distribution and provider."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation_reference API."}]},"description":"This API is called to apply promocodes on a reservation.\n\n**Promocode Functionality:**\n\n * To add a promocode to the Cart / Reservation, add the applicable promocode to the query. The promocode will automatically be added to the Cart and the updated prices will be returned in the response.\n* There could be multiple reasons for a promocode to be declined. For example, insufficient cart balance, expired, already used etc. In this case an error `INVALID_PROMOCODE` will be returned with a customer friendly message which can be shown on your front-end."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode?promocode={{promocode}}","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode"],"query":[{"key":"promocode","value":"{{promocode}}","disabled":false,"description":"See the operation contract; values depend on your distribution and provider."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation_reference API."}]},"description":"This API is called to apply promocodes on a reservation.\n\n**Promocode Functionality:**\n\n * To add a promocode to the Cart / Reservation, add the applicable promocode to the query. The promocode will automatically be added to the Cart and the updated prices will be returned in the response.\n* There could be multiple reasons for a promocode to be declined. For example, insufficient cart balance, expired, already used etc. In this case an error `INVALID_PROMOCODE` will be returned with a customer friendly message which can be shown on your front-end."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode?promocode={{promocode}}","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode"],"query":[{"key":"promocode","value":"{{promocode}}","disabled":false,"description":"See the operation contract; values depend on your distribution and provider."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation_reference API."}]},"description":"This API is called to apply promocodes on a reservation.\n\n**Promocode Functionality:**\n\n * To add a promocode to the Cart / Reservation, add the applicable promocode to the query. The promocode will automatically be added to the Cart and the updated prices will be returned in the response.\n* There could be multiple reasons for a promocode to be declined. For example, insufficient cart balance, expired, already used etc. In this case an error `INVALID_PROMOCODE` will be returned with a customer friendly message which can be shown on your front-end."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode?promocode={{promocode}}","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode"],"query":[{"key":"promocode","value":"{{promocode}}","disabled":false,"description":"See the operation contract; values depend on your distribution and provider."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation_reference API."}]},"description":"This API is called to apply promocodes on a reservation.\n\n**Promocode Functionality:**\n\n * To add a promocode to the Cart / Reservation, add the applicable promocode to the query. The promocode will automatically be added to the Cart and the updated prices will be returned in the response.\n* There could be multiple reasons for a promocode to be declined. For example, insufficient cart balance, expired, already used etc. In this case an error `INVALID_PROMOCODE` will be returned with a customer friendly message which can be shown on your front-end."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode?promocode={{promocode}}","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode"],"query":[{"key":"promocode","value":"{{promocode}}","disabled":false,"description":"See the operation contract; values depend on your distribution and provider."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation_reference API."}]},"description":"This API is called to apply promocodes on a reservation.\n\n**Promocode Functionality:**\n\n * To add a promocode to the Cart / Reservation, add the applicable promocode to the query. The promocode will automatically be added to the Cart and the updated prices will be returned in the response.\n* There could be multiple reasons for a promocode to be declined. For example, insufficient cart balance, expired, already used etc. In this case an error `INVALID_PROMOCODE` will be returned with a customer friendly message which can be shown on your front-end."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode?promocode={{promocode}}","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode"],"query":[{"key":"promocode","value":"{{promocode}}","disabled":false,"description":"See the operation contract; values depend on your distribution and provider."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation_reference API."}]},"description":"This API is called to apply promocodes on a reservation.\n\n**Promocode Functionality:**\n\n * To add a promocode to the Cart / Reservation, add the applicable promocode to the query. The promocode will automatically be added to the Cart and the updated prices will be returned in the response.\n* There could be multiple reasons for a promocode to be declined. For example, insufficient cart balance, expired, already used etc. In this case an error `INVALID_PROMOCODE` will be returned with a customer friendly message which can be shown on your front-end."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode?promocode={{promocode}}","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode"],"query":[{"key":"promocode","value":"{{promocode}}","disabled":false,"description":"See the operation contract; values depend on your distribution and provider."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation_reference API."}]},"description":"This API is called to apply promocodes on a reservation.\n\n**Promocode Functionality:**\n\n * To add a promocode to the Cart / Reservation, add the applicable promocode to the query. The promocode will automatically be added to the Cart and the updated prices will be returned in the response.\n* There could be multiple reasons for a promocode to be declined. For example, insufficient cart balance, expired, already used etc. In this case an error `INVALID_PROMOCODE` will be returned with a customer friendly message which can be shown on your front-end."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["if (pm.collectionVariables.get('allow_mutations') !== 'true') { pm.execution.skipRequest(); }"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Remove Promocode","request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode/:promocode","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode",":promocode"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation API."},{"key":"promocode","value":"{{promocode}}","description":"Exact identifier or reference returned by the API."}]},"description":"This API is called to remove an applied promocode on a reservation.\nIf a DELETE method is successfully applied, the origin server SHOULD send a 200 (Promocode Removed) status code if the action has been enacted. The new reservation will be returned with the updated prices.\n> If a promocode or an existing order applied with a promocode is cancelled, the use count will be restored."},"response":[{"name":"200 - Promocode Removed","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode/:promocode","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode",":promocode"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation API."},{"key":"promocode","value":"{{promocode}}","description":"Exact identifier or reference returned by the API."}]},"description":"This API is called to remove an applied promocode on a reservation.\nIf a DELETE method is successfully applied, the origin server SHOULD send a 200 (Promocode Removed) status code if the action has been enacted. The new reservation will be returned with the updated prices.\n> If a promocode or an existing order applied with a promocode is cancelled, the use count will be restored."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"reservation\",\n    \"reservation\": {\n      \"reservation_distributor_id\": \"501\",\n      \"reservation_distributor_name\": \"Demo Distributor\",\n      \"reservation_partner_id\": \"4534543543\",\n      \"reservation_partner_name\": \"Partner Name\",\n      \"reservation_reference\": \"ABC123456\",\n      \"reservation_external_reference\": \"EXTERNALREF123\",\n      \"reservation_hold_token\": \"17378c14-ae6a-46a4-ada4-9c745a45e018\",\n      \"reservation_valid_until\": \"2019-08-24T14:15:22Z\",\n      \"reservation_details\": [\n        {\n          \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n          \"booking_status\": \"BOOKING_RESERVED\",\n          \"booking_version\": 1,\n          \"booking_voucher_released\": true,\n          \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n          \"booking_valid_until\": \"2019-08-24T14:15:22Z\",\n          \"booking_invoice_status\": \"INVOICED\",\n          \"booking_language\": \"en\",\n          \"booking_addon_reference\": \"BOOKING_ADDON_REFERENCE_123\",\n          \"booking_pricing\": {\n            \"price_type\": \"SALES\",\n            \"price_currency_code\": \"EUR\",\n            \"price_currency_rate\": \"1.647\",\n            \"price_subtotal\": \"20.00\",\n            \"price_variations\": [\n              {\n                \"variation_label\": \"Peak Hour\",\n                \"variation_amount\": \"2.50\",\n                \"variation_type\": \"PRODUCT_DYNAMIC\"\n              }\n            ],\n            \"price_promocodes\": [\n              {\n                \"promo_code\": \"PROMOCODE_123\",\n                \"promo_amount\": \"-5.50\"\n              }\n            ],\n            \"price_taxes\": [\n              {\n                \"tax_id\": \"TAX_ID_123\",\n                \"tax_name\": \"VAT Regular 20%\",\n                \"tax_amount\": \"0.65\",\n                \"tax_rate\": \"20.00\"\n              }\n            ],\n            \"price_fees\": [\n              {\n                \"fee_label\": \"Creditcard - Variable Cost\",\n                \"fee_type\": \"SERVICE\",\n                \"fee_amount\": \"0.50\",\n                \"fee_percentage\": \"25.00\",\n                \"fee_tax_id\": \"TAX_ID_123\",\n                \"fee_tax_amount\": \"0.65\",\n                \"fee_included\": true,\n                \"fee_refundable\": true\n              }\n            ],\n            \"price_margins\": [\n              {\n                \"margin_type\": \"SERVICE\",\n                \"margin_amount\": \"0.50\",\n                \"margin_tax_id\": \"TAX_ID_123\",\n                \"margin_tax_amount\": \"0.65\"\n              }\n            ],\n            \"price_total\": \"12.00\"\n          },\n          \"booking_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"booking_customer_url\": \"https://example.com/orders/ORDRREF123456\",\n          \"booking_created\": \"2019-08-24T14:15:22Z\",\n          \"booking_modified\": \"2019-08-24T14:15:22Z\",\n          \"booking_confirmed\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancelled\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancellation_reason\": \"Payment declined\",\n          \"product_id\": \"10001\",\n          \"product_relation_id\": \"MAIN_PRODUCT_ID_123\",\n          \"product_pickup_point_id\": \"PICKUP_POINT_ID_123\",\n          \"product_pickup_point\": {\n            \"pickup_point_id\": \"PICKUP_POINT_ID_123\",\n            \"pickup_point_name\": \"Walkingtour at the Wyndham Apollo Hotel\",\n            \"pickup_point_type\": \"FIXED\",\n            \"pickup_point_description\": \"Meet at the Wyndham Apollo hotel.\",\n            \"pickup_point_location\": \"LOCATION_ID_123\",\n            \"pickup_point_time\": \"10:00\",\n            \"pickup_point_times\": [\n              \"10:00\"\n            ],\n            \"pickup_point_duration\": 30,\n            \"pickup_point_availability_dependency\": false\n          },\n          \"product_availability_id\": \"20191026090010006526\",\n          \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_capacity_id\": \"43525235\",\n          \"product_availability_capacity_shared_id\": \"435252453\",\n          \"product_title\": \"Test Product\",\n          \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n          \"product_supplier_name\": \"Test Museum\",\n          \"product_supplier_admin_id\": \"PRODUCT_SUPPLIER_ADMIN_ID\",\n          \"product_supplier_admin_name\": \"Supplier Admin Name\",\n          \"product_market_admin_id\": \"345345342\",\n          \"product_market_admin_name\": \"Market Admin Name\",\n          \"product_source_id\": \"34564574\",\n          \"product_source_name\": \"Example source\",\n          \"product_entry_notes\": \"Reconfirmation: Please call or email atleast 72 hour in advance to reconfirm your arrival.\",\n          \"product_admission_type\": \"TIME_PERIOD\",\n          \"product_currency_code\": \"USD\",\n          \"product_cancellation_allowed\": true,\n          \"product_options\": [\n            {\n              \"option_id\": \"1118\",\n              \"option_value_text\": \"string\",\n              \"option_values\": [\n                {\n                  \"value_id\": \"4921\",\n                  \"value_name\": \"Wine\",\n                  \"value_price\": \"8.00\",\n                  \"value_price_tax_id\": \"TAX_ID_123\",\n                  \"value_price_tax_amount\": \"0.65\",\n                  \"value_product_type_id\": \"ADULT_123\",\n                  \"value_count\": 2\n                }\n              ]\n            }\n          ],\n          \"product_combi_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [\n                    null\n                  ],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\"\n            }\n          ],\n          \"product_bundle_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [\n                    null\n                  ],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\"\n            }\n          ],\n          \"product_addon_details\": [\n            {\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_order_reference\": \"BOOKING_ORDER_REFERENCE\",\n              \"booking_reference\": \"BOOKING_REF123\"\n            }\n          ],\n          \"booking_reservation_reference\": \"BOOKING_RESERVATION_REFERENCE_123\",\n          \"booking_reservation_valid_until\": \"2019-08-24T14:15:22Z\",\n          \"product_type_details\": [\n            {\n              \"product_type\": \"ADULT\",\n              \"product_type_class\": \"STANDARD\",\n              \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n              \"product_type_label\": \"Adult\",\n              \"product_type_age_from\": 18,\n              \"product_type_age_to\": 65,\n              \"product_type_count\": 1,\n              \"product_type_pax\": 1,\n              \"product_type_capacity\": 1,\n              \"product_type_spots\": [\n                {\n                  \"spot_id\": \"345346363463\",\n                  \"spot_name\": \"Regular seat\",\n                  \"spot_section\": \"VIP Area\",\n                  \"spot_row\": \"F\",\n                  \"spot_number\": \"5\",\n                  \"spot_type\": \"SEAT\",\n                  \"spot_state\": \"AVAILABLE\"\n                }\n              ],\n              \"product_type_code\": \"1539762088951995\",\n              \"product_type_pricing\": {\n                \"price_type\": \"SALES\",\n                \"price_currency_code\": \"EUR\",\n                \"price_currency_rate\": \"1.647\",\n                \"price_subtotal\": \"20.00\",\n                \"price_variations\": [\n                  {\n                    \"variation_label\": \"Peak Hour\",\n                    \"variation_amount\": \"2.50\",\n                    \"variation_type\": \"PRODUCT_DYNAMIC\"\n                  }\n                ],\n                \"price_promocodes\": [\n                  {}\n                ],\n                \"price_taxes\": [\n                  {}\n                ],\n                \"price_fees\": [\n                  {}\n                ],\n                \"price_margins\": [\n                  {}\n                ],\n                \"price_total\": \"12.00\"\n              }\n            }\n          ]\n        }\n      ],\n      \"reservation_contacts\": [\n        {\n          \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n          \"contact_version\": 2,\n          \"contact_number\": \"4573246\",\n          \"contact_type\": \"GUEST\",\n          \"contact_title\": \"Mr.\",\n          \"contact_name_first\": \"John\",\n          \"contact_name_last\": \"Doe\",\n          \"contact_email\": \"Johndoe@example.com\",\n          \"contact_phone\": \"+14155552671\",\n          \"contact_mobile\": \"+14155552671\",\n          \"contact_language\": \"NL\",\n          \"contact_nationality\": \"Dutch\",\n          \"contact_flight_number\": \"KL 445\",\n          \"contact_loyalty_number\": \"46564564564547476\",\n          \"contact_birth_place\": \"Amsterdam\",\n          \"contact_birth_date\": \"2019-08-24\",\n          \"contact_passport\": \"JXXXXXXX\",\n          \"contact_gender\": \"MALE\",\n          \"contact_age\": 19,\n          \"contact_redacted\": false,\n          \"contact_room_number\": \"523\",\n          \"contact_website\": \"example.com\",\n          \"contact_company\": {\n            \"company_name\": \"Example LTD.\",\n            \"company_registration_number\": \"string\",\n            \"company_tax_number\": \"string\"\n          },\n          \"contact_classification\": \"IMPORTANT\",\n          \"contact_address\": {\n            \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"name\": \"Start of the Tour / My house / Office / John Doe\",\n            \"street\": \"Amstel 1\",\n            \"addition\": \"Apt B1\",\n            \"city\": \"Amsterdam\",\n            \"postal_code\": \"1011 PN\",\n            \"region\": \"Noord-Holland\",\n            \"country\": \"The Netherlands\",\n            \"country_code\": \"NL\",\n            \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n            \"latitude\": \"52.3785323\",\n            \"longitude\": \"4.893942\",\n            \"notes\": \"It's on the fourth floor\"\n          },\n          \"contact_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"contact_custom_fields\": [\n            {\n              \"custom_field_name\": \"Custom Field Name\",\n              \"custom_field_value\": \"Custom Field Value\",\n              \"custom_field_type\": \"SYSTEM\"\n            }\n          ],\n          \"contact_created\": \"2019-08-24T14:15:22Z\",\n          \"contact_modified\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"reservation_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"CHECKOUT_FIELD_ID\",\n          \"checkout_field_title\": \"First Name\",\n          \"checkout_field_label\": \"Please provide your first name\",\n          \"checkout_field_account_type\": \"DISTRIBUTOR\",\n          \"checkout_field_booking_reference\": [\n            \"string\"\n          ],\n          \"checkout_field_restriction\": \"REQUIRED\",\n          \"checkout_field_level\": \"PRODUCT\",\n          \"checkout_field_unit\": \"string\",\n          \"checkout_field_input_type\": \"SINGLE\",\n          \"checkout_field_type\": \"contact_title\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value_product_type\": \"string\",\n              \"checkout_field_value\": [\n                \"string\"\n              ],\n              \"checkout_field_value_transaction_reference\": \"string\"\n            }\n          ],\n          \"checkout_field_created\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"reservation_promocodes\": [\n        {\n          \"promo_title\": \"Christmas Sale 2019\",\n          \"promo_description\": \"20 percent discount during the Christmas days.\",\n          \"promo_code\": \"PROMOCODE_123\"\n        }\n      ],\n      \"reservation_pricing\": {\n        \"price_type\": \"SALES\",\n        \"price_currency_code\": \"EUR\",\n        \"price_currency_rate\": \"1.647\",\n        \"price_subtotal\": \"20.00\",\n        \"price_variations\": [\n          {\n            \"variation_label\": \"Peak Hour\",\n            \"variation_amount\": \"2.50\",\n            \"variation_type\": \"PRODUCT_DYNAMIC\"\n          }\n        ],\n        \"price_promocodes\": [\n          {\n            \"promo_code\": \"PROMOCODE_123\",\n            \"promo_amount\": \"-5.50\"\n          }\n        ],\n        \"price_taxes\": [\n          {\n            \"tax_id\": \"TAX_ID_123\",\n            \"tax_name\": \"VAT Regular 20%\",\n            \"tax_amount\": \"0.65\",\n            \"tax_rate\": \"20.00\"\n          }\n        ],\n        \"price_fees\": [\n          {\n            \"fee_label\": \"Creditcard - Variable Cost\",\n            \"fee_type\": \"SERVICE\",\n            \"fee_amount\": \"0.50\",\n            \"fee_percentage\": \"25.00\",\n            \"fee_tax_id\": \"TAX_ID_123\",\n            \"fee_tax_amount\": \"0.65\",\n            \"fee_included\": true,\n            \"fee_refundable\": true\n          }\n        ],\n        \"price_margins\": [\n          {\n            \"margin_type\": \"SERVICE\",\n            \"margin_amount\": \"0.50\",\n            \"margin_tax_id\": \"TAX_ID_123\",\n            \"margin_tax_amount\": \"0.65\"\n          }\n        ],\n        \"price_total\": \"12.00\"\n      },\n      \"reservation_payments\": [\n        {\n          \"payment_id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"payment_original_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n          \"payment_partner_id\": \"PAYMENT_PARTNER_ID\",\n          \"payment_shift_id\": \"PAYMENT_SHIFT_ID_123\",\n          \"payment_merchant_reference\": \"1478349849927_771663371\",\n          \"payment_external_reference\": \"SHOPPER_REFERENCE\",\n          \"payment_order_reference\": \"ORDRREF123456\",\n          \"payment_booking_references\": [\n            \"BKNGREF123456\"\n          ],\n          \"payment_order_version\": 2,\n          \"payment_status\": \"PAID\",\n          \"payment_method\": \"EXTERNAL\",\n          \"payment_scheme\": \"VISA\",\n          \"payment_type\": \"CAPTURE\",\n          \"payment_link\": \"https://example.com/s?q=K0U2VmVNRGo0SEhGdFVUZ09IK2ViZkdtK1NjPQ==\",\n          \"payment_link_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_authorization_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_recurring\": false,\n          \"payment_recurring_type\": \"STORE\",\n          \"payment_class\": \"SALES\",\n          \"payment_refund_type\": \"SYSTEM\",\n          \"payment_refund_reason\": \"Guest reimbursement\",\n          \"payment_currency_code\": \"EUR\",\n          \"payment_currency_rate\": \"2.5263\",\n          \"payment_currency_amount\": \"10.25\",\n          \"payment_amount\": \"10.00\",\n          \"payment_total\": \"100.00\",\n          \"payment_gateway_details\": {\n            \"payment_merchant_account_name\": \"ExampleMerchant\",\n            \"payment_service_provider_reference\": \"852596799876396F\",\n            \"payment_service_provider_original_reference\": \"882596799845511E\",\n            \"payment_gateway_type\": \"ADYEN\",\n            \"payment_gateway_additional_values\": {\n              \"psp_shopper_name\": \"Checkout Shopper PlaceHolder\",\n              \"psp_shopper_cardnumber\": \"1111\",\n              \"psp_issuer_country\": \"NL\",\n              \"psp_fraudscore\": \"63\",\n              \"psp_payment_status\": \"Settled\"\n            }\n          },\n          \"payment_contact\": {\n            \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n            \"contact_version\": 2,\n            \"contact_number\": \"4573246\",\n            \"contact_type\": \"GUEST\",\n            \"contact_title\": \"Mr.\",\n            \"contact_name_first\": \"John\",\n            \"contact_name_last\": \"Doe\",\n            \"contact_email\": \"Johndoe@example.com\",\n            \"contact_phone\": \"+14155552671\",\n            \"contact_mobile\": \"+14155552671\",\n            \"contact_language\": \"NL\",\n            \"contact_nationality\": \"Dutch\",\n            \"contact_flight_number\": \"KL 445\",\n            \"contact_loyalty_number\": \"46564564564547476\",\n            \"contact_birth_place\": \"Amsterdam\",\n            \"contact_birth_date\": \"2019-08-24\",\n            \"contact_passport\": \"JXXXXXXX\",\n            \"contact_gender\": \"MALE\",\n            \"contact_age\": 19,\n            \"contact_redacted\": false,\n            \"contact_room_number\": \"523\",\n            \"contact_website\": \"example.com\",\n            \"contact_company\": {\n              \"company_name\": \"Example LTD.\",\n              \"company_registration_number\": \"string\",\n              \"company_tax_number\": \"string\"\n            },\n            \"contact_classification\": \"IMPORTANT\",\n            \"contact_address\": {\n              \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n              \"name\": \"Start of the Tour / My house / Office / John Doe\",\n              \"street\": \"Amstel 1\",\n              \"addition\": \"Apt B1\",\n              \"city\": \"Amsterdam\",\n              \"postal_code\": \"1011 PN\",\n              \"region\": \"Noord-Holland\",\n              \"country\": \"The Netherlands\",\n              \"country_code\": \"NL\",\n              \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n              \"latitude\": \"52.3785323\",\n              \"longitude\": \"4.893942\",\n              \"notes\": \"It's on the fourth floor\"\n            },\n            \"contact_notes\": [\n              {\n                \"note_value\": \"Wheelchair assistance required.\",\n                \"note_type\": \"GUEST\",\n                \"note_date\": \"2019-08-24T14:15:22Z\",\n                \"note_creator\": \"Andrew (Supervisor)\"\n              }\n            ],\n            \"contact_custom_fields\": [\n              {\n                \"custom_field_name\": \"Custom Field Name\",\n                \"custom_field_value\": \"Custom Field Value\",\n                \"custom_field_type\": \"SYSTEM\"\n              }\n            ],\n            \"contact_created\": \"2019-08-24T14:15:22Z\",\n            \"contact_modified\": \"2019-08-24T14:15:22Z\"\n          },\n          \"payment_fees\": [\n            {\n              \"fee_label\": \"Credit Card Fee (VISA)\",\n              \"fee_amount\": \"0.10\",\n              \"fee_type\": \"PAYMENT\"\n            }\n          ],\n          \"payment_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"payment_created\": \"2019-08-24T14:15:22Z\",\n          \"payment_created_name\": \"Cashier Name\",\n          \"payment_created_email\": \"cashier@example.com\"\n        }\n      ],\n      \"reservation_credit\": {\n        \"credit_status\": \"ACTIVE\",\n        \"credit_total\": \"100.00\",\n        \"credit_deposit\": \"string\",\n        \"credit_blocked\": \"20.00\",\n        \"credit_used\": \"30.00\",\n        \"credit_remaining\": \"50.00\",\n        \"credit_invoice_interval\": \"MANUAL\",\n        \"credit_invoice_settlement\": \"MANUAL\",\n        \"credit_reset\": \"2019-08-24T14:15:22Z\"\n      },\n      \"reservation_custom_fields\": [\n        {\n          \"custom_field_name\": \"Custom Field Name\",\n          \"custom_field_value\": \"Custom Field Value\",\n          \"custom_field_type\": \"SYSTEM\"\n        }\n      ],\n      \"reservation_created\": \"2019-08-24T14:15:22Z\",\n      \"reservation_created_name\": \"Demo Cashier\",\n      \"reservation_created_email\": \"cashier@example.com\",\n      \"reservation_modified\": \"2019-08-24T14:15:22Z\"\n    }\n  }\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode/:promocode","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode",":promocode"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation API."},{"key":"promocode","value":"{{promocode}}","description":"Exact identifier or reference returned by the API."}]},"description":"This API is called to remove an applied promocode on a reservation.\nIf a DELETE method is successfully applied, the origin server SHOULD send a 200 (Promocode Removed) status code if the action has been enacted. The new reservation will be returned with the updated prices.\n> If a promocode or an existing order applied with a promocode is cancelled, the use count will be restored."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode/:promocode","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode",":promocode"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation API."},{"key":"promocode","value":"{{promocode}}","description":"Exact identifier or reference returned by the API."}]},"description":"This API is called to remove an applied promocode on a reservation.\nIf a DELETE method is successfully applied, the origin server SHOULD send a 200 (Promocode Removed) status code if the action has been enacted. The new reservation will be returned with the updated prices.\n> If a promocode or an existing order applied with a promocode is cancelled, the use count will be restored."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode/:promocode","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode",":promocode"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation API."},{"key":"promocode","value":"{{promocode}}","description":"Exact identifier or reference returned by the API."}]},"description":"This API is called to remove an applied promocode on a reservation.\nIf a DELETE method is successfully applied, the origin server SHOULD send a 200 (Promocode Removed) status code if the action has been enacted. The new reservation will be returned with the updated prices.\n> If a promocode or an existing order applied with a promocode is cancelled, the use count will be restored."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"409 - Check current resource state and version before retrying.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode/:promocode","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode",":promocode"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation API."},{"key":"promocode","value":"{{promocode}}","description":"Exact identifier or reference returned by the API."}]},"description":"This API is called to remove an applied promocode on a reservation.\nIf a DELETE method is successfully applied, the origin server SHOULD send a 200 (Promocode Removed) status code if the action has been enacted. The new reservation will be returned with the updated prices.\n> If a promocode or an existing order applied with a promocode is cancelled, the use count will be restored."},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"CONFLICT\",\n  \"error_description\": \"Check current resource state and version before retrying.\",\n  \"error_message\": \"Check current resource state and version before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode/:promocode","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode",":promocode"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation API."},{"key":"promocode","value":"{{promocode}}","description":"Exact identifier or reference returned by the API."}]},"description":"This API is called to remove an applied promocode on a reservation.\nIf a DELETE method is successfully applied, the origin server SHOULD send a 200 (Promocode Removed) status code if the action has been enacted. The new reservation will be returned with the updated prices.\n> If a promocode or an existing order applied with a promocode is cancelled, the use count will be restored."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode/:promocode","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode",":promocode"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation API."},{"key":"promocode","value":"{{promocode}}","description":"Exact identifier or reference returned by the API."}]},"description":"This API is called to remove an applied promocode on a reservation.\nIf a DELETE method is successfully applied, the origin server SHOULD send a 200 (Promocode Removed) status code if the action has been enacted. The new reservation will be returned with the updated prices.\n> If a promocode or an existing order applied with a promocode is cancelled, the use count will be restored."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode/:promocode","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode",":promocode"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation API."},{"key":"promocode","value":"{{promocode}}","description":"Exact identifier or reference returned by the API."}]},"description":"This API is called to remove an applied promocode on a reservation.\nIf a DELETE method is successfully applied, the origin server SHOULD send a 200 (Promocode Removed) status code if the action has been enacted. The new reservation will be returned with the updated prices.\n> If a promocode or an existing order applied with a promocode is cancelled, the use count will be restored."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode/:promocode","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode",":promocode"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation API."},{"key":"promocode","value":"{{promocode}}","description":"Exact identifier or reference returned by the API."}]},"description":"This API is called to remove an applied promocode on a reservation.\nIf a DELETE method is successfully applied, the origin server SHOULD send a 200 (Promocode Removed) status code if the action has been enacted. The new reservation will be returned with the updated prices.\n> If a promocode or an existing order applied with a promocode is cancelled, the use count will be restored."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode/:promocode","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode",":promocode"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation API."},{"key":"promocode","value":"{{promocode}}","description":"Exact identifier or reference returned by the API."}]},"description":"This API is called to remove an applied promocode on a reservation.\nIf a DELETE method is successfully applied, the origin server SHOULD send a 200 (Promocode Removed) status code if the action has been enacted. The new reservation will be returned with the updated prices.\n> If a promocode or an existing order applied with a promocode is cancelled, the use count will be restored."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode/:promocode","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode",":promocode"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation API."},{"key":"promocode","value":"{{promocode}}","description":"Exact identifier or reference returned by the API."}]},"description":"This API is called to remove an applied promocode on a reservation.\nIf a DELETE method is successfully applied, the origin server SHOULD send a 200 (Promocode Removed) status code if the action has been enacted. The new reservation will be returned with the updated prices.\n> If a promocode or an existing order applied with a promocode is cancelled, the use count will be restored."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode/:promocode","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode",":promocode"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation API."},{"key":"promocode","value":"{{promocode}}","description":"Exact identifier or reference returned by the API."}]},"description":"This API is called to remove an applied promocode on a reservation.\nIf a DELETE method is successfully applied, the origin server SHOULD send a 200 (Promocode Removed) status code if the action has been enacted. The new reservation will be returned with the updated prices.\n> If a promocode or an existing order applied with a promocode is cancelled, the use count will be restored."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/reservations/:reservation_reference/promocode/:promocode","host":["{{base_url}}"],"path":[":version","reservations",":reservation_reference","promocode",":promocode"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"reservation_reference","value":"{{reservation_reference}}","description":"A unique identifier got in response of the reservation API."},{"key":"promocode","value":"{{promocode}}","description":"Exact identifier or reference returned by the API."}]},"description":"This API is called to remove an applied promocode on a reservation.\nIf a DELETE method is successfully applied, the origin server SHOULD send a 200 (Promocode Removed) status code if the action has been enacted. The new reservation will be returned with the updated prices.\n> If a promocode or an existing order applied with a promocode is cancelled, the use count will be restored."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["if (pm.collectionVariables.get('allow_mutations') !== 'true') { pm.execution.skipRequest(); }"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]}]},{"name":"Orders","description":"Manage and create orders.\n\n  - Confirm reservations.\n  - Make direct bookings.\n  - Amend existing orders.\n  - List all orders and bookings.\n  - (Partial) cancel orders.\n  - Get pre-generated vouchers.\n","item":[{"name":"List Orders","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","orders"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"supplier_id","value":"145","disabled":true,"description":"[FILTER] on `supplier_id`."},{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`."},{"key":"order_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `order_external_reference`."},{"key":"order_contact_uid","value":"f847dc60-aaf0-11ea-8926-471c6c723e1d","disabled":true,"description":"[FILTER] on `order_contact_uid`."},{"key":"order_contact_name","value":"John Doe","disabled":true,"description":"[FILTER] on `order_contact_name`, `contact_name_first` and `contact_name_last`."},{"key":"order_contact_email","value":"JohnDoe@example.com","disabled":true,"description":"[FILTER] on `order_contact_email`."},{"key":"order_created_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created from this specific date will be returned. A longer time range might increase response times.\n"},{"key":"order_created_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created till this specific date will be returned. A longer time range might increase response times.\n"},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"[FILTER] on `booking_reference`."},{"key":"booking_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `booking_external_reference`."},{"key":"booking_travel_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_travel_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date till this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed till this specific date will be returned. A longer time range might increase response times."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_type_code","value":"1539762088951995","disabled":true,"description":"[FILTER] on `product_type_code`."},{"key":"product_availability_id","value":"20191026090010006526","disabled":true,"description":"[FILTER] on `product_availability_id`."},{"key":"order_created_email","value":"examplecashier@tuexperiencia.com","disabled":true,"description":"[FILTER] on `order_created_email`. Only the orders made by this user / cashier will be returned.\n"},{"key":"order_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. This API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"filter_bookings","value":"false","disabled":true,"description":"[CONFIG] Filter (sub) bookings from response. \n\nWhether to include all bookings belonging to the same order or only those matching the defined filters. By default the system will return every booking of an order, regardless whether some of those bookings do not match the defined filters.\n\nFor example. when a filter for `product_id` is set, only orders which contain that product will be returned, but additional bookings (for different product IDs) of that same order might be listed as well.\nBy enabling this filter, only bookings for that `product_id` would be returned."},{"key":"order_sort_by","value":"ORDER_CREATED","disabled":true,"description":"[SORT] Select sorting method.\n\nUPCOMING: [INVOICE_DATE]."},{"key":"order_sort_order","value":"ASC","disabled":true,"description":"[SORT] Keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is meant to return a small subset of orders. By default the last 3 months are returned.\n> If you would like to retrieve all orders for Reporting / BI purposes we recommended a different approach, please contact your account manager for more information.\n\n> By default only the latest revision will be returned.\n"},"response":[{"name":"200 - Get Orders Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","orders"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"supplier_id","value":"145","disabled":true,"description":"[FILTER] on `supplier_id`."},{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`."},{"key":"order_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `order_external_reference`."},{"key":"order_contact_uid","value":"f847dc60-aaf0-11ea-8926-471c6c723e1d","disabled":true,"description":"[FILTER] on `order_contact_uid`."},{"key":"order_contact_name","value":"John Doe","disabled":true,"description":"[FILTER] on `order_contact_name`, `contact_name_first` and `contact_name_last`."},{"key":"order_contact_email","value":"JohnDoe@example.com","disabled":true,"description":"[FILTER] on `order_contact_email`."},{"key":"order_created_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created from this specific date will be returned. A longer time range might increase response times.\n"},{"key":"order_created_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created till this specific date will be returned. A longer time range might increase response times.\n"},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"[FILTER] on `booking_reference`."},{"key":"booking_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `booking_external_reference`."},{"key":"booking_travel_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_travel_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date till this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed till this specific date will be returned. A longer time range might increase response times."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_type_code","value":"1539762088951995","disabled":true,"description":"[FILTER] on `product_type_code`."},{"key":"product_availability_id","value":"20191026090010006526","disabled":true,"description":"[FILTER] on `product_availability_id`."},{"key":"order_created_email","value":"examplecashier@tuexperiencia.com","disabled":true,"description":"[FILTER] on `order_created_email`. Only the orders made by this user / cashier will be returned.\n"},{"key":"order_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. This API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"filter_bookings","value":"false","disabled":true,"description":"[CONFIG] Filter (sub) bookings from response. \n\nWhether to include all bookings belonging to the same order or only those matching the defined filters. By default the system will return every booking of an order, regardless whether some of those bookings do not match the defined filters.\n\nFor example. when a filter for `product_id` is set, only orders which contain that product will be returned, but additional bookings (for different product IDs) of that same order might be listed as well.\nBy enabling this filter, only bookings for that `product_id` would be returned."},{"key":"order_sort_by","value":"ORDER_CREATED","disabled":true,"description":"[SORT] Select sorting method.\n\nUPCOMING: [INVOICE_DATE]."},{"key":"order_sort_order","value":"ASC","disabled":true,"description":"[SORT] Keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is meant to return a small subset of orders. By default the last 3 months are returned.\n> If you would like to retrieve all orders for Reporting / BI purposes we recommended a different approach, please contact your account manager for more information.\n\n> By default only the latest revision will be returned.\n"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"current_item_count\": 1,\n    \"items_per_page\": 10,\n    \"start_index\": 1,\n    \"total_items\": 1,\n    \"page_index\": 1,\n    \"total_pages\": 1,\n    \"items\": [\n      {\n        \"order_platform_id\": \"1\",\n        \"order_platform_name\": \"Platform Name\",\n        \"order_reseller_id\": \"1300\",\n        \"order_reseller_name\": \"Demo reseller\",\n        \"order_distributor_id\": \"501\",\n        \"order_distributor_name\": \"Demo Distributor\",\n        \"order_partner_id\": \"4534543543\",\n        \"order_partner_name\": \"Partner Name\",\n        \"order_reference\": \"ORDRREF123456\",\n        \"order_external_reference\": \"EXTERNALREF123\",\n        \"order_status\": \"ORDER_CONFIRMED\",\n        \"order_settlement_type\": \"EXTERNAL\",\n        \"order_channel\": \"PARTNER\",\n        \"order_language\": \"en\",\n        \"order_version\": 1,\n        \"order_archived\": false,\n        \"order_contacts\": [\n          {\n            \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n            \"contact_version\": 2,\n            \"contact_number\": \"4573246\",\n            \"contact_type\": \"GUEST\",\n            \"contact_title\": \"Mr.\",\n            \"contact_name_first\": \"John\",\n            \"contact_name_last\": \"Doe\",\n            \"contact_email\": \"Johndoe@example.com\",\n            \"contact_phone\": \"+14155552671\",\n            \"contact_mobile\": \"+14155552671\",\n            \"contact_language\": \"NL\",\n            \"contact_nationality\": \"Dutch\",\n            \"contact_flight_number\": \"KL 445\",\n            \"contact_loyalty_number\": \"46564564564547476\",\n            \"contact_birth_place\": \"Amsterdam\",\n            \"contact_birth_date\": \"2019-08-24\",\n            \"contact_passport\": \"JXXXXXXX\",\n            \"contact_gender\": \"MALE\",\n            \"contact_age\": 19,\n            \"contact_redacted\": false,\n            \"contact_room_number\": \"523\",\n            \"contact_website\": \"example.com\",\n            \"contact_company\": {\n              \"company_name\": \"Example LTD.\",\n              \"company_registration_number\": \"string\",\n              \"company_tax_number\": \"string\"\n            },\n            \"contact_classification\": \"IMPORTANT\",\n            \"contact_address\": {\n              \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n              \"name\": \"Start of the Tour / My house / Office / John Doe\",\n              \"street\": \"Amstel 1\",\n              \"addition\": \"Apt B1\",\n              \"city\": \"Amsterdam\",\n              \"postal_code\": \"1011 PN\",\n              \"region\": \"Noord-Holland\",\n              \"country\": \"The Netherlands\",\n              \"country_code\": \"NL\",\n              \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n              \"latitude\": \"52.3785323\",\n              \"longitude\": \"4.893942\",\n              \"notes\": \"It's on the fourth floor\"\n            },\n            \"contact_notes\": [\n              {\n                \"note_value\": \"Wheelchair assistance required.\",\n                \"note_type\": \"GUEST\",\n                \"note_date\": \"2019-08-24T14:15:22Z\",\n                \"note_creator\": \"Andrew (Supervisor)\"\n              }\n            ],\n            \"contact_custom_fields\": [\n              {\n                \"custom_field_name\": \"Custom Field Name\",\n                \"custom_field_value\": \"Custom Field Value\",\n                \"custom_field_type\": \"SYSTEM\"\n              }\n            ],\n            \"contact_created\": \"2019-08-24T14:15:22Z\",\n            \"contact_modified\": \"2019-08-24T14:15:22Z\"\n          }\n        ],\n        \"order_promocodes\": [\n          {\n            \"promo_title\": \"Christmas Sale 2019\",\n            \"promo_description\": \"20 percent discount during the Christmas days.\",\n            \"promo_code\": \"PROMOCODE_123\"\n          }\n        ],\n        \"order_payments\": [\n          {\n            \"payment_id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"payment_original_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n            \"payment_partner_id\": \"PAYMENT_PARTNER_ID\",\n            \"payment_shift_id\": \"PAYMENT_SHIFT_ID_123\",\n            \"payment_merchant_reference\": \"1478349849927_771663371\",\n            \"payment_external_reference\": \"SHOPPER_REFERENCE\",\n            \"payment_order_reference\": \"ORDRREF123456\",\n            \"payment_booking_references\": [\n              \"BKNGREF123456\"\n            ],\n            \"payment_order_version\": 2,\n            \"payment_status\": \"PAID\",\n            \"payment_method\": \"EXTERNAL\",\n            \"payment_scheme\": \"VISA\",\n            \"payment_type\": \"CAPTURE\",\n            \"payment_link\": \"https://example.com/s?q=K0U2VmVNRGo0SEhGdFVUZ09IK2ViZkdtK1NjPQ==\",\n            \"payment_link_expires_at\": \"2019-08-24T14:15:22Z\",\n            \"payment_authorization_expires_at\": \"2019-08-24T14:15:22Z\",\n            \"payment_recurring\": false,\n            \"payment_recurring_type\": \"STORE\",\n            \"payment_class\": \"SALES\",\n            \"payment_refund_type\": \"SYSTEM\",\n            \"payment_refund_reason\": \"Guest reimbursement\",\n            \"payment_currency_code\": \"EUR\",\n            \"payment_currency_rate\": \"2.5263\",\n            \"payment_currency_amount\": \"10.25\",\n            \"payment_amount\": \"10.00\",\n            \"payment_total\": \"100.00\",\n            \"payment_gateway_details\": {\n              \"payment_merchant_account_name\": \"ExampleMerchant\",\n              \"payment_service_provider_reference\": \"852596799876396F\",\n              \"payment_service_provider_original_reference\": \"882596799845511E\",\n              \"payment_gateway_type\": \"ADYEN\",\n              \"payment_gateway_additional_values\": {\n                \"psp_shopper_name\": \"Checkout Shopper PlaceHolder\",\n                \"psp_shopper_cardnumber\": \"1111\",\n                \"psp_issuer_country\": \"NL\",\n                \"psp_fraudscore\": \"63\",\n                \"psp_payment_status\": \"Settled\"\n              }\n            },\n            \"payment_contact\": {\n              \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n              \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n              \"contact_version\": 2,\n              \"contact_number\": \"4573246\",\n              \"contact_type\": \"GUEST\",\n              \"contact_title\": \"Mr.\",\n              \"contact_name_first\": \"John\",\n              \"contact_name_last\": \"Doe\",\n              \"contact_email\": \"Johndoe@example.com\",\n              \"contact_phone\": \"+14155552671\",\n              \"contact_mobile\": \"+14155552671\",\n              \"contact_language\": \"NL\",\n              \"contact_nationality\": \"Dutch\",\n              \"contact_flight_number\": \"KL 445\",\n              \"contact_loyalty_number\": \"46564564564547476\",\n              \"contact_birth_place\": \"Amsterdam\",\n              \"contact_birth_date\": \"2019-08-24\",\n              \"contact_passport\": \"JXXXXXXX\",\n              \"contact_gender\": \"MALE\",\n              \"contact_age\": 19,\n              \"contact_redacted\": false,\n              \"contact_room_number\": \"523\",\n              \"contact_website\": \"example.com\",\n              \"contact_company\": {\n                \"company_name\": \"Example LTD.\",\n                \"company_registration_number\": \"string\",\n                \"company_tax_number\": \"string\"\n              },\n              \"contact_classification\": \"IMPORTANT\",\n              \"contact_address\": {\n                \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n                \"name\": \"Start of the Tour / My house / Office / John Doe\",\n                \"street\": \"Amstel 1\",\n                \"addition\": \"Apt B1\",\n                \"city\": \"Amsterdam\",\n                \"postal_code\": \"1011 PN\",\n                \"region\": \"Noord-Holland\",\n                \"country\": \"The Netherlands\",\n                \"country_code\": \"NL\",\n                \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n                \"latitude\": \"52.3785323\",\n                \"longitude\": \"4.893942\",\n                \"notes\": \"It's on the fourth floor\"\n              },\n              \"contact_notes\": [\n                {\n                  \"note_value\": \"Wheelchair assistance required.\",\n                  \"note_type\": \"GUEST\",\n                  \"note_date\": \"2019-08-24T14:15:22Z\",\n                  \"note_creator\": \"Andrew (Supervisor)\"\n                }\n              ],\n              \"contact_custom_fields\": [\n                {\n                  \"custom_field_name\": \"Custom Field Name\",\n                  \"custom_field_value\": \"Custom Field Value\",\n                  \"custom_field_type\": \"SYSTEM\"\n                }\n              ],\n              \"contact_created\": \"2019-08-24T14:15:22Z\",\n              \"contact_modified\": \"2019-08-24T14:15:22Z\"\n            },\n            \"payment_fees\": [\n              {\n                \"fee_label\": \"Credit Card Fee (VISA)\",\n                \"fee_amount\": \"0.10\",\n                \"fee_type\": \"PAYMENT\"\n              }\n            ],\n            \"payment_notes\": [\n              {\n                \"note_value\": \"Wheelchair assistance required.\",\n                \"note_type\": \"GUEST\",\n                \"note_date\": \"2019-08-24T14:15:22Z\",\n                \"note_creator\": \"Andrew (Supervisor)\"\n              }\n            ],\n            \"payment_created\": \"2019-08-24T14:15:22Z\",\n            \"payment_created_name\": \"Cashier Name\",\n            \"payment_created_email\": \"cashier@example.com\"\n          }\n        ],\n        \"order_checkout_fields\": [\n          {\n            \"checkout_field_id\": \"CHECKOUT_FIELD_ID\",\n            \"checkout_field_title\": \"First Name\",\n            \"checkout_field_label\": \"Please provide your first name\",\n            \"checkout_field_account_type\": \"DISTRIBUTOR\",\n            \"checkout_field_booking_reference\": [\n              \"string\"\n            ],\n            \"checkout_field_restriction\": \"REQUIRED\",\n            \"checkout_field_level\": \"PRODUCT\",\n            \"checkout_field_unit\": \"string\",\n            \"checkout_field_input_type\": \"SINGLE\",\n            \"checkout_field_type\": \"contact_title\",\n            \"checkout_field_values\": [\n              {\n                \"checkout_field_value_product_type\": \"string\",\n                \"checkout_field_value\": [\n                  \"string\"\n                ],\n                \"checkout_field_value_transaction_reference\": \"string\"\n              }\n            ],\n            \"checkout_field_created\": \"2019-08-24T14:15:22Z\"\n          }\n        ],\n        \"order_pricing\": {\n          \"price_type\": \"SALES\",\n          \"price_currency_code\": \"EUR\",\n          \"price_currency_rate\": \"1.647\",\n          \"price_subtotal\": \"20.00\",\n          \"price_variations\": [\n            {\n              \"variation_label\": \"Peak Hour\",\n              \"variation_amount\": \"2.50\",\n              \"variation_type\": \"PRODUCT_DYNAMIC\"\n            }\n          ],\n          \"price_promocodes\": [\n            {\n              \"promo_code\": \"PROMOCODE_123\",\n              \"promo_amount\": \"-5.50\"\n            }\n          ],\n          \"price_taxes\": [\n            {\n              \"tax_id\": \"TAX_ID_123\",\n              \"tax_name\": \"VAT Regular 20%\",\n              \"tax_amount\": \"0.65\",\n              \"tax_rate\": \"20.00\"\n            }\n          ],\n          \"price_fees\": [\n            {\n              \"fee_label\": \"Creditcard - Variable Cost\",\n              \"fee_type\": \"SERVICE\",\n              \"fee_amount\": \"0.50\",\n              \"fee_percentage\": \"25.00\",\n              \"fee_tax_id\": \"TAX_ID_123\",\n              \"fee_tax_amount\": \"0.65\",\n              \"fee_included\": true,\n              \"fee_refundable\": true\n            }\n          ],\n          \"price_margins\": [\n            {\n              \"margin_type\": \"SERVICE\",\n              \"margin_amount\": \"0.50\",\n              \"margin_tax_id\": \"TAX_ID_123\",\n              \"margin_tax_amount\": \"0.65\"\n            }\n          ],\n          \"price_total\": \"12.00\"\n        },\n        \"order_credit\": {\n          \"credit_status\": \"ACTIVE\",\n          \"credit_total\": \"100.00\",\n          \"credit_deposit\": \"string\",\n          \"credit_blocked\": \"20.00\",\n          \"credit_used\": \"30.00\",\n          \"credit_remaining\": \"50.00\",\n          \"credit_invoice_interval\": \"MANUAL\",\n          \"credit_invoice_settlement\": \"MANUAL\",\n          \"credit_reset\": \"2019-08-24T14:15:22Z\"\n        },\n        \"order_invoices\": [\n          {\n            \"invoice_id\": \"R-5460521795-20622\",\n            \"invoice_product_id\": \"INVOICE_PRODUCT_ID\",\n            \"invoice_product_quantity\": 3,\n            \"invoice_date\": \"2019-08-24T14:15:22Z\",\n            \"invoice_status\": \"INVOICED\",\n            \"invoice_type\": \"SALE\"\n          }\n        ],\n        \"order_options\": {\n          \"email_options\": {\n            \"email_types\": {\n              \"send_tickets\": false,\n              \"send_receipt\": false,\n              \"send_marketing\": true,\n              \"send_offers\": true,\n              \"send_notification\": true\n            }\n          },\n          \"price_on_voucher\": true\n        },\n        \"order_flags\": [\n          {\n            \"flag_id\": \"223425262\",\n            \"flag_name\": \"Stock Code\",\n            \"flag_type\": \"FLAG\",\n            \"flag_value_id\": \"123BCa1\",\n            \"flag_value\": \"123BCa1\",\n            \"flag_visible\": true\n          }\n        ],\n        \"order_event_details\": [\n          {\n            \"event_order_version\": 2,\n            \"event_note\": \"Change of timeslot on request of customer.\",\n            \"event_type\": \"ORDER_CREATE\",\n            \"event_created\": \"2019-08-24T14:15:22Z\",\n            \"event_creator_user_name\": \"Andrew\",\n            \"event_creator_user_email\": \"supervisor@example.com\",\n            \"event_creator_user_role\": \"Supervisor\"\n          }\n        ],\n        \"order_custom_fields\": [\n          {\n            \"custom_field_name\": \"Custom Field Name\",\n            \"custom_field_value\": \"Custom Field Value\",\n            \"custom_field_type\": \"SYSTEM\"\n          }\n        ],\n        \"order_notes\": [\n          {\n            \"note_value\": \"Wheelchair assistance required.\",\n            \"note_type\": \"GUEST\",\n            \"note_date\": \"2019-08-24T14:15:22Z\",\n            \"note_creator\": \"Andrew (Supervisor)\"\n          }\n        ],\n        \"order_activity_url\": \"https://example.com/orders/ORDRREF123456\",\n        \"order_customer_url\": \"https://example.com/orders/ORDRREF123456\",\n        \"order_created\": \"2019-08-24T14:15:22Z\",\n        \"order_created_name\": \"Demo Cashier\",\n        \"order_created_email\": \"cashier@example.com\",\n        \"order_modified\": \"2019-08-24T14:15:22Z\",\n        \"order_modified_name\": \"Demo Cashier\",\n        \"order_modified_email\": \"cashier@example.com\",\n        \"order_confirmed\": \"2019-08-24T14:15:22Z\",\n        \"order_invoiced\": \"2019-08-24T14:15:22Z\",\n        \"order_cancellation_date_time\": \"2019-08-24T14:15:22Z\",\n        \"order_cancellation_reason\": \"Payment declined\",\n        \"order_view_type\": \"DISTRIBUTOR\",\n        \"order_bookings\": [\n          {\n            \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n            \"booking_status\": \"BOOKING_RESERVED\",\n            \"booking_version\": 1,\n            \"booking_voucher_released\": true,\n            \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n            \"booking_valid_until\": \"2019-08-24T14:15:22Z\",\n            \"booking_invoice_status\": \"INVOICED\",\n            \"booking_language\": \"en\",\n            \"booking_addon_reference\": \"BOOKING_ADDON_REFERENCE_123\",\n            \"booking_pricing\": {\n              \"price_type\": \"SALES\",\n              \"price_currency_code\": \"EUR\",\n              \"price_currency_rate\": \"1.647\",\n              \"price_subtotal\": \"20.00\",\n              \"price_variations\": [\n                {\n                  \"variation_label\": \"Peak Hour\",\n                  \"variation_amount\": \"2.50\",\n                  \"variation_type\": \"PRODUCT_DYNAMIC\"\n                }\n              ],\n              \"price_promocodes\": [\n                {\n                  \"promo_code\": \"PROMOCODE_123\",\n                  \"promo_amount\": \"-5.50\"\n                }\n              ],\n              \"price_taxes\": [\n                {\n                  \"tax_id\": \"TAX_ID_123\",\n                  \"tax_name\": \"VAT Regular 20%\",\n                  \"tax_amount\": \"0.65\",\n                  \"tax_rate\": \"20.00\"\n                }\n              ],\n              \"price_fees\": [\n                {\n                  \"fee_label\": \"Creditcard - Variable Cost\",\n                  \"fee_type\": \"SERVICE\",\n                  \"fee_amount\": \"0.50\",\n                  \"fee_percentage\": \"25.00\",\n                  \"fee_tax_id\": \"TAX_ID_123\",\n                  \"fee_tax_amount\": \"0.65\",\n                  \"fee_included\": true,\n                  \"fee_refundable\": true\n                }\n              ],\n              \"price_margins\": [\n                {\n                  \"margin_type\": \"SERVICE\",\n                  \"margin_amount\": \"0.50\",\n                  \"margin_tax_id\": \"TAX_ID_123\",\n                  \"margin_tax_amount\": \"0.65\"\n                }\n              ],\n              \"price_total\": \"12.00\"\n            },\n            \"booking_notes\": [\n              {\n                \"note_value\": \"Wheelchair assistance required.\",\n                \"note_type\": \"GUEST\",\n                \"note_date\": \"2019-08-24T14:15:22Z\",\n                \"note_creator\": \"Andrew (Supervisor)\"\n              }\n            ],\n            \"booking_customer_url\": \"https://example.com/orders/ORDRREF123456\",\n            \"booking_created\": \"2019-08-24T14:15:22Z\",\n            \"booking_modified\": \"2019-08-24T14:15:22Z\",\n            \"booking_confirmed\": \"2019-08-24T14:15:22Z\",\n            \"booking_cancelled\": \"2019-08-24T14:15:22Z\",\n            \"booking_cancellation_reason\": \"Payment declined\",\n            \"product_id\": \"10001\",\n            \"product_relation_id\": \"MAIN_PRODUCT_ID_123\",\n            \"product_pickup_point_id\": \"PICKUP_POINT_ID_123\",\n            \"product_pickup_point\": {\n              \"pickup_point_id\": \"PICKUP_POINT_ID_123\",\n              \"pickup_point_name\": \"Walkingtour at the Wyndham Apollo Hotel\",\n              \"pickup_point_type\": \"FIXED\",\n              \"pickup_point_description\": \"Meet at the Wyndham Apollo hotel.\",\n              \"pickup_point_location\": \"LOCATION_ID_123\",\n              \"pickup_point_time\": \"10:00\",\n              \"pickup_point_times\": [\n                \"10:00\"\n              ],\n              \"pickup_point_duration\": 30,\n              \"pickup_point_availability_dependency\": false\n            },\n            \"product_availability_id\": \"20191026090010006526\",\n            \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n            \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n            \"product_availability_capacity_id\": \"43525235\",\n            \"product_availability_capacity_shared_id\": \"435252453\",\n            \"product_title\": \"Test Product\",\n            \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n            \"product_supplier_name\": \"Test Museum\",\n            \"product_supplier_admin_id\": \"PRODUCT_SUPPLIER_ADMIN_ID\",\n            \"product_supplier_admin_name\": \"Supplier Admin Name\",\n            \"product_market_admin_id\": \"345345342\",\n            \"product_market_admin_name\": \"Market Admin Name\",\n            \"product_source_id\": \"34564574\",\n            \"product_source_name\": \"Example source\",\n            \"product_entry_notes\": \"Reconfirmation: Please call or email atleast 72 hour in advance to reconfirm your arrival.\",\n            \"product_admission_type\": \"TIME_PERIOD\",\n            \"product_currency_code\": \"USD\",\n            \"product_cancellation_allowed\": true,\n            \"product_options\": [\n              {\n                \"option_id\": \"1118\",\n                \"option_value_text\": \"string\",\n                \"option_values\": []\n              }\n            ],\n            \"product_combi_details\": [\n              {\n                \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n                \"product_id\": \"10001\",\n                \"product_title\": \"Test Product\",\n                \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n                \"product_supplier_name\": \"Test Museum\",\n                \"product_admission_type\": \"TIME_PERIOD\",\n                \"product_currency_code\": \"USD\",\n                \"product_availability_id\": \"20191026090010006526\",\n                \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n                \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n                \"product_availability_capacity_id\": \"43525235\",\n                \"product_availability_capacity_shared_id\": \"435252453\",\n                \"product_type_details\": [\n                  {\n                    \"product_type_spots\": []\n                  }\n                ],\n                \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n                \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n                \"product_code\": \"1539762088951995\",\n                \"product_code_settings\": {\n                  \"product_code_format\": \"QR_CODE\",\n                  \"product_code_source\": \"Distributor\",\n                  \"product_group_code\": true,\n                  \"product_combi_code\": true,\n                  \"product_city_card\": false,\n                  \"product_voucher_settings\": \"SINGLE\",\n                  \"product_code_release_date\": \"2019-08-24T14:15:22Z\",\n                  \"product_code_release_details\": []\n                },\n                \"booking_supplier_reference\": \"BOOKING_SUPPLIER_REFERENCE_123\"\n              }\n            ],\n            \"product_bundle_details\": [\n              {\n                \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n                \"product_id\": \"10001\",\n                \"product_title\": \"Test Product\",\n                \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n                \"product_supplier_name\": \"Test Museum\",\n                \"product_admission_type\": \"TIME_PERIOD\",\n                \"product_currency_code\": \"USD\",\n                \"product_availability_id\": \"20191026090010006526\",\n                \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n                \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n                \"product_availability_capacity_id\": \"43525235\",\n                \"product_availability_capacity_shared_id\": \"435252453\",\n                \"product_type_details\": [\n                  {\n                    \"product_type_spots\": []\n                  }\n                ],\n                \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n                \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n                \"product_code\": \"1539762088951995\",\n                \"product_code_settings\": {\n                  \"product_code_format\": \"QR_CODE\",\n                  \"product_code_source\": \"Distributor\",\n                  \"product_group_code\": true,\n                  \"product_combi_code\": true,\n                  \"product_city_card\": false,\n                  \"product_voucher_settings\": \"SINGLE\",\n                  \"product_code_release_date\": \"2019-08-24T14:15:22Z\",\n                  \"product_code_release_details\": []\n                },\n                \"booking_supplier_reference\": \"BOOKING_SUPPLIER_REFERENCE_123\"\n              }\n            ],\n            \"product_addon_details\": [\n              {\n                \"product_id\": \"10001\",\n                \"product_title\": \"Test Product\",\n                \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n                \"product_supplier_name\": \"Test Museum\",\n                \"product_admission_type\": \"TIME_PERIOD\",\n                \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n                \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n                \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n                \"booking_order_reference\": \"BOOKING_ORDER_REFERENCE\",\n                \"booking_reference\": \"BOOKING_REF123\"\n              }\n            ],\n            \"product_code\": \"1539762088951995\",\n            \"product_code_settings\": {\n              \"product_code_format\": \"QR_CODE\",\n              \"product_code_source\": \"Distributor\",\n              \"product_group_code\": true,\n              \"product_combi_code\": true,\n              \"product_city_card\": false,\n              \"product_voucher_settings\": \"SINGLE\",\n              \"product_code_release_date\": \"2019-08-24T14:15:22Z\",\n              \"product_code_release_details\": [\n                \"ORDER_CONFIRMATION\"\n              ]\n            },\n            \"product_type_details\": [\n              {\n                \"product_type\": \"ADULT\",\n                \"product_type_class\": \"STANDARD\",\n                \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                \"product_type_label\": \"Adult\",\n                \"product_type_age_from\": 18,\n                \"product_type_age_to\": 65,\n                \"product_type_count\": 1,\n                \"product_type_pax\": 1,\n                \"product_type_capacity\": 1,\n                \"product_type_spots\": [],\n                \"product_type_code\": \"1539762088951995\",\n                \"product_type_pricing\": {\n                  \"price_type\": \"SALES\",\n                  \"price_currency_code\": \"EUR\",\n                  \"price_currency_rate\": \"1.647\",\n                  \"price_subtotal\": \"20.00\",\n                  \"price_variations\": [\n                    {\n                      \"variation_label\": \"Peak Hour\",\n                      \"variation_amount\": \"2.50\",\n                      \"variation_type\": \"PRODUCT_DYNAMIC\"\n                    }\n                  ],\n                  \"price_promocodes\": [],\n                  \"price_taxes\": [],\n                  \"price_fees\": [],\n                  \"price_margins\": [],\n                  \"price_total\": \"12.00\"\n                },\n                \"product_type_transaction_id\": \"159118380521834001\",\n                \"product_type_status\": \"CONFIRMED\",\n                \"product_type_redemption_status\": \"REDEEMED\",\n                \"product_type_payment_status\": \"PAID\",\n                \"product_type_redemption_date_time\": \"2019-08-24T14:15:22Z\",\n                \"product_type_redemption_user_name\": \"string\",\n                \"product_type_redemption_user_email\": \"user@example.com\",\n                \"product_type_pass_details\": {\n                  \"pass_code\": \"string\",\n                  \"pass_duration\": {},\n                  \"pass_redemptions\": []\n                }\n              }\n            ],\n            \"product_cancellation_policies\": [\n              {\n                \"cancellation_description\": \"Please cancel any booking 1 hour in advance.\",\n                \"cancellation_type\": \"TRAVEL_DATE\",\n                \"cancellation_fee_threshold\": 3600,\n                \"cancellation_fee_percentage\": 20.5,\n                \"cancellation_fee_amount\": \"5.00\"\n              }\n            ],\n            \"booking_reference\": \"BOOKING_REFERENCE_123\",\n            \"booking_supplier_reference\": \"BOOKING_SUPPLIER_REFERENCE_123\"\n          }\n        ]\n      }\n    ]\n  }\n}"},{"name":"304 - Not Modified\n\nThe HTTP 304 Not Modified client redirection response code indicates that there is no need to retransmit the requested resources. It is an implicit redirection to a cached resource. This happens when the request method is safe, like a GET or a HEAD request, or when the request is conditional and uses a `If-None-Match` or a `If-Modified-Since` header.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","orders"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"supplier_id","value":"145","disabled":true,"description":"[FILTER] on `supplier_id`."},{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`."},{"key":"order_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `order_external_reference`."},{"key":"order_contact_uid","value":"f847dc60-aaf0-11ea-8926-471c6c723e1d","disabled":true,"description":"[FILTER] on `order_contact_uid`."},{"key":"order_contact_name","value":"John Doe","disabled":true,"description":"[FILTER] on `order_contact_name`, `contact_name_first` and `contact_name_last`."},{"key":"order_contact_email","value":"JohnDoe@example.com","disabled":true,"description":"[FILTER] on `order_contact_email`."},{"key":"order_created_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created from this specific date will be returned. A longer time range might increase response times.\n"},{"key":"order_created_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created till this specific date will be returned. A longer time range might increase response times.\n"},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"[FILTER] on `booking_reference`."},{"key":"booking_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `booking_external_reference`."},{"key":"booking_travel_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_travel_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date till this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed till this specific date will be returned. A longer time range might increase response times."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_type_code","value":"1539762088951995","disabled":true,"description":"[FILTER] on `product_type_code`."},{"key":"product_availability_id","value":"20191026090010006526","disabled":true,"description":"[FILTER] on `product_availability_id`."},{"key":"order_created_email","value":"examplecashier@tuexperiencia.com","disabled":true,"description":"[FILTER] on `order_created_email`. Only the orders made by this user / cashier will be returned.\n"},{"key":"order_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. This API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"filter_bookings","value":"false","disabled":true,"description":"[CONFIG] Filter (sub) bookings from response. \n\nWhether to include all bookings belonging to the same order or only those matching the defined filters. By default the system will return every booking of an order, regardless whether some of those bookings do not match the defined filters.\n\nFor example. when a filter for `product_id` is set, only orders which contain that product will be returned, but additional bookings (for different product IDs) of that same order might be listed as well.\nBy enabling this filter, only bookings for that `product_id` would be returned."},{"key":"order_sort_by","value":"ORDER_CREATED","disabled":true,"description":"[SORT] Select sorting method.\n\nUPCOMING: [INVOICE_DATE]."},{"key":"order_sort_order","value":"ASC","disabled":true,"description":"[SORT] Keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is meant to return a small subset of orders. By default the last 3 months are returned.\n> If you would like to retrieve all orders for Reporting / BI purposes we recommended a different approach, please contact your account manager for more information.\n\n> By default only the latest revision will be returned.\n"},"status":"Not Modified","code":304,"header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"body":""},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","orders"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"supplier_id","value":"145","disabled":true,"description":"[FILTER] on `supplier_id`."},{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`."},{"key":"order_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `order_external_reference`."},{"key":"order_contact_uid","value":"f847dc60-aaf0-11ea-8926-471c6c723e1d","disabled":true,"description":"[FILTER] on `order_contact_uid`."},{"key":"order_contact_name","value":"John Doe","disabled":true,"description":"[FILTER] on `order_contact_name`, `contact_name_first` and `contact_name_last`."},{"key":"order_contact_email","value":"JohnDoe@example.com","disabled":true,"description":"[FILTER] on `order_contact_email`."},{"key":"order_created_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created from this specific date will be returned. A longer time range might increase response times.\n"},{"key":"order_created_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created till this specific date will be returned. A longer time range might increase response times.\n"},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"[FILTER] on `booking_reference`."},{"key":"booking_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `booking_external_reference`."},{"key":"booking_travel_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_travel_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date till this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed till this specific date will be returned. A longer time range might increase response times."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_type_code","value":"1539762088951995","disabled":true,"description":"[FILTER] on `product_type_code`."},{"key":"product_availability_id","value":"20191026090010006526","disabled":true,"description":"[FILTER] on `product_availability_id`."},{"key":"order_created_email","value":"examplecashier@tuexperiencia.com","disabled":true,"description":"[FILTER] on `order_created_email`. Only the orders made by this user / cashier will be returned.\n"},{"key":"order_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. This API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"filter_bookings","value":"false","disabled":true,"description":"[CONFIG] Filter (sub) bookings from response. \n\nWhether to include all bookings belonging to the same order or only those matching the defined filters. By default the system will return every booking of an order, regardless whether some of those bookings do not match the defined filters.\n\nFor example. when a filter for `product_id` is set, only orders which contain that product will be returned, but additional bookings (for different product IDs) of that same order might be listed as well.\nBy enabling this filter, only bookings for that `product_id` would be returned."},{"key":"order_sort_by","value":"ORDER_CREATED","disabled":true,"description":"[SORT] Select sorting method.\n\nUPCOMING: [INVOICE_DATE]."},{"key":"order_sort_order","value":"ASC","disabled":true,"description":"[SORT] Keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is meant to return a small subset of orders. By default the last 3 months are returned.\n> If you would like to retrieve all orders for Reporting / BI purposes we recommended a different approach, please contact your account manager for more information.\n\n> By default only the latest revision will be returned.\n"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","orders"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"supplier_id","value":"145","disabled":true,"description":"[FILTER] on `supplier_id`."},{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`."},{"key":"order_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `order_external_reference`."},{"key":"order_contact_uid","value":"f847dc60-aaf0-11ea-8926-471c6c723e1d","disabled":true,"description":"[FILTER] on `order_contact_uid`."},{"key":"order_contact_name","value":"John Doe","disabled":true,"description":"[FILTER] on `order_contact_name`, `contact_name_first` and `contact_name_last`."},{"key":"order_contact_email","value":"JohnDoe@example.com","disabled":true,"description":"[FILTER] on `order_contact_email`."},{"key":"order_created_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created from this specific date will be returned. A longer time range might increase response times.\n"},{"key":"order_created_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created till this specific date will be returned. A longer time range might increase response times.\n"},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"[FILTER] on `booking_reference`."},{"key":"booking_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `booking_external_reference`."},{"key":"booking_travel_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_travel_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date till this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed till this specific date will be returned. A longer time range might increase response times."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_type_code","value":"1539762088951995","disabled":true,"description":"[FILTER] on `product_type_code`."},{"key":"product_availability_id","value":"20191026090010006526","disabled":true,"description":"[FILTER] on `product_availability_id`."},{"key":"order_created_email","value":"examplecashier@tuexperiencia.com","disabled":true,"description":"[FILTER] on `order_created_email`. Only the orders made by this user / cashier will be returned.\n"},{"key":"order_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. This API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"filter_bookings","value":"false","disabled":true,"description":"[CONFIG] Filter (sub) bookings from response. \n\nWhether to include all bookings belonging to the same order or only those matching the defined filters. By default the system will return every booking of an order, regardless whether some of those bookings do not match the defined filters.\n\nFor example. when a filter for `product_id` is set, only orders which contain that product will be returned, but additional bookings (for different product IDs) of that same order might be listed as well.\nBy enabling this filter, only bookings for that `product_id` would be returned."},{"key":"order_sort_by","value":"ORDER_CREATED","disabled":true,"description":"[SORT] Select sorting method.\n\nUPCOMING: [INVOICE_DATE]."},{"key":"order_sort_order","value":"ASC","disabled":true,"description":"[SORT] Keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is meant to return a small subset of orders. By default the last 3 months are returned.\n> If you would like to retrieve all orders for Reporting / BI purposes we recommended a different approach, please contact your account manager for more information.\n\n> By default only the latest revision will be returned.\n"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","orders"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"supplier_id","value":"145","disabled":true,"description":"[FILTER] on `supplier_id`."},{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`."},{"key":"order_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `order_external_reference`."},{"key":"order_contact_uid","value":"f847dc60-aaf0-11ea-8926-471c6c723e1d","disabled":true,"description":"[FILTER] on `order_contact_uid`."},{"key":"order_contact_name","value":"John Doe","disabled":true,"description":"[FILTER] on `order_contact_name`, `contact_name_first` and `contact_name_last`."},{"key":"order_contact_email","value":"JohnDoe@example.com","disabled":true,"description":"[FILTER] on `order_contact_email`."},{"key":"order_created_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created from this specific date will be returned. A longer time range might increase response times.\n"},{"key":"order_created_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created till this specific date will be returned. A longer time range might increase response times.\n"},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"[FILTER] on `booking_reference`."},{"key":"booking_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `booking_external_reference`."},{"key":"booking_travel_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_travel_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date till this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed till this specific date will be returned. A longer time range might increase response times."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_type_code","value":"1539762088951995","disabled":true,"description":"[FILTER] on `product_type_code`."},{"key":"product_availability_id","value":"20191026090010006526","disabled":true,"description":"[FILTER] on `product_availability_id`."},{"key":"order_created_email","value":"examplecashier@tuexperiencia.com","disabled":true,"description":"[FILTER] on `order_created_email`. Only the orders made by this user / cashier will be returned.\n"},{"key":"order_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. This API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"filter_bookings","value":"false","disabled":true,"description":"[CONFIG] Filter (sub) bookings from response. \n\nWhether to include all bookings belonging to the same order or only those matching the defined filters. By default the system will return every booking of an order, regardless whether some of those bookings do not match the defined filters.\n\nFor example. when a filter for `product_id` is set, only orders which contain that product will be returned, but additional bookings (for different product IDs) of that same order might be listed as well.\nBy enabling this filter, only bookings for that `product_id` would be returned."},{"key":"order_sort_by","value":"ORDER_CREATED","disabled":true,"description":"[SORT] Select sorting method.\n\nUPCOMING: [INVOICE_DATE]."},{"key":"order_sort_order","value":"ASC","disabled":true,"description":"[SORT] Keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is meant to return a small subset of orders. By default the last 3 months are returned.\n> If you would like to retrieve all orders for Reporting / BI purposes we recommended a different approach, please contact your account manager for more information.\n\n> By default only the latest revision will be returned.\n"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","orders"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"supplier_id","value":"145","disabled":true,"description":"[FILTER] on `supplier_id`."},{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`."},{"key":"order_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `order_external_reference`."},{"key":"order_contact_uid","value":"f847dc60-aaf0-11ea-8926-471c6c723e1d","disabled":true,"description":"[FILTER] on `order_contact_uid`."},{"key":"order_contact_name","value":"John Doe","disabled":true,"description":"[FILTER] on `order_contact_name`, `contact_name_first` and `contact_name_last`."},{"key":"order_contact_email","value":"JohnDoe@example.com","disabled":true,"description":"[FILTER] on `order_contact_email`."},{"key":"order_created_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created from this specific date will be returned. A longer time range might increase response times.\n"},{"key":"order_created_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created till this specific date will be returned. A longer time range might increase response times.\n"},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"[FILTER] on `booking_reference`."},{"key":"booking_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `booking_external_reference`."},{"key":"booking_travel_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_travel_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date till this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed till this specific date will be returned. A longer time range might increase response times."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_type_code","value":"1539762088951995","disabled":true,"description":"[FILTER] on `product_type_code`."},{"key":"product_availability_id","value":"20191026090010006526","disabled":true,"description":"[FILTER] on `product_availability_id`."},{"key":"order_created_email","value":"examplecashier@tuexperiencia.com","disabled":true,"description":"[FILTER] on `order_created_email`. Only the orders made by this user / cashier will be returned.\n"},{"key":"order_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. This API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"filter_bookings","value":"false","disabled":true,"description":"[CONFIG] Filter (sub) bookings from response. \n\nWhether to include all bookings belonging to the same order or only those matching the defined filters. By default the system will return every booking of an order, regardless whether some of those bookings do not match the defined filters.\n\nFor example. when a filter for `product_id` is set, only orders which contain that product will be returned, but additional bookings (for different product IDs) of that same order might be listed as well.\nBy enabling this filter, only bookings for that `product_id` would be returned."},{"key":"order_sort_by","value":"ORDER_CREATED","disabled":true,"description":"[SORT] Select sorting method.\n\nUPCOMING: [INVOICE_DATE]."},{"key":"order_sort_order","value":"ASC","disabled":true,"description":"[SORT] Keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is meant to return a small subset of orders. By default the last 3 months are returned.\n> If you would like to retrieve all orders for Reporting / BI purposes we recommended a different approach, please contact your account manager for more information.\n\n> By default only the latest revision will be returned.\n"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","orders"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"supplier_id","value":"145","disabled":true,"description":"[FILTER] on `supplier_id`."},{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`."},{"key":"order_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `order_external_reference`."},{"key":"order_contact_uid","value":"f847dc60-aaf0-11ea-8926-471c6c723e1d","disabled":true,"description":"[FILTER] on `order_contact_uid`."},{"key":"order_contact_name","value":"John Doe","disabled":true,"description":"[FILTER] on `order_contact_name`, `contact_name_first` and `contact_name_last`."},{"key":"order_contact_email","value":"JohnDoe@example.com","disabled":true,"description":"[FILTER] on `order_contact_email`."},{"key":"order_created_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created from this specific date will be returned. A longer time range might increase response times.\n"},{"key":"order_created_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created till this specific date will be returned. A longer time range might increase response times.\n"},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"[FILTER] on `booking_reference`."},{"key":"booking_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `booking_external_reference`."},{"key":"booking_travel_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_travel_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date till this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed till this specific date will be returned. A longer time range might increase response times."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_type_code","value":"1539762088951995","disabled":true,"description":"[FILTER] on `product_type_code`."},{"key":"product_availability_id","value":"20191026090010006526","disabled":true,"description":"[FILTER] on `product_availability_id`."},{"key":"order_created_email","value":"examplecashier@tuexperiencia.com","disabled":true,"description":"[FILTER] on `order_created_email`. Only the orders made by this user / cashier will be returned.\n"},{"key":"order_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. This API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"filter_bookings","value":"false","disabled":true,"description":"[CONFIG] Filter (sub) bookings from response. \n\nWhether to include all bookings belonging to the same order or only those matching the defined filters. By default the system will return every booking of an order, regardless whether some of those bookings do not match the defined filters.\n\nFor example. when a filter for `product_id` is set, only orders which contain that product will be returned, but additional bookings (for different product IDs) of that same order might be listed as well.\nBy enabling this filter, only bookings for that `product_id` would be returned."},{"key":"order_sort_by","value":"ORDER_CREATED","disabled":true,"description":"[SORT] Select sorting method.\n\nUPCOMING: [INVOICE_DATE]."},{"key":"order_sort_order","value":"ASC","disabled":true,"description":"[SORT] Keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is meant to return a small subset of orders. By default the last 3 months are returned.\n> If you would like to retrieve all orders for Reporting / BI purposes we recommended a different approach, please contact your account manager for more information.\n\n> By default only the latest revision will be returned.\n"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","orders"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"supplier_id","value":"145","disabled":true,"description":"[FILTER] on `supplier_id`."},{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`."},{"key":"order_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `order_external_reference`."},{"key":"order_contact_uid","value":"f847dc60-aaf0-11ea-8926-471c6c723e1d","disabled":true,"description":"[FILTER] on `order_contact_uid`."},{"key":"order_contact_name","value":"John Doe","disabled":true,"description":"[FILTER] on `order_contact_name`, `contact_name_first` and `contact_name_last`."},{"key":"order_contact_email","value":"JohnDoe@example.com","disabled":true,"description":"[FILTER] on `order_contact_email`."},{"key":"order_created_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created from this specific date will be returned. A longer time range might increase response times.\n"},{"key":"order_created_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created till this specific date will be returned. A longer time range might increase response times.\n"},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"[FILTER] on `booking_reference`."},{"key":"booking_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `booking_external_reference`."},{"key":"booking_travel_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_travel_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date till this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed till this specific date will be returned. A longer time range might increase response times."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_type_code","value":"1539762088951995","disabled":true,"description":"[FILTER] on `product_type_code`."},{"key":"product_availability_id","value":"20191026090010006526","disabled":true,"description":"[FILTER] on `product_availability_id`."},{"key":"order_created_email","value":"examplecashier@tuexperiencia.com","disabled":true,"description":"[FILTER] on `order_created_email`. Only the orders made by this user / cashier will be returned.\n"},{"key":"order_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. This API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"filter_bookings","value":"false","disabled":true,"description":"[CONFIG] Filter (sub) bookings from response. \n\nWhether to include all bookings belonging to the same order or only those matching the defined filters. By default the system will return every booking of an order, regardless whether some of those bookings do not match the defined filters.\n\nFor example. when a filter for `product_id` is set, only orders which contain that product will be returned, but additional bookings (for different product IDs) of that same order might be listed as well.\nBy enabling this filter, only bookings for that `product_id` would be returned."},{"key":"order_sort_by","value":"ORDER_CREATED","disabled":true,"description":"[SORT] Select sorting method.\n\nUPCOMING: [INVOICE_DATE]."},{"key":"order_sort_order","value":"ASC","disabled":true,"description":"[SORT] Keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is meant to return a small subset of orders. By default the last 3 months are returned.\n> If you would like to retrieve all orders for Reporting / BI purposes we recommended a different approach, please contact your account manager for more information.\n\n> By default only the latest revision will be returned.\n"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","orders"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"supplier_id","value":"145","disabled":true,"description":"[FILTER] on `supplier_id`."},{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`."},{"key":"order_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `order_external_reference`."},{"key":"order_contact_uid","value":"f847dc60-aaf0-11ea-8926-471c6c723e1d","disabled":true,"description":"[FILTER] on `order_contact_uid`."},{"key":"order_contact_name","value":"John Doe","disabled":true,"description":"[FILTER] on `order_contact_name`, `contact_name_first` and `contact_name_last`."},{"key":"order_contact_email","value":"JohnDoe@example.com","disabled":true,"description":"[FILTER] on `order_contact_email`."},{"key":"order_created_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created from this specific date will be returned. A longer time range might increase response times.\n"},{"key":"order_created_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created till this specific date will be returned. A longer time range might increase response times.\n"},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"[FILTER] on `booking_reference`."},{"key":"booking_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `booking_external_reference`."},{"key":"booking_travel_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_travel_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date till this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed till this specific date will be returned. A longer time range might increase response times."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_type_code","value":"1539762088951995","disabled":true,"description":"[FILTER] on `product_type_code`."},{"key":"product_availability_id","value":"20191026090010006526","disabled":true,"description":"[FILTER] on `product_availability_id`."},{"key":"order_created_email","value":"examplecashier@tuexperiencia.com","disabled":true,"description":"[FILTER] on `order_created_email`. Only the orders made by this user / cashier will be returned.\n"},{"key":"order_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. This API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"filter_bookings","value":"false","disabled":true,"description":"[CONFIG] Filter (sub) bookings from response. \n\nWhether to include all bookings belonging to the same order or only those matching the defined filters. By default the system will return every booking of an order, regardless whether some of those bookings do not match the defined filters.\n\nFor example. when a filter for `product_id` is set, only orders which contain that product will be returned, but additional bookings (for different product IDs) of that same order might be listed as well.\nBy enabling this filter, only bookings for that `product_id` would be returned."},{"key":"order_sort_by","value":"ORDER_CREATED","disabled":true,"description":"[SORT] Select sorting method.\n\nUPCOMING: [INVOICE_DATE]."},{"key":"order_sort_order","value":"ASC","disabled":true,"description":"[SORT] Keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is meant to return a small subset of orders. By default the last 3 months are returned.\n> If you would like to retrieve all orders for Reporting / BI purposes we recommended a different approach, please contact your account manager for more information.\n\n> By default only the latest revision will be returned.\n"},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","orders"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"supplier_id","value":"145","disabled":true,"description":"[FILTER] on `supplier_id`."},{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`."},{"key":"order_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `order_external_reference`."},{"key":"order_contact_uid","value":"f847dc60-aaf0-11ea-8926-471c6c723e1d","disabled":true,"description":"[FILTER] on `order_contact_uid`."},{"key":"order_contact_name","value":"John Doe","disabled":true,"description":"[FILTER] on `order_contact_name`, `contact_name_first` and `contact_name_last`."},{"key":"order_contact_email","value":"JohnDoe@example.com","disabled":true,"description":"[FILTER] on `order_contact_email`."},{"key":"order_created_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created from this specific date will be returned. A longer time range might increase response times.\n"},{"key":"order_created_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created till this specific date will be returned. A longer time range might increase response times.\n"},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"[FILTER] on `booking_reference`."},{"key":"booking_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `booking_external_reference`."},{"key":"booking_travel_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_travel_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date till this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed till this specific date will be returned. A longer time range might increase response times."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_type_code","value":"1539762088951995","disabled":true,"description":"[FILTER] on `product_type_code`."},{"key":"product_availability_id","value":"20191026090010006526","disabled":true,"description":"[FILTER] on `product_availability_id`."},{"key":"order_created_email","value":"examplecashier@tuexperiencia.com","disabled":true,"description":"[FILTER] on `order_created_email`. Only the orders made by this user / cashier will be returned.\n"},{"key":"order_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. This API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"filter_bookings","value":"false","disabled":true,"description":"[CONFIG] Filter (sub) bookings from response. \n\nWhether to include all bookings belonging to the same order or only those matching the defined filters. By default the system will return every booking of an order, regardless whether some of those bookings do not match the defined filters.\n\nFor example. when a filter for `product_id` is set, only orders which contain that product will be returned, but additional bookings (for different product IDs) of that same order might be listed as well.\nBy enabling this filter, only bookings for that `product_id` would be returned."},{"key":"order_sort_by","value":"ORDER_CREATED","disabled":true,"description":"[SORT] Select sorting method.\n\nUPCOMING: [INVOICE_DATE]."},{"key":"order_sort_order","value":"ASC","disabled":true,"description":"[SORT] Keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is meant to return a small subset of orders. By default the last 3 months are returned.\n> If you would like to retrieve all orders for Reporting / BI purposes we recommended a different approach, please contact your account manager for more information.\n\n> By default only the latest revision will be returned.\n"},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","orders"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"supplier_id","value":"145","disabled":true,"description":"[FILTER] on `supplier_id`."},{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`."},{"key":"order_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `order_external_reference`."},{"key":"order_contact_uid","value":"f847dc60-aaf0-11ea-8926-471c6c723e1d","disabled":true,"description":"[FILTER] on `order_contact_uid`."},{"key":"order_contact_name","value":"John Doe","disabled":true,"description":"[FILTER] on `order_contact_name`, `contact_name_first` and `contact_name_last`."},{"key":"order_contact_email","value":"JohnDoe@example.com","disabled":true,"description":"[FILTER] on `order_contact_email`."},{"key":"order_created_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created from this specific date will be returned. A longer time range might increase response times.\n"},{"key":"order_created_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created till this specific date will be returned. A longer time range might increase response times.\n"},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"[FILTER] on `booking_reference`."},{"key":"booking_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `booking_external_reference`."},{"key":"booking_travel_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_travel_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date till this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed till this specific date will be returned. A longer time range might increase response times."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_type_code","value":"1539762088951995","disabled":true,"description":"[FILTER] on `product_type_code`."},{"key":"product_availability_id","value":"20191026090010006526","disabled":true,"description":"[FILTER] on `product_availability_id`."},{"key":"order_created_email","value":"examplecashier@tuexperiencia.com","disabled":true,"description":"[FILTER] on `order_created_email`. Only the orders made by this user / cashier will be returned.\n"},{"key":"order_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. This API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"filter_bookings","value":"false","disabled":true,"description":"[CONFIG] Filter (sub) bookings from response. \n\nWhether to include all bookings belonging to the same order or only those matching the defined filters. By default the system will return every booking of an order, regardless whether some of those bookings do not match the defined filters.\n\nFor example. when a filter for `product_id` is set, only orders which contain that product will be returned, but additional bookings (for different product IDs) of that same order might be listed as well.\nBy enabling this filter, only bookings for that `product_id` would be returned."},{"key":"order_sort_by","value":"ORDER_CREATED","disabled":true,"description":"[SORT] Select sorting method.\n\nUPCOMING: [INVOICE_DATE]."},{"key":"order_sort_order","value":"ASC","disabled":true,"description":"[SORT] Keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is meant to return a small subset of orders. By default the last 3 months are returned.\n> If you would like to retrieve all orders for Reporting / BI purposes we recommended a different approach, please contact your account manager for more information.\n\n> By default only the latest revision will be returned.\n"},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders?items_per_page=10&page=1","host":["{{base_url}}"],"path":[":version","orders"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"supplier_id","value":"145","disabled":true,"description":"[FILTER] on `supplier_id`."},{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`."},{"key":"order_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `order_external_reference`."},{"key":"order_contact_uid","value":"f847dc60-aaf0-11ea-8926-471c6c723e1d","disabled":true,"description":"[FILTER] on `order_contact_uid`."},{"key":"order_contact_name","value":"John Doe","disabled":true,"description":"[FILTER] on `order_contact_name`, `contact_name_first` and `contact_name_last`."},{"key":"order_contact_email","value":"JohnDoe@example.com","disabled":true,"description":"[FILTER] on `order_contact_email`."},{"key":"order_created_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created from this specific date will be returned. A longer time range might increase response times.\n"},{"key":"order_created_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `order_created`. Only the orders created till this specific date will be returned. A longer time range might increase response times.\n"},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"[FILTER] on `booking_reference`."},{"key":"booking_external_reference","value":"EXTERNALREF123","disabled":true,"description":"[FILTER] on `booking_external_reference`."},{"key":"booking_travel_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_travel_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_travel_date`. Only the bookings with a travel date till this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_from","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed from this specific date will be returned. A longer time range might increase response times."},{"key":"booking_redemption_date_to","value":"2027-06-15T10:00:00Z","disabled":true,"description":"[FILTER] on `booking_redemption_date`. Only the bookings redeemed till this specific date will be returned. A longer time range might increase response times."},{"key":"product_id","value":"{{product_id}}","disabled":true,"description":"[FILTER] on `product_id`."},{"key":"product_type_code","value":"1539762088951995","disabled":true,"description":"[FILTER] on `product_type_code`."},{"key":"product_availability_id","value":"20191026090010006526","disabled":true,"description":"[FILTER] on `product_availability_id`."},{"key":"order_created_email","value":"examplecashier@tuexperiencia.com","disabled":true,"description":"[FILTER] on `order_created_email`. Only the orders made by this user / cashier will be returned.\n"},{"key":"order_search_query","value":"EXAMPLE","disabled":true,"description":"[SEARCH] on keywords. This API provides full-text (wildcard) search capabilities. \n\nOnly results linked to your account will be returned and searching is only available in case cache is enabled (`cache:true`)"},{"key":"filter_bookings","value":"false","disabled":true,"description":"[CONFIG] Filter (sub) bookings from response. \n\nWhether to include all bookings belonging to the same order or only those matching the defined filters. By default the system will return every booking of an order, regardless whether some of those bookings do not match the defined filters.\n\nFor example. when a filter for `product_id` is set, only orders which contain that product will be returned, but additional bookings (for different product IDs) of that same order might be listed as well.\nBy enabling this filter, only bookings for that `product_id` would be returned."},{"key":"order_sort_by","value":"ORDER_CREATED","disabled":true,"description":"[SORT] Select sorting method.\n\nUPCOMING: [INVOICE_DATE]."},{"key":"order_sort_order","value":"ASC","disabled":true,"description":"[SORT] Keyword used to sort result sets in either ascending or descending order."},{"key":"items_per_page","value":"10","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."},{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is meant to return a small subset of orders. By default the last 3 months are returned.\n> If you would like to retrieve all orders for Reporting / BI purposes we recommended a different approach, please contact your account manager for more information.\n\n> By default only the latest revision will be returned.\n"},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Create Order / Confirm Reservation / Checkout Cart","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"CONFIRM_RESERVATION\",\n          \"reservation_reference\": \"{{reservation_reference}}\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"name":"201 - Order Created","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"CONFIRM_RESERVATION\",\n          \"reservation_reference\": \"{{reservation_reference}}\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_platform_id\": \"1\",\n      \"order_platform_name\": \"Platform Name\",\n      \"order_reseller_id\": \"1300\",\n      \"order_reseller_name\": \"Demo reseller\",\n      \"order_distributor_id\": \"501\",\n      \"order_distributor_name\": \"Demo Distributor\",\n      \"order_partner_id\": \"4534543543\",\n      \"order_partner_name\": \"Partner Name\",\n      \"order_reference\": \"ORDRREF123456\",\n      \"order_external_reference\": \"EXTERNALREF123\",\n      \"order_status\": \"ORDER_CONFIRMED\",\n      \"order_settlement_type\": \"EXTERNAL\",\n      \"order_channel\": \"PARTNER\",\n      \"order_language\": \"en\",\n      \"order_version\": 1,\n      \"order_archived\": false,\n      \"order_contacts\": [\n        {\n          \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n          \"contact_version\": 2,\n          \"contact_number\": \"4573246\",\n          \"contact_type\": \"GUEST\",\n          \"contact_title\": \"Mr.\",\n          \"contact_name_first\": \"John\",\n          \"contact_name_last\": \"Doe\",\n          \"contact_email\": \"Johndoe@example.com\",\n          \"contact_phone\": \"+14155552671\",\n          \"contact_mobile\": \"+14155552671\",\n          \"contact_language\": \"NL\",\n          \"contact_nationality\": \"Dutch\",\n          \"contact_flight_number\": \"KL 445\",\n          \"contact_loyalty_number\": \"46564564564547476\",\n          \"contact_birth_place\": \"Amsterdam\",\n          \"contact_birth_date\": \"2019-08-24\",\n          \"contact_passport\": \"JXXXXXXX\",\n          \"contact_gender\": \"MALE\",\n          \"contact_age\": 19,\n          \"contact_redacted\": false,\n          \"contact_room_number\": \"523\",\n          \"contact_website\": \"example.com\",\n          \"contact_company\": {\n            \"company_name\": \"Example LTD.\",\n            \"company_registration_number\": \"string\",\n            \"company_tax_number\": \"string\"\n          },\n          \"contact_classification\": \"IMPORTANT\",\n          \"contact_address\": {\n            \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"name\": \"Start of the Tour / My house / Office / John Doe\",\n            \"street\": \"Amstel 1\",\n            \"addition\": \"Apt B1\",\n            \"city\": \"Amsterdam\",\n            \"postal_code\": \"1011 PN\",\n            \"region\": \"Noord-Holland\",\n            \"country\": \"The Netherlands\",\n            \"country_code\": \"NL\",\n            \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n            \"latitude\": \"52.3785323\",\n            \"longitude\": \"4.893942\",\n            \"notes\": \"It's on the fourth floor\"\n          },\n          \"contact_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"contact_custom_fields\": [\n            {\n              \"custom_field_name\": \"Custom Field Name\",\n              \"custom_field_value\": \"Custom Field Value\",\n              \"custom_field_type\": \"SYSTEM\"\n            }\n          ],\n          \"contact_created\": \"2019-08-24T14:15:22Z\",\n          \"contact_modified\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"order_promocodes\": [\n        {\n          \"promo_title\": \"Christmas Sale 2019\",\n          \"promo_description\": \"20 percent discount during the Christmas days.\",\n          \"promo_code\": \"PROMOCODE_123\"\n        }\n      ],\n      \"order_payments\": [\n        {\n          \"payment_id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"payment_original_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n          \"payment_partner_id\": \"PAYMENT_PARTNER_ID\",\n          \"payment_shift_id\": \"PAYMENT_SHIFT_ID_123\",\n          \"payment_merchant_reference\": \"1478349849927_771663371\",\n          \"payment_external_reference\": \"SHOPPER_REFERENCE\",\n          \"payment_order_reference\": \"ORDRREF123456\",\n          \"payment_booking_references\": [\n            \"BKNGREF123456\"\n          ],\n          \"payment_order_version\": 2,\n          \"payment_status\": \"PAID\",\n          \"payment_method\": \"EXTERNAL\",\n          \"payment_scheme\": \"VISA\",\n          \"payment_type\": \"CAPTURE\",\n          \"payment_link\": \"https://example.com/s?q=K0U2VmVNRGo0SEhGdFVUZ09IK2ViZkdtK1NjPQ==\",\n          \"payment_link_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_authorization_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_recurring\": false,\n          \"payment_recurring_type\": \"STORE\",\n          \"payment_class\": \"SALES\",\n          \"payment_refund_type\": \"SYSTEM\",\n          \"payment_refund_reason\": \"Guest reimbursement\",\n          \"payment_currency_code\": \"EUR\",\n          \"payment_currency_rate\": \"2.5263\",\n          \"payment_currency_amount\": \"10.25\",\n          \"payment_amount\": \"10.00\",\n          \"payment_total\": \"100.00\",\n          \"payment_gateway_details\": {\n            \"payment_merchant_account_name\": \"ExampleMerchant\",\n            \"payment_service_provider_reference\": \"852596799876396F\",\n            \"payment_service_provider_original_reference\": \"882596799845511E\",\n            \"payment_gateway_type\": \"ADYEN\",\n            \"payment_gateway_additional_values\": {\n              \"psp_shopper_name\": \"Checkout Shopper PlaceHolder\",\n              \"psp_shopper_cardnumber\": \"1111\",\n              \"psp_issuer_country\": \"NL\",\n              \"psp_fraudscore\": \"63\",\n              \"psp_payment_status\": \"Settled\"\n            }\n          },\n          \"payment_contact\": {\n            \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n            \"contact_version\": 2,\n            \"contact_number\": \"4573246\",\n            \"contact_type\": \"GUEST\",\n            \"contact_title\": \"Mr.\",\n            \"contact_name_first\": \"John\",\n            \"contact_name_last\": \"Doe\",\n            \"contact_email\": \"Johndoe@example.com\",\n            \"contact_phone\": \"+14155552671\",\n            \"contact_mobile\": \"+14155552671\",\n            \"contact_language\": \"NL\",\n            \"contact_nationality\": \"Dutch\",\n            \"contact_flight_number\": \"KL 445\",\n            \"contact_loyalty_number\": \"46564564564547476\",\n            \"contact_birth_place\": \"Amsterdam\",\n            \"contact_birth_date\": \"2019-08-24\",\n            \"contact_passport\": \"JXXXXXXX\",\n            \"contact_gender\": \"MALE\",\n            \"contact_age\": 19,\n            \"contact_redacted\": false,\n            \"contact_room_number\": \"523\",\n            \"contact_website\": \"example.com\",\n            \"contact_company\": {\n              \"company_name\": \"Example LTD.\",\n              \"company_registration_number\": \"string\",\n              \"company_tax_number\": \"string\"\n            },\n            \"contact_classification\": \"IMPORTANT\",\n            \"contact_address\": {\n              \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n              \"name\": \"Start of the Tour / My house / Office / John Doe\",\n              \"street\": \"Amstel 1\",\n              \"addition\": \"Apt B1\",\n              \"city\": \"Amsterdam\",\n              \"postal_code\": \"1011 PN\",\n              \"region\": \"Noord-Holland\",\n              \"country\": \"The Netherlands\",\n              \"country_code\": \"NL\",\n              \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n              \"latitude\": \"52.3785323\",\n              \"longitude\": \"4.893942\",\n              \"notes\": \"It's on the fourth floor\"\n            },\n            \"contact_notes\": [\n              {\n                \"note_value\": \"Wheelchair assistance required.\",\n                \"note_type\": \"GUEST\",\n                \"note_date\": \"2019-08-24T14:15:22Z\",\n                \"note_creator\": \"Andrew (Supervisor)\"\n              }\n            ],\n            \"contact_custom_fields\": [\n              {\n                \"custom_field_name\": \"Custom Field Name\",\n                \"custom_field_value\": \"Custom Field Value\",\n                \"custom_field_type\": \"SYSTEM\"\n              }\n            ],\n            \"contact_created\": \"2019-08-24T14:15:22Z\",\n            \"contact_modified\": \"2019-08-24T14:15:22Z\"\n          },\n          \"payment_fees\": [\n            {\n              \"fee_label\": \"Credit Card Fee (VISA)\",\n              \"fee_amount\": \"0.10\",\n              \"fee_type\": \"PAYMENT\"\n            }\n          ],\n          \"payment_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"payment_created\": \"2019-08-24T14:15:22Z\",\n          \"payment_created_name\": \"Cashier Name\",\n          \"payment_created_email\": \"cashier@example.com\"\n        }\n      ],\n      \"order_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"CHECKOUT_FIELD_ID\",\n          \"checkout_field_title\": \"First Name\",\n          \"checkout_field_label\": \"Please provide your first name\",\n          \"checkout_field_account_type\": \"DISTRIBUTOR\",\n          \"checkout_field_booking_reference\": [\n            \"string\"\n          ],\n          \"checkout_field_restriction\": \"REQUIRED\",\n          \"checkout_field_level\": \"PRODUCT\",\n          \"checkout_field_unit\": \"string\",\n          \"checkout_field_input_type\": \"SINGLE\",\n          \"checkout_field_type\": \"contact_title\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value_product_type\": \"string\",\n              \"checkout_field_value\": [\n                \"string\"\n              ],\n              \"checkout_field_value_transaction_reference\": \"string\"\n            }\n          ],\n          \"checkout_field_created\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"order_pricing\": {\n        \"price_type\": \"SALES\",\n        \"price_currency_code\": \"EUR\",\n        \"price_currency_rate\": \"1.647\",\n        \"price_subtotal\": \"20.00\",\n        \"price_variations\": [\n          {\n            \"variation_label\": \"Peak Hour\",\n            \"variation_amount\": \"2.50\",\n            \"variation_type\": \"PRODUCT_DYNAMIC\"\n          }\n        ],\n        \"price_promocodes\": [\n          {\n            \"promo_code\": \"PROMOCODE_123\",\n            \"promo_amount\": \"-5.50\"\n          }\n        ],\n        \"price_taxes\": [\n          {\n            \"tax_id\": \"TAX_ID_123\",\n            \"tax_name\": \"VAT Regular 20%\",\n            \"tax_amount\": \"0.65\",\n            \"tax_rate\": \"20.00\"\n          }\n        ],\n        \"price_fees\": [\n          {\n            \"fee_label\": \"Creditcard - Variable Cost\",\n            \"fee_type\": \"SERVICE\",\n            \"fee_amount\": \"0.50\",\n            \"fee_percentage\": \"25.00\",\n            \"fee_tax_id\": \"TAX_ID_123\",\n            \"fee_tax_amount\": \"0.65\",\n            \"fee_included\": true,\n            \"fee_refundable\": true\n          }\n        ],\n        \"price_margins\": [\n          {\n            \"margin_type\": \"SERVICE\",\n            \"margin_amount\": \"0.50\",\n            \"margin_tax_id\": \"TAX_ID_123\",\n            \"margin_tax_amount\": \"0.65\"\n          }\n        ],\n        \"price_total\": \"12.00\"\n      },\n      \"order_credit\": {\n        \"credit_status\": \"ACTIVE\",\n        \"credit_total\": \"100.00\",\n        \"credit_deposit\": \"string\",\n        \"credit_blocked\": \"20.00\",\n        \"credit_used\": \"30.00\",\n        \"credit_remaining\": \"50.00\",\n        \"credit_invoice_interval\": \"MANUAL\",\n        \"credit_invoice_settlement\": \"MANUAL\",\n        \"credit_reset\": \"2019-08-24T14:15:22Z\"\n      },\n      \"order_invoices\": [\n        {\n          \"invoice_id\": \"R-5460521795-20622\",\n          \"invoice_product_id\": \"INVOICE_PRODUCT_ID\",\n          \"invoice_product_quantity\": 3,\n          \"invoice_date\": \"2019-08-24T14:15:22Z\",\n          \"invoice_status\": \"INVOICED\",\n          \"invoice_type\": \"SALE\"\n        }\n      ],\n      \"order_options\": {\n        \"email_options\": {\n          \"email_types\": {\n            \"send_tickets\": false,\n            \"send_receipt\": false,\n            \"send_marketing\": true,\n            \"send_offers\": true,\n            \"send_notification\": true\n          }\n        },\n        \"price_on_voucher\": true\n      },\n      \"order_flags\": [\n        {\n          \"flag_id\": \"223425262\",\n          \"flag_name\": \"Stock Code\",\n          \"flag_type\": \"FLAG\",\n          \"flag_value_id\": \"123BCa1\",\n          \"flag_value\": \"123BCa1\",\n          \"flag_visible\": true\n        }\n      ],\n      \"order_event_details\": [\n        {\n          \"event_order_version\": 2,\n          \"event_note\": \"Change of timeslot on request of customer.\",\n          \"event_type\": \"ORDER_CREATE\",\n          \"event_created\": \"2019-08-24T14:15:22Z\",\n          \"event_creator_user_name\": \"Andrew\",\n          \"event_creator_user_email\": \"supervisor@example.com\",\n          \"event_creator_user_role\": \"Supervisor\"\n        }\n      ],\n      \"order_custom_fields\": [\n        {\n          \"custom_field_name\": \"Custom Field Name\",\n          \"custom_field_value\": \"Custom Field Value\",\n          \"custom_field_type\": \"SYSTEM\"\n        }\n      ],\n      \"order_notes\": [\n        {\n          \"note_value\": \"Wheelchair assistance required.\",\n          \"note_type\": \"GUEST\",\n          \"note_date\": \"2019-08-24T14:15:22Z\",\n          \"note_creator\": \"Andrew (Supervisor)\"\n        }\n      ],\n      \"order_activity_url\": \"https://example.com/orders/ORDRREF123456\",\n      \"order_customer_url\": \"https://example.com/orders/ORDRREF123456\",\n      \"order_created\": \"2019-08-24T14:15:22Z\",\n      \"order_created_name\": \"Demo Cashier\",\n      \"order_created_email\": \"cashier@example.com\",\n      \"order_modified\": \"2019-08-24T14:15:22Z\",\n      \"order_modified_name\": \"Demo Cashier\",\n      \"order_modified_email\": \"cashier@example.com\",\n      \"order_confirmed\": \"2019-08-24T14:15:22Z\",\n      \"order_invoiced\": \"2019-08-24T14:15:22Z\",\n      \"order_cancellation_date_time\": \"2019-08-24T14:15:22Z\",\n      \"order_cancellation_reason\": \"Payment declined\",\n      \"order_view_type\": \"DISTRIBUTOR\",\n      \"order_bookings\": [\n        {\n          \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n          \"booking_status\": \"BOOKING_RESERVED\",\n          \"booking_version\": 1,\n          \"booking_voucher_released\": true,\n          \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n          \"booking_valid_until\": \"2019-08-24T14:15:22Z\",\n          \"booking_invoice_status\": \"INVOICED\",\n          \"booking_language\": \"en\",\n          \"booking_addon_reference\": \"BOOKING_ADDON_REFERENCE_123\",\n          \"booking_pricing\": {\n            \"price_type\": \"SALES\",\n            \"price_currency_code\": \"EUR\",\n            \"price_currency_rate\": \"1.647\",\n            \"price_subtotal\": \"20.00\",\n            \"price_variations\": [\n              {\n                \"variation_label\": \"Peak Hour\",\n                \"variation_amount\": \"2.50\",\n                \"variation_type\": \"PRODUCT_DYNAMIC\"\n              }\n            ],\n            \"price_promocodes\": [\n              {\n                \"promo_code\": \"PROMOCODE_123\",\n                \"promo_amount\": \"-5.50\"\n              }\n            ],\n            \"price_taxes\": [\n              {\n                \"tax_id\": \"TAX_ID_123\",\n                \"tax_name\": \"VAT Regular 20%\",\n                \"tax_amount\": \"0.65\",\n                \"tax_rate\": \"20.00\"\n              }\n            ],\n            \"price_fees\": [\n              {\n                \"fee_label\": \"Creditcard - Variable Cost\",\n                \"fee_type\": \"SERVICE\",\n                \"fee_amount\": \"0.50\",\n                \"fee_percentage\": \"25.00\",\n                \"fee_tax_id\": \"TAX_ID_123\",\n                \"fee_tax_amount\": \"0.65\",\n                \"fee_included\": true,\n                \"fee_refundable\": true\n              }\n            ],\n            \"price_margins\": [\n              {\n                \"margin_type\": \"SERVICE\",\n                \"margin_amount\": \"0.50\",\n                \"margin_tax_id\": \"TAX_ID_123\",\n                \"margin_tax_amount\": \"0.65\"\n              }\n            ],\n            \"price_total\": \"12.00\"\n          },\n          \"booking_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"booking_customer_url\": \"https://example.com/orders/ORDRREF123456\",\n          \"booking_created\": \"2019-08-24T14:15:22Z\",\n          \"booking_modified\": \"2019-08-24T14:15:22Z\",\n          \"booking_confirmed\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancelled\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancellation_reason\": \"Payment declined\",\n          \"product_id\": \"10001\",\n          \"product_relation_id\": \"MAIN_PRODUCT_ID_123\",\n          \"product_pickup_point_id\": \"PICKUP_POINT_ID_123\",\n          \"product_pickup_point\": {\n            \"pickup_point_id\": \"PICKUP_POINT_ID_123\",\n            \"pickup_point_name\": \"Walkingtour at the Wyndham Apollo Hotel\",\n            \"pickup_point_type\": \"FIXED\",\n            \"pickup_point_description\": \"Meet at the Wyndham Apollo hotel.\",\n            \"pickup_point_location\": \"LOCATION_ID_123\",\n            \"pickup_point_time\": \"10:00\",\n            \"pickup_point_times\": [\n              \"10:00\"\n            ],\n            \"pickup_point_duration\": 30,\n            \"pickup_point_availability_dependency\": false\n          },\n          \"product_availability_id\": \"20191026090010006526\",\n          \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_capacity_id\": \"43525235\",\n          \"product_availability_capacity_shared_id\": \"435252453\",\n          \"product_title\": \"Test Product\",\n          \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n          \"product_supplier_name\": \"Test Museum\",\n          \"product_supplier_admin_id\": \"PRODUCT_SUPPLIER_ADMIN_ID\",\n          \"product_supplier_admin_name\": \"Supplier Admin Name\",\n          \"product_market_admin_id\": \"345345342\",\n          \"product_market_admin_name\": \"Market Admin Name\",\n          \"product_source_id\": \"34564574\",\n          \"product_source_name\": \"Example source\",\n          \"product_entry_notes\": \"Reconfirmation: Please call or email atleast 72 hour in advance to reconfirm your arrival.\",\n          \"product_admission_type\": \"TIME_PERIOD\",\n          \"product_currency_code\": \"USD\",\n          \"product_cancellation_allowed\": true,\n          \"product_options\": [\n            {\n              \"option_id\": \"1118\",\n              \"option_value_text\": \"string\",\n              \"option_values\": [\n                {\n                  \"value_id\": \"4921\",\n                  \"value_name\": \"Wine\",\n                  \"value_price\": \"8.00\",\n                  \"value_price_tax_id\": \"TAX_ID_123\",\n                  \"value_price_tax_amount\": \"0.65\",\n                  \"value_product_type_id\": \"ADULT_123\",\n                  \"value_count\": 2\n                }\n              ]\n            }\n          ],\n          \"product_combi_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [\n                    null\n                  ],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  },\n                  \"product_type_transaction_id\": \"159118380521834001\",\n                  \"product_type_status\": \"CONFIRMED\",\n                  \"product_type_redemption_status\": \"REDEEMED\",\n                  \"product_type_payment_status\": \"PAID\",\n                  \"product_type_redemption_date_time\": \"2019-08-24T14:15:22Z\",\n                  \"product_type_redemption_user_name\": \"string\",\n                  \"product_type_redemption_user_email\": \"user@example.com\",\n                  \"product_type_pass_details\": {\n                    \"pass_redemptions\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n              \"product_code\": \"1539762088951995\",\n              \"product_code_settings\": {\n                \"product_code_format\": \"QR_CODE\",\n                \"product_code_source\": \"Distributor\",\n                \"product_group_code\": true,\n                \"product_combi_code\": true,\n                \"product_city_card\": false,\n                \"product_voucher_settings\": \"SINGLE\",\n                \"product_code_release_date\": \"2019-08-24T14:15:22Z\",\n                \"product_code_release_details\": [\n                  \"ORDER_CONFIRMATION\"\n                ]\n              },\n              \"booking_supplier_reference\": \"BOOKING_SUPPLIER_REFERENCE_123\"\n            }\n          ],\n          \"product_bundle_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [\n                    null\n                  ],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  },\n                  \"product_type_transaction_id\": \"159118380521834001\",\n                  \"product_type_status\": \"CONFIRMED\",\n                  \"product_type_redemption_status\": \"REDEEMED\",\n                  \"product_type_payment_status\": \"PAID\",\n                  \"product_type_redemption_date_time\": \"2019-08-24T14:15:22Z\",\n                  \"product_type_redemption_user_name\": \"string\",\n                  \"product_type_redemption_user_email\": \"user@example.com\",\n                  \"product_type_pass_details\": {\n                    \"pass_redemptions\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n              \"product_code\": \"1539762088951995\",\n              \"product_code_settings\": {\n                \"product_code_format\": \"QR_CODE\",\n                \"product_code_source\": \"Distributor\",\n                \"product_group_code\": true,\n                \"product_combi_code\": true,\n                \"product_city_card\": false,\n                \"product_voucher_settings\": \"SINGLE\",\n                \"product_code_release_date\": \"2019-08-24T14:15:22Z\",\n                \"product_code_release_details\": [\n                  \"ORDER_CONFIRMATION\"\n                ]\n              },\n              \"booking_supplier_reference\": \"BOOKING_SUPPLIER_REFERENCE_123\"\n            }\n          ],\n          \"product_addon_details\": [\n            {\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_order_reference\": \"BOOKING_ORDER_REFERENCE\",\n              \"booking_reference\": \"BOOKING_REF123\"\n            }\n          ],\n          \"product_code\": \"1539762088951995\",\n          \"product_code_settings\": {\n            \"product_code_format\": \"QR_CODE\",\n            \"product_code_source\": \"Distributor\",\n            \"product_group_code\": true,\n            \"product_combi_code\": true,\n            \"product_city_card\": false,\n            \"product_voucher_settings\": \"SINGLE\",\n            \"product_code_release_date\": \"2019-08-24T14:15:22Z\",\n            \"product_code_release_details\": [\n              \"ORDER_CONFIRMATION\"\n            ]\n          },\n          \"product_type_details\": [\n            {\n              \"product_type\": \"ADULT\",\n              \"product_type_class\": \"STANDARD\",\n              \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n              \"product_type_label\": \"Adult\",\n              \"product_type_age_from\": 18,\n              \"product_type_age_to\": 65,\n              \"product_type_count\": 1,\n              \"product_type_pax\": 1,\n              \"product_type_capacity\": 1,\n              \"product_type_spots\": [\n                {\n                  \"spot_id\": \"345346363463\",\n                  \"spot_name\": \"Regular seat\",\n                  \"spot_section\": \"VIP Area\",\n                  \"spot_row\": \"F\",\n                  \"spot_number\": \"5\",\n                  \"spot_type\": \"SEAT\",\n                  \"spot_state\": \"AVAILABLE\"\n                }\n              ],\n              \"product_type_code\": \"1539762088951995\",\n              \"product_type_pricing\": {\n                \"price_type\": \"SALES\",\n                \"price_currency_code\": \"EUR\",\n                \"price_currency_rate\": \"1.647\",\n                \"price_subtotal\": \"20.00\",\n                \"price_variations\": [\n                  {\n                    \"variation_label\": \"Peak Hour\",\n                    \"variation_amount\": \"2.50\",\n                    \"variation_type\": \"PRODUCT_DYNAMIC\"\n                  }\n                ],\n                \"price_promocodes\": [\n                  {}\n                ],\n                \"price_taxes\": [\n                  {}\n                ],\n                \"price_fees\": [\n                  {}\n                ],\n                \"price_margins\": [\n                  {}\n                ],\n                \"price_total\": \"12.00\"\n              },\n              \"product_type_transaction_id\": \"159118380521834001\",\n              \"product_type_status\": \"CONFIRMED\",\n              \"product_type_redemption_status\": \"REDEEMED\",\n              \"product_type_payment_status\": \"PAID\",\n              \"product_type_redemption_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_type_redemption_user_name\": \"string\",\n              \"product_type_redemption_user_email\": \"user@example.com\",\n              \"product_type_pass_details\": {\n                \"pass_code\": \"string\",\n                \"pass_duration\": {\n                  \"pass_duration_start\": \"2018-06-26T12:08:47Z\",\n                  \"pass_duration_end\": \"2018-06-26T12:08:47Z\",\n                  \"pass_duration_total\": 86400,\n                  \"pass_duration_remaining\": 3600\n                },\n                \"pass_redemptions\": [\n                  {}\n                ]\n              }\n            }\n          ],\n          \"product_cancellation_policies\": [\n            {\n              \"cancellation_description\": \"Please cancel any booking 1 hour in advance.\",\n              \"cancellation_type\": \"TRAVEL_DATE\",\n              \"cancellation_fee_threshold\": 3600,\n              \"cancellation_fee_percentage\": 20.5,\n              \"cancellation_fee_amount\": \"5.00\"\n            }\n          ],\n          \"booking_reference\": \"BOOKING_REFERENCE_123\",\n          \"booking_supplier_reference\": \"BOOKING_SUPPLIER_REFERENCE_123\"\n        }\n      ]\n    }\n  }\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"CONFIRM_RESERVATION\",\n          \"reservation_reference\": \"{{reservation_reference}}\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"CONFIRM_RESERVATION\",\n          \"reservation_reference\": \"{{reservation_reference}}\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"CONFIRM_RESERVATION\",\n          \"reservation_reference\": \"{{reservation_reference}}\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"409 - Check current resource state and version before retrying.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"CONFIRM_RESERVATION\",\n          \"reservation_reference\": \"{{reservation_reference}}\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"CONFLICT\",\n  \"error_description\": \"Check current resource state and version before retrying.\",\n  \"error_message\": \"Check current resource state and version before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"CONFIRM_RESERVATION\",\n          \"reservation_reference\": \"{{reservation_reference}}\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"CONFIRM_RESERVATION\",\n          \"reservation_reference\": \"{{reservation_reference}}\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"CONFIRM_RESERVATION\",\n          \"reservation_reference\": \"{{reservation_reference}}\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"CONFIRM_RESERVATION\",\n          \"reservation_reference\": \"{{reservation_reference}}\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"CONFIRM_RESERVATION\",\n          \"reservation_reference\": \"{{reservation_reference}}\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"CONFIRM_RESERVATION\",\n          \"reservation_reference\": \"{{reservation_reference}}\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"CONFIRM_RESERVATION\",\n          \"reservation_reference\": \"{{reservation_reference}}\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["if (pm.collectionVariables.get('allow_mutations') !== 'true') { pm.execution.skipRequest(); }"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([201]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Create Order / Confirm Reservation / Checkout Cart - direct booking","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-DIRECT-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"DIRECT_BOOKING\",\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"name":"201 - Order Created","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-DIRECT-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"DIRECT_BOOKING\",\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_platform_id\": \"1\",\n      \"order_platform_name\": \"Platform Name\",\n      \"order_reseller_id\": \"1300\",\n      \"order_reseller_name\": \"Demo reseller\",\n      \"order_distributor_id\": \"501\",\n      \"order_distributor_name\": \"Demo Distributor\",\n      \"order_partner_id\": \"4534543543\",\n      \"order_partner_name\": \"Partner Name\",\n      \"order_reference\": \"ORDRREF123456\",\n      \"order_external_reference\": \"EXTERNALREF123\",\n      \"order_status\": \"ORDER_CONFIRMED\",\n      \"order_settlement_type\": \"EXTERNAL\",\n      \"order_channel\": \"PARTNER\",\n      \"order_language\": \"en\",\n      \"order_version\": 1,\n      \"order_archived\": false,\n      \"order_contacts\": [\n        {\n          \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n          \"contact_version\": 2,\n          \"contact_number\": \"4573246\",\n          \"contact_type\": \"GUEST\",\n          \"contact_title\": \"Mr.\",\n          \"contact_name_first\": \"John\",\n          \"contact_name_last\": \"Doe\",\n          \"contact_email\": \"Johndoe@example.com\",\n          \"contact_phone\": \"+14155552671\",\n          \"contact_mobile\": \"+14155552671\",\n          \"contact_language\": \"NL\",\n          \"contact_nationality\": \"Dutch\",\n          \"contact_flight_number\": \"KL 445\",\n          \"contact_loyalty_number\": \"46564564564547476\",\n          \"contact_birth_place\": \"Amsterdam\",\n          \"contact_birth_date\": \"2019-08-24\",\n          \"contact_passport\": \"JXXXXXXX\",\n          \"contact_gender\": \"MALE\",\n          \"contact_age\": 19,\n          \"contact_redacted\": false,\n          \"contact_room_number\": \"523\",\n          \"contact_website\": \"example.com\",\n          \"contact_company\": {\n            \"company_name\": \"Example LTD.\",\n            \"company_registration_number\": \"string\",\n            \"company_tax_number\": \"string\"\n          },\n          \"contact_classification\": \"IMPORTANT\",\n          \"contact_address\": {\n            \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"name\": \"Start of the Tour / My house / Office / John Doe\",\n            \"street\": \"Amstel 1\",\n            \"addition\": \"Apt B1\",\n            \"city\": \"Amsterdam\",\n            \"postal_code\": \"1011 PN\",\n            \"region\": \"Noord-Holland\",\n            \"country\": \"The Netherlands\",\n            \"country_code\": \"NL\",\n            \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n            \"latitude\": \"52.3785323\",\n            \"longitude\": \"4.893942\",\n            \"notes\": \"It's on the fourth floor\"\n          },\n          \"contact_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"contact_custom_fields\": [\n            {\n              \"custom_field_name\": \"Custom Field Name\",\n              \"custom_field_value\": \"Custom Field Value\",\n              \"custom_field_type\": \"SYSTEM\"\n            }\n          ],\n          \"contact_created\": \"2019-08-24T14:15:22Z\",\n          \"contact_modified\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"order_promocodes\": [\n        {\n          \"promo_title\": \"Christmas Sale 2019\",\n          \"promo_description\": \"20 percent discount during the Christmas days.\",\n          \"promo_code\": \"PROMOCODE_123\"\n        }\n      ],\n      \"order_payments\": [\n        {\n          \"payment_id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"payment_original_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n          \"payment_partner_id\": \"PAYMENT_PARTNER_ID\",\n          \"payment_shift_id\": \"PAYMENT_SHIFT_ID_123\",\n          \"payment_merchant_reference\": \"1478349849927_771663371\",\n          \"payment_external_reference\": \"SHOPPER_REFERENCE\",\n          \"payment_order_reference\": \"ORDRREF123456\",\n          \"payment_booking_references\": [\n            \"BKNGREF123456\"\n          ],\n          \"payment_order_version\": 2,\n          \"payment_status\": \"PAID\",\n          \"payment_method\": \"EXTERNAL\",\n          \"payment_scheme\": \"VISA\",\n          \"payment_type\": \"CAPTURE\",\n          \"payment_link\": \"https://example.com/s?q=K0U2VmVNRGo0SEhGdFVUZ09IK2ViZkdtK1NjPQ==\",\n          \"payment_link_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_authorization_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_recurring\": false,\n          \"payment_recurring_type\": \"STORE\",\n          \"payment_class\": \"SALES\",\n          \"payment_refund_type\": \"SYSTEM\",\n          \"payment_refund_reason\": \"Guest reimbursement\",\n          \"payment_currency_code\": \"EUR\",\n          \"payment_currency_rate\": \"2.5263\",\n          \"payment_currency_amount\": \"10.25\",\n          \"payment_amount\": \"10.00\",\n          \"payment_total\": \"100.00\",\n          \"payment_gateway_details\": {\n            \"payment_merchant_account_name\": \"ExampleMerchant\",\n            \"payment_service_provider_reference\": \"852596799876396F\",\n            \"payment_service_provider_original_reference\": \"882596799845511E\",\n            \"payment_gateway_type\": \"ADYEN\",\n            \"payment_gateway_additional_values\": {\n              \"psp_shopper_name\": \"Checkout Shopper PlaceHolder\",\n              \"psp_shopper_cardnumber\": \"1111\",\n              \"psp_issuer_country\": \"NL\",\n              \"psp_fraudscore\": \"63\",\n              \"psp_payment_status\": \"Settled\"\n            }\n          },\n          \"payment_contact\": {\n            \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n            \"contact_version\": 2,\n            \"contact_number\": \"4573246\",\n            \"contact_type\": \"GUEST\",\n            \"contact_title\": \"Mr.\",\n            \"contact_name_first\": \"John\",\n            \"contact_name_last\": \"Doe\",\n            \"contact_email\": \"Johndoe@example.com\",\n            \"contact_phone\": \"+14155552671\",\n            \"contact_mobile\": \"+14155552671\",\n            \"contact_language\": \"NL\",\n            \"contact_nationality\": \"Dutch\",\n            \"contact_flight_number\": \"KL 445\",\n            \"contact_loyalty_number\": \"46564564564547476\",\n            \"contact_birth_place\": \"Amsterdam\",\n            \"contact_birth_date\": \"2019-08-24\",\n            \"contact_passport\": \"JXXXXXXX\",\n            \"contact_gender\": \"MALE\",\n            \"contact_age\": 19,\n            \"contact_redacted\": false,\n            \"contact_room_number\": \"523\",\n            \"contact_website\": \"example.com\",\n            \"contact_company\": {\n              \"company_name\": \"Example LTD.\",\n              \"company_registration_number\": \"string\",\n              \"company_tax_number\": \"string\"\n            },\n            \"contact_classification\": \"IMPORTANT\",\n            \"contact_address\": {\n              \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n              \"name\": \"Start of the Tour / My house / Office / John Doe\",\n              \"street\": \"Amstel 1\",\n              \"addition\": \"Apt B1\",\n              \"city\": \"Amsterdam\",\n              \"postal_code\": \"1011 PN\",\n              \"region\": \"Noord-Holland\",\n              \"country\": \"The Netherlands\",\n              \"country_code\": \"NL\",\n              \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n              \"latitude\": \"52.3785323\",\n              \"longitude\": \"4.893942\",\n              \"notes\": \"It's on the fourth floor\"\n            },\n            \"contact_notes\": [\n              {\n                \"note_value\": \"Wheelchair assistance required.\",\n                \"note_type\": \"GUEST\",\n                \"note_date\": \"2019-08-24T14:15:22Z\",\n                \"note_creator\": \"Andrew (Supervisor)\"\n              }\n            ],\n            \"contact_custom_fields\": [\n              {\n                \"custom_field_name\": \"Custom Field Name\",\n                \"custom_field_value\": \"Custom Field Value\",\n                \"custom_field_type\": \"SYSTEM\"\n              }\n            ],\n            \"contact_created\": \"2019-08-24T14:15:22Z\",\n            \"contact_modified\": \"2019-08-24T14:15:22Z\"\n          },\n          \"payment_fees\": [\n            {\n              \"fee_label\": \"Credit Card Fee (VISA)\",\n              \"fee_amount\": \"0.10\",\n              \"fee_type\": \"PAYMENT\"\n            }\n          ],\n          \"payment_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"payment_created\": \"2019-08-24T14:15:22Z\",\n          \"payment_created_name\": \"Cashier Name\",\n          \"payment_created_email\": \"cashier@example.com\"\n        }\n      ],\n      \"order_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"CHECKOUT_FIELD_ID\",\n          \"checkout_field_title\": \"First Name\",\n          \"checkout_field_label\": \"Please provide your first name\",\n          \"checkout_field_account_type\": \"DISTRIBUTOR\",\n          \"checkout_field_booking_reference\": [\n            \"string\"\n          ],\n          \"checkout_field_restriction\": \"REQUIRED\",\n          \"checkout_field_level\": \"PRODUCT\",\n          \"checkout_field_unit\": \"string\",\n          \"checkout_field_input_type\": \"SINGLE\",\n          \"checkout_field_type\": \"contact_title\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value_product_type\": \"string\",\n              \"checkout_field_value\": [\n                \"string\"\n              ],\n              \"checkout_field_value_transaction_reference\": \"string\"\n            }\n          ],\n          \"checkout_field_created\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"order_pricing\": {\n        \"price_type\": \"SALES\",\n        \"price_currency_code\": \"EUR\",\n        \"price_currency_rate\": \"1.647\",\n        \"price_subtotal\": \"20.00\",\n        \"price_variations\": [\n          {\n            \"variation_label\": \"Peak Hour\",\n            \"variation_amount\": \"2.50\",\n            \"variation_type\": \"PRODUCT_DYNAMIC\"\n          }\n        ],\n        \"price_promocodes\": [\n          {\n            \"promo_code\": \"PROMOCODE_123\",\n            \"promo_amount\": \"-5.50\"\n          }\n        ],\n        \"price_taxes\": [\n          {\n            \"tax_id\": \"TAX_ID_123\",\n            \"tax_name\": \"VAT Regular 20%\",\n            \"tax_amount\": \"0.65\",\n            \"tax_rate\": \"20.00\"\n          }\n        ],\n        \"price_fees\": [\n          {\n            \"fee_label\": \"Creditcard - Variable Cost\",\n            \"fee_type\": \"SERVICE\",\n            \"fee_amount\": \"0.50\",\n            \"fee_percentage\": \"25.00\",\n            \"fee_tax_id\": \"TAX_ID_123\",\n            \"fee_tax_amount\": \"0.65\",\n            \"fee_included\": true,\n            \"fee_refundable\": true\n          }\n        ],\n        \"price_margins\": [\n          {\n            \"margin_type\": \"SERVICE\",\n            \"margin_amount\": \"0.50\",\n            \"margin_tax_id\": \"TAX_ID_123\",\n            \"margin_tax_amount\": \"0.65\"\n          }\n        ],\n        \"price_total\": \"12.00\"\n      },\n      \"order_credit\": {\n        \"credit_status\": \"ACTIVE\",\n        \"credit_total\": \"100.00\",\n        \"credit_deposit\": \"string\",\n        \"credit_blocked\": \"20.00\",\n        \"credit_used\": \"30.00\",\n        \"credit_remaining\": \"50.00\",\n        \"credit_invoice_interval\": \"MANUAL\",\n        \"credit_invoice_settlement\": \"MANUAL\",\n        \"credit_reset\": \"2019-08-24T14:15:22Z\"\n      },\n      \"order_invoices\": [\n        {\n          \"invoice_id\": \"R-5460521795-20622\",\n          \"invoice_product_id\": \"INVOICE_PRODUCT_ID\",\n          \"invoice_product_quantity\": 3,\n          \"invoice_date\": \"2019-08-24T14:15:22Z\",\n          \"invoice_status\": \"INVOICED\",\n          \"invoice_type\": \"SALE\"\n        }\n      ],\n      \"order_options\": {\n        \"email_options\": {\n          \"email_types\": {\n            \"send_tickets\": false,\n            \"send_receipt\": false,\n            \"send_marketing\": true,\n            \"send_offers\": true,\n            \"send_notification\": true\n          }\n        },\n        \"price_on_voucher\": true\n      },\n      \"order_flags\": [\n        {\n          \"flag_id\": \"223425262\",\n          \"flag_name\": \"Stock Code\",\n          \"flag_type\": \"FLAG\",\n          \"flag_value_id\": \"123BCa1\",\n          \"flag_value\": \"123BCa1\",\n          \"flag_visible\": true\n        }\n      ],\n      \"order_event_details\": [\n        {\n          \"event_order_version\": 2,\n          \"event_note\": \"Change of timeslot on request of customer.\",\n          \"event_type\": \"ORDER_CREATE\",\n          \"event_created\": \"2019-08-24T14:15:22Z\",\n          \"event_creator_user_name\": \"Andrew\",\n          \"event_creator_user_email\": \"supervisor@example.com\",\n          \"event_creator_user_role\": \"Supervisor\"\n        }\n      ],\n      \"order_custom_fields\": [\n        {\n          \"custom_field_name\": \"Custom Field Name\",\n          \"custom_field_value\": \"Custom Field Value\",\n          \"custom_field_type\": \"SYSTEM\"\n        }\n      ],\n      \"order_notes\": [\n        {\n          \"note_value\": \"Wheelchair assistance required.\",\n          \"note_type\": \"GUEST\",\n          \"note_date\": \"2019-08-24T14:15:22Z\",\n          \"note_creator\": \"Andrew (Supervisor)\"\n        }\n      ],\n      \"order_activity_url\": \"https://example.com/orders/ORDRREF123456\",\n      \"order_customer_url\": \"https://example.com/orders/ORDRREF123456\",\n      \"order_created\": \"2019-08-24T14:15:22Z\",\n      \"order_created_name\": \"Demo Cashier\",\n      \"order_created_email\": \"cashier@example.com\",\n      \"order_modified\": \"2019-08-24T14:15:22Z\",\n      \"order_modified_name\": \"Demo Cashier\",\n      \"order_modified_email\": \"cashier@example.com\",\n      \"order_confirmed\": \"2019-08-24T14:15:22Z\",\n      \"order_invoiced\": \"2019-08-24T14:15:22Z\",\n      \"order_cancellation_date_time\": \"2019-08-24T14:15:22Z\",\n      \"order_cancellation_reason\": \"Payment declined\",\n      \"order_view_type\": \"DISTRIBUTOR\",\n      \"order_bookings\": [\n        {\n          \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n          \"booking_status\": \"BOOKING_RESERVED\",\n          \"booking_version\": 1,\n          \"booking_voucher_released\": true,\n          \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n          \"booking_valid_until\": \"2019-08-24T14:15:22Z\",\n          \"booking_invoice_status\": \"INVOICED\",\n          \"booking_language\": \"en\",\n          \"booking_addon_reference\": \"BOOKING_ADDON_REFERENCE_123\",\n          \"booking_pricing\": {\n            \"price_type\": \"SALES\",\n            \"price_currency_code\": \"EUR\",\n            \"price_currency_rate\": \"1.647\",\n            \"price_subtotal\": \"20.00\",\n            \"price_variations\": [\n              {\n                \"variation_label\": \"Peak Hour\",\n                \"variation_amount\": \"2.50\",\n                \"variation_type\": \"PRODUCT_DYNAMIC\"\n              }\n            ],\n            \"price_promocodes\": [\n              {\n                \"promo_code\": \"PROMOCODE_123\",\n                \"promo_amount\": \"-5.50\"\n              }\n            ],\n            \"price_taxes\": [\n              {\n                \"tax_id\": \"TAX_ID_123\",\n                \"tax_name\": \"VAT Regular 20%\",\n                \"tax_amount\": \"0.65\",\n                \"tax_rate\": \"20.00\"\n              }\n            ],\n            \"price_fees\": [\n              {\n                \"fee_label\": \"Creditcard - Variable Cost\",\n                \"fee_type\": \"SERVICE\",\n                \"fee_amount\": \"0.50\",\n                \"fee_percentage\": \"25.00\",\n                \"fee_tax_id\": \"TAX_ID_123\",\n                \"fee_tax_amount\": \"0.65\",\n                \"fee_included\": true,\n                \"fee_refundable\": true\n              }\n            ],\n            \"price_margins\": [\n              {\n                \"margin_type\": \"SERVICE\",\n                \"margin_amount\": \"0.50\",\n                \"margin_tax_id\": \"TAX_ID_123\",\n                \"margin_tax_amount\": \"0.65\"\n              }\n            ],\n            \"price_total\": \"12.00\"\n          },\n          \"booking_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"booking_customer_url\": \"https://example.com/orders/ORDRREF123456\",\n          \"booking_created\": \"2019-08-24T14:15:22Z\",\n          \"booking_modified\": \"2019-08-24T14:15:22Z\",\n          \"booking_confirmed\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancelled\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancellation_reason\": \"Payment declined\",\n          \"product_id\": \"10001\",\n          \"product_relation_id\": \"MAIN_PRODUCT_ID_123\",\n          \"product_pickup_point_id\": \"PICKUP_POINT_ID_123\",\n          \"product_pickup_point\": {\n            \"pickup_point_id\": \"PICKUP_POINT_ID_123\",\n            \"pickup_point_name\": \"Walkingtour at the Wyndham Apollo Hotel\",\n            \"pickup_point_type\": \"FIXED\",\n            \"pickup_point_description\": \"Meet at the Wyndham Apollo hotel.\",\n            \"pickup_point_location\": \"LOCATION_ID_123\",\n            \"pickup_point_time\": \"10:00\",\n            \"pickup_point_times\": [\n              \"10:00\"\n            ],\n            \"pickup_point_duration\": 30,\n            \"pickup_point_availability_dependency\": false\n          },\n          \"product_availability_id\": \"20191026090010006526\",\n          \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_capacity_id\": \"43525235\",\n          \"product_availability_capacity_shared_id\": \"435252453\",\n          \"product_title\": \"Test Product\",\n          \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n          \"product_supplier_name\": \"Test Museum\",\n          \"product_supplier_admin_id\": \"PRODUCT_SUPPLIER_ADMIN_ID\",\n          \"product_supplier_admin_name\": \"Supplier Admin Name\",\n          \"product_market_admin_id\": \"345345342\",\n          \"product_market_admin_name\": \"Market Admin Name\",\n          \"product_source_id\": \"34564574\",\n          \"product_source_name\": \"Example source\",\n          \"product_entry_notes\": \"Reconfirmation: Please call or email atleast 72 hour in advance to reconfirm your arrival.\",\n          \"product_admission_type\": \"TIME_PERIOD\",\n          \"product_currency_code\": \"USD\",\n          \"product_cancellation_allowed\": true,\n          \"product_options\": [\n            {\n              \"option_id\": \"1118\",\n              \"option_value_text\": \"string\",\n              \"option_values\": [\n                {\n                  \"value_id\": \"4921\",\n                  \"value_name\": \"Wine\",\n                  \"value_price\": \"8.00\",\n                  \"value_price_tax_id\": \"TAX_ID_123\",\n                  \"value_price_tax_amount\": \"0.65\",\n                  \"value_product_type_id\": \"ADULT_123\",\n                  \"value_count\": 2\n                }\n              ]\n            }\n          ],\n          \"product_combi_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [\n                    null\n                  ],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  },\n                  \"product_type_transaction_id\": \"159118380521834001\",\n                  \"product_type_status\": \"CONFIRMED\",\n                  \"product_type_redemption_status\": \"REDEEMED\",\n                  \"product_type_payment_status\": \"PAID\",\n                  \"product_type_redemption_date_time\": \"2019-08-24T14:15:22Z\",\n                  \"product_type_redemption_user_name\": \"string\",\n                  \"product_type_redemption_user_email\": \"user@example.com\",\n                  \"product_type_pass_details\": {\n                    \"pass_redemptions\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n              \"product_code\": \"1539762088951995\",\n              \"product_code_settings\": {\n                \"product_code_format\": \"QR_CODE\",\n                \"product_code_source\": \"Distributor\",\n                \"product_group_code\": true,\n                \"product_combi_code\": true,\n                \"product_city_card\": false,\n                \"product_voucher_settings\": \"SINGLE\",\n                \"product_code_release_date\": \"2019-08-24T14:15:22Z\",\n                \"product_code_release_details\": [\n                  \"ORDER_CONFIRMATION\"\n                ]\n              },\n              \"booking_supplier_reference\": \"BOOKING_SUPPLIER_REFERENCE_123\"\n            }\n          ],\n          \"product_bundle_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [\n                    null\n                  ],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  },\n                  \"product_type_transaction_id\": \"159118380521834001\",\n                  \"product_type_status\": \"CONFIRMED\",\n                  \"product_type_redemption_status\": \"REDEEMED\",\n                  \"product_type_payment_status\": \"PAID\",\n                  \"product_type_redemption_date_time\": \"2019-08-24T14:15:22Z\",\n                  \"product_type_redemption_user_name\": \"string\",\n                  \"product_type_redemption_user_email\": \"user@example.com\",\n                  \"product_type_pass_details\": {\n                    \"pass_redemptions\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n              \"product_code\": \"1539762088951995\",\n              \"product_code_settings\": {\n                \"product_code_format\": \"QR_CODE\",\n                \"product_code_source\": \"Distributor\",\n                \"product_group_code\": true,\n                \"product_combi_code\": true,\n                \"product_city_card\": false,\n                \"product_voucher_settings\": \"SINGLE\",\n                \"product_code_release_date\": \"2019-08-24T14:15:22Z\",\n                \"product_code_release_details\": [\n                  \"ORDER_CONFIRMATION\"\n                ]\n              },\n              \"booking_supplier_reference\": \"BOOKING_SUPPLIER_REFERENCE_123\"\n            }\n          ],\n          \"product_addon_details\": [\n            {\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_order_reference\": \"BOOKING_ORDER_REFERENCE\",\n              \"booking_reference\": \"BOOKING_REF123\"\n            }\n          ],\n          \"product_code\": \"1539762088951995\",\n          \"product_code_settings\": {\n            \"product_code_format\": \"QR_CODE\",\n            \"product_code_source\": \"Distributor\",\n            \"product_group_code\": true,\n            \"product_combi_code\": true,\n            \"product_city_card\": false,\n            \"product_voucher_settings\": \"SINGLE\",\n            \"product_code_release_date\": \"2019-08-24T14:15:22Z\",\n            \"product_code_release_details\": [\n              \"ORDER_CONFIRMATION\"\n            ]\n          },\n          \"product_type_details\": [\n            {\n              \"product_type\": \"ADULT\",\n              \"product_type_class\": \"STANDARD\",\n              \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n              \"product_type_label\": \"Adult\",\n              \"product_type_age_from\": 18,\n              \"product_type_age_to\": 65,\n              \"product_type_count\": 1,\n              \"product_type_pax\": 1,\n              \"product_type_capacity\": 1,\n              \"product_type_spots\": [\n                {\n                  \"spot_id\": \"345346363463\",\n                  \"spot_name\": \"Regular seat\",\n                  \"spot_section\": \"VIP Area\",\n                  \"spot_row\": \"F\",\n                  \"spot_number\": \"5\",\n                  \"spot_type\": \"SEAT\",\n                  \"spot_state\": \"AVAILABLE\"\n                }\n              ],\n              \"product_type_code\": \"1539762088951995\",\n              \"product_type_pricing\": {\n                \"price_type\": \"SALES\",\n                \"price_currency_code\": \"EUR\",\n                \"price_currency_rate\": \"1.647\",\n                \"price_subtotal\": \"20.00\",\n                \"price_variations\": [\n                  {\n                    \"variation_label\": \"Peak Hour\",\n                    \"variation_amount\": \"2.50\",\n                    \"variation_type\": \"PRODUCT_DYNAMIC\"\n                  }\n                ],\n                \"price_promocodes\": [\n                  {}\n                ],\n                \"price_taxes\": [\n                  {}\n                ],\n                \"price_fees\": [\n                  {}\n                ],\n                \"price_margins\": [\n                  {}\n                ],\n                \"price_total\": \"12.00\"\n              },\n              \"product_type_transaction_id\": \"159118380521834001\",\n              \"product_type_status\": \"CONFIRMED\",\n              \"product_type_redemption_status\": \"REDEEMED\",\n              \"product_type_payment_status\": \"PAID\",\n              \"product_type_redemption_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_type_redemption_user_name\": \"string\",\n              \"product_type_redemption_user_email\": \"user@example.com\",\n              \"product_type_pass_details\": {\n                \"pass_code\": \"string\",\n                \"pass_duration\": {\n                  \"pass_duration_start\": \"2018-06-26T12:08:47Z\",\n                  \"pass_duration_end\": \"2018-06-26T12:08:47Z\",\n                  \"pass_duration_total\": 86400,\n                  \"pass_duration_remaining\": 3600\n                },\n                \"pass_redemptions\": [\n                  {}\n                ]\n              }\n            }\n          ],\n          \"product_cancellation_policies\": [\n            {\n              \"cancellation_description\": \"Please cancel any booking 1 hour in advance.\",\n              \"cancellation_type\": \"TRAVEL_DATE\",\n              \"cancellation_fee_threshold\": 3600,\n              \"cancellation_fee_percentage\": 20.5,\n              \"cancellation_fee_amount\": \"5.00\"\n            }\n          ],\n          \"booking_reference\": \"BOOKING_REFERENCE_123\",\n          \"booking_supplier_reference\": \"BOOKING_SUPPLIER_REFERENCE_123\"\n        }\n      ]\n    }\n  }\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-DIRECT-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"DIRECT_BOOKING\",\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-DIRECT-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"DIRECT_BOOKING\",\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-DIRECT-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"DIRECT_BOOKING\",\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"409 - Check current resource state and version before retrying.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-DIRECT-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"DIRECT_BOOKING\",\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"CONFLICT\",\n  \"error_description\": \"Check current resource state and version before retrying.\",\n  \"error_message\": \"Check current resource state and version before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-DIRECT-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"DIRECT_BOOKING\",\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-DIRECT-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"DIRECT_BOOKING\",\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-DIRECT-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"DIRECT_BOOKING\",\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-DIRECT-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"DIRECT_BOOKING\",\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-DIRECT-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"DIRECT_BOOKING\",\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-DIRECT-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"DIRECT_BOOKING\",\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders","host":["{{base_url}}"],"path":[":version","orders"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to book / confirm product(s) and get a barcode / QR-code in response.\n\nCreating an order triggers a payment obligation. Make sure that you received the money from the guest and please note that some products are non-refundable. Do not create an order if its not certain that the product will be purchased.\n\nMake sure that you cross-check the `order_pricing.price_total` with the amount charged to the guest. Mismatches might indicate missing fees or discounts, causing financial mismatches between our systems. We recommend aborting the booking process in case this happens.\n\n### Checkout fields (API v2.0)\n\nFor **Confirm Reservation**, submit and successfully update all required answers in `reservation_checkout_fields` before this call. Do not move those answers to `order_checkout_fields`.\n\nFor **Direct Booking**, include `data.order.order_checkout_fields` when additional fields have been configured for the products in your integration. Preserve the supplied field IDs and references, and send every `checkout_field_value` as an array of strings. Missing or invalid `REQUIRED` answers can cause the order to be rejected. The property may be omitted when no checkout fields apply.\n\n---\n## **Booking Options**\n\n**Direct Booking** \n\n  + Direct booking of a product without availability (`product_availability:false`) and no traveldate (`product_traveldate_required:false`) (non-dated, no capacity ticket)\n  \n  + Direct booking of a product without availability (`product_availability:false`) and required traveldate (`product_traveldate_required:true`) (dated, unlimited capacity ticket)\n  \n  + Direct booking of a product with availability (`product_availability:true`) and with or without capacity (`product_capacity:true/false`).\n  \n  > * Adding a promotional code to a Direct Booking is not supported.\n  > * Direct payment settlement with a Direct Booking is not supported.\n  \n**Confirm Reservation / Checkout Cart**\n\n  + Booking of product(s) with a `reservation_reference` (Confirmation of an active reservation (Confirm and Order)). This can be any product with any configuration.\n\n> Please note that multiple types of **Direct Booking** can be made at once, but only a single **Confirm Reservation** at a time is supported. Would you wish to confirm multiple reserved products at once, please put multiple bookings in a single reservation (Cart). You can not \"mix\" different booking options (**Direct Booking** && **Confirm Reservation**) in the same request.\n  Therefore only multiple entries of the **Direct Booking** option is being supported.\n  \n> * In case multiple products are to be booked, if any of them are unavailable, the whole order will be declined.\n> * You are unable to combine products with different base currencies in the same order.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_distributor_id\": \"{{distributor_id}}\",\n      \"order_external_reference\": \"EXAMPLE-DIRECT-ORDER\",\n      \"order_bookings\": [\n        {\n          \"booking_option_type\": \"DIRECT_BOOKING\",\n          \"product_id\": \"{{product_id}}\",\n          \"product_availability_id\": \"{{availability_id}}\",\n          \"booking_travel_date\": \"{{booking_travel_date}}\",\n          \"product_type_details\": [\n            {\n              \"product_type_id\": \"{{product_type_id}}\",\n              \"product_type_count\": 1\n            }\n          ]\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["if (pm.collectionVariables.get('allow_mutations') !== 'true') { pm.execution.skipRequest(); }"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([201]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Order Details","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to get order details and status."},"response":[{"name":"200 - Get Order Detail Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to get order details and status."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_platform_id\": \"1\",\n      \"order_platform_name\": \"Platform Name\",\n      \"order_reseller_id\": \"1300\",\n      \"order_reseller_name\": \"Demo reseller\",\n      \"order_distributor_id\": \"501\",\n      \"order_distributor_name\": \"Demo Distributor\",\n      \"order_partner_id\": \"4534543543\",\n      \"order_partner_name\": \"Partner Name\",\n      \"order_reference\": \"ORDRREF123456\",\n      \"order_external_reference\": \"EXTERNALREF123\",\n      \"order_status\": \"ORDER_CONFIRMED\",\n      \"order_settlement_type\": \"EXTERNAL\",\n      \"order_channel\": \"PARTNER\",\n      \"order_language\": \"en\",\n      \"order_version\": 1,\n      \"order_archived\": false,\n      \"order_contacts\": [\n        {\n          \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n          \"contact_version\": 2,\n          \"contact_number\": \"4573246\",\n          \"contact_type\": \"GUEST\",\n          \"contact_title\": \"Mr.\",\n          \"contact_name_first\": \"John\",\n          \"contact_name_last\": \"Doe\",\n          \"contact_email\": \"Johndoe@example.com\",\n          \"contact_phone\": \"+14155552671\",\n          \"contact_mobile\": \"+14155552671\",\n          \"contact_language\": \"NL\",\n          \"contact_nationality\": \"Dutch\",\n          \"contact_flight_number\": \"KL 445\",\n          \"contact_loyalty_number\": \"46564564564547476\",\n          \"contact_birth_place\": \"Amsterdam\",\n          \"contact_birth_date\": \"2019-08-24\",\n          \"contact_passport\": \"JXXXXXXX\",\n          \"contact_gender\": \"MALE\",\n          \"contact_age\": 19,\n          \"contact_redacted\": false,\n          \"contact_room_number\": \"523\",\n          \"contact_website\": \"example.com\",\n          \"contact_company\": {\n            \"company_name\": \"Example LTD.\",\n            \"company_registration_number\": \"string\",\n            \"company_tax_number\": \"string\"\n          },\n          \"contact_classification\": \"IMPORTANT\",\n          \"contact_address\": {\n            \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"name\": \"Start of the Tour / My house / Office / John Doe\",\n            \"street\": \"Amstel 1\",\n            \"addition\": \"Apt B1\",\n            \"city\": \"Amsterdam\",\n            \"postal_code\": \"1011 PN\",\n            \"region\": \"Noord-Holland\",\n            \"country\": \"The Netherlands\",\n            \"country_code\": \"NL\",\n            \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n            \"latitude\": \"52.3785323\",\n            \"longitude\": \"4.893942\",\n            \"notes\": \"It's on the fourth floor\"\n          },\n          \"contact_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"contact_custom_fields\": [\n            {\n              \"custom_field_name\": \"Custom Field Name\",\n              \"custom_field_value\": \"Custom Field Value\",\n              \"custom_field_type\": \"SYSTEM\"\n            }\n          ],\n          \"contact_created\": \"2019-08-24T14:15:22Z\",\n          \"contact_modified\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"order_promocodes\": [\n        {\n          \"promo_title\": \"Christmas Sale 2019\",\n          \"promo_description\": \"20 percent discount during the Christmas days.\",\n          \"promo_code\": \"PROMOCODE_123\"\n        }\n      ],\n      \"order_payments\": [\n        {\n          \"payment_id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"payment_original_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n          \"payment_partner_id\": \"PAYMENT_PARTNER_ID\",\n          \"payment_shift_id\": \"PAYMENT_SHIFT_ID_123\",\n          \"payment_merchant_reference\": \"1478349849927_771663371\",\n          \"payment_external_reference\": \"SHOPPER_REFERENCE\",\n          \"payment_order_reference\": \"ORDRREF123456\",\n          \"payment_booking_references\": [\n            \"BKNGREF123456\"\n          ],\n          \"payment_order_version\": 2,\n          \"payment_status\": \"PAID\",\n          \"payment_method\": \"EXTERNAL\",\n          \"payment_scheme\": \"VISA\",\n          \"payment_type\": \"CAPTURE\",\n          \"payment_link\": \"https://example.com/s?q=K0U2VmVNRGo0SEhGdFVUZ09IK2ViZkdtK1NjPQ==\",\n          \"payment_link_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_authorization_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_recurring\": false,\n          \"payment_recurring_type\": \"STORE\",\n          \"payment_class\": \"SALES\",\n          \"payment_refund_type\": \"SYSTEM\",\n          \"payment_refund_reason\": \"Guest reimbursement\",\n          \"payment_currency_code\": \"EUR\",\n          \"payment_currency_rate\": \"2.5263\",\n          \"payment_currency_amount\": \"10.25\",\n          \"payment_amount\": \"10.00\",\n          \"payment_total\": \"100.00\",\n          \"payment_gateway_details\": {\n            \"payment_merchant_account_name\": \"ExampleMerchant\",\n            \"payment_service_provider_reference\": \"852596799876396F\",\n            \"payment_service_provider_original_reference\": \"882596799845511E\",\n            \"payment_gateway_type\": \"ADYEN\",\n            \"payment_gateway_additional_values\": {\n              \"psp_shopper_name\": \"Checkout Shopper PlaceHolder\",\n              \"psp_shopper_cardnumber\": \"1111\",\n              \"psp_issuer_country\": \"NL\",\n              \"psp_fraudscore\": \"63\",\n              \"psp_payment_status\": \"Settled\"\n            }\n          },\n          \"payment_contact\": {\n            \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n            \"contact_version\": 2,\n            \"contact_number\": \"4573246\",\n            \"contact_type\": \"GUEST\",\n            \"contact_title\": \"Mr.\",\n            \"contact_name_first\": \"John\",\n            \"contact_name_last\": \"Doe\",\n            \"contact_email\": \"Johndoe@example.com\",\n            \"contact_phone\": \"+14155552671\",\n            \"contact_mobile\": \"+14155552671\",\n            \"contact_language\": \"NL\",\n            \"contact_nationality\": \"Dutch\",\n            \"contact_flight_number\": \"KL 445\",\n            \"contact_loyalty_number\": \"46564564564547476\",\n            \"contact_birth_place\": \"Amsterdam\",\n            \"contact_birth_date\": \"2019-08-24\",\n            \"contact_passport\": \"JXXXXXXX\",\n            \"contact_gender\": \"MALE\",\n            \"contact_age\": 19,\n            \"contact_redacted\": false,\n            \"contact_room_number\": \"523\",\n            \"contact_website\": \"example.com\",\n            \"contact_company\": {\n              \"company_name\": \"Example LTD.\",\n              \"company_registration_number\": \"string\",\n              \"company_tax_number\": \"string\"\n            },\n            \"contact_classification\": \"IMPORTANT\",\n            \"contact_address\": {\n              \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n              \"name\": \"Start of the Tour / My house / Office / John Doe\",\n              \"street\": \"Amstel 1\",\n              \"addition\": \"Apt B1\",\n              \"city\": \"Amsterdam\",\n              \"postal_code\": \"1011 PN\",\n              \"region\": \"Noord-Holland\",\n              \"country\": \"The Netherlands\",\n              \"country_code\": \"NL\",\n              \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n              \"latitude\": \"52.3785323\",\n              \"longitude\": \"4.893942\",\n              \"notes\": \"It's on the fourth floor\"\n            },\n            \"contact_notes\": [\n              {\n                \"note_value\": \"Wheelchair assistance required.\",\n                \"note_type\": \"GUEST\",\n                \"note_date\": \"2019-08-24T14:15:22Z\",\n                \"note_creator\": \"Andrew (Supervisor)\"\n              }\n            ],\n            \"contact_custom_fields\": [\n              {\n                \"custom_field_name\": \"Custom Field Name\",\n                \"custom_field_value\": \"Custom Field Value\",\n                \"custom_field_type\": \"SYSTEM\"\n              }\n            ],\n            \"contact_created\": \"2019-08-24T14:15:22Z\",\n            \"contact_modified\": \"2019-08-24T14:15:22Z\"\n          },\n          \"payment_fees\": [\n            {\n              \"fee_label\": \"Credit Card Fee (VISA)\",\n              \"fee_amount\": \"0.10\",\n              \"fee_type\": \"PAYMENT\"\n            }\n          ],\n          \"payment_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"payment_created\": \"2019-08-24T14:15:22Z\",\n          \"payment_created_name\": \"Cashier Name\",\n          \"payment_created_email\": \"cashier@example.com\"\n        }\n      ],\n      \"order_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"CHECKOUT_FIELD_ID\",\n          \"checkout_field_title\": \"First Name\",\n          \"checkout_field_label\": \"Please provide your first name\",\n          \"checkout_field_account_type\": \"DISTRIBUTOR\",\n          \"checkout_field_booking_reference\": [\n            \"string\"\n          ],\n          \"checkout_field_restriction\": \"REQUIRED\",\n          \"checkout_field_level\": \"PRODUCT\",\n          \"checkout_field_unit\": \"string\",\n          \"checkout_field_input_type\": \"SINGLE\",\n          \"checkout_field_type\": \"contact_title\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value_product_type\": \"string\",\n              \"checkout_field_value\": [\n                \"string\"\n              ],\n              \"checkout_field_value_transaction_reference\": \"string\"\n            }\n          ],\n          \"checkout_field_created\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"order_pricing\": {\n        \"price_type\": \"SALES\",\n        \"price_currency_code\": \"EUR\",\n        \"price_currency_rate\": \"1.647\",\n        \"price_subtotal\": \"20.00\",\n        \"price_variations\": [\n          {\n            \"variation_label\": \"Peak Hour\",\n            \"variation_amount\": \"2.50\",\n            \"variation_type\": \"PRODUCT_DYNAMIC\"\n          }\n        ],\n        \"price_promocodes\": [\n          {\n            \"promo_code\": \"PROMOCODE_123\",\n            \"promo_amount\": \"-5.50\"\n          }\n        ],\n        \"price_taxes\": [\n          {\n            \"tax_id\": \"TAX_ID_123\",\n            \"tax_name\": \"VAT Regular 20%\",\n            \"tax_amount\": \"0.65\",\n            \"tax_rate\": \"20.00\"\n          }\n        ],\n        \"price_fees\": [\n          {\n            \"fee_label\": \"Creditcard - Variable Cost\",\n            \"fee_type\": \"SERVICE\",\n            \"fee_amount\": \"0.50\",\n            \"fee_percentage\": \"25.00\",\n            \"fee_tax_id\": \"TAX_ID_123\",\n            \"fee_tax_amount\": \"0.65\",\n            \"fee_included\": true,\n            \"fee_refundable\": true\n          }\n        ],\n        \"price_margins\": [\n          {\n            \"margin_type\": \"SERVICE\",\n            \"margin_amount\": \"0.50\",\n            \"margin_tax_id\": \"TAX_ID_123\",\n            \"margin_tax_amount\": \"0.65\"\n          }\n        ],\n        \"price_total\": \"12.00\"\n      },\n      \"order_credit\": {\n        \"credit_status\": \"ACTIVE\",\n        \"credit_total\": \"100.00\",\n        \"credit_deposit\": \"string\",\n        \"credit_blocked\": \"20.00\",\n        \"credit_used\": \"30.00\",\n        \"credit_remaining\": \"50.00\",\n        \"credit_invoice_interval\": \"MANUAL\",\n        \"credit_invoice_settlement\": \"MANUAL\",\n        \"credit_reset\": \"2019-08-24T14:15:22Z\"\n      },\n      \"order_invoices\": [\n        {\n          \"invoice_id\": \"R-5460521795-20622\",\n          \"invoice_product_id\": \"INVOICE_PRODUCT_ID\",\n          \"invoice_product_quantity\": 3,\n          \"invoice_date\": \"2019-08-24T14:15:22Z\",\n          \"invoice_status\": \"INVOICED\",\n          \"invoice_type\": \"SALE\"\n        }\n      ],\n      \"order_options\": {\n        \"email_options\": {\n          \"email_types\": {\n            \"send_tickets\": false,\n            \"send_receipt\": false,\n            \"send_marketing\": true,\n            \"send_offers\": true,\n            \"send_notification\": true\n          }\n        },\n        \"price_on_voucher\": true\n      },\n      \"order_flags\": [\n        {\n          \"flag_id\": \"223425262\",\n          \"flag_name\": \"Stock Code\",\n          \"flag_type\": \"FLAG\",\n          \"flag_value_id\": \"123BCa1\",\n          \"flag_value\": \"123BCa1\",\n          \"flag_visible\": true\n        }\n      ],\n      \"order_event_details\": [\n        {\n          \"event_order_version\": 2,\n          \"event_note\": \"Change of timeslot on request of customer.\",\n          \"event_type\": \"ORDER_CREATE\",\n          \"event_created\": \"2019-08-24T14:15:22Z\",\n          \"event_creator_user_name\": \"Andrew\",\n          \"event_creator_user_email\": \"supervisor@example.com\",\n          \"event_creator_user_role\": \"Supervisor\"\n        }\n      ],\n      \"order_custom_fields\": [\n        {\n          \"custom_field_name\": \"Custom Field Name\",\n          \"custom_field_value\": \"Custom Field Value\",\n          \"custom_field_type\": \"SYSTEM\"\n        }\n      ],\n      \"order_notes\": [\n        {\n          \"note_value\": \"Wheelchair assistance required.\",\n          \"note_type\": \"GUEST\",\n          \"note_date\": \"2019-08-24T14:15:22Z\",\n          \"note_creator\": \"Andrew (Supervisor)\"\n        }\n      ],\n      \"order_activity_url\": \"https://example.com/orders/ORDRREF123456\",\n      \"order_customer_url\": \"https://example.com/orders/ORDRREF123456\",\n      \"order_created\": \"2019-08-24T14:15:22Z\",\n      \"order_created_name\": \"Demo Cashier\",\n      \"order_created_email\": \"cashier@example.com\",\n      \"order_modified\": \"2019-08-24T14:15:22Z\",\n      \"order_modified_name\": \"Demo Cashier\",\n      \"order_modified_email\": \"cashier@example.com\",\n      \"order_confirmed\": \"2019-08-24T14:15:22Z\",\n      \"order_invoiced\": \"2019-08-24T14:15:22Z\",\n      \"order_cancellation_date_time\": \"2019-08-24T14:15:22Z\",\n      \"order_cancellation_reason\": \"Payment declined\",\n      \"order_view_type\": \"DISTRIBUTOR\",\n      \"order_bookings\": [\n        {\n          \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n          \"booking_status\": \"BOOKING_RESERVED\",\n          \"booking_version\": 1,\n          \"booking_voucher_released\": true,\n          \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n          \"booking_valid_until\": \"2019-08-24T14:15:22Z\",\n          \"booking_invoice_status\": \"INVOICED\",\n          \"booking_language\": \"en\",\n          \"booking_addon_reference\": \"BOOKING_ADDON_REFERENCE_123\",\n          \"booking_pricing\": {\n            \"price_type\": \"SALES\",\n            \"price_currency_code\": \"EUR\",\n            \"price_currency_rate\": \"1.647\",\n            \"price_subtotal\": \"20.00\",\n            \"price_variations\": [\n              {\n                \"variation_label\": \"Peak Hour\",\n                \"variation_amount\": \"2.50\",\n                \"variation_type\": \"PRODUCT_DYNAMIC\"\n              }\n            ],\n            \"price_promocodes\": [\n              {\n                \"promo_code\": \"PROMOCODE_123\",\n                \"promo_amount\": \"-5.50\"\n              }\n            ],\n            \"price_taxes\": [\n              {\n                \"tax_id\": \"TAX_ID_123\",\n                \"tax_name\": \"VAT Regular 20%\",\n                \"tax_amount\": \"0.65\",\n                \"tax_rate\": \"20.00\"\n              }\n            ],\n            \"price_fees\": [\n              {\n                \"fee_label\": \"Creditcard - Variable Cost\",\n                \"fee_type\": \"SERVICE\",\n                \"fee_amount\": \"0.50\",\n                \"fee_percentage\": \"25.00\",\n                \"fee_tax_id\": \"TAX_ID_123\",\n                \"fee_tax_amount\": \"0.65\",\n                \"fee_included\": true,\n                \"fee_refundable\": true\n              }\n            ],\n            \"price_margins\": [\n              {\n                \"margin_type\": \"SERVICE\",\n                \"margin_amount\": \"0.50\",\n                \"margin_tax_id\": \"TAX_ID_123\",\n                \"margin_tax_amount\": \"0.65\"\n              }\n            ],\n            \"price_total\": \"12.00\"\n          },\n          \"booking_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"booking_customer_url\": \"https://example.com/orders/ORDRREF123456\",\n          \"booking_created\": \"2019-08-24T14:15:22Z\",\n          \"booking_modified\": \"2019-08-24T14:15:22Z\",\n          \"booking_confirmed\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancelled\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancellation_reason\": \"Payment declined\",\n          \"product_id\": \"10001\",\n          \"product_relation_id\": \"MAIN_PRODUCT_ID_123\",\n          \"product_pickup_point_id\": \"PICKUP_POINT_ID_123\",\n          \"product_pickup_point\": {\n            \"pickup_point_id\": \"PICKUP_POINT_ID_123\",\n            \"pickup_point_name\": \"Walkingtour at the Wyndham Apollo Hotel\",\n            \"pickup_point_type\": \"FIXED\",\n            \"pickup_point_description\": \"Meet at the Wyndham Apollo hotel.\",\n            \"pickup_point_location\": \"LOCATION_ID_123\",\n            \"pickup_point_time\": \"10:00\",\n            \"pickup_point_times\": [\n              \"10:00\"\n            ],\n            \"pickup_point_duration\": 30,\n            \"pickup_point_availability_dependency\": false\n          },\n          \"product_availability_id\": \"20191026090010006526\",\n          \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_capacity_id\": \"43525235\",\n          \"product_availability_capacity_shared_id\": \"435252453\",\n          \"product_title\": \"Test Product\",\n          \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n          \"product_supplier_name\": \"Test Museum\",\n          \"product_supplier_admin_id\": \"PRODUCT_SUPPLIER_ADMIN_ID\",\n          \"product_supplier_admin_name\": \"Supplier Admin Name\",\n          \"product_market_admin_id\": \"345345342\",\n          \"product_market_admin_name\": \"Market Admin Name\",\n          \"product_source_id\": \"34564574\",\n          \"product_source_name\": \"Example source\",\n          \"product_entry_notes\": \"Reconfirmation: Please call or email atleast 72 hour in advance to reconfirm your arrival.\",\n          \"product_admission_type\": \"TIME_PERIOD\",\n          \"product_currency_code\": \"USD\",\n          \"product_cancellation_allowed\": true,\n          \"product_options\": [\n            {\n              \"option_id\": \"1118\",\n              \"option_value_text\": \"string\",\n              \"option_values\": [\n                {\n                  \"value_id\": \"4921\",\n                  \"value_name\": \"Wine\",\n                  \"value_price\": \"8.00\",\n                  \"value_price_tax_id\": \"TAX_ID_123\",\n                  \"value_price_tax_amount\": \"0.65\",\n                  \"value_product_type_id\": \"ADULT_123\",\n                  \"value_count\": 2\n                }\n              ]\n            }\n          ],\n          \"product_combi_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  },\n                  \"product_type_transaction_id\": \"159118380521834001\",\n                  \"product_type_status\": \"CONFIRMED\",\n                  \"product_type_redemption_status\": \"REDEEMED\",\n                  \"product_type_payment_status\": \"PAID\",\n                  \"product_type_redemption_date_time\": \"2019-08-24T14:15:22Z\",\n                  \"product_type_redemption_user_name\": \"string\",\n                  \"product_type_redemption_user_email\": \"user@example.com\",\n                  \"product_type_pass_details\": {\n                    \"pass_redemptions\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n              \"product_code\": \"1539762088951995\",\n              \"product_code_settings\": {\n                \"product_code_format\": \"QR_CODE\",\n                \"product_code_source\": \"Distributor\",\n                \"product_group_code\": true,\n                \"product_combi_code\": true,\n                \"product_city_card\": false,\n                \"product_voucher_settings\": \"SINGLE\",\n                \"product_code_release_date\": \"2019-08-24T14:15:22Z\",\n                \"product_code_release_details\": [\n                  \"ORDER_CONFIRMATION\"\n                ]\n              },\n              \"booking_supplier_reference\": \"BOOKING_SUPPLIER_REFERENCE_123\"\n            }\n          ],\n          \"product_bundle_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  },\n                  \"product_type_transaction_id\": \"159118380521834001\",\n                  \"product_type_status\": \"CONFIRMED\",\n                  \"product_type_redemption_status\": \"REDEEMED\",\n                  \"product_type_payment_status\": \"PAID\",\n                  \"product_type_redemption_date_time\": \"2019-08-24T14:15:22Z\",\n                  \"product_type_redemption_user_name\": \"string\",\n                  \"product_type_redemption_user_email\": \"user@example.com\",\n                  \"product_type_pass_details\": {\n                    \"pass_redemptions\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n              \"product_code\": \"1539762088951995\",\n              \"product_code_settings\": {\n                \"product_code_format\": \"QR_CODE\",\n                \"product_code_source\": \"Distributor\",\n                \"product_group_code\": true,\n                \"product_combi_code\": true,\n                \"product_city_card\": false,\n                \"product_voucher_settings\": \"SINGLE\",\n                \"product_code_release_date\": \"2019-08-24T14:15:22Z\",\n                \"product_code_release_details\": [\n                  \"ORDER_CONFIRMATION\"\n                ]\n              },\n              \"booking_supplier_reference\": \"BOOKING_SUPPLIER_REFERENCE_123\"\n            }\n          ],\n          \"product_addon_details\": [\n            {\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_order_reference\": \"BOOKING_ORDER_REFERENCE\",\n              \"booking_reference\": \"BOOKING_REF123\"\n            }\n          ],\n          \"product_code\": \"1539762088951995\",\n          \"product_code_settings\": {\n            \"product_code_format\": \"QR_CODE\",\n            \"product_code_source\": \"Distributor\",\n            \"product_group_code\": true,\n            \"product_combi_code\": true,\n            \"product_city_card\": false,\n            \"product_voucher_settings\": \"SINGLE\",\n            \"product_code_release_date\": \"2019-08-24T14:15:22Z\",\n            \"product_code_release_details\": [\n              \"ORDER_CONFIRMATION\"\n            ]\n          },\n          \"product_type_details\": [\n            {\n              \"product_type\": \"ADULT\",\n              \"product_type_class\": \"STANDARD\",\n              \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n              \"product_type_label\": \"Adult\",\n              \"product_type_age_from\": 18,\n              \"product_type_age_to\": 65,\n              \"product_type_count\": 1,\n              \"product_type_pax\": 1,\n              \"product_type_capacity\": 1,\n              \"product_type_spots\": [\n                {\n                  \"spot_id\": \"345346363463\",\n                  \"spot_name\": \"Regular seat\",\n                  \"spot_section\": \"VIP Area\",\n                  \"spot_row\": \"F\",\n                  \"spot_number\": \"5\",\n                  \"spot_type\": \"SEAT\",\n                  \"spot_state\": \"AVAILABLE\"\n                }\n              ],\n              \"product_type_code\": \"1539762088951995\",\n              \"product_type_pricing\": {\n                \"price_type\": \"SALES\",\n                \"price_currency_code\": \"EUR\",\n                \"price_currency_rate\": \"1.647\",\n                \"price_subtotal\": \"20.00\",\n                \"price_variations\": [\n                  {\n                    \"variation_label\": \"Peak Hour\",\n                    \"variation_amount\": \"2.50\",\n                    \"variation_type\": \"PRODUCT_DYNAMIC\"\n                  }\n                ],\n                \"price_promocodes\": [],\n                \"price_taxes\": [],\n                \"price_fees\": [],\n                \"price_margins\": [],\n                \"price_total\": \"12.00\"\n              },\n              \"product_type_transaction_id\": \"159118380521834001\",\n              \"product_type_status\": \"CONFIRMED\",\n              \"product_type_redemption_status\": \"REDEEMED\",\n              \"product_type_payment_status\": \"PAID\",\n              \"product_type_redemption_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_type_redemption_user_name\": \"string\",\n              \"product_type_redemption_user_email\": \"user@example.com\",\n              \"product_type_pass_details\": {\n                \"pass_code\": \"string\",\n                \"pass_duration\": {\n                  \"pass_duration_start\": \"2018-06-26T12:08:47Z\",\n                  \"pass_duration_end\": \"2018-06-26T12:08:47Z\",\n                  \"pass_duration_total\": 86400,\n                  \"pass_duration_remaining\": 3600\n                },\n                \"pass_redemptions\": []\n              }\n            }\n          ],\n          \"product_cancellation_policies\": [\n            {\n              \"cancellation_description\": \"Please cancel any booking 1 hour in advance.\",\n              \"cancellation_type\": \"TRAVEL_DATE\",\n              \"cancellation_fee_threshold\": 3600,\n              \"cancellation_fee_percentage\": 20.5,\n              \"cancellation_fee_amount\": \"5.00\"\n            }\n          ],\n          \"booking_reference\": \"BOOKING_REFERENCE_123\",\n          \"booking_supplier_reference\": \"BOOKING_SUPPLIER_REFERENCE_123\"\n        }\n      ]\n    }\n  }\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to get order details and status."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to get order details and status."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to get order details and status."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to get order details and status."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to get order details and status."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to get order details and status."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to get order details and status."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to get order details and status."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to get order details and status."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to get order details and status."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"cache","value":"true","disabled":true,"description":"[CACHE] Whether the results should be loaded from the caching server. This will significantly improve performance and disabling this functionality is not recommended."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to get order details and status."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Update / Amend Order","request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to update an order or booking. Regular users should only update basic order details such as contact information.\nFor requesting other timeslots or changing the booking count, we recommend that you cancel the current order and rebook.\n> Make sure that you provide the complete top-level order object and that all original fields with either the current or amended values (e.g. `order_distributor_id`, `order_external_reference`, all `order_contacts` etc) are sent,  missing (optional) fields will be removed from our records. Note that the opposite is true for `order_bookings`, only the bookings you would like to amend should be provided (see advanced functionality below).\n---\n### **Advanced Functionality**\n<details>\n  <summary>**Amending confirmed orders**</summary>\n\n  We always recommend that you do a full cancellation and create a new order in case of amendments.\n  \n  Alternatively we have the advanced method of amending an existing order with the following benefits:\n  \n  * Versioning history on order and booking level.\n  \n  * Best effort algorithm to retain your existing vouchers or adding additional bookings to your combi-passes.\n  \n  * Payment credit system where existing payments are stored for later purchases.\n  \n  * Keeping the same `order_reference`.\n  \n  \n  In case you would like to fully amend an existing order, but retain the same `order_reference`, you can sent the amended booking details with the same `booking_reference` in the request. The original booking will be fully replaced with the newly created (confirmed) booking and therefore you can follow the same approach as you would normally do when creating new orders using the direct booking method, but with the following differences:\n  \n  * Products that were not in the original order, but found in the amendment request will be added (Add booking to existing order). This allows to easily upsell existing orders and in advanced scenarios add products to the same group / combi codes.\n  \n  * Products with amended quantity will be either partially cancelled or additionally added. Note that we will NOT take into the account the capacity difference.\n    \n    For example if the original booking contains 4 tickets and the remaining capacity prior to the amendment is 2, you are NOT able to upsell towards 6 tickets. Although that there would be sufficient remaining capacity to book the additional 2 tickets, the total required capacity (in this case 6) should be equal or less than the current remaining capacity.\n    \n    We have done this on purpose to prevent concurrency issues when for example the cancellation is delayed and capacity is not released immediately, causing your amendment to fail.\n    This also allows us to block (reserve) your new products first, then cancel your original booking, making sure you never 'lose' your tickets in case of an error.\n    \n  * The total payment difference will be calculated and will be either charged or (partially) refunded. Please note that in case of a surcharge, you might be required to submit an additional payment based on your settlement method and payment configuration.\n  \n    Note that all payments linked to the original order will be returned as well, regardless of the `order_version`.\n  \n  * The `order_reference` and `booking_reference` will be retained and as such the versions will be updated as `order_version + 1` and only the amended booking will be set to `booking_version + 1`.\n  \n  * If the original order contained price variations such as cart discounts, partner discounts or promocodes, those will be re-applied on the amended order as well if applicable.\n  \n  * All booking and cancellation restrictions still apply, if you try to amend any non-cancellable products from the original order (implicitly indicating that you want to cancel those) the request will fail. Similarly you are discouraged (and often not allowed) to cancel any bookings that have already been redeemed. \n  \n    Furthermore, bookings that were already cancelled in the original order should not be passed in the new request. Therefore they will also not be included in the new version.\n    \n  * In case the bookings were already invoiced, the original booking will be credited and a new invoice will be created.\n  \n  * In case a product cannot be cancelled nor amended but additional guests are added, we might create a second booking for the same product.\n  \n  * In case of amendments we have a best effort algorithm to retain the current voucher (codes), but depending on the product, some vouchers will be invalidated and replaced.\n  \n  > Bookings will be directly amended using the direct booking concept, you are unable to revert this action. For third-party products we are heavily relying on their system capabilities. Some do not support amendments and therefore a swift cancel and re-book (with or without capacity block) is required instead.\n    This means that the failure rate on this API can be slightly higher than usual.\n    \n  > It is important that you only sent the booking objects of the bookings you would like to amend, our system does not check which changes are made, instead we simply cancel the original booking and replace it with a new booking.\n\n</details>","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_version\": {{order_version}},\n      \"order_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"name":"200 - Successfully updated order","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to update an order or booking. Regular users should only update basic order details such as contact information.\nFor requesting other timeslots or changing the booking count, we recommend that you cancel the current order and rebook.\n> Make sure that you provide the complete top-level order object and that all original fields with either the current or amended values (e.g. `order_distributor_id`, `order_external_reference`, all `order_contacts` etc) are sent,  missing (optional) fields will be removed from our records. Note that the opposite is true for `order_bookings`, only the bookings you would like to amend should be provided (see advanced functionality below).\n---\n### **Advanced Functionality**\n<details>\n  <summary>**Amending confirmed orders**</summary>\n\n  We always recommend that you do a full cancellation and create a new order in case of amendments.\n  \n  Alternatively we have the advanced method of amending an existing order with the following benefits:\n  \n  * Versioning history on order and booking level.\n  \n  * Best effort algorithm to retain your existing vouchers or adding additional bookings to your combi-passes.\n  \n  * Payment credit system where existing payments are stored for later purchases.\n  \n  * Keeping the same `order_reference`.\n  \n  \n  In case you would like to fully amend an existing order, but retain the same `order_reference`, you can sent the amended booking details with the same `booking_reference` in the request. The original booking will be fully replaced with the newly created (confirmed) booking and therefore you can follow the same approach as you would normally do when creating new orders using the direct booking method, but with the following differences:\n  \n  * Products that were not in the original order, but found in the amendment request will be added (Add booking to existing order). This allows to easily upsell existing orders and in advanced scenarios add products to the same group / combi codes.\n  \n  * Products with amended quantity will be either partially cancelled or additionally added. Note that we will NOT take into the account the capacity difference.\n    \n    For example if the original booking contains 4 tickets and the remaining capacity prior to the amendment is 2, you are NOT able to upsell towards 6 tickets. Although that there would be sufficient remaining capacity to book the additional 2 tickets, the total required capacity (in this case 6) should be equal or less than the current remaining capacity.\n    \n    We have done this on purpose to prevent concurrency issues when for example the cancellation is delayed and capacity is not released immediately, causing your amendment to fail.\n    This also allows us to block (reserve) your new products first, then cancel your original booking, making sure you never 'lose' your tickets in case of an error.\n    \n  * The total payment difference will be calculated and will be either charged or (partially) refunded. Please note that in case of a surcharge, you might be required to submit an additional payment based on your settlement method and payment configuration.\n  \n    Note that all payments linked to the original order will be returned as well, regardless of the `order_version`.\n  \n  * The `order_reference` and `booking_reference` will be retained and as such the versions will be updated as `order_version + 1` and only the amended booking will be set to `booking_version + 1`.\n  \n  * If the original order contained price variations such as cart discounts, partner discounts or promocodes, those will be re-applied on the amended order as well if applicable.\n  \n  * All booking and cancellation restrictions still apply, if you try to amend any non-cancellable products from the original order (implicitly indicating that you want to cancel those) the request will fail. Similarly you are discouraged (and often not allowed) to cancel any bookings that have already been redeemed. \n  \n    Furthermore, bookings that were already cancelled in the original order should not be passed in the new request. Therefore they will also not be included in the new version.\n    \n  * In case the bookings were already invoiced, the original booking will be credited and a new invoice will be created.\n  \n  * In case a product cannot be cancelled nor amended but additional guests are added, we might create a second booking for the same product.\n  \n  * In case of amendments we have a best effort algorithm to retain the current voucher (codes), but depending on the product, some vouchers will be invalidated and replaced.\n  \n  > Bookings will be directly amended using the direct booking concept, you are unable to revert this action. For third-party products we are heavily relying on their system capabilities. Some do not support amendments and therefore a swift cancel and re-book (with or without capacity block) is required instead.\n    This means that the failure rate on this API can be slightly higher than usual.\n    \n  > It is important that you only sent the booking objects of the bookings you would like to amend, our system does not check which changes are made, instead we simply cancel the original booking and replace it with a new booking.\n\n</details>","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_version\": {{order_version}},\n      \"order_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_platform_id\": \"1\",\n      \"order_platform_name\": \"Platform Name\",\n      \"order_reseller_id\": \"1300\",\n      \"order_reseller_name\": \"Demo reseller\",\n      \"order_distributor_id\": \"501\",\n      \"order_distributor_name\": \"Demo Distributor\",\n      \"order_partner_id\": \"4534543543\",\n      \"order_partner_name\": \"Partner Name\",\n      \"order_reference\": \"ORDRREF123456\",\n      \"order_external_reference\": \"EXTERNALREF123\",\n      \"order_status\": \"ORDER_CONFIRMED\",\n      \"order_settlement_type\": \"EXTERNAL\",\n      \"order_channel\": \"PARTNER\",\n      \"order_language\": \"en\",\n      \"order_version\": 1,\n      \"order_archived\": false,\n      \"order_contacts\": [\n        {\n          \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n          \"contact_version\": 2,\n          \"contact_number\": \"4573246\",\n          \"contact_type\": \"GUEST\",\n          \"contact_title\": \"Mr.\",\n          \"contact_name_first\": \"John\",\n          \"contact_name_last\": \"Doe\",\n          \"contact_email\": \"Johndoe@example.com\",\n          \"contact_phone\": \"+14155552671\",\n          \"contact_mobile\": \"+14155552671\",\n          \"contact_language\": \"NL\",\n          \"contact_nationality\": \"Dutch\",\n          \"contact_flight_number\": \"KL 445\",\n          \"contact_loyalty_number\": \"46564564564547476\",\n          \"contact_birth_place\": \"Amsterdam\",\n          \"contact_birth_date\": \"2019-08-24\",\n          \"contact_passport\": \"JXXXXXXX\",\n          \"contact_gender\": \"MALE\",\n          \"contact_age\": 19,\n          \"contact_redacted\": false,\n          \"contact_room_number\": \"523\",\n          \"contact_website\": \"example.com\",\n          \"contact_company\": {\n            \"company_name\": \"Example LTD.\",\n            \"company_registration_number\": \"string\",\n            \"company_tax_number\": \"string\"\n          },\n          \"contact_classification\": \"IMPORTANT\",\n          \"contact_address\": {\n            \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"name\": \"Start of the Tour / My house / Office / John Doe\",\n            \"street\": \"Amstel 1\",\n            \"addition\": \"Apt B1\",\n            \"city\": \"Amsterdam\",\n            \"postal_code\": \"1011 PN\",\n            \"region\": \"Noord-Holland\",\n            \"country\": \"The Netherlands\",\n            \"country_code\": \"NL\",\n            \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n            \"latitude\": \"52.3785323\",\n            \"longitude\": \"4.893942\",\n            \"notes\": \"It's on the fourth floor\"\n          },\n          \"contact_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"contact_custom_fields\": [\n            {\n              \"custom_field_name\": \"Custom Field Name\",\n              \"custom_field_value\": \"Custom Field Value\",\n              \"custom_field_type\": \"SYSTEM\"\n            }\n          ],\n          \"contact_created\": \"2019-08-24T14:15:22Z\",\n          \"contact_modified\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"order_promocodes\": [\n        {\n          \"promo_title\": \"Christmas Sale 2019\",\n          \"promo_description\": \"20 percent discount during the Christmas days.\",\n          \"promo_code\": \"PROMOCODE_123\"\n        }\n      ],\n      \"order_payments\": [\n        {\n          \"payment_id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"payment_original_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n          \"payment_partner_id\": \"PAYMENT_PARTNER_ID\",\n          \"payment_shift_id\": \"PAYMENT_SHIFT_ID_123\",\n          \"payment_merchant_reference\": \"1478349849927_771663371\",\n          \"payment_external_reference\": \"SHOPPER_REFERENCE\",\n          \"payment_order_reference\": \"ORDRREF123456\",\n          \"payment_booking_references\": [\n            \"BKNGREF123456\"\n          ],\n          \"payment_order_version\": 2,\n          \"payment_status\": \"PAID\",\n          \"payment_method\": \"EXTERNAL\",\n          \"payment_scheme\": \"VISA\",\n          \"payment_type\": \"CAPTURE\",\n          \"payment_link\": \"https://example.com/s?q=K0U2VmVNRGo0SEhGdFVUZ09IK2ViZkdtK1NjPQ==\",\n          \"payment_link_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_authorization_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_recurring\": false,\n          \"payment_recurring_type\": \"STORE\",\n          \"payment_class\": \"SALES\",\n          \"payment_refund_type\": \"SYSTEM\",\n          \"payment_refund_reason\": \"Guest reimbursement\",\n          \"payment_currency_code\": \"EUR\",\n          \"payment_currency_rate\": \"2.5263\",\n          \"payment_currency_amount\": \"10.25\",\n          \"payment_amount\": \"10.00\",\n          \"payment_total\": \"100.00\",\n          \"payment_gateway_details\": {\n            \"payment_merchant_account_name\": \"ExampleMerchant\",\n            \"payment_service_provider_reference\": \"852596799876396F\",\n            \"payment_service_provider_original_reference\": \"882596799845511E\",\n            \"payment_gateway_type\": \"ADYEN\",\n            \"payment_gateway_additional_values\": {\n              \"psp_shopper_name\": \"Checkout Shopper PlaceHolder\",\n              \"psp_shopper_cardnumber\": \"1111\",\n              \"psp_issuer_country\": \"NL\",\n              \"psp_fraudscore\": \"63\",\n              \"psp_payment_status\": \"Settled\"\n            }\n          },\n          \"payment_contact\": {\n            \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n            \"contact_version\": 2,\n            \"contact_number\": \"4573246\",\n            \"contact_type\": \"GUEST\",\n            \"contact_title\": \"Mr.\",\n            \"contact_name_first\": \"John\",\n            \"contact_name_last\": \"Doe\",\n            \"contact_email\": \"Johndoe@example.com\",\n            \"contact_phone\": \"+14155552671\",\n            \"contact_mobile\": \"+14155552671\",\n            \"contact_language\": \"NL\",\n            \"contact_nationality\": \"Dutch\",\n            \"contact_flight_number\": \"KL 445\",\n            \"contact_loyalty_number\": \"46564564564547476\",\n            \"contact_birth_place\": \"Amsterdam\",\n            \"contact_birth_date\": \"2019-08-24\",\n            \"contact_passport\": \"JXXXXXXX\",\n            \"contact_gender\": \"MALE\",\n            \"contact_age\": 19,\n            \"contact_redacted\": false,\n            \"contact_room_number\": \"523\",\n            \"contact_website\": \"example.com\",\n            \"contact_company\": {\n              \"company_name\": \"Example LTD.\",\n              \"company_registration_number\": \"string\",\n              \"company_tax_number\": \"string\"\n            },\n            \"contact_classification\": \"IMPORTANT\",\n            \"contact_address\": {\n              \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n              \"name\": \"Start of the Tour / My house / Office / John Doe\",\n              \"street\": \"Amstel 1\",\n              \"addition\": \"Apt B1\",\n              \"city\": \"Amsterdam\",\n              \"postal_code\": \"1011 PN\",\n              \"region\": \"Noord-Holland\",\n              \"country\": \"The Netherlands\",\n              \"country_code\": \"NL\",\n              \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n              \"latitude\": \"52.3785323\",\n              \"longitude\": \"4.893942\",\n              \"notes\": \"It's on the fourth floor\"\n            },\n            \"contact_notes\": [\n              {\n                \"note_value\": \"Wheelchair assistance required.\",\n                \"note_type\": \"GUEST\",\n                \"note_date\": \"2019-08-24T14:15:22Z\",\n                \"note_creator\": \"Andrew (Supervisor)\"\n              }\n            ],\n            \"contact_custom_fields\": [\n              {\n                \"custom_field_name\": \"Custom Field Name\",\n                \"custom_field_value\": \"Custom Field Value\",\n                \"custom_field_type\": \"SYSTEM\"\n              }\n            ],\n            \"contact_created\": \"2019-08-24T14:15:22Z\",\n            \"contact_modified\": \"2019-08-24T14:15:22Z\"\n          },\n          \"payment_fees\": [\n            {\n              \"fee_label\": \"Credit Card Fee (VISA)\",\n              \"fee_amount\": \"0.10\",\n              \"fee_type\": \"PAYMENT\"\n            }\n          ],\n          \"payment_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"payment_created\": \"2019-08-24T14:15:22Z\",\n          \"payment_created_name\": \"Cashier Name\",\n          \"payment_created_email\": \"cashier@example.com\"\n        }\n      ],\n      \"order_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"CHECKOUT_FIELD_ID\",\n          \"checkout_field_title\": \"First Name\",\n          \"checkout_field_label\": \"Please provide your first name\",\n          \"checkout_field_account_type\": \"DISTRIBUTOR\",\n          \"checkout_field_booking_reference\": [\n            \"string\"\n          ],\n          \"checkout_field_restriction\": \"REQUIRED\",\n          \"checkout_field_level\": \"PRODUCT\",\n          \"checkout_field_unit\": \"string\",\n          \"checkout_field_input_type\": \"SINGLE\",\n          \"checkout_field_type\": \"contact_title\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value_product_type\": \"string\",\n              \"checkout_field_value\": [\n                \"string\"\n              ],\n              \"checkout_field_value_transaction_reference\": \"string\"\n            }\n          ],\n          \"checkout_field_created\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"order_pricing\": {\n        \"price_type\": \"SALES\",\n        \"price_currency_code\": \"EUR\",\n        \"price_currency_rate\": \"1.647\",\n        \"price_subtotal\": \"20.00\",\n        \"price_variations\": [\n          {\n            \"variation_label\": \"Peak Hour\",\n            \"variation_amount\": \"2.50\",\n            \"variation_type\": \"PRODUCT_DYNAMIC\"\n          }\n        ],\n        \"price_promocodes\": [\n          {\n            \"promo_code\": \"PROMOCODE_123\",\n            \"promo_amount\": \"-5.50\"\n          }\n        ],\n        \"price_taxes\": [\n          {\n            \"tax_id\": \"TAX_ID_123\",\n            \"tax_name\": \"VAT Regular 20%\",\n            \"tax_amount\": \"0.65\",\n            \"tax_rate\": \"20.00\"\n          }\n        ],\n        \"price_fees\": [\n          {\n            \"fee_label\": \"Creditcard - Variable Cost\",\n            \"fee_type\": \"SERVICE\",\n            \"fee_amount\": \"0.50\",\n            \"fee_percentage\": \"25.00\",\n            \"fee_tax_id\": \"TAX_ID_123\",\n            \"fee_tax_amount\": \"0.65\",\n            \"fee_included\": true,\n            \"fee_refundable\": true\n          }\n        ],\n        \"price_margins\": [\n          {\n            \"margin_type\": \"SERVICE\",\n            \"margin_amount\": \"0.50\",\n            \"margin_tax_id\": \"TAX_ID_123\",\n            \"margin_tax_amount\": \"0.65\"\n          }\n        ],\n        \"price_total\": \"12.00\"\n      },\n      \"order_credit\": {\n        \"credit_status\": \"ACTIVE\",\n        \"credit_total\": \"100.00\",\n        \"credit_deposit\": \"string\",\n        \"credit_blocked\": \"20.00\",\n        \"credit_used\": \"30.00\",\n        \"credit_remaining\": \"50.00\",\n        \"credit_invoice_interval\": \"MANUAL\",\n        \"credit_invoice_settlement\": \"MANUAL\",\n        \"credit_reset\": \"2019-08-24T14:15:22Z\"\n      },\n      \"order_invoices\": [\n        {\n          \"invoice_id\": \"R-5460521795-20622\",\n          \"invoice_product_id\": \"INVOICE_PRODUCT_ID\",\n          \"invoice_product_quantity\": 3,\n          \"invoice_date\": \"2019-08-24T14:15:22Z\",\n          \"invoice_status\": \"INVOICED\",\n          \"invoice_type\": \"SALE\"\n        }\n      ],\n      \"order_options\": {\n        \"email_options\": {\n          \"email_types\": {\n            \"send_tickets\": false,\n            \"send_receipt\": false,\n            \"send_marketing\": true,\n            \"send_offers\": true,\n            \"send_notification\": true\n          }\n        },\n        \"price_on_voucher\": true\n      },\n      \"order_flags\": [\n        {\n          \"flag_id\": \"223425262\",\n          \"flag_name\": \"Stock Code\",\n          \"flag_type\": \"FLAG\",\n          \"flag_value_id\": \"123BCa1\",\n          \"flag_value\": \"123BCa1\",\n          \"flag_visible\": true\n        }\n      ],\n      \"order_event_details\": [\n        {\n          \"event_order_version\": 2,\n          \"event_note\": \"Change of timeslot on request of customer.\",\n          \"event_type\": \"ORDER_CREATE\",\n          \"event_created\": \"2019-08-24T14:15:22Z\",\n          \"event_creator_user_name\": \"Andrew\",\n          \"event_creator_user_email\": \"supervisor@example.com\",\n          \"event_creator_user_role\": \"Supervisor\"\n        }\n      ],\n      \"order_custom_fields\": [\n        {\n          \"custom_field_name\": \"Custom Field Name\",\n          \"custom_field_value\": \"Custom Field Value\",\n          \"custom_field_type\": \"SYSTEM\"\n        }\n      ],\n      \"order_notes\": [\n        {\n          \"note_value\": \"Wheelchair assistance required.\",\n          \"note_type\": \"GUEST\",\n          \"note_date\": \"2019-08-24T14:15:22Z\",\n          \"note_creator\": \"Andrew (Supervisor)\"\n        }\n      ],\n      \"order_activity_url\": \"https://example.com/orders/ORDRREF123456\",\n      \"order_customer_url\": \"https://example.com/orders/ORDRREF123456\",\n      \"order_created\": \"2019-08-24T14:15:22Z\",\n      \"order_created_name\": \"Demo Cashier\",\n      \"order_created_email\": \"cashier@example.com\",\n      \"order_modified\": \"2019-08-24T14:15:22Z\",\n      \"order_modified_name\": \"Demo Cashier\",\n      \"order_modified_email\": \"cashier@example.com\",\n      \"order_confirmed\": \"2019-08-24T14:15:22Z\",\n      \"order_invoiced\": \"2019-08-24T14:15:22Z\",\n      \"order_cancellation_date_time\": \"2019-08-24T14:15:22Z\",\n      \"order_cancellation_reason\": \"Payment declined\",\n      \"order_view_type\": \"DISTRIBUTOR\",\n      \"order_bookings\": [\n        {\n          \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n          \"booking_status\": \"BOOKING_RESERVED\",\n          \"booking_version\": 1,\n          \"booking_voucher_released\": true,\n          \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n          \"booking_valid_until\": \"2019-08-24T14:15:22Z\",\n          \"booking_invoice_status\": \"INVOICED\",\n          \"booking_language\": \"en\",\n          \"booking_addon_reference\": \"BOOKING_ADDON_REFERENCE_123\",\n          \"booking_pricing\": {\n            \"price_type\": \"SALES\",\n            \"price_currency_code\": \"EUR\",\n            \"price_currency_rate\": \"1.647\",\n            \"price_subtotal\": \"20.00\",\n            \"price_variations\": [\n              {\n                \"variation_label\": \"Peak Hour\",\n                \"variation_amount\": \"2.50\",\n                \"variation_type\": \"PRODUCT_DYNAMIC\"\n              }\n            ],\n            \"price_promocodes\": [\n              {\n                \"promo_code\": \"PROMOCODE_123\",\n                \"promo_amount\": \"-5.50\"\n              }\n            ],\n            \"price_taxes\": [\n              {\n                \"tax_id\": \"TAX_ID_123\",\n                \"tax_name\": \"VAT Regular 20%\",\n                \"tax_amount\": \"0.65\",\n                \"tax_rate\": \"20.00\"\n              }\n            ],\n            \"price_fees\": [\n              {\n                \"fee_label\": \"Creditcard - Variable Cost\",\n                \"fee_type\": \"SERVICE\",\n                \"fee_amount\": \"0.50\",\n                \"fee_percentage\": \"25.00\",\n                \"fee_tax_id\": \"TAX_ID_123\",\n                \"fee_tax_amount\": \"0.65\",\n                \"fee_included\": true,\n                \"fee_refundable\": true\n              }\n            ],\n            \"price_margins\": [\n              {\n                \"margin_type\": \"SERVICE\",\n                \"margin_amount\": \"0.50\",\n                \"margin_tax_id\": \"TAX_ID_123\",\n                \"margin_tax_amount\": \"0.65\"\n              }\n            ],\n            \"price_total\": \"12.00\"\n          },\n          \"booking_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"booking_customer_url\": \"https://example.com/orders/ORDRREF123456\",\n          \"booking_created\": \"2019-08-24T14:15:22Z\",\n          \"booking_modified\": \"2019-08-24T14:15:22Z\",\n          \"booking_confirmed\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancelled\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancellation_reason\": \"Payment declined\",\n          \"product_id\": \"10001\",\n          \"product_relation_id\": \"MAIN_PRODUCT_ID_123\",\n          \"product_pickup_point_id\": \"PICKUP_POINT_ID_123\",\n          \"product_pickup_point\": {\n            \"pickup_point_id\": \"PICKUP_POINT_ID_123\",\n            \"pickup_point_name\": \"Walkingtour at the Wyndham Apollo Hotel\",\n            \"pickup_point_type\": \"FIXED\",\n            \"pickup_point_description\": \"Meet at the Wyndham Apollo hotel.\",\n            \"pickup_point_location\": \"LOCATION_ID_123\",\n            \"pickup_point_time\": \"10:00\",\n            \"pickup_point_times\": [\n              \"10:00\"\n            ],\n            \"pickup_point_duration\": 30,\n            \"pickup_point_availability_dependency\": false\n          },\n          \"product_availability_id\": \"20191026090010006526\",\n          \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_capacity_id\": \"43525235\",\n          \"product_availability_capacity_shared_id\": \"435252453\",\n          \"product_title\": \"Test Product\",\n          \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n          \"product_supplier_name\": \"Test Museum\",\n          \"product_supplier_admin_id\": \"PRODUCT_SUPPLIER_ADMIN_ID\",\n          \"product_supplier_admin_name\": \"Supplier Admin Name\",\n          \"product_market_admin_id\": \"345345342\",\n          \"product_market_admin_name\": \"Market Admin Name\",\n          \"product_source_id\": \"34564574\",\n          \"product_source_name\": \"Example source\",\n          \"product_entry_notes\": \"Reconfirmation: Please call or email atleast 72 hour in advance to reconfirm your arrival.\",\n          \"product_admission_type\": \"TIME_PERIOD\",\n          \"product_currency_code\": \"USD\",\n          \"product_cancellation_allowed\": true,\n          \"product_options\": [\n            {\n              \"option_id\": \"1118\",\n              \"option_value_text\": \"string\",\n              \"option_values\": [\n                {\n                  \"value_id\": \"4921\",\n                  \"value_name\": \"Wine\",\n                  \"value_price\": \"8.00\",\n                  \"value_price_tax_id\": \"TAX_ID_123\",\n                  \"value_price_tax_amount\": \"0.65\",\n                  \"value_product_type_id\": \"ADULT_123\",\n                  \"value_count\": 2\n                }\n              ]\n            }\n          ],\n          \"product_combi_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [\n                    null\n                  ],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  },\n                  \"product_type_transaction_id\": \"159118380521834001\",\n                  \"product_type_status\": \"CONFIRMED\",\n                  \"product_type_redemption_status\": \"REDEEMED\",\n                  \"product_type_payment_status\": \"PAID\",\n                  \"product_type_redemption_date_time\": \"2019-08-24T14:15:22Z\",\n                  \"product_type_redemption_user_name\": \"string\",\n                  \"product_type_redemption_user_email\": \"user@example.com\",\n                  \"product_type_pass_details\": {\n                    \"pass_redemptions\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n              \"product_code\": \"1539762088951995\",\n              \"product_code_settings\": {\n                \"product_code_format\": \"QR_CODE\",\n                \"product_code_source\": \"Distributor\",\n                \"product_group_code\": true,\n                \"product_combi_code\": true,\n                \"product_city_card\": false,\n                \"product_voucher_settings\": \"SINGLE\",\n                \"product_code_release_date\": \"2019-08-24T14:15:22Z\",\n                \"product_code_release_details\": [\n                  \"ORDER_CONFIRMATION\"\n                ]\n              },\n              \"booking_supplier_reference\": \"BOOKING_SUPPLIER_REFERENCE_123\"\n            }\n          ],\n          \"product_bundle_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [\n                    null\n                  ],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  },\n                  \"product_type_transaction_id\": \"159118380521834001\",\n                  \"product_type_status\": \"CONFIRMED\",\n                  \"product_type_redemption_status\": \"REDEEMED\",\n                  \"product_type_payment_status\": \"PAID\",\n                  \"product_type_redemption_date_time\": \"2019-08-24T14:15:22Z\",\n                  \"product_type_redemption_user_name\": \"string\",\n                  \"product_type_redemption_user_email\": \"user@example.com\",\n                  \"product_type_pass_details\": {\n                    \"pass_redemptions\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n              \"product_code\": \"1539762088951995\",\n              \"product_code_settings\": {\n                \"product_code_format\": \"QR_CODE\",\n                \"product_code_source\": \"Distributor\",\n                \"product_group_code\": true,\n                \"product_combi_code\": true,\n                \"product_city_card\": false,\n                \"product_voucher_settings\": \"SINGLE\",\n                \"product_code_release_date\": \"2019-08-24T14:15:22Z\",\n                \"product_code_release_details\": [\n                  \"ORDER_CONFIRMATION\"\n                ]\n              },\n              \"booking_supplier_reference\": \"BOOKING_SUPPLIER_REFERENCE_123\"\n            }\n          ],\n          \"product_addon_details\": [\n            {\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_order_reference\": \"BOOKING_ORDER_REFERENCE\",\n              \"booking_reference\": \"BOOKING_REF123\"\n            }\n          ],\n          \"product_code\": \"1539762088951995\",\n          \"product_code_settings\": {\n            \"product_code_format\": \"QR_CODE\",\n            \"product_code_source\": \"Distributor\",\n            \"product_group_code\": true,\n            \"product_combi_code\": true,\n            \"product_city_card\": false,\n            \"product_voucher_settings\": \"SINGLE\",\n            \"product_code_release_date\": \"2019-08-24T14:15:22Z\",\n            \"product_code_release_details\": [\n              \"ORDER_CONFIRMATION\"\n            ]\n          },\n          \"product_type_details\": [\n            {\n              \"product_type\": \"ADULT\",\n              \"product_type_class\": \"STANDARD\",\n              \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n              \"product_type_label\": \"Adult\",\n              \"product_type_age_from\": 18,\n              \"product_type_age_to\": 65,\n              \"product_type_count\": 1,\n              \"product_type_pax\": 1,\n              \"product_type_capacity\": 1,\n              \"product_type_spots\": [\n                {\n                  \"spot_id\": \"345346363463\",\n                  \"spot_name\": \"Regular seat\",\n                  \"spot_section\": \"VIP Area\",\n                  \"spot_row\": \"F\",\n                  \"spot_number\": \"5\",\n                  \"spot_type\": \"SEAT\",\n                  \"spot_state\": \"AVAILABLE\"\n                }\n              ],\n              \"product_type_code\": \"1539762088951995\",\n              \"product_type_pricing\": {\n                \"price_type\": \"SALES\",\n                \"price_currency_code\": \"EUR\",\n                \"price_currency_rate\": \"1.647\",\n                \"price_subtotal\": \"20.00\",\n                \"price_variations\": [\n                  {\n                    \"variation_label\": \"Peak Hour\",\n                    \"variation_amount\": \"2.50\",\n                    \"variation_type\": \"PRODUCT_DYNAMIC\"\n                  }\n                ],\n                \"price_promocodes\": [\n                  {}\n                ],\n                \"price_taxes\": [\n                  {}\n                ],\n                \"price_fees\": [\n                  {}\n                ],\n                \"price_margins\": [\n                  {}\n                ],\n                \"price_total\": \"12.00\"\n              },\n              \"product_type_transaction_id\": \"159118380521834001\",\n              \"product_type_status\": \"CONFIRMED\",\n              \"product_type_redemption_status\": \"REDEEMED\",\n              \"product_type_payment_status\": \"PAID\",\n              \"product_type_redemption_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_type_redemption_user_name\": \"string\",\n              \"product_type_redemption_user_email\": \"user@example.com\",\n              \"product_type_pass_details\": {\n                \"pass_code\": \"string\",\n                \"pass_duration\": {\n                  \"pass_duration_start\": \"2018-06-26T12:08:47Z\",\n                  \"pass_duration_end\": \"2018-06-26T12:08:47Z\",\n                  \"pass_duration_total\": 86400,\n                  \"pass_duration_remaining\": 3600\n                },\n                \"pass_redemptions\": [\n                  {}\n                ]\n              }\n            }\n          ],\n          \"product_cancellation_policies\": [\n            {\n              \"cancellation_description\": \"Please cancel any booking 1 hour in advance.\",\n              \"cancellation_type\": \"TRAVEL_DATE\",\n              \"cancellation_fee_threshold\": 3600,\n              \"cancellation_fee_percentage\": 20.5,\n              \"cancellation_fee_amount\": \"5.00\"\n            }\n          ],\n          \"booking_reference\": \"BOOKING_REFERENCE_123\",\n          \"booking_supplier_reference\": \"BOOKING_SUPPLIER_REFERENCE_123\"\n        }\n      ]\n    }\n  }\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to update an order or booking. Regular users should only update basic order details such as contact information.\nFor requesting other timeslots or changing the booking count, we recommend that you cancel the current order and rebook.\n> Make sure that you provide the complete top-level order object and that all original fields with either the current or amended values (e.g. `order_distributor_id`, `order_external_reference`, all `order_contacts` etc) are sent,  missing (optional) fields will be removed from our records. Note that the opposite is true for `order_bookings`, only the bookings you would like to amend should be provided (see advanced functionality below).\n---\n### **Advanced Functionality**\n<details>\n  <summary>**Amending confirmed orders**</summary>\n\n  We always recommend that you do a full cancellation and create a new order in case of amendments.\n  \n  Alternatively we have the advanced method of amending an existing order with the following benefits:\n  \n  * Versioning history on order and booking level.\n  \n  * Best effort algorithm to retain your existing vouchers or adding additional bookings to your combi-passes.\n  \n  * Payment credit system where existing payments are stored for later purchases.\n  \n  * Keeping the same `order_reference`.\n  \n  \n  In case you would like to fully amend an existing order, but retain the same `order_reference`, you can sent the amended booking details with the same `booking_reference` in the request. The original booking will be fully replaced with the newly created (confirmed) booking and therefore you can follow the same approach as you would normally do when creating new orders using the direct booking method, but with the following differences:\n  \n  * Products that were not in the original order, but found in the amendment request will be added (Add booking to existing order). This allows to easily upsell existing orders and in advanced scenarios add products to the same group / combi codes.\n  \n  * Products with amended quantity will be either partially cancelled or additionally added. Note that we will NOT take into the account the capacity difference.\n    \n    For example if the original booking contains 4 tickets and the remaining capacity prior to the amendment is 2, you are NOT able to upsell towards 6 tickets. Although that there would be sufficient remaining capacity to book the additional 2 tickets, the total required capacity (in this case 6) should be equal or less than the current remaining capacity.\n    \n    We have done this on purpose to prevent concurrency issues when for example the cancellation is delayed and capacity is not released immediately, causing your amendment to fail.\n    This also allows us to block (reserve) your new products first, then cancel your original booking, making sure you never 'lose' your tickets in case of an error.\n    \n  * The total payment difference will be calculated and will be either charged or (partially) refunded. Please note that in case of a surcharge, you might be required to submit an additional payment based on your settlement method and payment configuration.\n  \n    Note that all payments linked to the original order will be returned as well, regardless of the `order_version`.\n  \n  * The `order_reference` and `booking_reference` will be retained and as such the versions will be updated as `order_version + 1` and only the amended booking will be set to `booking_version + 1`.\n  \n  * If the original order contained price variations such as cart discounts, partner discounts or promocodes, those will be re-applied on the amended order as well if applicable.\n  \n  * All booking and cancellation restrictions still apply, if you try to amend any non-cancellable products from the original order (implicitly indicating that you want to cancel those) the request will fail. Similarly you are discouraged (and often not allowed) to cancel any bookings that have already been redeemed. \n  \n    Furthermore, bookings that were already cancelled in the original order should not be passed in the new request. Therefore they will also not be included in the new version.\n    \n  * In case the bookings were already invoiced, the original booking will be credited and a new invoice will be created.\n  \n  * In case a product cannot be cancelled nor amended but additional guests are added, we might create a second booking for the same product.\n  \n  * In case of amendments we have a best effort algorithm to retain the current voucher (codes), but depending on the product, some vouchers will be invalidated and replaced.\n  \n  > Bookings will be directly amended using the direct booking concept, you are unable to revert this action. For third-party products we are heavily relying on their system capabilities. Some do not support amendments and therefore a swift cancel and re-book (with or without capacity block) is required instead.\n    This means that the failure rate on this API can be slightly higher than usual.\n    \n  > It is important that you only sent the booking objects of the bookings you would like to amend, our system does not check which changes are made, instead we simply cancel the original booking and replace it with a new booking.\n\n</details>","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_version\": {{order_version}},\n      \"order_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to update an order or booking. Regular users should only update basic order details such as contact information.\nFor requesting other timeslots or changing the booking count, we recommend that you cancel the current order and rebook.\n> Make sure that you provide the complete top-level order object and that all original fields with either the current or amended values (e.g. `order_distributor_id`, `order_external_reference`, all `order_contacts` etc) are sent,  missing (optional) fields will be removed from our records. Note that the opposite is true for `order_bookings`, only the bookings you would like to amend should be provided (see advanced functionality below).\n---\n### **Advanced Functionality**\n<details>\n  <summary>**Amending confirmed orders**</summary>\n\n  We always recommend that you do a full cancellation and create a new order in case of amendments.\n  \n  Alternatively we have the advanced method of amending an existing order with the following benefits:\n  \n  * Versioning history on order and booking level.\n  \n  * Best effort algorithm to retain your existing vouchers or adding additional bookings to your combi-passes.\n  \n  * Payment credit system where existing payments are stored for later purchases.\n  \n  * Keeping the same `order_reference`.\n  \n  \n  In case you would like to fully amend an existing order, but retain the same `order_reference`, you can sent the amended booking details with the same `booking_reference` in the request. The original booking will be fully replaced with the newly created (confirmed) booking and therefore you can follow the same approach as you would normally do when creating new orders using the direct booking method, but with the following differences:\n  \n  * Products that were not in the original order, but found in the amendment request will be added (Add booking to existing order). This allows to easily upsell existing orders and in advanced scenarios add products to the same group / combi codes.\n  \n  * Products with amended quantity will be either partially cancelled or additionally added. Note that we will NOT take into the account the capacity difference.\n    \n    For example if the original booking contains 4 tickets and the remaining capacity prior to the amendment is 2, you are NOT able to upsell towards 6 tickets. Although that there would be sufficient remaining capacity to book the additional 2 tickets, the total required capacity (in this case 6) should be equal or less than the current remaining capacity.\n    \n    We have done this on purpose to prevent concurrency issues when for example the cancellation is delayed and capacity is not released immediately, causing your amendment to fail.\n    This also allows us to block (reserve) your new products first, then cancel your original booking, making sure you never 'lose' your tickets in case of an error.\n    \n  * The total payment difference will be calculated and will be either charged or (partially) refunded. Please note that in case of a surcharge, you might be required to submit an additional payment based on your settlement method and payment configuration.\n  \n    Note that all payments linked to the original order will be returned as well, regardless of the `order_version`.\n  \n  * The `order_reference` and `booking_reference` will be retained and as such the versions will be updated as `order_version + 1` and only the amended booking will be set to `booking_version + 1`.\n  \n  * If the original order contained price variations such as cart discounts, partner discounts or promocodes, those will be re-applied on the amended order as well if applicable.\n  \n  * All booking and cancellation restrictions still apply, if you try to amend any non-cancellable products from the original order (implicitly indicating that you want to cancel those) the request will fail. Similarly you are discouraged (and often not allowed) to cancel any bookings that have already been redeemed. \n  \n    Furthermore, bookings that were already cancelled in the original order should not be passed in the new request. Therefore they will also not be included in the new version.\n    \n  * In case the bookings were already invoiced, the original booking will be credited and a new invoice will be created.\n  \n  * In case a product cannot be cancelled nor amended but additional guests are added, we might create a second booking for the same product.\n  \n  * In case of amendments we have a best effort algorithm to retain the current voucher (codes), but depending on the product, some vouchers will be invalidated and replaced.\n  \n  > Bookings will be directly amended using the direct booking concept, you are unable to revert this action. For third-party products we are heavily relying on their system capabilities. Some do not support amendments and therefore a swift cancel and re-book (with or without capacity block) is required instead.\n    This means that the failure rate on this API can be slightly higher than usual.\n    \n  > It is important that you only sent the booking objects of the bookings you would like to amend, our system does not check which changes are made, instead we simply cancel the original booking and replace it with a new booking.\n\n</details>","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_version\": {{order_version}},\n      \"order_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to update an order or booking. Regular users should only update basic order details such as contact information.\nFor requesting other timeslots or changing the booking count, we recommend that you cancel the current order and rebook.\n> Make sure that you provide the complete top-level order object and that all original fields with either the current or amended values (e.g. `order_distributor_id`, `order_external_reference`, all `order_contacts` etc) are sent,  missing (optional) fields will be removed from our records. Note that the opposite is true for `order_bookings`, only the bookings you would like to amend should be provided (see advanced functionality below).\n---\n### **Advanced Functionality**\n<details>\n  <summary>**Amending confirmed orders**</summary>\n\n  We always recommend that you do a full cancellation and create a new order in case of amendments.\n  \n  Alternatively we have the advanced method of amending an existing order with the following benefits:\n  \n  * Versioning history on order and booking level.\n  \n  * Best effort algorithm to retain your existing vouchers or adding additional bookings to your combi-passes.\n  \n  * Payment credit system where existing payments are stored for later purchases.\n  \n  * Keeping the same `order_reference`.\n  \n  \n  In case you would like to fully amend an existing order, but retain the same `order_reference`, you can sent the amended booking details with the same `booking_reference` in the request. The original booking will be fully replaced with the newly created (confirmed) booking and therefore you can follow the same approach as you would normally do when creating new orders using the direct booking method, but with the following differences:\n  \n  * Products that were not in the original order, but found in the amendment request will be added (Add booking to existing order). This allows to easily upsell existing orders and in advanced scenarios add products to the same group / combi codes.\n  \n  * Products with amended quantity will be either partially cancelled or additionally added. Note that we will NOT take into the account the capacity difference.\n    \n    For example if the original booking contains 4 tickets and the remaining capacity prior to the amendment is 2, you are NOT able to upsell towards 6 tickets. Although that there would be sufficient remaining capacity to book the additional 2 tickets, the total required capacity (in this case 6) should be equal or less than the current remaining capacity.\n    \n    We have done this on purpose to prevent concurrency issues when for example the cancellation is delayed and capacity is not released immediately, causing your amendment to fail.\n    This also allows us to block (reserve) your new products first, then cancel your original booking, making sure you never 'lose' your tickets in case of an error.\n    \n  * The total payment difference will be calculated and will be either charged or (partially) refunded. Please note that in case of a surcharge, you might be required to submit an additional payment based on your settlement method and payment configuration.\n  \n    Note that all payments linked to the original order will be returned as well, regardless of the `order_version`.\n  \n  * The `order_reference` and `booking_reference` will be retained and as such the versions will be updated as `order_version + 1` and only the amended booking will be set to `booking_version + 1`.\n  \n  * If the original order contained price variations such as cart discounts, partner discounts or promocodes, those will be re-applied on the amended order as well if applicable.\n  \n  * All booking and cancellation restrictions still apply, if you try to amend any non-cancellable products from the original order (implicitly indicating that you want to cancel those) the request will fail. Similarly you are discouraged (and often not allowed) to cancel any bookings that have already been redeemed. \n  \n    Furthermore, bookings that were already cancelled in the original order should not be passed in the new request. Therefore they will also not be included in the new version.\n    \n  * In case the bookings were already invoiced, the original booking will be credited and a new invoice will be created.\n  \n  * In case a product cannot be cancelled nor amended but additional guests are added, we might create a second booking for the same product.\n  \n  * In case of amendments we have a best effort algorithm to retain the current voucher (codes), but depending on the product, some vouchers will be invalidated and replaced.\n  \n  > Bookings will be directly amended using the direct booking concept, you are unable to revert this action. For third-party products we are heavily relying on their system capabilities. Some do not support amendments and therefore a swift cancel and re-book (with or without capacity block) is required instead.\n    This means that the failure rate on this API can be slightly higher than usual.\n    \n  > It is important that you only sent the booking objects of the bookings you would like to amend, our system does not check which changes are made, instead we simply cancel the original booking and replace it with a new booking.\n\n</details>","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_version\": {{order_version}},\n      \"order_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"409 - Check current resource state and version before retrying.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to update an order or booking. Regular users should only update basic order details such as contact information.\nFor requesting other timeslots or changing the booking count, we recommend that you cancel the current order and rebook.\n> Make sure that you provide the complete top-level order object and that all original fields with either the current or amended values (e.g. `order_distributor_id`, `order_external_reference`, all `order_contacts` etc) are sent,  missing (optional) fields will be removed from our records. Note that the opposite is true for `order_bookings`, only the bookings you would like to amend should be provided (see advanced functionality below).\n---\n### **Advanced Functionality**\n<details>\n  <summary>**Amending confirmed orders**</summary>\n\n  We always recommend that you do a full cancellation and create a new order in case of amendments.\n  \n  Alternatively we have the advanced method of amending an existing order with the following benefits:\n  \n  * Versioning history on order and booking level.\n  \n  * Best effort algorithm to retain your existing vouchers or adding additional bookings to your combi-passes.\n  \n  * Payment credit system where existing payments are stored for later purchases.\n  \n  * Keeping the same `order_reference`.\n  \n  \n  In case you would like to fully amend an existing order, but retain the same `order_reference`, you can sent the amended booking details with the same `booking_reference` in the request. The original booking will be fully replaced with the newly created (confirmed) booking and therefore you can follow the same approach as you would normally do when creating new orders using the direct booking method, but with the following differences:\n  \n  * Products that were not in the original order, but found in the amendment request will be added (Add booking to existing order). This allows to easily upsell existing orders and in advanced scenarios add products to the same group / combi codes.\n  \n  * Products with amended quantity will be either partially cancelled or additionally added. Note that we will NOT take into the account the capacity difference.\n    \n    For example if the original booking contains 4 tickets and the remaining capacity prior to the amendment is 2, you are NOT able to upsell towards 6 tickets. Although that there would be sufficient remaining capacity to book the additional 2 tickets, the total required capacity (in this case 6) should be equal or less than the current remaining capacity.\n    \n    We have done this on purpose to prevent concurrency issues when for example the cancellation is delayed and capacity is not released immediately, causing your amendment to fail.\n    This also allows us to block (reserve) your new products first, then cancel your original booking, making sure you never 'lose' your tickets in case of an error.\n    \n  * The total payment difference will be calculated and will be either charged or (partially) refunded. Please note that in case of a surcharge, you might be required to submit an additional payment based on your settlement method and payment configuration.\n  \n    Note that all payments linked to the original order will be returned as well, regardless of the `order_version`.\n  \n  * The `order_reference` and `booking_reference` will be retained and as such the versions will be updated as `order_version + 1` and only the amended booking will be set to `booking_version + 1`.\n  \n  * If the original order contained price variations such as cart discounts, partner discounts or promocodes, those will be re-applied on the amended order as well if applicable.\n  \n  * All booking and cancellation restrictions still apply, if you try to amend any non-cancellable products from the original order (implicitly indicating that you want to cancel those) the request will fail. Similarly you are discouraged (and often not allowed) to cancel any bookings that have already been redeemed. \n  \n    Furthermore, bookings that were already cancelled in the original order should not be passed in the new request. Therefore they will also not be included in the new version.\n    \n  * In case the bookings were already invoiced, the original booking will be credited and a new invoice will be created.\n  \n  * In case a product cannot be cancelled nor amended but additional guests are added, we might create a second booking for the same product.\n  \n  * In case of amendments we have a best effort algorithm to retain the current voucher (codes), but depending on the product, some vouchers will be invalidated and replaced.\n  \n  > Bookings will be directly amended using the direct booking concept, you are unable to revert this action. For third-party products we are heavily relying on their system capabilities. Some do not support amendments and therefore a swift cancel and re-book (with or without capacity block) is required instead.\n    This means that the failure rate on this API can be slightly higher than usual.\n    \n  > It is important that you only sent the booking objects of the bookings you would like to amend, our system does not check which changes are made, instead we simply cancel the original booking and replace it with a new booking.\n\n</details>","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_version\": {{order_version}},\n      \"order_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"CONFLICT\",\n  \"error_description\": \"Check current resource state and version before retrying.\",\n  \"error_message\": \"Check current resource state and version before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to update an order or booking. Regular users should only update basic order details such as contact information.\nFor requesting other timeslots or changing the booking count, we recommend that you cancel the current order and rebook.\n> Make sure that you provide the complete top-level order object and that all original fields with either the current or amended values (e.g. `order_distributor_id`, `order_external_reference`, all `order_contacts` etc) are sent,  missing (optional) fields will be removed from our records. Note that the opposite is true for `order_bookings`, only the bookings you would like to amend should be provided (see advanced functionality below).\n---\n### **Advanced Functionality**\n<details>\n  <summary>**Amending confirmed orders**</summary>\n\n  We always recommend that you do a full cancellation and create a new order in case of amendments.\n  \n  Alternatively we have the advanced method of amending an existing order with the following benefits:\n  \n  * Versioning history on order and booking level.\n  \n  * Best effort algorithm to retain your existing vouchers or adding additional bookings to your combi-passes.\n  \n  * Payment credit system where existing payments are stored for later purchases.\n  \n  * Keeping the same `order_reference`.\n  \n  \n  In case you would like to fully amend an existing order, but retain the same `order_reference`, you can sent the amended booking details with the same `booking_reference` in the request. The original booking will be fully replaced with the newly created (confirmed) booking and therefore you can follow the same approach as you would normally do when creating new orders using the direct booking method, but with the following differences:\n  \n  * Products that were not in the original order, but found in the amendment request will be added (Add booking to existing order). This allows to easily upsell existing orders and in advanced scenarios add products to the same group / combi codes.\n  \n  * Products with amended quantity will be either partially cancelled or additionally added. Note that we will NOT take into the account the capacity difference.\n    \n    For example if the original booking contains 4 tickets and the remaining capacity prior to the amendment is 2, you are NOT able to upsell towards 6 tickets. Although that there would be sufficient remaining capacity to book the additional 2 tickets, the total required capacity (in this case 6) should be equal or less than the current remaining capacity.\n    \n    We have done this on purpose to prevent concurrency issues when for example the cancellation is delayed and capacity is not released immediately, causing your amendment to fail.\n    This also allows us to block (reserve) your new products first, then cancel your original booking, making sure you never 'lose' your tickets in case of an error.\n    \n  * The total payment difference will be calculated and will be either charged or (partially) refunded. Please note that in case of a surcharge, you might be required to submit an additional payment based on your settlement method and payment configuration.\n  \n    Note that all payments linked to the original order will be returned as well, regardless of the `order_version`.\n  \n  * The `order_reference` and `booking_reference` will be retained and as such the versions will be updated as `order_version + 1` and only the amended booking will be set to `booking_version + 1`.\n  \n  * If the original order contained price variations such as cart discounts, partner discounts or promocodes, those will be re-applied on the amended order as well if applicable.\n  \n  * All booking and cancellation restrictions still apply, if you try to amend any non-cancellable products from the original order (implicitly indicating that you want to cancel those) the request will fail. Similarly you are discouraged (and often not allowed) to cancel any bookings that have already been redeemed. \n  \n    Furthermore, bookings that were already cancelled in the original order should not be passed in the new request. Therefore they will also not be included in the new version.\n    \n  * In case the bookings were already invoiced, the original booking will be credited and a new invoice will be created.\n  \n  * In case a product cannot be cancelled nor amended but additional guests are added, we might create a second booking for the same product.\n  \n  * In case of amendments we have a best effort algorithm to retain the current voucher (codes), but depending on the product, some vouchers will be invalidated and replaced.\n  \n  > Bookings will be directly amended using the direct booking concept, you are unable to revert this action. For third-party products we are heavily relying on their system capabilities. Some do not support amendments and therefore a swift cancel and re-book (with or without capacity block) is required instead.\n    This means that the failure rate on this API can be slightly higher than usual.\n    \n  > It is important that you only sent the booking objects of the bookings you would like to amend, our system does not check which changes are made, instead we simply cancel the original booking and replace it with a new booking.\n\n</details>","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_version\": {{order_version}},\n      \"order_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to update an order or booking. Regular users should only update basic order details such as contact information.\nFor requesting other timeslots or changing the booking count, we recommend that you cancel the current order and rebook.\n> Make sure that you provide the complete top-level order object and that all original fields with either the current or amended values (e.g. `order_distributor_id`, `order_external_reference`, all `order_contacts` etc) are sent,  missing (optional) fields will be removed from our records. Note that the opposite is true for `order_bookings`, only the bookings you would like to amend should be provided (see advanced functionality below).\n---\n### **Advanced Functionality**\n<details>\n  <summary>**Amending confirmed orders**</summary>\n\n  We always recommend that you do a full cancellation and create a new order in case of amendments.\n  \n  Alternatively we have the advanced method of amending an existing order with the following benefits:\n  \n  * Versioning history on order and booking level.\n  \n  * Best effort algorithm to retain your existing vouchers or adding additional bookings to your combi-passes.\n  \n  * Payment credit system where existing payments are stored for later purchases.\n  \n  * Keeping the same `order_reference`.\n  \n  \n  In case you would like to fully amend an existing order, but retain the same `order_reference`, you can sent the amended booking details with the same `booking_reference` in the request. The original booking will be fully replaced with the newly created (confirmed) booking and therefore you can follow the same approach as you would normally do when creating new orders using the direct booking method, but with the following differences:\n  \n  * Products that were not in the original order, but found in the amendment request will be added (Add booking to existing order). This allows to easily upsell existing orders and in advanced scenarios add products to the same group / combi codes.\n  \n  * Products with amended quantity will be either partially cancelled or additionally added. Note that we will NOT take into the account the capacity difference.\n    \n    For example if the original booking contains 4 tickets and the remaining capacity prior to the amendment is 2, you are NOT able to upsell towards 6 tickets. Although that there would be sufficient remaining capacity to book the additional 2 tickets, the total required capacity (in this case 6) should be equal or less than the current remaining capacity.\n    \n    We have done this on purpose to prevent concurrency issues when for example the cancellation is delayed and capacity is not released immediately, causing your amendment to fail.\n    This also allows us to block (reserve) your new products first, then cancel your original booking, making sure you never 'lose' your tickets in case of an error.\n    \n  * The total payment difference will be calculated and will be either charged or (partially) refunded. Please note that in case of a surcharge, you might be required to submit an additional payment based on your settlement method and payment configuration.\n  \n    Note that all payments linked to the original order will be returned as well, regardless of the `order_version`.\n  \n  * The `order_reference` and `booking_reference` will be retained and as such the versions will be updated as `order_version + 1` and only the amended booking will be set to `booking_version + 1`.\n  \n  * If the original order contained price variations such as cart discounts, partner discounts or promocodes, those will be re-applied on the amended order as well if applicable.\n  \n  * All booking and cancellation restrictions still apply, if you try to amend any non-cancellable products from the original order (implicitly indicating that you want to cancel those) the request will fail. Similarly you are discouraged (and often not allowed) to cancel any bookings that have already been redeemed. \n  \n    Furthermore, bookings that were already cancelled in the original order should not be passed in the new request. Therefore they will also not be included in the new version.\n    \n  * In case the bookings were already invoiced, the original booking will be credited and a new invoice will be created.\n  \n  * In case a product cannot be cancelled nor amended but additional guests are added, we might create a second booking for the same product.\n  \n  * In case of amendments we have a best effort algorithm to retain the current voucher (codes), but depending on the product, some vouchers will be invalidated and replaced.\n  \n  > Bookings will be directly amended using the direct booking concept, you are unable to revert this action. For third-party products we are heavily relying on their system capabilities. Some do not support amendments and therefore a swift cancel and re-book (with or without capacity block) is required instead.\n    This means that the failure rate on this API can be slightly higher than usual.\n    \n  > It is important that you only sent the booking objects of the bookings you would like to amend, our system does not check which changes are made, instead we simply cancel the original booking and replace it with a new booking.\n\n</details>","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_version\": {{order_version}},\n      \"order_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to update an order or booking. Regular users should only update basic order details such as contact information.\nFor requesting other timeslots or changing the booking count, we recommend that you cancel the current order and rebook.\n> Make sure that you provide the complete top-level order object and that all original fields with either the current or amended values (e.g. `order_distributor_id`, `order_external_reference`, all `order_contacts` etc) are sent,  missing (optional) fields will be removed from our records. Note that the opposite is true for `order_bookings`, only the bookings you would like to amend should be provided (see advanced functionality below).\n---\n### **Advanced Functionality**\n<details>\n  <summary>**Amending confirmed orders**</summary>\n\n  We always recommend that you do a full cancellation and create a new order in case of amendments.\n  \n  Alternatively we have the advanced method of amending an existing order with the following benefits:\n  \n  * Versioning history on order and booking level.\n  \n  * Best effort algorithm to retain your existing vouchers or adding additional bookings to your combi-passes.\n  \n  * Payment credit system where existing payments are stored for later purchases.\n  \n  * Keeping the same `order_reference`.\n  \n  \n  In case you would like to fully amend an existing order, but retain the same `order_reference`, you can sent the amended booking details with the same `booking_reference` in the request. The original booking will be fully replaced with the newly created (confirmed) booking and therefore you can follow the same approach as you would normally do when creating new orders using the direct booking method, but with the following differences:\n  \n  * Products that were not in the original order, but found in the amendment request will be added (Add booking to existing order). This allows to easily upsell existing orders and in advanced scenarios add products to the same group / combi codes.\n  \n  * Products with amended quantity will be either partially cancelled or additionally added. Note that we will NOT take into the account the capacity difference.\n    \n    For example if the original booking contains 4 tickets and the remaining capacity prior to the amendment is 2, you are NOT able to upsell towards 6 tickets. Although that there would be sufficient remaining capacity to book the additional 2 tickets, the total required capacity (in this case 6) should be equal or less than the current remaining capacity.\n    \n    We have done this on purpose to prevent concurrency issues when for example the cancellation is delayed and capacity is not released immediately, causing your amendment to fail.\n    This also allows us to block (reserve) your new products first, then cancel your original booking, making sure you never 'lose' your tickets in case of an error.\n    \n  * The total payment difference will be calculated and will be either charged or (partially) refunded. Please note that in case of a surcharge, you might be required to submit an additional payment based on your settlement method and payment configuration.\n  \n    Note that all payments linked to the original order will be returned as well, regardless of the `order_version`.\n  \n  * The `order_reference` and `booking_reference` will be retained and as such the versions will be updated as `order_version + 1` and only the amended booking will be set to `booking_version + 1`.\n  \n  * If the original order contained price variations such as cart discounts, partner discounts or promocodes, those will be re-applied on the amended order as well if applicable.\n  \n  * All booking and cancellation restrictions still apply, if you try to amend any non-cancellable products from the original order (implicitly indicating that you want to cancel those) the request will fail. Similarly you are discouraged (and often not allowed) to cancel any bookings that have already been redeemed. \n  \n    Furthermore, bookings that were already cancelled in the original order should not be passed in the new request. Therefore they will also not be included in the new version.\n    \n  * In case the bookings were already invoiced, the original booking will be credited and a new invoice will be created.\n  \n  * In case a product cannot be cancelled nor amended but additional guests are added, we might create a second booking for the same product.\n  \n  * In case of amendments we have a best effort algorithm to retain the current voucher (codes), but depending on the product, some vouchers will be invalidated and replaced.\n  \n  > Bookings will be directly amended using the direct booking concept, you are unable to revert this action. For third-party products we are heavily relying on their system capabilities. Some do not support amendments and therefore a swift cancel and re-book (with or without capacity block) is required instead.\n    This means that the failure rate on this API can be slightly higher than usual.\n    \n  > It is important that you only sent the booking objects of the bookings you would like to amend, our system does not check which changes are made, instead we simply cancel the original booking and replace it with a new booking.\n\n</details>","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_version\": {{order_version}},\n      \"order_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to update an order or booking. Regular users should only update basic order details such as contact information.\nFor requesting other timeslots or changing the booking count, we recommend that you cancel the current order and rebook.\n> Make sure that you provide the complete top-level order object and that all original fields with either the current or amended values (e.g. `order_distributor_id`, `order_external_reference`, all `order_contacts` etc) are sent,  missing (optional) fields will be removed from our records. Note that the opposite is true for `order_bookings`, only the bookings you would like to amend should be provided (see advanced functionality below).\n---\n### **Advanced Functionality**\n<details>\n  <summary>**Amending confirmed orders**</summary>\n\n  We always recommend that you do a full cancellation and create a new order in case of amendments.\n  \n  Alternatively we have the advanced method of amending an existing order with the following benefits:\n  \n  * Versioning history on order and booking level.\n  \n  * Best effort algorithm to retain your existing vouchers or adding additional bookings to your combi-passes.\n  \n  * Payment credit system where existing payments are stored for later purchases.\n  \n  * Keeping the same `order_reference`.\n  \n  \n  In case you would like to fully amend an existing order, but retain the same `order_reference`, you can sent the amended booking details with the same `booking_reference` in the request. The original booking will be fully replaced with the newly created (confirmed) booking and therefore you can follow the same approach as you would normally do when creating new orders using the direct booking method, but with the following differences:\n  \n  * Products that were not in the original order, but found in the amendment request will be added (Add booking to existing order). This allows to easily upsell existing orders and in advanced scenarios add products to the same group / combi codes.\n  \n  * Products with amended quantity will be either partially cancelled or additionally added. Note that we will NOT take into the account the capacity difference.\n    \n    For example if the original booking contains 4 tickets and the remaining capacity prior to the amendment is 2, you are NOT able to upsell towards 6 tickets. Although that there would be sufficient remaining capacity to book the additional 2 tickets, the total required capacity (in this case 6) should be equal or less than the current remaining capacity.\n    \n    We have done this on purpose to prevent concurrency issues when for example the cancellation is delayed and capacity is not released immediately, causing your amendment to fail.\n    This also allows us to block (reserve) your new products first, then cancel your original booking, making sure you never 'lose' your tickets in case of an error.\n    \n  * The total payment difference will be calculated and will be either charged or (partially) refunded. Please note that in case of a surcharge, you might be required to submit an additional payment based on your settlement method and payment configuration.\n  \n    Note that all payments linked to the original order will be returned as well, regardless of the `order_version`.\n  \n  * The `order_reference` and `booking_reference` will be retained and as such the versions will be updated as `order_version + 1` and only the amended booking will be set to `booking_version + 1`.\n  \n  * If the original order contained price variations such as cart discounts, partner discounts or promocodes, those will be re-applied on the amended order as well if applicable.\n  \n  * All booking and cancellation restrictions still apply, if you try to amend any non-cancellable products from the original order (implicitly indicating that you want to cancel those) the request will fail. Similarly you are discouraged (and often not allowed) to cancel any bookings that have already been redeemed. \n  \n    Furthermore, bookings that were already cancelled in the original order should not be passed in the new request. Therefore they will also not be included in the new version.\n    \n  * In case the bookings were already invoiced, the original booking will be credited and a new invoice will be created.\n  \n  * In case a product cannot be cancelled nor amended but additional guests are added, we might create a second booking for the same product.\n  \n  * In case of amendments we have a best effort algorithm to retain the current voucher (codes), but depending on the product, some vouchers will be invalidated and replaced.\n  \n  > Bookings will be directly amended using the direct booking concept, you are unable to revert this action. For third-party products we are heavily relying on their system capabilities. Some do not support amendments and therefore a swift cancel and re-book (with or without capacity block) is required instead.\n    This means that the failure rate on this API can be slightly higher than usual.\n    \n  > It is important that you only sent the booking objects of the bookings you would like to amend, our system does not check which changes are made, instead we simply cancel the original booking and replace it with a new booking.\n\n</details>","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_version\": {{order_version}},\n      \"order_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to update an order or booking. Regular users should only update basic order details such as contact information.\nFor requesting other timeslots or changing the booking count, we recommend that you cancel the current order and rebook.\n> Make sure that you provide the complete top-level order object and that all original fields with either the current or amended values (e.g. `order_distributor_id`, `order_external_reference`, all `order_contacts` etc) are sent,  missing (optional) fields will be removed from our records. Note that the opposite is true for `order_bookings`, only the bookings you would like to amend should be provided (see advanced functionality below).\n---\n### **Advanced Functionality**\n<details>\n  <summary>**Amending confirmed orders**</summary>\n\n  We always recommend that you do a full cancellation and create a new order in case of amendments.\n  \n  Alternatively we have the advanced method of amending an existing order with the following benefits:\n  \n  * Versioning history on order and booking level.\n  \n  * Best effort algorithm to retain your existing vouchers or adding additional bookings to your combi-passes.\n  \n  * Payment credit system where existing payments are stored for later purchases.\n  \n  * Keeping the same `order_reference`.\n  \n  \n  In case you would like to fully amend an existing order, but retain the same `order_reference`, you can sent the amended booking details with the same `booking_reference` in the request. The original booking will be fully replaced with the newly created (confirmed) booking and therefore you can follow the same approach as you would normally do when creating new orders using the direct booking method, but with the following differences:\n  \n  * Products that were not in the original order, but found in the amendment request will be added (Add booking to existing order). This allows to easily upsell existing orders and in advanced scenarios add products to the same group / combi codes.\n  \n  * Products with amended quantity will be either partially cancelled or additionally added. Note that we will NOT take into the account the capacity difference.\n    \n    For example if the original booking contains 4 tickets and the remaining capacity prior to the amendment is 2, you are NOT able to upsell towards 6 tickets. Although that there would be sufficient remaining capacity to book the additional 2 tickets, the total required capacity (in this case 6) should be equal or less than the current remaining capacity.\n    \n    We have done this on purpose to prevent concurrency issues when for example the cancellation is delayed and capacity is not released immediately, causing your amendment to fail.\n    This also allows us to block (reserve) your new products first, then cancel your original booking, making sure you never 'lose' your tickets in case of an error.\n    \n  * The total payment difference will be calculated and will be either charged or (partially) refunded. Please note that in case of a surcharge, you might be required to submit an additional payment based on your settlement method and payment configuration.\n  \n    Note that all payments linked to the original order will be returned as well, regardless of the `order_version`.\n  \n  * The `order_reference` and `booking_reference` will be retained and as such the versions will be updated as `order_version + 1` and only the amended booking will be set to `booking_version + 1`.\n  \n  * If the original order contained price variations such as cart discounts, partner discounts or promocodes, those will be re-applied on the amended order as well if applicable.\n  \n  * All booking and cancellation restrictions still apply, if you try to amend any non-cancellable products from the original order (implicitly indicating that you want to cancel those) the request will fail. Similarly you are discouraged (and often not allowed) to cancel any bookings that have already been redeemed. \n  \n    Furthermore, bookings that were already cancelled in the original order should not be passed in the new request. Therefore they will also not be included in the new version.\n    \n  * In case the bookings were already invoiced, the original booking will be credited and a new invoice will be created.\n  \n  * In case a product cannot be cancelled nor amended but additional guests are added, we might create a second booking for the same product.\n  \n  * In case of amendments we have a best effort algorithm to retain the current voucher (codes), but depending on the product, some vouchers will be invalidated and replaced.\n  \n  > Bookings will be directly amended using the direct booking concept, you are unable to revert this action. For third-party products we are heavily relying on their system capabilities. Some do not support amendments and therefore a swift cancel and re-book (with or without capacity block) is required instead.\n    This means that the failure rate on this API can be slightly higher than usual.\n    \n  > It is important that you only sent the booking objects of the bookings you would like to amend, our system does not check which changes are made, instead we simply cancel the original booking and replace it with a new booking.\n\n</details>","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_version\": {{order_version}},\n      \"order_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to update an order or booking. Regular users should only update basic order details such as contact information.\nFor requesting other timeslots or changing the booking count, we recommend that you cancel the current order and rebook.\n> Make sure that you provide the complete top-level order object and that all original fields with either the current or amended values (e.g. `order_distributor_id`, `order_external_reference`, all `order_contacts` etc) are sent,  missing (optional) fields will be removed from our records. Note that the opposite is true for `order_bookings`, only the bookings you would like to amend should be provided (see advanced functionality below).\n---\n### **Advanced Functionality**\n<details>\n  <summary>**Amending confirmed orders**</summary>\n\n  We always recommend that you do a full cancellation and create a new order in case of amendments.\n  \n  Alternatively we have the advanced method of amending an existing order with the following benefits:\n  \n  * Versioning history on order and booking level.\n  \n  * Best effort algorithm to retain your existing vouchers or adding additional bookings to your combi-passes.\n  \n  * Payment credit system where existing payments are stored for later purchases.\n  \n  * Keeping the same `order_reference`.\n  \n  \n  In case you would like to fully amend an existing order, but retain the same `order_reference`, you can sent the amended booking details with the same `booking_reference` in the request. The original booking will be fully replaced with the newly created (confirmed) booking and therefore you can follow the same approach as you would normally do when creating new orders using the direct booking method, but with the following differences:\n  \n  * Products that were not in the original order, but found in the amendment request will be added (Add booking to existing order). This allows to easily upsell existing orders and in advanced scenarios add products to the same group / combi codes.\n  \n  * Products with amended quantity will be either partially cancelled or additionally added. Note that we will NOT take into the account the capacity difference.\n    \n    For example if the original booking contains 4 tickets and the remaining capacity prior to the amendment is 2, you are NOT able to upsell towards 6 tickets. Although that there would be sufficient remaining capacity to book the additional 2 tickets, the total required capacity (in this case 6) should be equal or less than the current remaining capacity.\n    \n    We have done this on purpose to prevent concurrency issues when for example the cancellation is delayed and capacity is not released immediately, causing your amendment to fail.\n    This also allows us to block (reserve) your new products first, then cancel your original booking, making sure you never 'lose' your tickets in case of an error.\n    \n  * The total payment difference will be calculated and will be either charged or (partially) refunded. Please note that in case of a surcharge, you might be required to submit an additional payment based on your settlement method and payment configuration.\n  \n    Note that all payments linked to the original order will be returned as well, regardless of the `order_version`.\n  \n  * The `order_reference` and `booking_reference` will be retained and as such the versions will be updated as `order_version + 1` and only the amended booking will be set to `booking_version + 1`.\n  \n  * If the original order contained price variations such as cart discounts, partner discounts or promocodes, those will be re-applied on the amended order as well if applicable.\n  \n  * All booking and cancellation restrictions still apply, if you try to amend any non-cancellable products from the original order (implicitly indicating that you want to cancel those) the request will fail. Similarly you are discouraged (and often not allowed) to cancel any bookings that have already been redeemed. \n  \n    Furthermore, bookings that were already cancelled in the original order should not be passed in the new request. Therefore they will also not be included in the new version.\n    \n  * In case the bookings were already invoiced, the original booking will be credited and a new invoice will be created.\n  \n  * In case a product cannot be cancelled nor amended but additional guests are added, we might create a second booking for the same product.\n  \n  * In case of amendments we have a best effort algorithm to retain the current voucher (codes), but depending on the product, some vouchers will be invalidated and replaced.\n  \n  > Bookings will be directly amended using the direct booking concept, you are unable to revert this action. For third-party products we are heavily relying on their system capabilities. Some do not support amendments and therefore a swift cancel and re-book (with or without capacity block) is required instead.\n    This means that the failure rate on this API can be slightly higher than usual.\n    \n  > It is important that you only sent the booking objects of the bookings you would like to amend, our system does not check which changes are made, instead we simply cancel the original booking and replace it with a new booking.\n\n</details>","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_version\": {{order_version}},\n      \"order_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to update an order or booking. Regular users should only update basic order details such as contact information.\nFor requesting other timeslots or changing the booking count, we recommend that you cancel the current order and rebook.\n> Make sure that you provide the complete top-level order object and that all original fields with either the current or amended values (e.g. `order_distributor_id`, `order_external_reference`, all `order_contacts` etc) are sent,  missing (optional) fields will be removed from our records. Note that the opposite is true for `order_bookings`, only the bookings you would like to amend should be provided (see advanced functionality below).\n---\n### **Advanced Functionality**\n<details>\n  <summary>**Amending confirmed orders**</summary>\n\n  We always recommend that you do a full cancellation and create a new order in case of amendments.\n  \n  Alternatively we have the advanced method of amending an existing order with the following benefits:\n  \n  * Versioning history on order and booking level.\n  \n  * Best effort algorithm to retain your existing vouchers or adding additional bookings to your combi-passes.\n  \n  * Payment credit system where existing payments are stored for later purchases.\n  \n  * Keeping the same `order_reference`.\n  \n  \n  In case you would like to fully amend an existing order, but retain the same `order_reference`, you can sent the amended booking details with the same `booking_reference` in the request. The original booking will be fully replaced with the newly created (confirmed) booking and therefore you can follow the same approach as you would normally do when creating new orders using the direct booking method, but with the following differences:\n  \n  * Products that were not in the original order, but found in the amendment request will be added (Add booking to existing order). This allows to easily upsell existing orders and in advanced scenarios add products to the same group / combi codes.\n  \n  * Products with amended quantity will be either partially cancelled or additionally added. Note that we will NOT take into the account the capacity difference.\n    \n    For example if the original booking contains 4 tickets and the remaining capacity prior to the amendment is 2, you are NOT able to upsell towards 6 tickets. Although that there would be sufficient remaining capacity to book the additional 2 tickets, the total required capacity (in this case 6) should be equal or less than the current remaining capacity.\n    \n    We have done this on purpose to prevent concurrency issues when for example the cancellation is delayed and capacity is not released immediately, causing your amendment to fail.\n    This also allows us to block (reserve) your new products first, then cancel your original booking, making sure you never 'lose' your tickets in case of an error.\n    \n  * The total payment difference will be calculated and will be either charged or (partially) refunded. Please note that in case of a surcharge, you might be required to submit an additional payment based on your settlement method and payment configuration.\n  \n    Note that all payments linked to the original order will be returned as well, regardless of the `order_version`.\n  \n  * The `order_reference` and `booking_reference` will be retained and as such the versions will be updated as `order_version + 1` and only the amended booking will be set to `booking_version + 1`.\n  \n  * If the original order contained price variations such as cart discounts, partner discounts or promocodes, those will be re-applied on the amended order as well if applicable.\n  \n  * All booking and cancellation restrictions still apply, if you try to amend any non-cancellable products from the original order (implicitly indicating that you want to cancel those) the request will fail. Similarly you are discouraged (and often not allowed) to cancel any bookings that have already been redeemed. \n  \n    Furthermore, bookings that were already cancelled in the original order should not be passed in the new request. Therefore they will also not be included in the new version.\n    \n  * In case the bookings were already invoiced, the original booking will be credited and a new invoice will be created.\n  \n  * In case a product cannot be cancelled nor amended but additional guests are added, we might create a second booking for the same product.\n  \n  * In case of amendments we have a best effort algorithm to retain the current voucher (codes), but depending on the product, some vouchers will be invalidated and replaced.\n  \n  > Bookings will be directly amended using the direct booking concept, you are unable to revert this action. For third-party products we are heavily relying on their system capabilities. Some do not support amendments and therefore a swift cancel and re-book (with or without capacity block) is required instead.\n    This means that the failure rate on this API can be slightly higher than usual.\n    \n  > It is important that you only sent the booking objects of the bookings you would like to amend, our system does not check which changes are made, instead we simply cancel the original booking and replace it with a new booking.\n\n</details>","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_version\": {{order_version}},\n      \"order_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"This API is called to update an order or booking. Regular users should only update basic order details such as contact information.\nFor requesting other timeslots or changing the booking count, we recommend that you cancel the current order and rebook.\n> Make sure that you provide the complete top-level order object and that all original fields with either the current or amended values (e.g. `order_distributor_id`, `order_external_reference`, all `order_contacts` etc) are sent,  missing (optional) fields will be removed from our records. Note that the opposite is true for `order_bookings`, only the bookings you would like to amend should be provided (see advanced functionality below).\n---\n### **Advanced Functionality**\n<details>\n  <summary>**Amending confirmed orders**</summary>\n\n  We always recommend that you do a full cancellation and create a new order in case of amendments.\n  \n  Alternatively we have the advanced method of amending an existing order with the following benefits:\n  \n  * Versioning history on order and booking level.\n  \n  * Best effort algorithm to retain your existing vouchers or adding additional bookings to your combi-passes.\n  \n  * Payment credit system where existing payments are stored for later purchases.\n  \n  * Keeping the same `order_reference`.\n  \n  \n  In case you would like to fully amend an existing order, but retain the same `order_reference`, you can sent the amended booking details with the same `booking_reference` in the request. The original booking will be fully replaced with the newly created (confirmed) booking and therefore you can follow the same approach as you would normally do when creating new orders using the direct booking method, but with the following differences:\n  \n  * Products that were not in the original order, but found in the amendment request will be added (Add booking to existing order). This allows to easily upsell existing orders and in advanced scenarios add products to the same group / combi codes.\n  \n  * Products with amended quantity will be either partially cancelled or additionally added. Note that we will NOT take into the account the capacity difference.\n    \n    For example if the original booking contains 4 tickets and the remaining capacity prior to the amendment is 2, you are NOT able to upsell towards 6 tickets. Although that there would be sufficient remaining capacity to book the additional 2 tickets, the total required capacity (in this case 6) should be equal or less than the current remaining capacity.\n    \n    We have done this on purpose to prevent concurrency issues when for example the cancellation is delayed and capacity is not released immediately, causing your amendment to fail.\n    This also allows us to block (reserve) your new products first, then cancel your original booking, making sure you never 'lose' your tickets in case of an error.\n    \n  * The total payment difference will be calculated and will be either charged or (partially) refunded. Please note that in case of a surcharge, you might be required to submit an additional payment based on your settlement method and payment configuration.\n  \n    Note that all payments linked to the original order will be returned as well, regardless of the `order_version`.\n  \n  * The `order_reference` and `booking_reference` will be retained and as such the versions will be updated as `order_version + 1` and only the amended booking will be set to `booking_version + 1`.\n  \n  * If the original order contained price variations such as cart discounts, partner discounts or promocodes, those will be re-applied on the amended order as well if applicable.\n  \n  * All booking and cancellation restrictions still apply, if you try to amend any non-cancellable products from the original order (implicitly indicating that you want to cancel those) the request will fail. Similarly you are discouraged (and often not allowed) to cancel any bookings that have already been redeemed. \n  \n    Furthermore, bookings that were already cancelled in the original order should not be passed in the new request. Therefore they will also not be included in the new version.\n    \n  * In case the bookings were already invoiced, the original booking will be credited and a new invoice will be created.\n  \n  * In case a product cannot be cancelled nor amended but additional guests are added, we might create a second booking for the same product.\n  \n  * In case of amendments we have a best effort algorithm to retain the current voucher (codes), but depending on the product, some vouchers will be invalidated and replaced.\n  \n  > Bookings will be directly amended using the direct booking concept, you are unable to revert this action. For third-party products we are heavily relying on their system capabilities. Some do not support amendments and therefore a swift cancel and re-book (with or without capacity block) is required instead.\n    This means that the failure rate on this API can be slightly higher than usual.\n    \n  > It is important that you only sent the booking objects of the bookings you would like to amend, our system does not check which changes are made, instead we simply cancel the original booking and replace it with a new booking.\n\n</details>","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_version\": {{order_version}},\n      \"order_contacts\": [\n        {\n          \"contact_name_first\": \"Example\",\n          \"contact_name_last\": \"Guest\",\n          \"contact_email\": \"guest@example.com\"\n        }\n      ]\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["if (pm.collectionVariables.get('allow_mutations') !== 'true') { pm.execution.skipRequest(); }"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Cancel Order / Booking","request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"[FILTER] In case the `booking_reference` is provided, a partial cancellation will be made. Only the specified booking(s) will be cancelled."},{"key":"product_type_transaction_id","value":"[\"159118380521834001\"]","disabled":true,"description":"[FILTER] **(ADVANCED)** In case the `product_type_transaction_id` is provided, a partial cancellation will be made. Only the specified transaction(s) will be cancelled."},{"key":"cancellation_reason","value":"Payment declined.","disabled":true,"description":"[INFO] Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"In case only the `order_reference` is provided, a full cancellation will be made."}]},"description":"This API is called to (partial) cancel an order/ booking.\nIn case of a full cancellation, you are no longer able to amend the order. Otherwise, the updated order will be returned.\n\nAgain, to avoid mismatches and validate a correct implementation, make sure you compare the returned `order_pricing.price_total`. \n> This API can only be called for bookings with `product_cancellation_allowed:true`. In case your order contains non-cancellable products, a full cancellation will result in an error. You will still be able to do partial-cancellations for those bookings with cancellable products."},"response":[{"name":"200 - Item(s) removed from order","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"[FILTER] In case the `booking_reference` is provided, a partial cancellation will be made. Only the specified booking(s) will be cancelled."},{"key":"product_type_transaction_id","value":"[\"159118380521834001\"]","disabled":true,"description":"[FILTER] **(ADVANCED)** In case the `product_type_transaction_id` is provided, a partial cancellation will be made. Only the specified transaction(s) will be cancelled."},{"key":"cancellation_reason","value":"Payment declined.","disabled":true,"description":"[INFO] Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"In case only the `order_reference` is provided, a full cancellation will be made."}]},"description":"This API is called to (partial) cancel an order/ booking.\nIn case of a full cancellation, you are no longer able to amend the order. Otherwise, the updated order will be returned.\n\nAgain, to avoid mismatches and validate a correct implementation, make sure you compare the returned `order_pricing.price_total`. \n> This API can only be called for bookings with `product_cancellation_allowed:true`. In case your order contains non-cancellable products, a full cancellation will result in an error. You will still be able to do partial-cancellations for those bookings with cancellable products."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"order\",\n    \"order\": {\n      \"order_platform_id\": \"1\",\n      \"order_platform_name\": \"Platform Name\",\n      \"order_reseller_id\": \"1300\",\n      \"order_reseller_name\": \"Demo reseller\",\n      \"order_distributor_id\": \"501\",\n      \"order_distributor_name\": \"Demo Distributor\",\n      \"order_partner_id\": \"4534543543\",\n      \"order_partner_name\": \"Partner Name\",\n      \"order_reference\": \"ORDRREF123456\",\n      \"order_external_reference\": \"EXTERNALREF123\",\n      \"order_status\": \"ORDER_CONFIRMED\",\n      \"order_settlement_type\": \"EXTERNAL\",\n      \"order_channel\": \"PARTNER\",\n      \"order_language\": \"en\",\n      \"order_version\": 1,\n      \"order_archived\": false,\n      \"order_contacts\": [\n        {\n          \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n          \"contact_version\": 2,\n          \"contact_number\": \"4573246\",\n          \"contact_type\": \"GUEST\",\n          \"contact_title\": \"Mr.\",\n          \"contact_name_first\": \"John\",\n          \"contact_name_last\": \"Doe\",\n          \"contact_email\": \"Johndoe@example.com\",\n          \"contact_phone\": \"+14155552671\",\n          \"contact_mobile\": \"+14155552671\",\n          \"contact_language\": \"NL\",\n          \"contact_nationality\": \"Dutch\",\n          \"contact_flight_number\": \"KL 445\",\n          \"contact_loyalty_number\": \"46564564564547476\",\n          \"contact_birth_place\": \"Amsterdam\",\n          \"contact_birth_date\": \"2019-08-24\",\n          \"contact_passport\": \"JXXXXXXX\",\n          \"contact_gender\": \"MALE\",\n          \"contact_age\": 19,\n          \"contact_redacted\": false,\n          \"contact_room_number\": \"523\",\n          \"contact_website\": \"example.com\",\n          \"contact_company\": {\n            \"company_name\": \"Example LTD.\",\n            \"company_registration_number\": \"string\",\n            \"company_tax_number\": \"string\"\n          },\n          \"contact_classification\": \"IMPORTANT\",\n          \"contact_address\": {\n            \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"name\": \"Start of the Tour / My house / Office / John Doe\",\n            \"street\": \"Amstel 1\",\n            \"addition\": \"Apt B1\",\n            \"city\": \"Amsterdam\",\n            \"postal_code\": \"1011 PN\",\n            \"region\": \"Noord-Holland\",\n            \"country\": \"The Netherlands\",\n            \"country_code\": \"NL\",\n            \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n            \"latitude\": \"52.3785323\",\n            \"longitude\": \"4.893942\",\n            \"notes\": \"It's on the fourth floor\"\n          },\n          \"contact_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"contact_custom_fields\": [\n            {\n              \"custom_field_name\": \"Custom Field Name\",\n              \"custom_field_value\": \"Custom Field Value\",\n              \"custom_field_type\": \"SYSTEM\"\n            }\n          ],\n          \"contact_created\": \"2019-08-24T14:15:22Z\",\n          \"contact_modified\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"order_promocodes\": [\n        {\n          \"promo_title\": \"Christmas Sale 2019\",\n          \"promo_description\": \"20 percent discount during the Christmas days.\",\n          \"promo_code\": \"PROMOCODE_123\"\n        }\n      ],\n      \"order_payments\": [\n        {\n          \"payment_id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"payment_original_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n          \"payment_partner_id\": \"PAYMENT_PARTNER_ID\",\n          \"payment_shift_id\": \"PAYMENT_SHIFT_ID_123\",\n          \"payment_merchant_reference\": \"1478349849927_771663371\",\n          \"payment_external_reference\": \"SHOPPER_REFERENCE\",\n          \"payment_order_reference\": \"ORDRREF123456\",\n          \"payment_booking_references\": [\n            \"BKNGREF123456\"\n          ],\n          \"payment_order_version\": 2,\n          \"payment_status\": \"PAID\",\n          \"payment_method\": \"EXTERNAL\",\n          \"payment_scheme\": \"VISA\",\n          \"payment_type\": \"CAPTURE\",\n          \"payment_link\": \"https://example.com/s?q=K0U2VmVNRGo0SEhGdFVUZ09IK2ViZkdtK1NjPQ==\",\n          \"payment_link_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_authorization_expires_at\": \"2019-08-24T14:15:22Z\",\n          \"payment_recurring\": false,\n          \"payment_recurring_type\": \"STORE\",\n          \"payment_class\": \"SALES\",\n          \"payment_refund_type\": \"SYSTEM\",\n          \"payment_refund_reason\": \"Guest reimbursement\",\n          \"payment_currency_code\": \"EUR\",\n          \"payment_currency_rate\": \"2.5263\",\n          \"payment_currency_amount\": \"10.25\",\n          \"payment_amount\": \"10.00\",\n          \"payment_total\": \"100.00\",\n          \"payment_gateway_details\": {\n            \"payment_merchant_account_name\": \"ExampleMerchant\",\n            \"payment_service_provider_reference\": \"852596799876396F\",\n            \"payment_service_provider_original_reference\": \"882596799845511E\",\n            \"payment_gateway_type\": \"ADYEN\",\n            \"payment_gateway_additional_values\": {\n              \"psp_shopper_name\": \"Checkout Shopper PlaceHolder\",\n              \"psp_shopper_cardnumber\": \"1111\",\n              \"psp_issuer_country\": \"NL\",\n              \"psp_fraudscore\": \"63\",\n              \"psp_payment_status\": \"Settled\"\n            }\n          },\n          \"payment_contact\": {\n            \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n            \"contact_version\": 2,\n            \"contact_number\": \"4573246\",\n            \"contact_type\": \"GUEST\",\n            \"contact_title\": \"Mr.\",\n            \"contact_name_first\": \"John\",\n            \"contact_name_last\": \"Doe\",\n            \"contact_email\": \"Johndoe@example.com\",\n            \"contact_phone\": \"+14155552671\",\n            \"contact_mobile\": \"+14155552671\",\n            \"contact_language\": \"NL\",\n            \"contact_nationality\": \"Dutch\",\n            \"contact_flight_number\": \"KL 445\",\n            \"contact_loyalty_number\": \"46564564564547476\",\n            \"contact_birth_place\": \"Amsterdam\",\n            \"contact_birth_date\": \"2019-08-24\",\n            \"contact_passport\": \"JXXXXXXX\",\n            \"contact_gender\": \"MALE\",\n            \"contact_age\": 19,\n            \"contact_redacted\": false,\n            \"contact_room_number\": \"523\",\n            \"contact_website\": \"example.com\",\n            \"contact_company\": {\n              \"company_name\": \"Example LTD.\",\n              \"company_registration_number\": \"string\",\n              \"company_tax_number\": \"string\"\n            },\n            \"contact_classification\": \"IMPORTANT\",\n            \"contact_address\": {\n              \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n              \"name\": \"Start of the Tour / My house / Office / John Doe\",\n              \"street\": \"Amstel 1\",\n              \"addition\": \"Apt B1\",\n              \"city\": \"Amsterdam\",\n              \"postal_code\": \"1011 PN\",\n              \"region\": \"Noord-Holland\",\n              \"country\": \"The Netherlands\",\n              \"country_code\": \"NL\",\n              \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n              \"latitude\": \"52.3785323\",\n              \"longitude\": \"4.893942\",\n              \"notes\": \"It's on the fourth floor\"\n            },\n            \"contact_notes\": [\n              {\n                \"note_value\": \"Wheelchair assistance required.\",\n                \"note_type\": \"GUEST\",\n                \"note_date\": \"2019-08-24T14:15:22Z\",\n                \"note_creator\": \"Andrew (Supervisor)\"\n              }\n            ],\n            \"contact_custom_fields\": [\n              {\n                \"custom_field_name\": \"Custom Field Name\",\n                \"custom_field_value\": \"Custom Field Value\",\n                \"custom_field_type\": \"SYSTEM\"\n              }\n            ],\n            \"contact_created\": \"2019-08-24T14:15:22Z\",\n            \"contact_modified\": \"2019-08-24T14:15:22Z\"\n          },\n          \"payment_fees\": [\n            {\n              \"fee_label\": \"Credit Card Fee (VISA)\",\n              \"fee_amount\": \"0.10\",\n              \"fee_type\": \"PAYMENT\"\n            }\n          ],\n          \"payment_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"payment_created\": \"2019-08-24T14:15:22Z\",\n          \"payment_created_name\": \"Cashier Name\",\n          \"payment_created_email\": \"cashier@example.com\"\n        }\n      ],\n      \"order_checkout_fields\": [\n        {\n          \"checkout_field_id\": \"CHECKOUT_FIELD_ID\",\n          \"checkout_field_title\": \"First Name\",\n          \"checkout_field_label\": \"Please provide your first name\",\n          \"checkout_field_account_type\": \"DISTRIBUTOR\",\n          \"checkout_field_booking_reference\": [\n            \"string\"\n          ],\n          \"checkout_field_restriction\": \"REQUIRED\",\n          \"checkout_field_level\": \"PRODUCT\",\n          \"checkout_field_unit\": \"string\",\n          \"checkout_field_input_type\": \"SINGLE\",\n          \"checkout_field_type\": \"contact_title\",\n          \"checkout_field_values\": [\n            {\n              \"checkout_field_value_product_type\": \"string\",\n              \"checkout_field_value\": [\n                \"string\"\n              ],\n              \"checkout_field_value_transaction_reference\": \"string\"\n            }\n          ],\n          \"checkout_field_created\": \"2019-08-24T14:15:22Z\"\n        }\n      ],\n      \"order_pricing\": {\n        \"price_type\": \"SALES\",\n        \"price_currency_code\": \"EUR\",\n        \"price_currency_rate\": \"1.647\",\n        \"price_subtotal\": \"20.00\",\n        \"price_variations\": [\n          {\n            \"variation_label\": \"Peak Hour\",\n            \"variation_amount\": \"2.50\",\n            \"variation_type\": \"PRODUCT_DYNAMIC\"\n          }\n        ],\n        \"price_promocodes\": [\n          {\n            \"promo_code\": \"PROMOCODE_123\",\n            \"promo_amount\": \"-5.50\"\n          }\n        ],\n        \"price_taxes\": [\n          {\n            \"tax_id\": \"TAX_ID_123\",\n            \"tax_name\": \"VAT Regular 20%\",\n            \"tax_amount\": \"0.65\",\n            \"tax_rate\": \"20.00\"\n          }\n        ],\n        \"price_fees\": [\n          {\n            \"fee_label\": \"Creditcard - Variable Cost\",\n            \"fee_type\": \"SERVICE\",\n            \"fee_amount\": \"0.50\",\n            \"fee_percentage\": \"25.00\",\n            \"fee_tax_id\": \"TAX_ID_123\",\n            \"fee_tax_amount\": \"0.65\",\n            \"fee_included\": true,\n            \"fee_refundable\": true\n          }\n        ],\n        \"price_margins\": [\n          {\n            \"margin_type\": \"SERVICE\",\n            \"margin_amount\": \"0.50\",\n            \"margin_tax_id\": \"TAX_ID_123\",\n            \"margin_tax_amount\": \"0.65\"\n          }\n        ],\n        \"price_total\": \"12.00\"\n      },\n      \"order_credit\": {\n        \"credit_status\": \"ACTIVE\",\n        \"credit_total\": \"100.00\",\n        \"credit_deposit\": \"string\",\n        \"credit_blocked\": \"20.00\",\n        \"credit_used\": \"30.00\",\n        \"credit_remaining\": \"50.00\",\n        \"credit_invoice_interval\": \"MANUAL\",\n        \"credit_invoice_settlement\": \"MANUAL\",\n        \"credit_reset\": \"2019-08-24T14:15:22Z\"\n      },\n      \"order_invoices\": [\n        {\n          \"invoice_id\": \"R-5460521795-20622\",\n          \"invoice_product_id\": \"INVOICE_PRODUCT_ID\",\n          \"invoice_product_quantity\": 3,\n          \"invoice_date\": \"2019-08-24T14:15:22Z\",\n          \"invoice_status\": \"INVOICED\",\n          \"invoice_type\": \"SALE\"\n        }\n      ],\n      \"order_options\": {\n        \"email_options\": {\n          \"email_types\": {\n            \"send_tickets\": false,\n            \"send_receipt\": false,\n            \"send_marketing\": true,\n            \"send_offers\": true,\n            \"send_notification\": true\n          }\n        },\n        \"price_on_voucher\": true\n      },\n      \"order_flags\": [\n        {\n          \"flag_id\": \"223425262\",\n          \"flag_name\": \"Stock Code\",\n          \"flag_type\": \"FLAG\",\n          \"flag_value_id\": \"123BCa1\",\n          \"flag_value\": \"123BCa1\",\n          \"flag_visible\": true\n        }\n      ],\n      \"order_event_details\": [\n        {\n          \"event_order_version\": 2,\n          \"event_note\": \"Change of timeslot on request of customer.\",\n          \"event_type\": \"ORDER_CREATE\",\n          \"event_created\": \"2019-08-24T14:15:22Z\",\n          \"event_creator_user_name\": \"Andrew\",\n          \"event_creator_user_email\": \"supervisor@example.com\",\n          \"event_creator_user_role\": \"Supervisor\"\n        }\n      ],\n      \"order_custom_fields\": [\n        {\n          \"custom_field_name\": \"Custom Field Name\",\n          \"custom_field_value\": \"Custom Field Value\",\n          \"custom_field_type\": \"SYSTEM\"\n        }\n      ],\n      \"order_notes\": [\n        {\n          \"note_value\": \"Wheelchair assistance required.\",\n          \"note_type\": \"GUEST\",\n          \"note_date\": \"2019-08-24T14:15:22Z\",\n          \"note_creator\": \"Andrew (Supervisor)\"\n        }\n      ],\n      \"order_activity_url\": \"https://example.com/orders/ORDRREF123456\",\n      \"order_customer_url\": \"https://example.com/orders/ORDRREF123456\",\n      \"order_created\": \"2019-08-24T14:15:22Z\",\n      \"order_created_name\": \"Demo Cashier\",\n      \"order_created_email\": \"cashier@example.com\",\n      \"order_modified\": \"2019-08-24T14:15:22Z\",\n      \"order_modified_name\": \"Demo Cashier\",\n      \"order_modified_email\": \"cashier@example.com\",\n      \"order_confirmed\": \"2019-08-24T14:15:22Z\",\n      \"order_invoiced\": \"2019-08-24T14:15:22Z\",\n      \"order_cancellation_date_time\": \"2019-08-24T14:15:22Z\",\n      \"order_cancellation_reason\": \"Payment declined\",\n      \"order_view_type\": \"DISTRIBUTOR\",\n      \"order_bookings\": [\n        {\n          \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n          \"booking_status\": \"BOOKING_RESERVED\",\n          \"booking_version\": 1,\n          \"booking_voucher_released\": true,\n          \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n          \"booking_valid_until\": \"2019-08-24T14:15:22Z\",\n          \"booking_invoice_status\": \"INVOICED\",\n          \"booking_language\": \"en\",\n          \"booking_addon_reference\": \"BOOKING_ADDON_REFERENCE_123\",\n          \"booking_pricing\": {\n            \"price_type\": \"SALES\",\n            \"price_currency_code\": \"EUR\",\n            \"price_currency_rate\": \"1.647\",\n            \"price_subtotal\": \"20.00\",\n            \"price_variations\": [\n              {\n                \"variation_label\": \"Peak Hour\",\n                \"variation_amount\": \"2.50\",\n                \"variation_type\": \"PRODUCT_DYNAMIC\"\n              }\n            ],\n            \"price_promocodes\": [\n              {\n                \"promo_code\": \"PROMOCODE_123\",\n                \"promo_amount\": \"-5.50\"\n              }\n            ],\n            \"price_taxes\": [\n              {\n                \"tax_id\": \"TAX_ID_123\",\n                \"tax_name\": \"VAT Regular 20%\",\n                \"tax_amount\": \"0.65\",\n                \"tax_rate\": \"20.00\"\n              }\n            ],\n            \"price_fees\": [\n              {\n                \"fee_label\": \"Creditcard - Variable Cost\",\n                \"fee_type\": \"SERVICE\",\n                \"fee_amount\": \"0.50\",\n                \"fee_percentage\": \"25.00\",\n                \"fee_tax_id\": \"TAX_ID_123\",\n                \"fee_tax_amount\": \"0.65\",\n                \"fee_included\": true,\n                \"fee_refundable\": true\n              }\n            ],\n            \"price_margins\": [\n              {\n                \"margin_type\": \"SERVICE\",\n                \"margin_amount\": \"0.50\",\n                \"margin_tax_id\": \"TAX_ID_123\",\n                \"margin_tax_amount\": \"0.65\"\n              }\n            ],\n            \"price_total\": \"12.00\"\n          },\n          \"booking_notes\": [\n            {\n              \"note_value\": \"Wheelchair assistance required.\",\n              \"note_type\": \"GUEST\",\n              \"note_date\": \"2019-08-24T14:15:22Z\",\n              \"note_creator\": \"Andrew (Supervisor)\"\n            }\n          ],\n          \"booking_customer_url\": \"https://example.com/orders/ORDRREF123456\",\n          \"booking_created\": \"2019-08-24T14:15:22Z\",\n          \"booking_modified\": \"2019-08-24T14:15:22Z\",\n          \"booking_confirmed\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancelled\": \"2019-08-24T14:15:22Z\",\n          \"booking_cancellation_reason\": \"Payment declined\",\n          \"product_id\": \"10001\",\n          \"product_relation_id\": \"MAIN_PRODUCT_ID_123\",\n          \"product_pickup_point_id\": \"PICKUP_POINT_ID_123\",\n          \"product_pickup_point\": {\n            \"pickup_point_id\": \"PICKUP_POINT_ID_123\",\n            \"pickup_point_name\": \"Walkingtour at the Wyndham Apollo Hotel\",\n            \"pickup_point_type\": \"FIXED\",\n            \"pickup_point_description\": \"Meet at the Wyndham Apollo hotel.\",\n            \"pickup_point_location\": \"LOCATION_ID_123\",\n            \"pickup_point_time\": \"10:00\",\n            \"pickup_point_times\": [\n              \"10:00\"\n            ],\n            \"pickup_point_duration\": 30,\n            \"pickup_point_availability_dependency\": false\n          },\n          \"product_availability_id\": \"20191026090010006526\",\n          \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n          \"product_availability_capacity_id\": \"43525235\",\n          \"product_availability_capacity_shared_id\": \"435252453\",\n          \"product_title\": \"Test Product\",\n          \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n          \"product_supplier_name\": \"Test Museum\",\n          \"product_supplier_admin_id\": \"PRODUCT_SUPPLIER_ADMIN_ID\",\n          \"product_supplier_admin_name\": \"Supplier Admin Name\",\n          \"product_market_admin_id\": \"345345342\",\n          \"product_market_admin_name\": \"Market Admin Name\",\n          \"product_source_id\": \"34564574\",\n          \"product_source_name\": \"Example source\",\n          \"product_entry_notes\": \"Reconfirmation: Please call or email atleast 72 hour in advance to reconfirm your arrival.\",\n          \"product_admission_type\": \"TIME_PERIOD\",\n          \"product_currency_code\": \"USD\",\n          \"product_cancellation_allowed\": true,\n          \"product_options\": [\n            {\n              \"option_id\": \"1118\",\n              \"option_value_text\": \"string\",\n              \"option_values\": [\n                {\n                  \"value_id\": \"4921\",\n                  \"value_name\": \"Wine\",\n                  \"value_price\": \"8.00\",\n                  \"value_price_tax_id\": \"TAX_ID_123\",\n                  \"value_price_tax_amount\": \"0.65\",\n                  \"value_product_type_id\": \"ADULT_123\",\n                  \"value_count\": 2\n                }\n              ]\n            }\n          ],\n          \"product_combi_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [\n                    null\n                  ],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  },\n                  \"product_type_transaction_id\": \"159118380521834001\",\n                  \"product_type_status\": \"CONFIRMED\",\n                  \"product_type_redemption_status\": \"REDEEMED\",\n                  \"product_type_payment_status\": \"PAID\",\n                  \"product_type_redemption_date_time\": \"2019-08-24T14:15:22Z\",\n                  \"product_type_redemption_user_name\": \"string\",\n                  \"product_type_redemption_user_email\": \"user@example.com\",\n                  \"product_type_pass_details\": {\n                    \"pass_redemptions\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n              \"product_code\": \"1539762088951995\",\n              \"product_code_settings\": {\n                \"product_code_format\": \"QR_CODE\",\n                \"product_code_source\": \"Distributor\",\n                \"product_group_code\": true,\n                \"product_combi_code\": true,\n                \"product_city_card\": false,\n                \"product_voucher_settings\": \"SINGLE\",\n                \"product_code_release_date\": \"2019-08-24T14:15:22Z\",\n                \"product_code_release_details\": [\n                  \"ORDER_CONFIRMATION\"\n                ]\n              },\n              \"booking_supplier_reference\": \"BOOKING_SUPPLIER_REFERENCE_123\"\n            }\n          ],\n          \"product_bundle_details\": [\n            {\n              \"product_parent_id\": \"PRODUCT_PARENT_ID_123\",\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_currency_code\": \"USD\",\n              \"product_availability_id\": \"20191026090010006526\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_capacity_id\": \"43525235\",\n              \"product_availability_capacity_shared_id\": \"435252453\",\n              \"product_type_details\": [\n                {\n                  \"product_type\": \"ADULT\",\n                  \"product_type_class\": \"STANDARD\",\n                  \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n                  \"product_type_label\": \"Adult\",\n                  \"product_type_age_from\": 18,\n                  \"product_type_age_to\": 65,\n                  \"product_type_count\": 1,\n                  \"product_type_pax\": 1,\n                  \"product_type_capacity\": 1,\n                  \"product_type_spots\": [\n                    null\n                  ],\n                  \"product_type_code\": \"1539762088951995\",\n                  \"product_type_pricing\": {\n                    \"price_variations\": [],\n                    \"price_promocodes\": [],\n                    \"price_taxes\": [],\n                    \"price_fees\": [],\n                    \"price_margins\": []\n                  },\n                  \"product_type_transaction_id\": \"159118380521834001\",\n                  \"product_type_status\": \"CONFIRMED\",\n                  \"product_type_redemption_status\": \"REDEEMED\",\n                  \"product_type_payment_status\": \"PAID\",\n                  \"product_type_redemption_date_time\": \"2019-08-24T14:15:22Z\",\n                  \"product_type_redemption_user_name\": \"string\",\n                  \"product_type_redemption_user_email\": \"user@example.com\",\n                  \"product_type_pass_details\": {\n                    \"pass_redemptions\": []\n                  }\n                }\n              ],\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_external_reference\": \"BOOKING_EXTERNALREF123\",\n              \"product_code\": \"1539762088951995\",\n              \"product_code_settings\": {\n                \"product_code_format\": \"QR_CODE\",\n                \"product_code_source\": \"Distributor\",\n                \"product_group_code\": true,\n                \"product_combi_code\": true,\n                \"product_city_card\": false,\n                \"product_voucher_settings\": \"SINGLE\",\n                \"product_code_release_date\": \"2019-08-24T14:15:22Z\",\n                \"product_code_release_details\": [\n                  \"ORDER_CONFIRMATION\"\n                ]\n              },\n              \"booking_supplier_reference\": \"BOOKING_SUPPLIER_REFERENCE_123\"\n            }\n          ],\n          \"product_addon_details\": [\n            {\n              \"product_id\": \"10001\",\n              \"product_title\": \"Test Product\",\n              \"product_supplier_id\": \"PRODUCT_SUPPLIER_ID\",\n              \"product_supplier_name\": \"Test Museum\",\n              \"product_admission_type\": \"TIME_PERIOD\",\n              \"product_availability_from_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_availability_to_date_time\": \"2019-08-24T14:15:22Z\",\n              \"booking_travel_date\": \"2019-08-24T14:15:22Z\",\n              \"booking_order_reference\": \"BOOKING_ORDER_REFERENCE\",\n              \"booking_reference\": \"BOOKING_REF123\"\n            }\n          ],\n          \"product_code\": \"1539762088951995\",\n          \"product_code_settings\": {\n            \"product_code_format\": \"QR_CODE\",\n            \"product_code_source\": \"Distributor\",\n            \"product_group_code\": true,\n            \"product_combi_code\": true,\n            \"product_city_card\": false,\n            \"product_voucher_settings\": \"SINGLE\",\n            \"product_code_release_date\": \"2019-08-24T14:15:22Z\",\n            \"product_code_release_details\": [\n              \"ORDER_CONFIRMATION\"\n            ]\n          },\n          \"product_type_details\": [\n            {\n              \"product_type\": \"ADULT\",\n              \"product_type_class\": \"STANDARD\",\n              \"product_type_id\": \"PRODUCT_TYPE_ID_123\",\n              \"product_type_label\": \"Adult\",\n              \"product_type_age_from\": 18,\n              \"product_type_age_to\": 65,\n              \"product_type_count\": 1,\n              \"product_type_pax\": 1,\n              \"product_type_capacity\": 1,\n              \"product_type_spots\": [\n                {\n                  \"spot_id\": \"345346363463\",\n                  \"spot_name\": \"Regular seat\",\n                  \"spot_section\": \"VIP Area\",\n                  \"spot_row\": \"F\",\n                  \"spot_number\": \"5\",\n                  \"spot_type\": \"SEAT\",\n                  \"spot_state\": \"AVAILABLE\"\n                }\n              ],\n              \"product_type_code\": \"1539762088951995\",\n              \"product_type_pricing\": {\n                \"price_type\": \"SALES\",\n                \"price_currency_code\": \"EUR\",\n                \"price_currency_rate\": \"1.647\",\n                \"price_subtotal\": \"20.00\",\n                \"price_variations\": [\n                  {\n                    \"variation_label\": \"Peak Hour\",\n                    \"variation_amount\": \"2.50\",\n                    \"variation_type\": \"PRODUCT_DYNAMIC\"\n                  }\n                ],\n                \"price_promocodes\": [\n                  {}\n                ],\n                \"price_taxes\": [\n                  {}\n                ],\n                \"price_fees\": [\n                  {}\n                ],\n                \"price_margins\": [\n                  {}\n                ],\n                \"price_total\": \"12.00\"\n              },\n              \"product_type_transaction_id\": \"159118380521834001\",\n              \"product_type_status\": \"CONFIRMED\",\n              \"product_type_redemption_status\": \"REDEEMED\",\n              \"product_type_payment_status\": \"PAID\",\n              \"product_type_redemption_date_time\": \"2019-08-24T14:15:22Z\",\n              \"product_type_redemption_user_name\": \"string\",\n              \"product_type_redemption_user_email\": \"user@example.com\",\n              \"product_type_pass_details\": {\n                \"pass_code\": \"string\",\n                \"pass_duration\": {\n                  \"pass_duration_start\": \"2018-06-26T12:08:47Z\",\n                  \"pass_duration_end\": \"2018-06-26T12:08:47Z\",\n                  \"pass_duration_total\": 86400,\n                  \"pass_duration_remaining\": 3600\n                },\n                \"pass_redemptions\": [\n                  {}\n                ]\n              }\n            }\n          ],\n          \"product_cancellation_policies\": [\n            {\n              \"cancellation_description\": \"Please cancel any booking 1 hour in advance.\",\n              \"cancellation_type\": \"TRAVEL_DATE\",\n              \"cancellation_fee_threshold\": 3600,\n              \"cancellation_fee_percentage\": 20.5,\n              \"cancellation_fee_amount\": \"5.00\"\n            }\n          ],\n          \"booking_reference\": \"BOOKING_REFERENCE_123\",\n          \"booking_supplier_reference\": \"BOOKING_SUPPLIER_REFERENCE_123\"\n        }\n      ]\n    }\n  }\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"[FILTER] In case the `booking_reference` is provided, a partial cancellation will be made. Only the specified booking(s) will be cancelled."},{"key":"product_type_transaction_id","value":"[\"159118380521834001\"]","disabled":true,"description":"[FILTER] **(ADVANCED)** In case the `product_type_transaction_id` is provided, a partial cancellation will be made. Only the specified transaction(s) will be cancelled."},{"key":"cancellation_reason","value":"Payment declined.","disabled":true,"description":"[INFO] Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"In case only the `order_reference` is provided, a full cancellation will be made."}]},"description":"This API is called to (partial) cancel an order/ booking.\nIn case of a full cancellation, you are no longer able to amend the order. Otherwise, the updated order will be returned.\n\nAgain, to avoid mismatches and validate a correct implementation, make sure you compare the returned `order_pricing.price_total`. \n> This API can only be called for bookings with `product_cancellation_allowed:true`. In case your order contains non-cancellable products, a full cancellation will result in an error. You will still be able to do partial-cancellations for those bookings with cancellable products."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"[FILTER] In case the `booking_reference` is provided, a partial cancellation will be made. Only the specified booking(s) will be cancelled."},{"key":"product_type_transaction_id","value":"[\"159118380521834001\"]","disabled":true,"description":"[FILTER] **(ADVANCED)** In case the `product_type_transaction_id` is provided, a partial cancellation will be made. Only the specified transaction(s) will be cancelled."},{"key":"cancellation_reason","value":"Payment declined.","disabled":true,"description":"[INFO] Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"In case only the `order_reference` is provided, a full cancellation will be made."}]},"description":"This API is called to (partial) cancel an order/ booking.\nIn case of a full cancellation, you are no longer able to amend the order. Otherwise, the updated order will be returned.\n\nAgain, to avoid mismatches and validate a correct implementation, make sure you compare the returned `order_pricing.price_total`. \n> This API can only be called for bookings with `product_cancellation_allowed:true`. In case your order contains non-cancellable products, a full cancellation will result in an error. You will still be able to do partial-cancellations for those bookings with cancellable products."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"[FILTER] In case the `booking_reference` is provided, a partial cancellation will be made. Only the specified booking(s) will be cancelled."},{"key":"product_type_transaction_id","value":"[\"159118380521834001\"]","disabled":true,"description":"[FILTER] **(ADVANCED)** In case the `product_type_transaction_id` is provided, a partial cancellation will be made. Only the specified transaction(s) will be cancelled."},{"key":"cancellation_reason","value":"Payment declined.","disabled":true,"description":"[INFO] Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"In case only the `order_reference` is provided, a full cancellation will be made."}]},"description":"This API is called to (partial) cancel an order/ booking.\nIn case of a full cancellation, you are no longer able to amend the order. Otherwise, the updated order will be returned.\n\nAgain, to avoid mismatches and validate a correct implementation, make sure you compare the returned `order_pricing.price_total`. \n> This API can only be called for bookings with `product_cancellation_allowed:true`. In case your order contains non-cancellable products, a full cancellation will result in an error. You will still be able to do partial-cancellations for those bookings with cancellable products."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"409 - Check current resource state and version before retrying.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"[FILTER] In case the `booking_reference` is provided, a partial cancellation will be made. Only the specified booking(s) will be cancelled."},{"key":"product_type_transaction_id","value":"[\"159118380521834001\"]","disabled":true,"description":"[FILTER] **(ADVANCED)** In case the `product_type_transaction_id` is provided, a partial cancellation will be made. Only the specified transaction(s) will be cancelled."},{"key":"cancellation_reason","value":"Payment declined.","disabled":true,"description":"[INFO] Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"In case only the `order_reference` is provided, a full cancellation will be made."}]},"description":"This API is called to (partial) cancel an order/ booking.\nIn case of a full cancellation, you are no longer able to amend the order. Otherwise, the updated order will be returned.\n\nAgain, to avoid mismatches and validate a correct implementation, make sure you compare the returned `order_pricing.price_total`. \n> This API can only be called for bookings with `product_cancellation_allowed:true`. In case your order contains non-cancellable products, a full cancellation will result in an error. You will still be able to do partial-cancellations for those bookings with cancellable products."},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"CONFLICT\",\n  \"error_description\": \"Check current resource state and version before retrying.\",\n  \"error_message\": \"Check current resource state and version before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"[FILTER] In case the `booking_reference` is provided, a partial cancellation will be made. Only the specified booking(s) will be cancelled."},{"key":"product_type_transaction_id","value":"[\"159118380521834001\"]","disabled":true,"description":"[FILTER] **(ADVANCED)** In case the `product_type_transaction_id` is provided, a partial cancellation will be made. Only the specified transaction(s) will be cancelled."},{"key":"cancellation_reason","value":"Payment declined.","disabled":true,"description":"[INFO] Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"In case only the `order_reference` is provided, a full cancellation will be made."}]},"description":"This API is called to (partial) cancel an order/ booking.\nIn case of a full cancellation, you are no longer able to amend the order. Otherwise, the updated order will be returned.\n\nAgain, to avoid mismatches and validate a correct implementation, make sure you compare the returned `order_pricing.price_total`. \n> This API can only be called for bookings with `product_cancellation_allowed:true`. In case your order contains non-cancellable products, a full cancellation will result in an error. You will still be able to do partial-cancellations for those bookings with cancellable products."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"[FILTER] In case the `booking_reference` is provided, a partial cancellation will be made. Only the specified booking(s) will be cancelled."},{"key":"product_type_transaction_id","value":"[\"159118380521834001\"]","disabled":true,"description":"[FILTER] **(ADVANCED)** In case the `product_type_transaction_id` is provided, a partial cancellation will be made. Only the specified transaction(s) will be cancelled."},{"key":"cancellation_reason","value":"Payment declined.","disabled":true,"description":"[INFO] Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"In case only the `order_reference` is provided, a full cancellation will be made."}]},"description":"This API is called to (partial) cancel an order/ booking.\nIn case of a full cancellation, you are no longer able to amend the order. Otherwise, the updated order will be returned.\n\nAgain, to avoid mismatches and validate a correct implementation, make sure you compare the returned `order_pricing.price_total`. \n> This API can only be called for bookings with `product_cancellation_allowed:true`. In case your order contains non-cancellable products, a full cancellation will result in an error. You will still be able to do partial-cancellations for those bookings with cancellable products."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"[FILTER] In case the `booking_reference` is provided, a partial cancellation will be made. Only the specified booking(s) will be cancelled."},{"key":"product_type_transaction_id","value":"[\"159118380521834001\"]","disabled":true,"description":"[FILTER] **(ADVANCED)** In case the `product_type_transaction_id` is provided, a partial cancellation will be made. Only the specified transaction(s) will be cancelled."},{"key":"cancellation_reason","value":"Payment declined.","disabled":true,"description":"[INFO] Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"In case only the `order_reference` is provided, a full cancellation will be made."}]},"description":"This API is called to (partial) cancel an order/ booking.\nIn case of a full cancellation, you are no longer able to amend the order. Otherwise, the updated order will be returned.\n\nAgain, to avoid mismatches and validate a correct implementation, make sure you compare the returned `order_pricing.price_total`. \n> This API can only be called for bookings with `product_cancellation_allowed:true`. In case your order contains non-cancellable products, a full cancellation will result in an error. You will still be able to do partial-cancellations for those bookings with cancellable products."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"[FILTER] In case the `booking_reference` is provided, a partial cancellation will be made. Only the specified booking(s) will be cancelled."},{"key":"product_type_transaction_id","value":"[\"159118380521834001\"]","disabled":true,"description":"[FILTER] **(ADVANCED)** In case the `product_type_transaction_id` is provided, a partial cancellation will be made. Only the specified transaction(s) will be cancelled."},{"key":"cancellation_reason","value":"Payment declined.","disabled":true,"description":"[INFO] Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"In case only the `order_reference` is provided, a full cancellation will be made."}]},"description":"This API is called to (partial) cancel an order/ booking.\nIn case of a full cancellation, you are no longer able to amend the order. Otherwise, the updated order will be returned.\n\nAgain, to avoid mismatches and validate a correct implementation, make sure you compare the returned `order_pricing.price_total`. \n> This API can only be called for bookings with `product_cancellation_allowed:true`. In case your order contains non-cancellable products, a full cancellation will result in an error. You will still be able to do partial-cancellations for those bookings with cancellable products."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"[FILTER] In case the `booking_reference` is provided, a partial cancellation will be made. Only the specified booking(s) will be cancelled."},{"key":"product_type_transaction_id","value":"[\"159118380521834001\"]","disabled":true,"description":"[FILTER] **(ADVANCED)** In case the `product_type_transaction_id` is provided, a partial cancellation will be made. Only the specified transaction(s) will be cancelled."},{"key":"cancellation_reason","value":"Payment declined.","disabled":true,"description":"[INFO] Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"In case only the `order_reference` is provided, a full cancellation will be made."}]},"description":"This API is called to (partial) cancel an order/ booking.\nIn case of a full cancellation, you are no longer able to amend the order. Otherwise, the updated order will be returned.\n\nAgain, to avoid mismatches and validate a correct implementation, make sure you compare the returned `order_pricing.price_total`. \n> This API can only be called for bookings with `product_cancellation_allowed:true`. In case your order contains non-cancellable products, a full cancellation will result in an error. You will still be able to do partial-cancellations for those bookings with cancellable products."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"[FILTER] In case the `booking_reference` is provided, a partial cancellation will be made. Only the specified booking(s) will be cancelled."},{"key":"product_type_transaction_id","value":"[\"159118380521834001\"]","disabled":true,"description":"[FILTER] **(ADVANCED)** In case the `product_type_transaction_id` is provided, a partial cancellation will be made. Only the specified transaction(s) will be cancelled."},{"key":"cancellation_reason","value":"Payment declined.","disabled":true,"description":"[INFO] Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"In case only the `order_reference` is provided, a full cancellation will be made."}]},"description":"This API is called to (partial) cancel an order/ booking.\nIn case of a full cancellation, you are no longer able to amend the order. Otherwise, the updated order will be returned.\n\nAgain, to avoid mismatches and validate a correct implementation, make sure you compare the returned `order_pricing.price_total`. \n> This API can only be called for bookings with `product_cancellation_allowed:true`. In case your order contains non-cancellable products, a full cancellation will result in an error. You will still be able to do partial-cancellations for those bookings with cancellable products."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"[FILTER] In case the `booking_reference` is provided, a partial cancellation will be made. Only the specified booking(s) will be cancelled."},{"key":"product_type_transaction_id","value":"[\"159118380521834001\"]","disabled":true,"description":"[FILTER] **(ADVANCED)** In case the `product_type_transaction_id` is provided, a partial cancellation will be made. Only the specified transaction(s) will be cancelled."},{"key":"cancellation_reason","value":"Payment declined.","disabled":true,"description":"[INFO] Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"In case only the `order_reference` is provided, a full cancellation will be made."}]},"description":"This API is called to (partial) cancel an order/ booking.\nIn case of a full cancellation, you are no longer able to amend the order. Otherwise, the updated order will be returned.\n\nAgain, to avoid mismatches and validate a correct implementation, make sure you compare the returned `order_pricing.price_total`. \n> This API can only be called for bookings with `product_cancellation_allowed:true`. In case your order contains non-cancellable products, a full cancellation will result in an error. You will still be able to do partial-cancellations for those bookings with cancellable products."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference","host":["{{base_url}}"],"path":[":version","orders",":order_reference"],"query":[{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"[FILTER] In case the `booking_reference` is provided, a partial cancellation will be made. Only the specified booking(s) will be cancelled."},{"key":"product_type_transaction_id","value":"[\"159118380521834001\"]","disabled":true,"description":"[FILTER] **(ADVANCED)** In case the `product_type_transaction_id` is provided, a partial cancellation will be made. Only the specified transaction(s) will be cancelled."},{"key":"cancellation_reason","value":"Payment declined.","disabled":true,"description":"[INFO] Optional reason for this cancellation."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"In case only the `order_reference` is provided, a full cancellation will be made."}]},"description":"This API is called to (partial) cancel an order/ booking.\nIn case of a full cancellation, you are no longer able to amend the order. Otherwise, the updated order will be returned.\n\nAgain, to avoid mismatches and validate a correct implementation, make sure you compare the returned `order_pricing.price_total`. \n> This API can only be called for bookings with `product_cancellation_allowed:true`. In case your order contains non-cancellable products, a full cancellation will result in an error. You will still be able to do partial-cancellations for those bookings with cancellable products."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["if (pm.collectionVariables.get('allow_mutations') !== 'true') { pm.execution.skipRequest(); }"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Get Voucher","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"response":[{"name":"200 - A voucher download URL or PDF, according to the configured format and requested Media Type.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"url\": \"https://example.com/voucher/EXAMPLE-ORDER\"\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Get Voucher - PDF","request":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"response":[{"name":"200 - A voucher download URL or PDF, according to the configured format and requested Media Type.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/pdf"}],"cookie":[],"body":""},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/voucher","host":["{{base_url}}"],"path":[":version","orders",":order_reference","voucher"],"query":[{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"A unique identifier got in response of booking API."},{"key":"force_release","value":"false","disabled":true,"description":"Force release of the voucher if the booking is still pending. This option is available only for configurations that support voucher release; otherwise `true` returns HTTP 422."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"Download the voucher for an order. Set Accept to application/json for a download URL or application/pdf for a PDF where that format is available. A voucher may need to be released before it can be downloaded."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}},{"listen":"test","script":{"type":"text/javascript","exec":["if (pm.response.code === 200) { pm.test('PDF content type', () => pm.expect(pm.response.headers.get('Content-Type')).to.include('application/pdf')); pm.test('PDF signature', () => pm.expect(pm.response.text().slice(0, 5)).to.eql('%PDF-')); }"]}}]},{"name":"Get Invoice","request":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/invoice","host":["{{base_url}}"],"path":[":version","orders",":order_reference","invoice"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"The order reference returned by the booking API."}]},"description":"Download the issued invoice for an order as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new invoice."},"response":[{"name":"200 - The issued invoice rendered as PDF.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/invoice","host":["{{base_url}}"],"path":[":version","orders",":order_reference","invoice"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"The order reference returned by the booking API."}]},"description":"Download the issued invoice for an order as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new invoice."},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/pdf"}],"cookie":[],"body":""},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/invoice","host":["{{base_url}}"],"path":[":version","orders",":order_reference","invoice"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"The order reference returned by the booking API."}]},"description":"Download the issued invoice for an order as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new invoice."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/invoice","host":["{{base_url}}"],"path":[":version","orders",":order_reference","invoice"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"The order reference returned by the booking API."}]},"description":"Download the issued invoice for an order as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new invoice."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/invoice","host":["{{base_url}}"],"path":[":version","orders",":order_reference","invoice"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"The order reference returned by the booking API."}]},"description":"Download the issued invoice for an order as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new invoice."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/invoice","host":["{{base_url}}"],"path":[":version","orders",":order_reference","invoice"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"The order reference returned by the booking API."}]},"description":"Download the issued invoice for an order as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new invoice."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/invoice","host":["{{base_url}}"],"path":[":version","orders",":order_reference","invoice"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"The order reference returned by the booking API."}]},"description":"Download the issued invoice for an order as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new invoice."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/invoice","host":["{{base_url}}"],"path":[":version","orders",":order_reference","invoice"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"The order reference returned by the booking API."}]},"description":"Download the issued invoice for an order as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new invoice."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/invoice","host":["{{base_url}}"],"path":[":version","orders",":order_reference","invoice"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"The order reference returned by the booking API."}]},"description":"Download the issued invoice for an order as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new invoice."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/invoice","host":["{{base_url}}"],"path":[":version","orders",":order_reference","invoice"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"The order reference returned by the booking API."}]},"description":"Download the issued invoice for an order as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new invoice."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/invoice","host":["{{base_url}}"],"path":[":version","orders",":order_reference","invoice"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"The order reference returned by the booking API."}]},"description":"Download the issued invoice for an order as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new invoice."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/invoice","host":["{{base_url}}"],"path":[":version","orders",":order_reference","invoice"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"The order reference returned by the booking API."}]},"description":"Download the issued invoice for an order as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new invoice."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/invoice","host":["{{base_url}}"],"path":[":version","orders",":order_reference","invoice"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"The order reference returned by the booking API."}]},"description":"Download the issued invoice for an order as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new invoice."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}},{"listen":"test","script":{"type":"text/javascript","exec":["if (pm.response.code === 200) { pm.test('PDF content type', () => pm.expect(pm.response.headers.get('Content-Type')).to.include('application/pdf')); pm.test('PDF signature', () => pm.expect(pm.response.text().slice(0, 5)).to.eql('%PDF-')); }"]}}]},{"name":"De-identify Order","request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/deidentify","host":["{{base_url}}"],"path":[":version","orders",":order_reference","deidentify"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to de-identify customer information on an order. \n\nThis endpoint is making use of pseudonymization which is a de-identification technique that replaces sensitive data values with cryptographically generated tokens. Pseudonymization is widely used in industries like finance and healthcare to help reduce the risk of data in use, narrow compliance scope, and minimize the exposure of sensitive data to systems while preserving data utility and accuracy.\n> Requests for \"right to be forgotten (RTBF)\" can be facilitated by this endpoint."},"response":[{"name":"200 - Reference response format. This operation is not available in this API release.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/deidentify","host":["{{base_url}}"],"path":[":version","orders",":order_reference","deidentify"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to de-identify customer information on an order. \n\nThis endpoint is making use of pseudonymization which is a de-identification technique that replaces sensitive data values with cryptographically generated tokens. Pseudonymization is widely used in industries like finance and healthcare to help reduce the risk of data in use, narrow compliance scope, and minimize the exposure of sensitive data to systems while preserving data utility and accuracy.\n> Requests for \"right to be forgotten (RTBF)\" can be facilitated by this endpoint."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"order\": {\n      \"order_platform_id\": \"1\",\n      \"order_platform_name\": \"Platform Name\",\n      \"order_reseller_id\": \"1300\",\n      \"order_reseller_name\": \"Demo reseller\",\n      \"order_distributor_id\": \"501\",\n      \"order_distributor_name\": \"Demo Distributor\",\n      \"order_partner_id\": \"4534543543\",\n      \"order_partner_name\": \"Partner Name\",\n      \"order_reference\": \"ORDRREF123456\",\n      \"order_external_reference\": \"EXTERNALREF123\",\n      \"order_settlement_type\": \"EXTERNAL\",\n      \"order_channel\": \"PARTNER\",\n      \"order_language\": \"en\",\n      \"order_version\": 1,\n      \"order_archived\": false,\n      \"order_contacts\": [],\n      \"order_promocodes\": [],\n      \"order_payments\": [],\n      \"order_checkout_fields\": [],\n      \"order_pricing\": {\n        \"price_type\": \"SALES\",\n        \"price_currency_code\": \"EUR\",\n        \"price_currency_rate\": \"1.647\",\n        \"price_subtotal\": \"20.00\",\n        \"price_variations\": [\n          {\n            \"variation_label\": \"Peak Hour\",\n            \"variation_amount\": \"2.50\",\n            \"variation_type\": \"PRODUCT_DYNAMIC\"\n          }\n        ],\n        \"price_promocodes\": [],\n        \"price_taxes\": [],\n        \"price_fees\": [],\n        \"price_margins\": [],\n        \"price_total\": \"12.00\"\n      },\n      \"order_invoices\": [],\n      \"order_options\": {\n        \"email_options\": {\n          \"email_types\": {\n            \"send_tickets\": false,\n            \"send_receipt\": false,\n            \"send_marketing\": false,\n            \"send_offers\": false,\n            \"send_notification\": false\n          }\n        },\n        \"price_on_voucher\": true\n      },\n      \"order_flags\": [],\n      \"order_event_details\": [],\n      \"order_custom_fields\": [],\n      \"order_notes\": [],\n      \"order_activity_url\": \"https://activity.tuexperiencia.com/orders/ORDRREF123456\",\n      \"order_customer_url\": \"https://customer.tuexperiencia.com/orders/ORDRREF123456\",\n      \"order_voucher_url\": \"https://emails.tuexperiencia.com\",\n      \"order_created\": \"2027-06-15T10:00:00Z\",\n      \"order_created_name\": \"Demo Cashier\",\n      \"order_created_email\": \"cashier@tuexperiencia.com\",\n      \"order_modified\": \"2027-06-15T10:00:00Z\",\n      \"order_modified_name\": \"Demo Cashier\",\n      \"order_modified_email\": \"cashier@tuexperiencia.com\",\n      \"order_confirmed\": \"2027-06-15T10:00:00Z\",\n      \"order_invoiced\": \"2027-06-15T10:00:00Z\",\n      \"order_cancellation_date_time\": \"2027-06-15T10:00:00Z\",\n      \"order_cancellation_reason\": \"Payment declined\",\n      \"order_bookings\": []\n    }\n  }\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/deidentify","host":["{{base_url}}"],"path":[":version","orders",":order_reference","deidentify"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to de-identify customer information on an order. \n\nThis endpoint is making use of pseudonymization which is a de-identification technique that replaces sensitive data values with cryptographically generated tokens. Pseudonymization is widely used in industries like finance and healthcare to help reduce the risk of data in use, narrow compliance scope, and minimize the exposure of sensitive data to systems while preserving data utility and accuracy.\n> Requests for \"right to be forgotten (RTBF)\" can be facilitated by this endpoint."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/deidentify","host":["{{base_url}}"],"path":[":version","orders",":order_reference","deidentify"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to de-identify customer information on an order. \n\nThis endpoint is making use of pseudonymization which is a de-identification technique that replaces sensitive data values with cryptographically generated tokens. Pseudonymization is widely used in industries like finance and healthcare to help reduce the risk of data in use, narrow compliance scope, and minimize the exposure of sensitive data to systems while preserving data utility and accuracy.\n> Requests for \"right to be forgotten (RTBF)\" can be facilitated by this endpoint."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/deidentify","host":["{{base_url}}"],"path":[":version","orders",":order_reference","deidentify"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to de-identify customer information on an order. \n\nThis endpoint is making use of pseudonymization which is a de-identification technique that replaces sensitive data values with cryptographically generated tokens. Pseudonymization is widely used in industries like finance and healthcare to help reduce the risk of data in use, narrow compliance scope, and minimize the exposure of sensitive data to systems while preserving data utility and accuracy.\n> Requests for \"right to be forgotten (RTBF)\" can be facilitated by this endpoint."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"405 - Request failed.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/deidentify","host":["{{base_url}}"],"path":[":version","orders",":order_reference","deidentify"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to de-identify customer information on an order. \n\nThis endpoint is making use of pseudonymization which is a de-identification technique that replaces sensitive data values with cryptographically generated tokens. Pseudonymization is widely used in industries like finance and healthcare to help reduce the risk of data in use, narrow compliance scope, and minimize the exposure of sensitive data to systems while preserving data utility and accuracy.\n> Requests for \"right to be forgotten (RTBF)\" can be facilitated by this endpoint."},"status":"Method Not Allowed","code":405,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"406 - Request failed.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/deidentify","host":["{{base_url}}"],"path":[":version","orders",":order_reference","deidentify"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to de-identify customer information on an order. \n\nThis endpoint is making use of pseudonymization which is a de-identification technique that replaces sensitive data values with cryptographically generated tokens. Pseudonymization is widely used in industries like finance and healthcare to help reduce the risk of data in use, narrow compliance scope, and minimize the exposure of sensitive data to systems while preserving data utility and accuracy.\n> Requests for \"right to be forgotten (RTBF)\" can be facilitated by this endpoint."},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"409 - Request failed.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/deidentify","host":["{{base_url}}"],"path":[":version","orders",":order_reference","deidentify"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to de-identify customer information on an order. \n\nThis endpoint is making use of pseudonymization which is a de-identification technique that replaces sensitive data values with cryptographically generated tokens. Pseudonymization is widely used in industries like finance and healthcare to help reduce the risk of data in use, narrow compliance scope, and minimize the exposure of sensitive data to systems while preserving data utility and accuracy.\n> Requests for \"right to be forgotten (RTBF)\" can be facilitated by this endpoint."},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/deidentify","host":["{{base_url}}"],"path":[":version","orders",":order_reference","deidentify"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to de-identify customer information on an order. \n\nThis endpoint is making use of pseudonymization which is a de-identification technique that replaces sensitive data values with cryptographically generated tokens. Pseudonymization is widely used in industries like finance and healthcare to help reduce the risk of data in use, narrow compliance scope, and minimize the exposure of sensitive data to systems while preserving data utility and accuracy.\n> Requests for \"right to be forgotten (RTBF)\" can be facilitated by this endpoint."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/deidentify","host":["{{base_url}}"],"path":[":version","orders",":order_reference","deidentify"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to de-identify customer information on an order. \n\nThis endpoint is making use of pseudonymization which is a de-identification technique that replaces sensitive data values with cryptographically generated tokens. Pseudonymization is widely used in industries like finance and healthcare to help reduce the risk of data in use, narrow compliance scope, and minimize the exposure of sensitive data to systems while preserving data utility and accuracy.\n> Requests for \"right to be forgotten (RTBF)\" can be facilitated by this endpoint."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/deidentify","host":["{{base_url}}"],"path":[":version","orders",":order_reference","deidentify"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to de-identify customer information on an order. \n\nThis endpoint is making use of pseudonymization which is a de-identification technique that replaces sensitive data values with cryptographically generated tokens. Pseudonymization is widely used in industries like finance and healthcare to help reduce the risk of data in use, narrow compliance scope, and minimize the exposure of sensitive data to systems while preserving data utility and accuracy.\n> Requests for \"right to be forgotten (RTBF)\" can be facilitated by this endpoint."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/deidentify","host":["{{base_url}}"],"path":[":version","orders",":order_reference","deidentify"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to de-identify customer information on an order. \n\nThis endpoint is making use of pseudonymization which is a de-identification technique that replaces sensitive data values with cryptographically generated tokens. Pseudonymization is widely used in industries like finance and healthcare to help reduce the risk of data in use, narrow compliance scope, and minimize the exposure of sensitive data to systems while preserving data utility and accuracy.\n> Requests for \"right to be forgotten (RTBF)\" can be facilitated by this endpoint."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/deidentify","host":["{{base_url}}"],"path":[":version","orders",":order_reference","deidentify"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to de-identify customer information on an order. \n\nThis endpoint is making use of pseudonymization which is a de-identification technique that replaces sensitive data values with cryptographically generated tokens. Pseudonymization is widely used in industries like finance and healthcare to help reduce the risk of data in use, narrow compliance scope, and minimize the exposure of sensitive data to systems while preserving data utility and accuracy.\n> Requests for \"right to be forgotten (RTBF)\" can be facilitated by this endpoint."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/deidentify","host":["{{base_url}}"],"path":[":version","orders",":order_reference","deidentify"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to de-identify customer information on an order. \n\nThis endpoint is making use of pseudonymization which is a de-identification technique that replaces sensitive data values with cryptographically generated tokens. Pseudonymization is widely used in industries like finance and healthcare to help reduce the risk of data in use, narrow compliance scope, and minimize the exposure of sensitive data to systems while preserving data utility and accuracy.\n> Requests for \"right to be forgotten (RTBF)\" can be facilitated by this endpoint."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/deidentify","host":["{{base_url}}"],"path":[":version","orders",":order_reference","deidentify"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to de-identify customer information on an order. \n\nThis endpoint is making use of pseudonymization which is a de-identification technique that replaces sensitive data values with cryptographically generated tokens. Pseudonymization is widely used in industries like finance and healthcare to help reduce the risk of data in use, narrow compliance scope, and minimize the exposure of sensitive data to systems while preserving data utility and accuracy.\n> Requests for \"right to be forgotten (RTBF)\" can be facilitated by this endpoint."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/orders/:order_reference/deidentify","host":["{{base_url}}"],"path":[":version","orders",":order_reference","deidentify"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"order_reference","value":"{{order_reference}}","description":"A unique identifier got in response of booking API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to de-identify customer information on an order. \n\nThis endpoint is making use of pseudonymization which is a de-identification technique that replaces sensitive data values with cryptographically generated tokens. Pseudonymization is widely used in industries like finance and healthcare to help reduce the risk of data in use, narrow compliance scope, and minimize the exposure of sensitive data to systems while preserving data utility and accuracy.\n> Requests for \"right to be forgotten (RTBF)\" can be facilitated by this endpoint."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["// This operation is not available in this API release.","pm.execution.skipRequest();"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["if (pm.collectionVariables.get('allow_mutations') !== 'true') { pm.execution.skipRequest(); }"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]}]},{"name":"Payments","description":"Manage and settle payments using the API.\n\nNot applicable to B2B resellers / purchases (Indirect sales / `SettlementType:EXTERNAL`).\n","item":[{"name":"Create Payment","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Select an order_reference or booking_reference as the payment target."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial payment will be registered. Only the specified booking will be paid."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to initiate a payment on a Tue connected PSP or to settle a manual payment.  This is a required step if `SettlementType:DIRECT`. \n> * Only applicable to guest payments. Not applicable to B2B resellers (Indirect sales / `SettlementType:EXTERNAL`).\n> * Once a payment has been made you are unable to amend the reservation.\n","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"payment\",\n    \"payment\": {\n      \"payment_object_type\": \"MANUAL\",\n      \"payment_merchant_reference\": \"EXAMPLE-PAYMENT\",\n      \"payment_method\": \"CASH\",\n      \"payment_currency_code\": \"EUR\",\n      \"payment_currency_amount\": \"25.00\",\n      \"payment_amount\": \"25.00\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"name":"201 - Make Payment Response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Select an order_reference or booking_reference as the payment target."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial payment will be registered. Only the specified booking will be paid."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to initiate a payment on a Tue connected PSP or to settle a manual payment.  This is a required step if `SettlementType:DIRECT`. \n> * Only applicable to guest payments. Not applicable to B2B resellers (Indirect sales / `SettlementType:EXTERNAL`).\n> * Once a payment has been made you are unable to amend the reservation.\n","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"payment\",\n    \"payment\": {\n      \"payment_object_type\": \"MANUAL\",\n      \"payment_merchant_reference\": \"EXAMPLE-PAYMENT\",\n      \"payment_method\": \"CASH\",\n      \"payment_currency_code\": \"EUR\",\n      \"payment_currency_amount\": \"25.00\",\n      \"payment_amount\": \"25.00\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"payment\",\n    \"payment\": {\n      \"payment_object_type\": \"MANUAL\",\n      \"payment_details\": {\n        \"payment_id\": \"914fca40-d71c-11ea-a4c4-05fbb7067802\",\n        \"payment_merchant_reference\": \"TEST_PAYMENT\",\n        \"payment_external_reference\": \"SHOPPER_REF\",\n        \"payment_status\": \"PAID\",\n        \"payment_method\": \"CASH\",\n        \"payment_currency_code\": \"EUR\",\n        \"payment_currency_amount\": \"421.30\",\n        \"payment_amount\": \"500.00\",\n        \"payment_total\": \"500.00\",\n        \"payment_contact\": {\n          \"contact_name_first\": \"Ladarius\",\n          \"contact_name_last\": \"Barton\",\n          \"contact_email\": \"Lori17@example.com\"\n        },\n        \"payment_created\": \"2020-08-05T15:07:08+02:00\",\n        \"payment_created_name\": \"Demo Cashier\",\n        \"payment_created_email\": \"demoCashier@example.com\"\n      }\n    }\n  }\n}"},{"name":"204 - Payment initiated, result will be notified on the set `return_url`.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Select an order_reference or booking_reference as the payment target."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial payment will be registered. Only the specified booking will be paid."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to initiate a payment on a Tue connected PSP or to settle a manual payment.  This is a required step if `SettlementType:DIRECT`. \n> * Only applicable to guest payments. Not applicable to B2B resellers (Indirect sales / `SettlementType:EXTERNAL`).\n> * Once a payment has been made you are unable to amend the reservation.\n","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"payment\",\n    \"payment\": {\n      \"payment_object_type\": \"MANUAL\",\n      \"payment_merchant_reference\": \"EXAMPLE-PAYMENT\",\n      \"payment_method\": \"CASH\",\n      \"payment_currency_code\": \"EUR\",\n      \"payment_currency_amount\": \"25.00\",\n      \"payment_amount\": \"25.00\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"body":""},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Select an order_reference or booking_reference as the payment target."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial payment will be registered. Only the specified booking will be paid."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to initiate a payment on a Tue connected PSP or to settle a manual payment.  This is a required step if `SettlementType:DIRECT`. \n> * Only applicable to guest payments. Not applicable to B2B resellers (Indirect sales / `SettlementType:EXTERNAL`).\n> * Once a payment has been made you are unable to amend the reservation.\n","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"payment\",\n    \"payment\": {\n      \"payment_object_type\": \"MANUAL\",\n      \"payment_merchant_reference\": \"EXAMPLE-PAYMENT\",\n      \"payment_method\": \"CASH\",\n      \"payment_currency_code\": \"EUR\",\n      \"payment_currency_amount\": \"25.00\",\n      \"payment_amount\": \"25.00\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Select an order_reference or booking_reference as the payment target."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial payment will be registered. Only the specified booking will be paid."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to initiate a payment on a Tue connected PSP or to settle a manual payment.  This is a required step if `SettlementType:DIRECT`. \n> * Only applicable to guest payments. Not applicable to B2B resellers (Indirect sales / `SettlementType:EXTERNAL`).\n> * Once a payment has been made you are unable to amend the reservation.\n","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"payment\",\n    \"payment\": {\n      \"payment_object_type\": \"MANUAL\",\n      \"payment_merchant_reference\": \"EXAMPLE-PAYMENT\",\n      \"payment_method\": \"CASH\",\n      \"payment_currency_code\": \"EUR\",\n      \"payment_currency_amount\": \"25.00\",\n      \"payment_amount\": \"25.00\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Select an order_reference or booking_reference as the payment target."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial payment will be registered. Only the specified booking will be paid."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to initiate a payment on a Tue connected PSP or to settle a manual payment.  This is a required step if `SettlementType:DIRECT`. \n> * Only applicable to guest payments. Not applicable to B2B resellers (Indirect sales / `SettlementType:EXTERNAL`).\n> * Once a payment has been made you are unable to amend the reservation.\n","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"payment\",\n    \"payment\": {\n      \"payment_object_type\": \"MANUAL\",\n      \"payment_merchant_reference\": \"EXAMPLE-PAYMENT\",\n      \"payment_method\": \"CASH\",\n      \"payment_currency_code\": \"EUR\",\n      \"payment_currency_amount\": \"25.00\",\n      \"payment_amount\": \"25.00\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Select an order_reference or booking_reference as the payment target."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial payment will be registered. Only the specified booking will be paid."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to initiate a payment on a Tue connected PSP or to settle a manual payment.  This is a required step if `SettlementType:DIRECT`. \n> * Only applicable to guest payments. Not applicable to B2B resellers (Indirect sales / `SettlementType:EXTERNAL`).\n> * Once a payment has been made you are unable to amend the reservation.\n","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"payment\",\n    \"payment\": {\n      \"payment_object_type\": \"MANUAL\",\n      \"payment_merchant_reference\": \"EXAMPLE-PAYMENT\",\n      \"payment_method\": \"CASH\",\n      \"payment_currency_code\": \"EUR\",\n      \"payment_currency_amount\": \"25.00\",\n      \"payment_amount\": \"25.00\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Select an order_reference or booking_reference as the payment target."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial payment will be registered. Only the specified booking will be paid."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to initiate a payment on a Tue connected PSP or to settle a manual payment.  This is a required step if `SettlementType:DIRECT`. \n> * Only applicable to guest payments. Not applicable to B2B resellers (Indirect sales / `SettlementType:EXTERNAL`).\n> * Once a payment has been made you are unable to amend the reservation.\n","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"payment\",\n    \"payment\": {\n      \"payment_object_type\": \"MANUAL\",\n      \"payment_merchant_reference\": \"EXAMPLE-PAYMENT\",\n      \"payment_method\": \"CASH\",\n      \"payment_currency_code\": \"EUR\",\n      \"payment_currency_amount\": \"25.00\",\n      \"payment_amount\": \"25.00\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Select an order_reference or booking_reference as the payment target."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial payment will be registered. Only the specified booking will be paid."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to initiate a payment on a Tue connected PSP or to settle a manual payment.  This is a required step if `SettlementType:DIRECT`. \n> * Only applicable to guest payments. Not applicable to B2B resellers (Indirect sales / `SettlementType:EXTERNAL`).\n> * Once a payment has been made you are unable to amend the reservation.\n","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"payment\",\n    \"payment\": {\n      \"payment_object_type\": \"MANUAL\",\n      \"payment_merchant_reference\": \"EXAMPLE-PAYMENT\",\n      \"payment_method\": \"CASH\",\n      \"payment_currency_code\": \"EUR\",\n      \"payment_currency_amount\": \"25.00\",\n      \"payment_amount\": \"25.00\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Select an order_reference or booking_reference as the payment target."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial payment will be registered. Only the specified booking will be paid."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to initiate a payment on a Tue connected PSP or to settle a manual payment.  This is a required step if `SettlementType:DIRECT`. \n> * Only applicable to guest payments. Not applicable to B2B resellers (Indirect sales / `SettlementType:EXTERNAL`).\n> * Once a payment has been made you are unable to amend the reservation.\n","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"payment\",\n    \"payment\": {\n      \"payment_object_type\": \"MANUAL\",\n      \"payment_merchant_reference\": \"EXAMPLE-PAYMENT\",\n      \"payment_method\": \"CASH\",\n      \"payment_currency_code\": \"EUR\",\n      \"payment_currency_amount\": \"25.00\",\n      \"payment_amount\": \"25.00\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Select an order_reference or booking_reference as the payment target."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial payment will be registered. Only the specified booking will be paid."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to initiate a payment on a Tue connected PSP or to settle a manual payment.  This is a required step if `SettlementType:DIRECT`. \n> * Only applicable to guest payments. Not applicable to B2B resellers (Indirect sales / `SettlementType:EXTERNAL`).\n> * Once a payment has been made you are unable to amend the reservation.\n","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"payment\",\n    \"payment\": {\n      \"payment_object_type\": \"MANUAL\",\n      \"payment_merchant_reference\": \"EXAMPLE-PAYMENT\",\n      \"payment_method\": \"CASH\",\n      \"payment_currency_code\": \"EUR\",\n      \"payment_currency_amount\": \"25.00\",\n      \"payment_amount\": \"25.00\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Select an order_reference or booking_reference as the payment target."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial payment will be registered. Only the specified booking will be paid."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to initiate a payment on a Tue connected PSP or to settle a manual payment.  This is a required step if `SettlementType:DIRECT`. \n> * Only applicable to guest payments. Not applicable to B2B resellers (Indirect sales / `SettlementType:EXTERNAL`).\n> * Once a payment has been made you are unable to amend the reservation.\n","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"payment\",\n    \"payment\": {\n      \"payment_object_type\": \"MANUAL\",\n      \"payment_merchant_reference\": \"EXAMPLE-PAYMENT\",\n      \"payment_method\": \"CASH\",\n      \"payment_currency_code\": \"EUR\",\n      \"payment_currency_amount\": \"25.00\",\n      \"payment_amount\": \"25.00\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Select an order_reference or booking_reference as the payment target."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial payment will be registered. Only the specified booking will be paid."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to initiate a payment on a Tue connected PSP or to settle a manual payment.  This is a required step if `SettlementType:DIRECT`. \n> * Only applicable to guest payments. Not applicable to B2B resellers (Indirect sales / `SettlementType:EXTERNAL`).\n> * Once a payment has been made you are unable to amend the reservation.\n","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"payment\",\n    \"payment\": {\n      \"payment_object_type\": \"MANUAL\",\n      \"payment_merchant_reference\": \"EXAMPLE-PAYMENT\",\n      \"payment_method\": \"CASH\",\n      \"payment_currency_code\": \"EUR\",\n      \"payment_currency_amount\": \"25.00\",\n      \"payment_amount\": \"25.00\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"409 - Check current resource state and version before retrying.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Select an order_reference or booking_reference as the payment target."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial payment will be registered. Only the specified booking will be paid."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to initiate a payment on a Tue connected PSP or to settle a manual payment.  This is a required step if `SettlementType:DIRECT`. \n> * Only applicable to guest payments. Not applicable to B2B resellers (Indirect sales / `SettlementType:EXTERNAL`).\n> * Once a payment has been made you are unable to amend the reservation.\n","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"payment\",\n    \"payment\": {\n      \"payment_object_type\": \"MANUAL\",\n      \"payment_merchant_reference\": \"EXAMPLE-PAYMENT\",\n      \"payment_method\": \"CASH\",\n      \"payment_currency_code\": \"EUR\",\n      \"payment_currency_amount\": \"25.00\",\n      \"payment_amount\": \"25.00\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"CONFLICT\",\n  \"error_description\": \"Check current resource state and version before retrying.\",\n  \"error_message\": \"Check current resource state and version before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["if (pm.collectionVariables.get('allow_mutations') !== 'true') { pm.execution.skipRequest(); }"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([201, 204]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Cancel / Refund Payment","request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"A unique order / reservation reference. If provided, all payments linked to this order will be refunded."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial refund will be registered. Only the specified booking will be refunded."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"Unique Payment ID set by the Tue system. This is an internal identifier."},{"key":"refund_reason","value":"Guest reimbursement","disabled":true,"description":"Reason for this refund."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to Cancel / Refund your payment. Only use this API to cancel a payment in progress, e.g. a payment initiated on a payment terminal, or to refund a payment without cancelling the order.\n\nIn case you would like to cancel AND refund you can simply call the Cancel Reservation or the Cancel Order API (`payment_refund:true`) which will refund the payment automatically (also upon auto-cancellation due to reservation expiry). Any card authorizations or blocks will be released as well.\n\nEither the `order_reference`, `booking_reference`, `product_type_transaction_id`, `payment_id`, `payment_merchant_reference` or `payment_service_provider_reference` is required to identify the payment(s) to refund. If provided, only the matching payment(s) will be refunded."},"response":[{"name":"200 - Payment Cancelled / Refunded","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"A unique order / reservation reference. If provided, all payments linked to this order will be refunded."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial refund will be registered. Only the specified booking will be refunded."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"Unique Payment ID set by the Tue system. This is an internal identifier."},{"key":"refund_reason","value":"Guest reimbursement","disabled":true,"description":"Reason for this refund."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to Cancel / Refund your payment. Only use this API to cancel a payment in progress, e.g. a payment initiated on a payment terminal, or to refund a payment without cancelling the order.\n\nIn case you would like to cancel AND refund you can simply call the Cancel Reservation or the Cancel Order API (`payment_refund:true`) which will refund the payment automatically (also upon auto-cancellation due to reservation expiry). Any card authorizations or blocks will be released as well.\n\nEither the `order_reference`, `booking_reference`, `product_type_transaction_id`, `payment_id`, `payment_merchant_reference` or `payment_service_provider_reference` is required to identify the payment(s) to refund. If provided, only the matching payment(s) will be refunded."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"payment\",\n    \"payment\": {\n      \"payment_id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n      \"payment_original_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n      \"payment_partner_id\": \"PAYMENT_PARTNER_ID\",\n      \"payment_shift_id\": \"PAYMENT_SHIFT_ID_123\",\n      \"payment_merchant_reference\": \"1478349849927_771663371\",\n      \"payment_external_reference\": \"SHOPPER_REFERENCE\",\n      \"payment_order_reference\": \"ORDRREF123456\",\n      \"payment_booking_references\": [\n        \"BKNGREF123456\"\n      ],\n      \"payment_order_version\": 2,\n      \"payment_status\": \"PAID\",\n      \"payment_method\": \"EXTERNAL\",\n      \"payment_scheme\": \"VISA\",\n      \"payment_type\": \"CAPTURE\",\n      \"payment_link\": \"https://example.com/s?q=K0U2VmVNRGo0SEhGdFVUZ09IK2ViZkdtK1NjPQ==\",\n      \"payment_link_expires_at\": \"2019-08-24T14:15:22Z\",\n      \"payment_authorization_expires_at\": \"2019-08-24T14:15:22Z\",\n      \"payment_recurring\": false,\n      \"payment_recurring_type\": \"STORE\",\n      \"payment_class\": \"SALES\",\n      \"payment_refund_type\": \"SYSTEM\",\n      \"payment_refund_reason\": \"Guest reimbursement\",\n      \"payment_currency_code\": \"EUR\",\n      \"payment_currency_rate\": \"2.5263\",\n      \"payment_currency_amount\": \"10.25\",\n      \"payment_amount\": \"10.00\",\n      \"payment_total\": \"100.00\",\n      \"payment_gateway_details\": {\n        \"payment_merchant_account_name\": \"ExampleMerchant\",\n        \"payment_service_provider_reference\": \"852596799876396F\",\n        \"payment_service_provider_original_reference\": \"882596799845511E\",\n        \"payment_gateway_type\": \"ADYEN\",\n        \"payment_gateway_additional_values\": {\n          \"psp_shopper_name\": \"Checkout Shopper PlaceHolder\",\n          \"psp_shopper_cardnumber\": \"1111\",\n          \"psp_issuer_country\": \"NL\",\n          \"psp_fraudscore\": \"63\",\n          \"psp_payment_status\": \"Settled\"\n        }\n      },\n      \"payment_contact\": {\n        \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n        \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n        \"contact_version\": 2,\n        \"contact_number\": \"4573246\",\n        \"contact_type\": \"GUEST\",\n        \"contact_title\": \"Mr.\",\n        \"contact_name_first\": \"John\",\n        \"contact_name_last\": \"Doe\",\n        \"contact_email\": \"Johndoe@example.com\",\n        \"contact_phone\": \"+14155552671\",\n        \"contact_mobile\": \"+14155552671\",\n        \"contact_language\": \"NL\",\n        \"contact_nationality\": \"Dutch\",\n        \"contact_flight_number\": \"KL 445\",\n        \"contact_loyalty_number\": \"46564564564547476\",\n        \"contact_birth_place\": \"Amsterdam\",\n        \"contact_birth_date\": \"2019-08-24\",\n        \"contact_passport\": \"JXXXXXXX\",\n        \"contact_gender\": \"MALE\",\n        \"contact_age\": 19,\n        \"contact_redacted\": false,\n        \"contact_room_number\": \"523\",\n        \"contact_website\": \"example.com\",\n        \"contact_company\": {\n          \"company_name\": \"Example LTD.\",\n          \"company_registration_number\": \"string\",\n          \"company_tax_number\": \"string\"\n        },\n        \"contact_classification\": \"IMPORTANT\",\n        \"contact_address\": {\n          \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"name\": \"Start of the Tour / My house / Office / John Doe\",\n          \"street\": \"Amstel 1\",\n          \"addition\": \"Apt B1\",\n          \"city\": \"Amsterdam\",\n          \"postal_code\": \"1011 PN\",\n          \"region\": \"Noord-Holland\",\n          \"country\": \"The Netherlands\",\n          \"country_code\": \"NL\",\n          \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n          \"latitude\": \"52.3785323\",\n          \"longitude\": \"4.893942\",\n          \"notes\": \"It's on the fourth floor\"\n        },\n        \"contact_notes\": [\n          {\n            \"note_value\": \"Wheelchair assistance required.\",\n            \"note_type\": \"GUEST\",\n            \"note_date\": \"2019-08-24T14:15:22Z\",\n            \"note_creator\": \"Andrew (Supervisor)\"\n          }\n        ],\n        \"contact_custom_fields\": [\n          {\n            \"custom_field_name\": \"Custom Field Name\",\n            \"custom_field_value\": \"Custom Field Value\",\n            \"custom_field_type\": \"SYSTEM\"\n          }\n        ],\n        \"contact_created\": \"2019-08-24T14:15:22Z\",\n        \"contact_modified\": \"2019-08-24T14:15:22Z\"\n      },\n      \"payment_fees\": [\n        {\n          \"fee_label\": \"Credit Card Fee (VISA)\",\n          \"fee_amount\": \"0.10\",\n          \"fee_type\": \"PAYMENT\"\n        }\n      ],\n      \"payment_notes\": [\n        {\n          \"note_value\": \"Wheelchair assistance required.\",\n          \"note_type\": \"GUEST\",\n          \"note_date\": \"2019-08-24T14:15:22Z\",\n          \"note_creator\": \"Andrew (Supervisor)\"\n        }\n      ],\n      \"payment_created\": \"2019-08-24T14:15:22Z\",\n      \"payment_created_name\": \"Cashier Name\",\n      \"payment_created_email\": \"cashier@example.com\"\n    }\n  }\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"A unique order / reservation reference. If provided, all payments linked to this order will be refunded."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial refund will be registered. Only the specified booking will be refunded."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"Unique Payment ID set by the Tue system. This is an internal identifier."},{"key":"refund_reason","value":"Guest reimbursement","disabled":true,"description":"Reason for this refund."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to Cancel / Refund your payment. Only use this API to cancel a payment in progress, e.g. a payment initiated on a payment terminal, or to refund a payment without cancelling the order.\n\nIn case you would like to cancel AND refund you can simply call the Cancel Reservation or the Cancel Order API (`payment_refund:true`) which will refund the payment automatically (also upon auto-cancellation due to reservation expiry). Any card authorizations or blocks will be released as well.\n\nEither the `order_reference`, `booking_reference`, `product_type_transaction_id`, `payment_id`, `payment_merchant_reference` or `payment_service_provider_reference` is required to identify the payment(s) to refund. If provided, only the matching payment(s) will be refunded."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"A unique order / reservation reference. If provided, all payments linked to this order will be refunded."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial refund will be registered. Only the specified booking will be refunded."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"Unique Payment ID set by the Tue system. This is an internal identifier."},{"key":"refund_reason","value":"Guest reimbursement","disabled":true,"description":"Reason for this refund."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to Cancel / Refund your payment. Only use this API to cancel a payment in progress, e.g. a payment initiated on a payment terminal, or to refund a payment without cancelling the order.\n\nIn case you would like to cancel AND refund you can simply call the Cancel Reservation or the Cancel Order API (`payment_refund:true`) which will refund the payment automatically (also upon auto-cancellation due to reservation expiry). Any card authorizations or blocks will be released as well.\n\nEither the `order_reference`, `booking_reference`, `product_type_transaction_id`, `payment_id`, `payment_merchant_reference` or `payment_service_provider_reference` is required to identify the payment(s) to refund. If provided, only the matching payment(s) will be refunded."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"A unique order / reservation reference. If provided, all payments linked to this order will be refunded."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial refund will be registered. Only the specified booking will be refunded."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"Unique Payment ID set by the Tue system. This is an internal identifier."},{"key":"refund_reason","value":"Guest reimbursement","disabled":true,"description":"Reason for this refund."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to Cancel / Refund your payment. Only use this API to cancel a payment in progress, e.g. a payment initiated on a payment terminal, or to refund a payment without cancelling the order.\n\nIn case you would like to cancel AND refund you can simply call the Cancel Reservation or the Cancel Order API (`payment_refund:true`) which will refund the payment automatically (also upon auto-cancellation due to reservation expiry). Any card authorizations or blocks will be released as well.\n\nEither the `order_reference`, `booking_reference`, `product_type_transaction_id`, `payment_id`, `payment_merchant_reference` or `payment_service_provider_reference` is required to identify the payment(s) to refund. If provided, only the matching payment(s) will be refunded."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"409 - Check current resource state and version before retrying.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"A unique order / reservation reference. If provided, all payments linked to this order will be refunded."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial refund will be registered. Only the specified booking will be refunded."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"Unique Payment ID set by the Tue system. This is an internal identifier."},{"key":"refund_reason","value":"Guest reimbursement","disabled":true,"description":"Reason for this refund."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to Cancel / Refund your payment. Only use this API to cancel a payment in progress, e.g. a payment initiated on a payment terminal, or to refund a payment without cancelling the order.\n\nIn case you would like to cancel AND refund you can simply call the Cancel Reservation or the Cancel Order API (`payment_refund:true`) which will refund the payment automatically (also upon auto-cancellation due to reservation expiry). Any card authorizations or blocks will be released as well.\n\nEither the `order_reference`, `booking_reference`, `product_type_transaction_id`, `payment_id`, `payment_merchant_reference` or `payment_service_provider_reference` is required to identify the payment(s) to refund. If provided, only the matching payment(s) will be refunded."},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"CONFLICT\",\n  \"error_description\": \"Check current resource state and version before retrying.\",\n  \"error_message\": \"Check current resource state and version before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"A unique order / reservation reference. If provided, all payments linked to this order will be refunded."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial refund will be registered. Only the specified booking will be refunded."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"Unique Payment ID set by the Tue system. This is an internal identifier."},{"key":"refund_reason","value":"Guest reimbursement","disabled":true,"description":"Reason for this refund."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to Cancel / Refund your payment. Only use this API to cancel a payment in progress, e.g. a payment initiated on a payment terminal, or to refund a payment without cancelling the order.\n\nIn case you would like to cancel AND refund you can simply call the Cancel Reservation or the Cancel Order API (`payment_refund:true`) which will refund the payment automatically (also upon auto-cancellation due to reservation expiry). Any card authorizations or blocks will be released as well.\n\nEither the `order_reference`, `booking_reference`, `product_type_transaction_id`, `payment_id`, `payment_merchant_reference` or `payment_service_provider_reference` is required to identify the payment(s) to refund. If provided, only the matching payment(s) will be refunded."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"A unique order / reservation reference. If provided, all payments linked to this order will be refunded."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial refund will be registered. Only the specified booking will be refunded."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"Unique Payment ID set by the Tue system. This is an internal identifier."},{"key":"refund_reason","value":"Guest reimbursement","disabled":true,"description":"Reason for this refund."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to Cancel / Refund your payment. Only use this API to cancel a payment in progress, e.g. a payment initiated on a payment terminal, or to refund a payment without cancelling the order.\n\nIn case you would like to cancel AND refund you can simply call the Cancel Reservation or the Cancel Order API (`payment_refund:true`) which will refund the payment automatically (also upon auto-cancellation due to reservation expiry). Any card authorizations or blocks will be released as well.\n\nEither the `order_reference`, `booking_reference`, `product_type_transaction_id`, `payment_id`, `payment_merchant_reference` or `payment_service_provider_reference` is required to identify the payment(s) to refund. If provided, only the matching payment(s) will be refunded."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"A unique order / reservation reference. If provided, all payments linked to this order will be refunded."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial refund will be registered. Only the specified booking will be refunded."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"Unique Payment ID set by the Tue system. This is an internal identifier."},{"key":"refund_reason","value":"Guest reimbursement","disabled":true,"description":"Reason for this refund."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to Cancel / Refund your payment. Only use this API to cancel a payment in progress, e.g. a payment initiated on a payment terminal, or to refund a payment without cancelling the order.\n\nIn case you would like to cancel AND refund you can simply call the Cancel Reservation or the Cancel Order API (`payment_refund:true`) which will refund the payment automatically (also upon auto-cancellation due to reservation expiry). Any card authorizations or blocks will be released as well.\n\nEither the `order_reference`, `booking_reference`, `product_type_transaction_id`, `payment_id`, `payment_merchant_reference` or `payment_service_provider_reference` is required to identify the payment(s) to refund. If provided, only the matching payment(s) will be refunded."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"A unique order / reservation reference. If provided, all payments linked to this order will be refunded."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial refund will be registered. Only the specified booking will be refunded."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"Unique Payment ID set by the Tue system. This is an internal identifier."},{"key":"refund_reason","value":"Guest reimbursement","disabled":true,"description":"Reason for this refund."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to Cancel / Refund your payment. Only use this API to cancel a payment in progress, e.g. a payment initiated on a payment terminal, or to refund a payment without cancelling the order.\n\nIn case you would like to cancel AND refund you can simply call the Cancel Reservation or the Cancel Order API (`payment_refund:true`) which will refund the payment automatically (also upon auto-cancellation due to reservation expiry). Any card authorizations or blocks will be released as well.\n\nEither the `order_reference`, `booking_reference`, `product_type_transaction_id`, `payment_id`, `payment_merchant_reference` or `payment_service_provider_reference` is required to identify the payment(s) to refund. If provided, only the matching payment(s) will be refunded."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"A unique order / reservation reference. If provided, all payments linked to this order will be refunded."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial refund will be registered. Only the specified booking will be refunded."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"Unique Payment ID set by the Tue system. This is an internal identifier."},{"key":"refund_reason","value":"Guest reimbursement","disabled":true,"description":"Reason for this refund."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to Cancel / Refund your payment. Only use this API to cancel a payment in progress, e.g. a payment initiated on a payment terminal, or to refund a payment without cancelling the order.\n\nIn case you would like to cancel AND refund you can simply call the Cancel Reservation or the Cancel Order API (`payment_refund:true`) which will refund the payment automatically (also upon auto-cancellation due to reservation expiry). Any card authorizations or blocks will be released as well.\n\nEither the `order_reference`, `booking_reference`, `product_type_transaction_id`, `payment_id`, `payment_merchant_reference` or `payment_service_provider_reference` is required to identify the payment(s) to refund. If provided, only the matching payment(s) will be refunded."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"A unique order / reservation reference. If provided, all payments linked to this order will be refunded."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial refund will be registered. Only the specified booking will be refunded."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"Unique Payment ID set by the Tue system. This is an internal identifier."},{"key":"refund_reason","value":"Guest reimbursement","disabled":true,"description":"Reason for this refund."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to Cancel / Refund your payment. Only use this API to cancel a payment in progress, e.g. a payment initiated on a payment terminal, or to refund a payment without cancelling the order.\n\nIn case you would like to cancel AND refund you can simply call the Cancel Reservation or the Cancel Order API (`payment_refund:true`) which will refund the payment automatically (also upon auto-cancellation due to reservation expiry). Any card authorizations or blocks will be released as well.\n\nEither the `order_reference`, `booking_reference`, `product_type_transaction_id`, `payment_id`, `payment_merchant_reference` or `payment_service_provider_reference` is required to identify the payment(s) to refund. If provided, only the matching payment(s) will be refunded."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"A unique order / reservation reference. If provided, all payments linked to this order will be refunded."},{"key":"booking_reference","value":"[\"BOOKING_REFERENCE_123\"]","disabled":true,"description":"**(ADVANCED)** In case a `booking_reference` is provided, a partial refund will be registered. Only the specified booking will be refunded."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"Unique Payment ID set by the Tue system. This is an internal identifier."},{"key":"refund_reason","value":"Guest reimbursement","disabled":true,"description":"Reason for this refund."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"This API is called to Cancel / Refund your payment. Only use this API to cancel a payment in progress, e.g. a payment initiated on a payment terminal, or to refund a payment without cancelling the order.\n\nIn case you would like to cancel AND refund you can simply call the Cancel Reservation or the Cancel Order API (`payment_refund:true`) which will refund the payment automatically (also upon auto-cancellation due to reservation expiry). Any card authorizations or blocks will be released as well.\n\nEither the `order_reference`, `booking_reference`, `product_type_transaction_id`, `payment_id`, `payment_merchant_reference` or `payment_service_provider_reference` is required to identify the payment(s) to refund. If provided, only the matching payment(s) will be refunded."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["if (pm.collectionVariables.get('allow_mutations') !== 'true') { pm.execution.skipRequest(); }"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"List Payments","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`. You can also pass the `reservation_reference` in this field."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_id`."},{"key":"payment_merchant_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_merchant_reference`."},{"key":"payment_service_provider_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_service_provider_reference`."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] on `payment_external_reference`."},{"key":"payment_class","value":"SALES","disabled":true,"description":"**(ADVANCED)** By default sales payments will be returned. Alternatively you can also retrieve the purchase related payments."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to list all payments in your account.\n"},"response":[{"name":"200 - Reference response format. This operation is not available in this API release.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`. You can also pass the `reservation_reference` in this field."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_id`."},{"key":"payment_merchant_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_merchant_reference`."},{"key":"payment_service_provider_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_service_provider_reference`."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] on `payment_external_reference`."},{"key":"payment_class","value":"SALES","disabled":true,"description":"**(ADVANCED)** By default sales payments will be returned. Alternatively you can also retrieve the purchase related payments."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to list all payments in your account.\n"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"current_item_count\": 10,\n    \"items_per_page\": 10,\n    \"start_index\": 1,\n    \"total_items\": 200,\n    \"page_index\": 1,\n    \"total_pages\": 20,\n    \"items\": []\n  }\n}"},{"name":"304 - Not Modified\n\nThe HTTP 304 Not Modified client redirection response code indicates that there is no need to retransmit the requested resources. It is an implicit redirection to a cached resource. This happens when the request method is safe, like a GET or a HEAD request, or when the request is conditional and uses a `If-None-Match` or a `If-Modified-Since` header.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`. You can also pass the `reservation_reference` in this field."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_id`."},{"key":"payment_merchant_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_merchant_reference`."},{"key":"payment_service_provider_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_service_provider_reference`."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] on `payment_external_reference`."},{"key":"payment_class","value":"SALES","disabled":true,"description":"**(ADVANCED)** By default sales payments will be returned. Alternatively you can also retrieve the purchase related payments."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to list all payments in your account.\n"},"status":"Not Modified","code":304,"header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"body":""},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`. You can also pass the `reservation_reference` in this field."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_id`."},{"key":"payment_merchant_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_merchant_reference`."},{"key":"payment_service_provider_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_service_provider_reference`."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] on `payment_external_reference`."},{"key":"payment_class","value":"SALES","disabled":true,"description":"**(ADVANCED)** By default sales payments will be returned. Alternatively you can also retrieve the purchase related payments."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to list all payments in your account.\n"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`. You can also pass the `reservation_reference` in this field."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_id`."},{"key":"payment_merchant_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_merchant_reference`."},{"key":"payment_service_provider_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_service_provider_reference`."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] on `payment_external_reference`."},{"key":"payment_class","value":"SALES","disabled":true,"description":"**(ADVANCED)** By default sales payments will be returned. Alternatively you can also retrieve the purchase related payments."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to list all payments in your account.\n"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`. You can also pass the `reservation_reference` in this field."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_id`."},{"key":"payment_merchant_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_merchant_reference`."},{"key":"payment_service_provider_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_service_provider_reference`."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] on `payment_external_reference`."},{"key":"payment_class","value":"SALES","disabled":true,"description":"**(ADVANCED)** By default sales payments will be returned. Alternatively you can also retrieve the purchase related payments."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to list all payments in your account.\n"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"405 - Request failed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`. You can also pass the `reservation_reference` in this field."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_id`."},{"key":"payment_merchant_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_merchant_reference`."},{"key":"payment_service_provider_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_service_provider_reference`."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] on `payment_external_reference`."},{"key":"payment_class","value":"SALES","disabled":true,"description":"**(ADVANCED)** By default sales payments will be returned. Alternatively you can also retrieve the purchase related payments."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to list all payments in your account.\n"},"status":"Method Not Allowed","code":405,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"406 - Request failed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`. You can also pass the `reservation_reference` in this field."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_id`."},{"key":"payment_merchant_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_merchant_reference`."},{"key":"payment_service_provider_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_service_provider_reference`."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] on `payment_external_reference`."},{"key":"payment_class","value":"SALES","disabled":true,"description":"**(ADVANCED)** By default sales payments will be returned. Alternatively you can also retrieve the purchase related payments."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to list all payments in your account.\n"},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`. You can also pass the `reservation_reference` in this field."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_id`."},{"key":"payment_merchant_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_merchant_reference`."},{"key":"payment_service_provider_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_service_provider_reference`."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] on `payment_external_reference`."},{"key":"payment_class","value":"SALES","disabled":true,"description":"**(ADVANCED)** By default sales payments will be returned. Alternatively you can also retrieve the purchase related payments."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to list all payments in your account.\n"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`. You can also pass the `reservation_reference` in this field."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_id`."},{"key":"payment_merchant_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_merchant_reference`."},{"key":"payment_service_provider_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_service_provider_reference`."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] on `payment_external_reference`."},{"key":"payment_class","value":"SALES","disabled":true,"description":"**(ADVANCED)** By default sales payments will be returned. Alternatively you can also retrieve the purchase related payments."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to list all payments in your account.\n"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`. You can also pass the `reservation_reference` in this field."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_id`."},{"key":"payment_merchant_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_merchant_reference`."},{"key":"payment_service_provider_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_service_provider_reference`."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] on `payment_external_reference`."},{"key":"payment_class","value":"SALES","disabled":true,"description":"**(ADVANCED)** By default sales payments will be returned. Alternatively you can also retrieve the purchase related payments."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to list all payments in your account.\n"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`. You can also pass the `reservation_reference` in this field."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_id`."},{"key":"payment_merchant_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_merchant_reference`."},{"key":"payment_service_provider_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_service_provider_reference`."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] on `payment_external_reference`."},{"key":"payment_class","value":"SALES","disabled":true,"description":"**(ADVANCED)** By default sales payments will be returned. Alternatively you can also retrieve the purchase related payments."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to list all payments in your account.\n"},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`. You can also pass the `reservation_reference` in this field."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_id`."},{"key":"payment_merchant_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_merchant_reference`."},{"key":"payment_service_provider_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_service_provider_reference`."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] on `payment_external_reference`."},{"key":"payment_class","value":"SALES","disabled":true,"description":"**(ADVANCED)** By default sales payments will be returned. Alternatively you can also retrieve the purchase related payments."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to list all payments in your account.\n"},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`. You can also pass the `reservation_reference` in this field."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_id`."},{"key":"payment_merchant_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_merchant_reference`."},{"key":"payment_service_provider_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_service_provider_reference`."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] on `payment_external_reference`."},{"key":"payment_class","value":"SALES","disabled":true,"description":"**(ADVANCED)** By default sales payments will be returned. Alternatively you can also retrieve the purchase related payments."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to list all payments in your account.\n"},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`. You can also pass the `reservation_reference` in this field."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_id`."},{"key":"payment_merchant_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_merchant_reference`."},{"key":"payment_service_provider_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_service_provider_reference`."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] on `payment_external_reference`."},{"key":"payment_class","value":"SALES","disabled":true,"description":"**(ADVANCED)** By default sales payments will be returned. Alternatively you can also retrieve the purchase related payments."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to list all payments in your account.\n"},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","payments"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"[FILTER] on `order_reference`. You can also pass the `reservation_reference` in this field."},{"key":"payment_id","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_id`."},{"key":"payment_merchant_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_merchant_reference`."},{"key":"payment_service_provider_reference","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","disabled":true,"description":"[FILTER] on `payment_service_provider_reference`."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] on `payment_external_reference`."},{"key":"payment_class","value":"SALES","disabled":true,"description":"**(ADVANCED)** By default sales payments will be returned. Alternatively you can also retrieve the purchase related payments."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to list all payments in your account.\n"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["// This operation is not available in this API release.","pm.execution.skipRequest();"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Get Receipt","request":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_reference/receipt","host":["{{base_url}}"],"path":[":version","payments",":payment_reference","receipt"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_reference","value":"{{payment_reference}}","description":"The payment reference returned by the payment API."}]},"description":"Download the issued receipt for a payment as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new receipt."},"response":[{"name":"200 - The issued payment receipt rendered as PDF.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_reference/receipt","host":["{{base_url}}"],"path":[":version","payments",":payment_reference","receipt"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_reference","value":"{{payment_reference}}","description":"The payment reference returned by the payment API."}]},"description":"Download the issued receipt for a payment as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new receipt."},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/pdf"}],"cookie":[],"body":""},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_reference/receipt","host":["{{base_url}}"],"path":[":version","payments",":payment_reference","receipt"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_reference","value":"{{payment_reference}}","description":"The payment reference returned by the payment API."}]},"description":"Download the issued receipt for a payment as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new receipt."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_reference/receipt","host":["{{base_url}}"],"path":[":version","payments",":payment_reference","receipt"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_reference","value":"{{payment_reference}}","description":"The payment reference returned by the payment API."}]},"description":"Download the issued receipt for a payment as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new receipt."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_reference/receipt","host":["{{base_url}}"],"path":[":version","payments",":payment_reference","receipt"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_reference","value":"{{payment_reference}}","description":"The payment reference returned by the payment API."}]},"description":"Download the issued receipt for a payment as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new receipt."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_reference/receipt","host":["{{base_url}}"],"path":[":version","payments",":payment_reference","receipt"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_reference","value":"{{payment_reference}}","description":"The payment reference returned by the payment API."}]},"description":"Download the issued receipt for a payment as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new receipt."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_reference/receipt","host":["{{base_url}}"],"path":[":version","payments",":payment_reference","receipt"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_reference","value":"{{payment_reference}}","description":"The payment reference returned by the payment API."}]},"description":"Download the issued receipt for a payment as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new receipt."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_reference/receipt","host":["{{base_url}}"],"path":[":version","payments",":payment_reference","receipt"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_reference","value":"{{payment_reference}}","description":"The payment reference returned by the payment API."}]},"description":"Download the issued receipt for a payment as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new receipt."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_reference/receipt","host":["{{base_url}}"],"path":[":version","payments",":payment_reference","receipt"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_reference","value":"{{payment_reference}}","description":"The payment reference returned by the payment API."}]},"description":"Download the issued receipt for a payment as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new receipt."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_reference/receipt","host":["{{base_url}}"],"path":[":version","payments",":payment_reference","receipt"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_reference","value":"{{payment_reference}}","description":"The payment reference returned by the payment API."}]},"description":"Download the issued receipt for a payment as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new receipt."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_reference/receipt","host":["{{base_url}}"],"path":[":version","payments",":payment_reference","receipt"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_reference","value":"{{payment_reference}}","description":"The payment reference returned by the payment API."}]},"description":"Download the issued receipt for a payment as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new receipt."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_reference/receipt","host":["{{base_url}}"],"path":[":version","payments",":payment_reference","receipt"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_reference","value":"{{payment_reference}}","description":"The payment reference returned by the payment API."}]},"description":"Download the issued receipt for a payment as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new receipt."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/pdf"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_reference/receipt","host":["{{base_url}}"],"path":[":version","payments",":payment_reference","receipt"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_reference","value":"{{payment_reference}}","description":"The payment reference returned by the payment API."}]},"description":"Download the issued receipt for a payment as a PDF. The document must already exist and be visible to the authenticated account; this operation does not issue a new receipt."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}},{"listen":"test","script":{"type":"text/javascript","exec":["if (pm.response.code === 200) { pm.test('PDF content type', () => pm.expect(pm.response.headers.get('Content-Type')).to.include('application/pdf')); pm.test('PDF signature', () => pm.expect(pm.response.text().slice(0, 5)).to.eql('%PDF-')); }"]}}]},{"name":"Get Payment Configuration","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/config?payment_gateway_type=ADYEN&order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","config"],"query":[{"key":"payment_gateway_type","value":"ADYEN","disabled":false,"description":"Selected payment service provider."},{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"[FILTER] Some payment service providers allow to filter payment methods / configuration based on for example shopper region and order value. If a `order_reference` or `reservation_reference` is provided, such details will be sent forward to the PSP system."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] Return the stored payment methods for a specific (returning) shopper (`payment_recurring:true`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to get available payment methods and configuration from a Tue PSP. "},"response":[{"name":"200 - Reference response format. This operation is not available in this API release.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/config?payment_gateway_type=ADYEN&order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","config"],"query":[{"key":"payment_gateway_type","value":"ADYEN","disabled":false,"description":"Selected payment service provider."},{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"[FILTER] Some payment service providers allow to filter payment methods / configuration based on for example shopper region and order value. If a `order_reference` or `reservation_reference` is provided, such details will be sent forward to the PSP system."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] Return the stored payment methods for a specific (returning) shopper (`payment_recurring:true`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to get available payment methods and configuration from a Tue PSP. "},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"payment_methods\": \"{\\\\\\\"groups\\\\\\\":[{\\\\\\\"name\\\\\\\":\\\\\\\"Credit Card\\\\\\\",\\\\\\\"types\\\\\\\":[\\\\\\\"mc\\\\\\\",\\\\\\\"visa\\\\\\\"...\",\n  \"payment_origin_key\": \"pub.v2.99...\",\n  \"payment_origin_domain\": \"https://www.your-company.com\"\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/config?payment_gateway_type=ADYEN&order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","config"],"query":[{"key":"payment_gateway_type","value":"ADYEN","disabled":false,"description":"Selected payment service provider."},{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"[FILTER] Some payment service providers allow to filter payment methods / configuration based on for example shopper region and order value. If a `order_reference` or `reservation_reference` is provided, such details will be sent forward to the PSP system."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] Return the stored payment methods for a specific (returning) shopper (`payment_recurring:true`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to get available payment methods and configuration from a Tue PSP. "},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/config?payment_gateway_type=ADYEN&order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","config"],"query":[{"key":"payment_gateway_type","value":"ADYEN","disabled":false,"description":"Selected payment service provider."},{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"[FILTER] Some payment service providers allow to filter payment methods / configuration based on for example shopper region and order value. If a `order_reference` or `reservation_reference` is provided, such details will be sent forward to the PSP system."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] Return the stored payment methods for a specific (returning) shopper (`payment_recurring:true`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to get available payment methods and configuration from a Tue PSP. "},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/config?payment_gateway_type=ADYEN&order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","config"],"query":[{"key":"payment_gateway_type","value":"ADYEN","disabled":false,"description":"Selected payment service provider."},{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"[FILTER] Some payment service providers allow to filter payment methods / configuration based on for example shopper region and order value. If a `order_reference` or `reservation_reference` is provided, such details will be sent forward to the PSP system."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] Return the stored payment methods for a specific (returning) shopper (`payment_recurring:true`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to get available payment methods and configuration from a Tue PSP. "},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"405 - Request failed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/config?payment_gateway_type=ADYEN&order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","config"],"query":[{"key":"payment_gateway_type","value":"ADYEN","disabled":false,"description":"Selected payment service provider."},{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"[FILTER] Some payment service providers allow to filter payment methods / configuration based on for example shopper region and order value. If a `order_reference` or `reservation_reference` is provided, such details will be sent forward to the PSP system."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] Return the stored payment methods for a specific (returning) shopper (`payment_recurring:true`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to get available payment methods and configuration from a Tue PSP. "},"status":"Method Not Allowed","code":405,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"406 - Request failed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/config?payment_gateway_type=ADYEN&order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","config"],"query":[{"key":"payment_gateway_type","value":"ADYEN","disabled":false,"description":"Selected payment service provider."},{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"[FILTER] Some payment service providers allow to filter payment methods / configuration based on for example shopper region and order value. If a `order_reference` or `reservation_reference` is provided, such details will be sent forward to the PSP system."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] Return the stored payment methods for a specific (returning) shopper (`payment_recurring:true`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to get available payment methods and configuration from a Tue PSP. "},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/config?payment_gateway_type=ADYEN&order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","config"],"query":[{"key":"payment_gateway_type","value":"ADYEN","disabled":false,"description":"Selected payment service provider."},{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"[FILTER] Some payment service providers allow to filter payment methods / configuration based on for example shopper region and order value. If a `order_reference` or `reservation_reference` is provided, such details will be sent forward to the PSP system."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] Return the stored payment methods for a specific (returning) shopper (`payment_recurring:true`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to get available payment methods and configuration from a Tue PSP. "},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/config?payment_gateway_type=ADYEN&order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","config"],"query":[{"key":"payment_gateway_type","value":"ADYEN","disabled":false,"description":"Selected payment service provider."},{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"[FILTER] Some payment service providers allow to filter payment methods / configuration based on for example shopper region and order value. If a `order_reference` or `reservation_reference` is provided, such details will be sent forward to the PSP system."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] Return the stored payment methods for a specific (returning) shopper (`payment_recurring:true`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to get available payment methods and configuration from a Tue PSP. "},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/config?payment_gateway_type=ADYEN&order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","config"],"query":[{"key":"payment_gateway_type","value":"ADYEN","disabled":false,"description":"Selected payment service provider."},{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"[FILTER] Some payment service providers allow to filter payment methods / configuration based on for example shopper region and order value. If a `order_reference` or `reservation_reference` is provided, such details will be sent forward to the PSP system."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] Return the stored payment methods for a specific (returning) shopper (`payment_recurring:true`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to get available payment methods and configuration from a Tue PSP. "},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/config?payment_gateway_type=ADYEN&order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","config"],"query":[{"key":"payment_gateway_type","value":"ADYEN","disabled":false,"description":"Selected payment service provider."},{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"[FILTER] Some payment service providers allow to filter payment methods / configuration based on for example shopper region and order value. If a `order_reference` or `reservation_reference` is provided, such details will be sent forward to the PSP system."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] Return the stored payment methods for a specific (returning) shopper (`payment_recurring:true`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to get available payment methods and configuration from a Tue PSP. "},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/config?payment_gateway_type=ADYEN&order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","config"],"query":[{"key":"payment_gateway_type","value":"ADYEN","disabled":false,"description":"Selected payment service provider."},{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"[FILTER] Some payment service providers allow to filter payment methods / configuration based on for example shopper region and order value. If a `order_reference` or `reservation_reference` is provided, such details will be sent forward to the PSP system."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] Return the stored payment methods for a specific (returning) shopper (`payment_recurring:true`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to get available payment methods and configuration from a Tue PSP. "},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/config?payment_gateway_type=ADYEN&order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","config"],"query":[{"key":"payment_gateway_type","value":"ADYEN","disabled":false,"description":"Selected payment service provider."},{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"[FILTER] Some payment service providers allow to filter payment methods / configuration based on for example shopper region and order value. If a `order_reference` or `reservation_reference` is provided, such details will be sent forward to the PSP system."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] Return the stored payment methods for a specific (returning) shopper (`payment_recurring:true`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to get available payment methods and configuration from a Tue PSP. "},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/config?payment_gateway_type=ADYEN&order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","config"],"query":[{"key":"payment_gateway_type","value":"ADYEN","disabled":false,"description":"Selected payment service provider."},{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"[FILTER] Some payment service providers allow to filter payment methods / configuration based on for example shopper region and order value. If a `order_reference` or `reservation_reference` is provided, such details will be sent forward to the PSP system."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] Return the stored payment methods for a specific (returning) shopper (`payment_recurring:true`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to get available payment methods and configuration from a Tue PSP. "},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/config?payment_gateway_type=ADYEN&order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","config"],"query":[{"key":"payment_gateway_type","value":"ADYEN","disabled":false,"description":"Selected payment service provider."},{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"[FILTER] Some payment service providers allow to filter payment methods / configuration based on for example shopper region and order value. If a `order_reference` or `reservation_reference` is provided, such details will be sent forward to the PSP system."},{"key":"payment_external_reference","value":"SHOPPER_REFERENCE","disabled":true,"description":"[FILTER] Return the stored payment methods for a specific (returning) shopper (`payment_recurring:true`)."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to get available payment methods and configuration from a Tue PSP. "},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["// This operation is not available in this API release.","pm.execution.skipRequest();"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Sent Payment Email","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/email?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","email"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Order reference for which the payment email should be sent. You can also pass the `reservation_reference` in this field."},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"Specific booking reference for which the payment email should be sent."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to sent a payment email. \n\nEmail Recipient rules:\n1. If set, we sent to the first `contact_type:PAYMENT`.\n2. Otherwise, if set, we sent to the first `contact_type:BOOKER`.\n3. Otherwise, if set, we sent to the first `contact_type:CONTACT`.\n4. If none of the above are set, we sent to the first contact in the array.\n5. If no contacts are provided, an error will be returned."},"response":[{"name":"204 - Reference response format. This operation is not available in this API release.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/email?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","email"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Order reference for which the payment email should be sent. You can also pass the `reservation_reference` in this field."},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"Specific booking reference for which the payment email should be sent."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to sent a payment email. \n\nEmail Recipient rules:\n1. If set, we sent to the first `contact_type:PAYMENT`.\n2. Otherwise, if set, we sent to the first `contact_type:BOOKER`.\n3. Otherwise, if set, we sent to the first `contact_type:CONTACT`.\n4. If none of the above are set, we sent to the first contact in the array.\n5. If no contacts are provided, an error will be returned."},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"body":""},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/email?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","email"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Order reference for which the payment email should be sent. You can also pass the `reservation_reference` in this field."},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"Specific booking reference for which the payment email should be sent."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to sent a payment email. \n\nEmail Recipient rules:\n1. If set, we sent to the first `contact_type:PAYMENT`.\n2. Otherwise, if set, we sent to the first `contact_type:BOOKER`.\n3. Otherwise, if set, we sent to the first `contact_type:CONTACT`.\n4. If none of the above are set, we sent to the first contact in the array.\n5. If no contacts are provided, an error will be returned."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/email?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","email"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Order reference for which the payment email should be sent. You can also pass the `reservation_reference` in this field."},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"Specific booking reference for which the payment email should be sent."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to sent a payment email. \n\nEmail Recipient rules:\n1. If set, we sent to the first `contact_type:PAYMENT`.\n2. Otherwise, if set, we sent to the first `contact_type:BOOKER`.\n3. Otherwise, if set, we sent to the first `contact_type:CONTACT`.\n4. If none of the above are set, we sent to the first contact in the array.\n5. If no contacts are provided, an error will be returned."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/email?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","email"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Order reference for which the payment email should be sent. You can also pass the `reservation_reference` in this field."},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"Specific booking reference for which the payment email should be sent."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to sent a payment email. \n\nEmail Recipient rules:\n1. If set, we sent to the first `contact_type:PAYMENT`.\n2. Otherwise, if set, we sent to the first `contact_type:BOOKER`.\n3. Otherwise, if set, we sent to the first `contact_type:CONTACT`.\n4. If none of the above are set, we sent to the first contact in the array.\n5. If no contacts are provided, an error will be returned."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"405 - Request failed.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/email?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","email"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Order reference for which the payment email should be sent. You can also pass the `reservation_reference` in this field."},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"Specific booking reference for which the payment email should be sent."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to sent a payment email. \n\nEmail Recipient rules:\n1. If set, we sent to the first `contact_type:PAYMENT`.\n2. Otherwise, if set, we sent to the first `contact_type:BOOKER`.\n3. Otherwise, if set, we sent to the first `contact_type:CONTACT`.\n4. If none of the above are set, we sent to the first contact in the array.\n5. If no contacts are provided, an error will be returned."},"status":"Method Not Allowed","code":405,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"406 - Request failed.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/email?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","email"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Order reference for which the payment email should be sent. You can also pass the `reservation_reference` in this field."},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"Specific booking reference for which the payment email should be sent."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to sent a payment email. \n\nEmail Recipient rules:\n1. If set, we sent to the first `contact_type:PAYMENT`.\n2. Otherwise, if set, we sent to the first `contact_type:BOOKER`.\n3. Otherwise, if set, we sent to the first `contact_type:CONTACT`.\n4. If none of the above are set, we sent to the first contact in the array.\n5. If no contacts are provided, an error will be returned."},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/email?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","email"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Order reference for which the payment email should be sent. You can also pass the `reservation_reference` in this field."},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"Specific booking reference for which the payment email should be sent."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to sent a payment email. \n\nEmail Recipient rules:\n1. If set, we sent to the first `contact_type:PAYMENT`.\n2. Otherwise, if set, we sent to the first `contact_type:BOOKER`.\n3. Otherwise, if set, we sent to the first `contact_type:CONTACT`.\n4. If none of the above are set, we sent to the first contact in the array.\n5. If no contacts are provided, an error will be returned."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/email?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","email"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Order reference for which the payment email should be sent. You can also pass the `reservation_reference` in this field."},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"Specific booking reference for which the payment email should be sent."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to sent a payment email. \n\nEmail Recipient rules:\n1. If set, we sent to the first `contact_type:PAYMENT`.\n2. Otherwise, if set, we sent to the first `contact_type:BOOKER`.\n3. Otherwise, if set, we sent to the first `contact_type:CONTACT`.\n4. If none of the above are set, we sent to the first contact in the array.\n5. If no contacts are provided, an error will be returned."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/email?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","email"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Order reference for which the payment email should be sent. You can also pass the `reservation_reference` in this field."},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"Specific booking reference for which the payment email should be sent."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to sent a payment email. \n\nEmail Recipient rules:\n1. If set, we sent to the first `contact_type:PAYMENT`.\n2. Otherwise, if set, we sent to the first `contact_type:BOOKER`.\n3. Otherwise, if set, we sent to the first `contact_type:CONTACT`.\n4. If none of the above are set, we sent to the first contact in the array.\n5. If no contacts are provided, an error will be returned."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/email?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","email"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Order reference for which the payment email should be sent. You can also pass the `reservation_reference` in this field."},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"Specific booking reference for which the payment email should be sent."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to sent a payment email. \n\nEmail Recipient rules:\n1. If set, we sent to the first `contact_type:PAYMENT`.\n2. Otherwise, if set, we sent to the first `contact_type:BOOKER`.\n3. Otherwise, if set, we sent to the first `contact_type:CONTACT`.\n4. If none of the above are set, we sent to the first contact in the array.\n5. If no contacts are provided, an error will be returned."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/email?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","email"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Order reference for which the payment email should be sent. You can also pass the `reservation_reference` in this field."},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"Specific booking reference for which the payment email should be sent."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to sent a payment email. \n\nEmail Recipient rules:\n1. If set, we sent to the first `contact_type:PAYMENT`.\n2. Otherwise, if set, we sent to the first `contact_type:BOOKER`.\n3. Otherwise, if set, we sent to the first `contact_type:CONTACT`.\n4. If none of the above are set, we sent to the first contact in the array.\n5. If no contacts are provided, an error will be returned."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/email?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","email"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Order reference for which the payment email should be sent. You can also pass the `reservation_reference` in this field."},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"Specific booking reference for which the payment email should be sent."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to sent a payment email. \n\nEmail Recipient rules:\n1. If set, we sent to the first `contact_type:PAYMENT`.\n2. Otherwise, if set, we sent to the first `contact_type:BOOKER`.\n3. Otherwise, if set, we sent to the first `contact_type:CONTACT`.\n4. If none of the above are set, we sent to the first contact in the array.\n5. If no contacts are provided, an error will be returned."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/email?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","email"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Order reference for which the payment email should be sent. You can also pass the `reservation_reference` in this field."},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"Specific booking reference for which the payment email should be sent."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to sent a payment email. \n\nEmail Recipient rules:\n1. If set, we sent to the first `contact_type:PAYMENT`.\n2. Otherwise, if set, we sent to the first `contact_type:BOOKER`.\n3. Otherwise, if set, we sent to the first `contact_type:CONTACT`.\n4. If none of the above are set, we sent to the first contact in the array.\n5. If no contacts are provided, an error will be returned."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/email?order_reference={{order_reference}}","host":["{{base_url}}"],"path":[":version","payments","email"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":false,"description":"Order reference for which the payment email should be sent. You can also pass the `reservation_reference` in this field."},{"key":"booking_reference","value":"BOOKINGREF123","disabled":true,"description":"Specific booking reference for which the payment email should be sent."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to sent a payment email. \n\nEmail Recipient rules:\n1. If set, we sent to the first `contact_type:PAYMENT`.\n2. Otherwise, if set, we sent to the first `contact_type:BOOKER`.\n3. Otherwise, if set, we sent to the first `contact_type:CONTACT`.\n4. If none of the above are set, we sent to the first contact in the array.\n5. If no contacts are provided, an error will be returned."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["// This operation is not available in this API release.","pm.execution.skipRequest();"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["if (pm.collectionVariables.get('allow_mutations') !== 'true') { pm.execution.skipRequest(); }"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([204]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Submit Additional Payment Details","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_id/details","host":["{{base_url}}"],"path":[":version","payments",":payment_id","details"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_id","value":"{{payment_id}}","description":"A unique identifier got in response of the create payment API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to submit additional payment details. Only applicable to merchants using the Adyen Marketplace. [More Information](https://docs.adyen.com/checkout/drop-in-web#step-4-additional-front-end)","body":{"mode":"raw","raw":"{\n  \"data\": \"EXAMPLE\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"name":"201 - Reference response format. This operation is not available in this API release.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_id/details","host":["{{base_url}}"],"path":[":version","payments",":payment_id","details"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_id","value":"{{payment_id}}","description":"A unique identifier got in response of the create payment API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to submit additional payment details. Only applicable to merchants using the Adyen Marketplace. [More Information](https://docs.adyen.com/checkout/drop-in-web#step-4-additional-front-end)","body":{"mode":"raw","raw":"{\n  \"data\": \"EXAMPLE\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"payment\": {\n      \"payment_object_type\": \"MANUAL\",\n      \"payment_result_code\": \"Authorised\",\n      \"payment_action\": \"{\\n  \\\"data\\\": {\\n      \\\"MD\\\": \\\"OEVudmZVMUlkWjd0MDNwUWs2bmhSdz09...\\\",\\n      \\\"PaReq\\\": \\\"eNpVUttygjAQ/RXbDyAXBYRZ00HpTH3wUosPfe...\\\",\\n      \\\"TermUrl\\\": \\\"adyencheckout://your.package.name\\\"\\n  },\\n  \\\"method\\\": \\\"POST\\\",\\n  \\\"paymentData\\\": \\\"Ab02b4c0!BQABAgA4e3wGkhVah4CJL19qdegdmm9E...\\\",\\n  \\\"paymentMethodType\\\": \\\"scheme\\\",\\n  \\\"type\\\": \\\"redirect\\\",\\n  \\\"url\\\": \\\"https://test.adyen.com/hpp/3d/validate.shtml\\\"\\n}\\n\",\n      \"payment_refusal_reason\": \"Not enough balance\",\n      \"payment_details\": {\n        \"payment_id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n        \"payment_original_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n        \"payment_partner_id\": \"PAYMENT_PARTNER_ID\",\n        \"payment_shift_id\": \"PAYMENT_SHIFT_ID_123\",\n        \"payment_merchant_reference\": \"1478349849927_771663371\",\n        \"payment_external_reference\": \"SHOPPER_REFERENCE\",\n        \"payment_order_reference\": \"ORDRREF123456\",\n        \"payment_booking_references\": [],\n        \"payment_order_version\": 2,\n        \"payment_status\": \"PAID\",\n        \"payment_method\": \"EXTERNAL\",\n        \"payment_scheme\": \"VISA\",\n        \"payment_type\": \"CAPTURE\",\n        \"payment_link\": \"https://customer.tuexperiencia.com/s?q=K0U2VmVNRGo0SEhGdFVUZ09IK2ViZkdtK1NjPQ==\",\n        \"payment_link_expires_at\": \"2027-06-15T10:00:00Z\",\n        \"payment_authorization_expires_at\": \"2027-06-15T10:00:00Z\",\n        \"payment_recurring\": false,\n        \"payment_recurring_type\": \"STORE\",\n        \"payment_refund_type\": \"SYSTEM\",\n        \"payment_refund_reason\": \"Guest reimbursement\",\n        \"payment_currency_code\": \"EUR\",\n        \"payment_currency_rate\": \"2.5263\",\n        \"payment_currency_amount\": \"10.25\",\n        \"payment_amount\": \"10.00\",\n        \"payment_total\": \"100.00\",\n        \"payment_gateway_details\": {\n          \"payment_merchant_account_name\": \"tuexperienciaECOM\",\n          \"payment_service_provider_reference\": \"852596799876396F\",\n          \"payment_service_provider_original_reference\": \"882596799845511E\",\n          \"payment_gateway_type\": \"ADYEN\",\n          \"payment_gateway_additional_values\": {\n            \"psp_shopper_name\": \"Checkout Shopper PlaceHolder\",\n            \"psp_shopper_cardnumber\": \"1111\",\n            \"psp_issuer_country\": \"NL\",\n            \"psp_fraudscore\": \"63\",\n            \"psp_payment_status\": \"Settled\"\n          }\n        },\n        \"payment_contact\": {\n          \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n          \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n          \"contact_version\": 2,\n          \"contact_number\": \"4573246\",\n          \"contact_type\": \"GUEST\",\n          \"contact_title\": \"Mr.\",\n          \"contact_name_first\": \"John\",\n          \"contact_name_last\": \"Doe\",\n          \"contact_email\": \"Johndoe@example.com\",\n          \"contact_phone\": \"+14155552671\",\n          \"contact_mobile\": \"+14155552671\",\n          \"contact_language\": \"NL\",\n          \"contact_nationality\": \"Dutch\",\n          \"contact_flight_number\": \"KL 445\",\n          \"contact_loyalty_number\": \"46564564564547476\",\n          \"contact_birth_place\": \"Amsterdam\",\n          \"contact_birth_date\": \"2027-06-15\",\n          \"contact_passport\": \"JXXXXXXX\",\n          \"contact_gender\": \"MALE\",\n          \"contact_age\": 19,\n          \"contact_redacted\": false,\n          \"contact_room_number\": \"523\",\n          \"contact_website\": \"example.com\",\n          \"contact_company\": {\n            \"company_name\": \"Example LTD.\",\n            \"company_registration_number\": \"EXAMPLE\",\n            \"company_tax_number\": \"EXAMPLE\"\n          },\n          \"contact_classification\": \"IMPORTANT\",\n          \"contact_address\": {\n            \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n            \"name\": \"Start of the Tour / My house / Office / John Doe\",\n            \"street\": \"Amstel 1\",\n            \"addition\": \"Apt B1\",\n            \"city\": \"Amsterdam\",\n            \"postal_code\": \"1011 PN\",\n            \"region\": \"Noord-Holland\",\n            \"country\": \"The Netherlands\",\n            \"country_code\": \"NL\",\n            \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n            \"latitude\": \"52.3785323\",\n            \"longitude\": \"4.893942\",\n            \"notes\": \"It's on the fourth floor\"\n          },\n          \"contact_notes\": [],\n          \"contact_custom_fields\": [],\n          \"contact_created\": \"2027-06-15T10:00:00Z\",\n          \"contact_modified\": \"2027-06-15T10:00:00Z\"\n        },\n        \"payment_fees\": [\n          {\n            \"fee_label\": \"Credit Card Fee (VISA)\",\n            \"fee_amount\": \"0.10\",\n            \"fee_type\": \"PAYMENT\"\n          }\n        ],\n        \"payment_notes\": [],\n        \"payment_created\": \"2027-06-15T10:00:00Z\",\n        \"payment_created_name\": \"Cashier Name\",\n        \"payment_created_email\": \"cashier@tuexperiencia.com\"\n      }\n    }\n  }\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_id/details","host":["{{base_url}}"],"path":[":version","payments",":payment_id","details"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_id","value":"{{payment_id}}","description":"A unique identifier got in response of the create payment API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to submit additional payment details. Only applicable to merchants using the Adyen Marketplace. [More Information](https://docs.adyen.com/checkout/drop-in-web#step-4-additional-front-end)","body":{"mode":"raw","raw":"{\n  \"data\": \"EXAMPLE\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_id/details","host":["{{base_url}}"],"path":[":version","payments",":payment_id","details"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_id","value":"{{payment_id}}","description":"A unique identifier got in response of the create payment API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to submit additional payment details. Only applicable to merchants using the Adyen Marketplace. [More Information](https://docs.adyen.com/checkout/drop-in-web#step-4-additional-front-end)","body":{"mode":"raw","raw":"{\n  \"data\": \"EXAMPLE\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_id/details","host":["{{base_url}}"],"path":[":version","payments",":payment_id","details"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_id","value":"{{payment_id}}","description":"A unique identifier got in response of the create payment API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to submit additional payment details. Only applicable to merchants using the Adyen Marketplace. [More Information](https://docs.adyen.com/checkout/drop-in-web#step-4-additional-front-end)","body":{"mode":"raw","raw":"{\n  \"data\": \"EXAMPLE\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"405 - Request failed.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_id/details","host":["{{base_url}}"],"path":[":version","payments",":payment_id","details"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_id","value":"{{payment_id}}","description":"A unique identifier got in response of the create payment API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to submit additional payment details. Only applicable to merchants using the Adyen Marketplace. [More Information](https://docs.adyen.com/checkout/drop-in-web#step-4-additional-front-end)","body":{"mode":"raw","raw":"{\n  \"data\": \"EXAMPLE\"\n}","options":{"raw":{"language":"json"}}}},"status":"Method Not Allowed","code":405,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"406 - Request failed.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_id/details","host":["{{base_url}}"],"path":[":version","payments",":payment_id","details"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_id","value":"{{payment_id}}","description":"A unique identifier got in response of the create payment API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to submit additional payment details. Only applicable to merchants using the Adyen Marketplace. [More Information](https://docs.adyen.com/checkout/drop-in-web#step-4-additional-front-end)","body":{"mode":"raw","raw":"{\n  \"data\": \"EXAMPLE\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_id/details","host":["{{base_url}}"],"path":[":version","payments",":payment_id","details"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_id","value":"{{payment_id}}","description":"A unique identifier got in response of the create payment API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to submit additional payment details. Only applicable to merchants using the Adyen Marketplace. [More Information](https://docs.adyen.com/checkout/drop-in-web#step-4-additional-front-end)","body":{"mode":"raw","raw":"{\n  \"data\": \"EXAMPLE\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_id/details","host":["{{base_url}}"],"path":[":version","payments",":payment_id","details"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_id","value":"{{payment_id}}","description":"A unique identifier got in response of the create payment API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to submit additional payment details. Only applicable to merchants using the Adyen Marketplace. [More Information](https://docs.adyen.com/checkout/drop-in-web#step-4-additional-front-end)","body":{"mode":"raw","raw":"{\n  \"data\": \"EXAMPLE\"\n}","options":{"raw":{"language":"json"}}}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_id/details","host":["{{base_url}}"],"path":[":version","payments",":payment_id","details"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_id","value":"{{payment_id}}","description":"A unique identifier got in response of the create payment API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to submit additional payment details. Only applicable to merchants using the Adyen Marketplace. [More Information](https://docs.adyen.com/checkout/drop-in-web#step-4-additional-front-end)","body":{"mode":"raw","raw":"{\n  \"data\": \"EXAMPLE\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_id/details","host":["{{base_url}}"],"path":[":version","payments",":payment_id","details"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_id","value":"{{payment_id}}","description":"A unique identifier got in response of the create payment API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to submit additional payment details. Only applicable to merchants using the Adyen Marketplace. [More Information](https://docs.adyen.com/checkout/drop-in-web#step-4-additional-front-end)","body":{"mode":"raw","raw":"{\n  \"data\": \"EXAMPLE\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_id/details","host":["{{base_url}}"],"path":[":version","payments",":payment_id","details"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_id","value":"{{payment_id}}","description":"A unique identifier got in response of the create payment API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to submit additional payment details. Only applicable to merchants using the Adyen Marketplace. [More Information](https://docs.adyen.com/checkout/drop-in-web#step-4-additional-front-end)","body":{"mode":"raw","raw":"{\n  \"data\": \"EXAMPLE\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_id/details","host":["{{base_url}}"],"path":[":version","payments",":payment_id","details"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_id","value":"{{payment_id}}","description":"A unique identifier got in response of the create payment API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to submit additional payment details. Only applicable to merchants using the Adyen Marketplace. [More Information](https://docs.adyen.com/checkout/drop-in-web#step-4-additional-front-end)","body":{"mode":"raw","raw":"{\n  \"data\": \"EXAMPLE\"\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_id/details","host":["{{base_url}}"],"path":[":version","payments",":payment_id","details"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_id","value":"{{payment_id}}","description":"A unique identifier got in response of the create payment API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to submit additional payment details. Only applicable to merchants using the Adyen Marketplace. [More Information](https://docs.adyen.com/checkout/drop-in-web#step-4-additional-front-end)","body":{"mode":"raw","raw":"{\n  \"data\": \"EXAMPLE\"\n}","options":{"raw":{"language":"json"}}}},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/payments/:payment_id/details","host":["{{base_url}}"],"path":[":version","payments",":payment_id","details"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"payment_id","value":"{{payment_id}}","description":"A unique identifier got in response of the create payment API."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API allows to submit additional payment details. Only applicable to merchants using the Adyen Marketplace. [More Information](https://docs.adyen.com/checkout/drop-in-web#step-4-additional-front-end)","body":{"mode":"raw","raw":"{\n  \"data\": \"EXAMPLE\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["// This operation is not available in this API release.","pm.execution.skipRequest();"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["if (pm.collectionVariables.get('allow_mutations') !== 'true') { pm.execution.skipRequest(); }"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([201]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]}]},{"name":"Contacts","description":"Manage reusable guest contact records. The operations in this section are retained in the reference contract and are not available in this API release.","item":[{"name":"List Contacts","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","contacts"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"contact_type","value":"GUEST","disabled":true,"description":"[FILTER] on `contact_type`."},{"key":"contact_external_uid","value":"5330d6d0-cb34-11ea-8e26-095824377b3f","disabled":true,"description":"[FILTER] on `contact_external_uid`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet list of contacts."},"response":[{"name":"200 - Reference response format. This operation is not available in this API release.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","contacts"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"contact_type","value":"GUEST","disabled":true,"description":"[FILTER] on `contact_type`."},{"key":"contact_external_uid","value":"5330d6d0-cb34-11ea-8e26-095824377b3f","disabled":true,"description":"[FILTER] on `contact_external_uid`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet list of contacts."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"current_item_count\": 10,\n    \"items_per_page\": 10,\n    \"start_index\": 1,\n    \"total_items\": 200,\n    \"page_index\": 1,\n    \"total_pages\": 20,\n    \"items\": []\n  }\n}"},{"name":"304 - Not Modified\n\nThe HTTP 304 Not Modified client redirection response code indicates that there is no need to retransmit the requested resources. It is an implicit redirection to a cached resource. This happens when the request method is safe, like a GET or a HEAD request, or when the request is conditional and uses a `If-None-Match` or a `If-Modified-Since` header.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","contacts"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"contact_type","value":"GUEST","disabled":true,"description":"[FILTER] on `contact_type`."},{"key":"contact_external_uid","value":"5330d6d0-cb34-11ea-8e26-095824377b3f","disabled":true,"description":"[FILTER] on `contact_external_uid`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet list of contacts."},"status":"Not Modified","code":304,"header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"body":""},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","contacts"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"contact_type","value":"GUEST","disabled":true,"description":"[FILTER] on `contact_type`."},{"key":"contact_external_uid","value":"5330d6d0-cb34-11ea-8e26-095824377b3f","disabled":true,"description":"[FILTER] on `contact_external_uid`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet list of contacts."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","contacts"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"contact_type","value":"GUEST","disabled":true,"description":"[FILTER] on `contact_type`."},{"key":"contact_external_uid","value":"5330d6d0-cb34-11ea-8e26-095824377b3f","disabled":true,"description":"[FILTER] on `contact_external_uid`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet list of contacts."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","contacts"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"contact_type","value":"GUEST","disabled":true,"description":"[FILTER] on `contact_type`."},{"key":"contact_external_uid","value":"5330d6d0-cb34-11ea-8e26-095824377b3f","disabled":true,"description":"[FILTER] on `contact_external_uid`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet list of contacts."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"405 - Request failed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","contacts"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"contact_type","value":"GUEST","disabled":true,"description":"[FILTER] on `contact_type`."},{"key":"contact_external_uid","value":"5330d6d0-cb34-11ea-8e26-095824377b3f","disabled":true,"description":"[FILTER] on `contact_external_uid`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet list of contacts."},"status":"Method Not Allowed","code":405,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"406 - Request failed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","contacts"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"contact_type","value":"GUEST","disabled":true,"description":"[FILTER] on `contact_type`."},{"key":"contact_external_uid","value":"5330d6d0-cb34-11ea-8e26-095824377b3f","disabled":true,"description":"[FILTER] on `contact_external_uid`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet list of contacts."},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","contacts"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"contact_type","value":"GUEST","disabled":true,"description":"[FILTER] on `contact_type`."},{"key":"contact_external_uid","value":"5330d6d0-cb34-11ea-8e26-095824377b3f","disabled":true,"description":"[FILTER] on `contact_external_uid`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet list of contacts."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","contacts"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"contact_type","value":"GUEST","disabled":true,"description":"[FILTER] on `contact_type`."},{"key":"contact_external_uid","value":"5330d6d0-cb34-11ea-8e26-095824377b3f","disabled":true,"description":"[FILTER] on `contact_external_uid`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet list of contacts."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","contacts"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"contact_type","value":"GUEST","disabled":true,"description":"[FILTER] on `contact_type`."},{"key":"contact_external_uid","value":"5330d6d0-cb34-11ea-8e26-095824377b3f","disabled":true,"description":"[FILTER] on `contact_external_uid`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet list of contacts."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","contacts"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"contact_type","value":"GUEST","disabled":true,"description":"[FILTER] on `contact_type`."},{"key":"contact_external_uid","value":"5330d6d0-cb34-11ea-8e26-095824377b3f","disabled":true,"description":"[FILTER] on `contact_external_uid`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet list of contacts."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","contacts"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"contact_type","value":"GUEST","disabled":true,"description":"[FILTER] on `contact_type`."},{"key":"contact_external_uid","value":"5330d6d0-cb34-11ea-8e26-095824377b3f","disabled":true,"description":"[FILTER] on `contact_external_uid`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet list of contacts."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","contacts"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"contact_type","value":"GUEST","disabled":true,"description":"[FILTER] on `contact_type`."},{"key":"contact_external_uid","value":"5330d6d0-cb34-11ea-8e26-095824377b3f","disabled":true,"description":"[FILTER] on `contact_external_uid`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet list of contacts."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","contacts"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"contact_type","value":"GUEST","disabled":true,"description":"[FILTER] on `contact_type`."},{"key":"contact_external_uid","value":"5330d6d0-cb34-11ea-8e26-095824377b3f","disabled":true,"description":"[FILTER] on `contact_external_uid`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet list of contacts."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","contacts"],"query":[{"key":"reseller_id","value":"501","disabled":true,"description":"[FILTER] on `reseller_id`."},{"key":"distributor_id","value":"{{distributor_id}}","disabled":true,"description":"[FILTER] on `distributor_id`."},{"key":"contact_type","value":"GUEST","disabled":true,"description":"[FILTER] on `contact_type`."},{"key":"contact_external_uid","value":"5330d6d0-cb34-11ea-8e26-095824377b3f","disabled":true,"description":"[FILTER] on `contact_external_uid`."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet list of contacts."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["// This operation is not available in this API release.","pm.execution.skipRequest();"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Contact Details","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"include_versions","value":"true","disabled":true,"description":"[CONFIG] Include all contact revisions."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet contact details."},"response":[{"name":"200 - Reference response format. This operation is not available in this API release.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"include_versions","value":"true","disabled":true,"description":"[CONFIG] Include all contact revisions."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet contact details."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"items\": []\n  }\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"include_versions","value":"true","disabled":true,"description":"[CONFIG] Include all contact revisions."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet contact details."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"include_versions","value":"true","disabled":true,"description":"[CONFIG] Include all contact revisions."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet contact details."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"include_versions","value":"true","disabled":true,"description":"[CONFIG] Include all contact revisions."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet contact details."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"405 - Request failed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"include_versions","value":"true","disabled":true,"description":"[CONFIG] Include all contact revisions."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet contact details."},"status":"Method Not Allowed","code":405,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"406 - Request failed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"include_versions","value":"true","disabled":true,"description":"[CONFIG] Include all contact revisions."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet contact details."},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"include_versions","value":"true","disabled":true,"description":"[CONFIG] Include all contact revisions."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet contact details."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"include_versions","value":"true","disabled":true,"description":"[CONFIG] Include all contact revisions."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet contact details."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"include_versions","value":"true","disabled":true,"description":"[CONFIG] Include all contact revisions."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet contact details."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"include_versions","value":"true","disabled":true,"description":"[CONFIG] Include all contact revisions."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet contact details."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"include_versions","value":"true","disabled":true,"description":"[CONFIG] Include all contact revisions."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet contact details."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"include_versions","value":"true","disabled":true,"description":"[CONFIG] Include all contact revisions."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet contact details."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"include_versions","value":"true","disabled":true,"description":"[CONFIG] Include all contact revisions."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet contact details."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"include_versions","value":"true","disabled":true,"description":"[CONFIG] Include all contact revisions."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nGet contact details."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["// This operation is not available in this API release.","pm.execution.skipRequest();"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Update Contact","request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"By default, previous orders will not be amended. If you would like to update existing orders to the latest contact version, please include these here as well.\n  If the contact was not linked to the order yet, it will be added."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to update an existing contact.\n\n**Contact Functionality:**\n \n * To amend an existing contact, please send the corresponding `contact_uid` in both the path as well as the body parameter with the amended data. In this case the latest request takes precedence and therefore the data is always overwritten, not merged.\n \n * TIP: The contact details will be returned on every request. Therefore you are able to merge and combine all data on your side manually.\n \n > Please note that this API will not amend the contact details of individual orders by default. To amend the contact details of an order, please pass the corresponding order references as well.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"contact\": {\n      \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n      \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n      \"contact_version\": 2,\n      \"contact_number\": \"4573246\",\n      \"contact_type\": \"GUEST\",\n      \"contact_title\": \"Mr.\",\n      \"contact_name_first\": \"John\",\n      \"contact_name_last\": \"Doe\",\n      \"contact_email\": \"Johndoe@example.com\",\n      \"contact_phone\": \"+14155552671\",\n      \"contact_mobile\": \"+14155552671\",\n      \"contact_language\": \"NL\",\n      \"contact_nationality\": \"Dutch\",\n      \"contact_flight_number\": \"KL 445\",\n      \"contact_loyalty_number\": \"46564564564547476\",\n      \"contact_birth_place\": \"Amsterdam\",\n      \"contact_birth_date\": \"2027-06-15\",\n      \"contact_passport\": \"JXXXXXXX\",\n      \"contact_gender\": \"MALE\",\n      \"contact_age\": 19,\n      \"contact_redacted\": false,\n      \"contact_room_number\": \"523\",\n      \"contact_website\": \"example.com\",\n      \"contact_company\": {\n        \"company_name\": \"Example LTD.\",\n        \"company_registration_number\": \"EXAMPLE\",\n        \"company_tax_number\": \"EXAMPLE\"\n      },\n      \"contact_classification\": \"IMPORTANT\",\n      \"contact_address\": {\n        \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n        \"name\": \"Start of the Tour / My house / Office / John Doe\",\n        \"street\": \"Amstel 1\",\n        \"addition\": \"Apt B1\",\n        \"city\": \"Amsterdam\",\n        \"postal_code\": \"1011 PN\",\n        \"region\": \"Noord-Holland\",\n        \"country\": \"The Netherlands\",\n        \"country_code\": \"NL\",\n        \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n        \"latitude\": \"52.3785323\",\n        \"longitude\": \"4.893942\",\n        \"notes\": \"It's on the fourth floor\"\n      },\n      \"contact_notes\": [],\n      \"contact_custom_fields\": [],\n      \"contact_created\": \"2027-06-15T10:00:00Z\",\n      \"contact_modified\": \"2027-06-15T10:00:00Z\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"name":"200 - Reference response format. This operation is not available in this API release.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"By default, previous orders will not be amended. If you would like to update existing orders to the latest contact version, please include these here as well.\n  If the contact was not linked to the order yet, it will be added."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to update an existing contact.\n\n**Contact Functionality:**\n \n * To amend an existing contact, please send the corresponding `contact_uid` in both the path as well as the body parameter with the amended data. In this case the latest request takes precedence and therefore the data is always overwritten, not merged.\n \n * TIP: The contact details will be returned on every request. Therefore you are able to merge and combine all data on your side manually.\n \n > Please note that this API will not amend the contact details of individual orders by default. To amend the contact details of an order, please pass the corresponding order references as well.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"contact\": {\n      \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n      \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n      \"contact_version\": 2,\n      \"contact_number\": \"4573246\",\n      \"contact_type\": \"GUEST\",\n      \"contact_title\": \"Mr.\",\n      \"contact_name_first\": \"John\",\n      \"contact_name_last\": \"Doe\",\n      \"contact_email\": \"Johndoe@example.com\",\n      \"contact_phone\": \"+14155552671\",\n      \"contact_mobile\": \"+14155552671\",\n      \"contact_language\": \"NL\",\n      \"contact_nationality\": \"Dutch\",\n      \"contact_flight_number\": \"KL 445\",\n      \"contact_loyalty_number\": \"46564564564547476\",\n      \"contact_birth_place\": \"Amsterdam\",\n      \"contact_birth_date\": \"2027-06-15\",\n      \"contact_passport\": \"JXXXXXXX\",\n      \"contact_gender\": \"MALE\",\n      \"contact_age\": 19,\n      \"contact_redacted\": false,\n      \"contact_room_number\": \"523\",\n      \"contact_website\": \"example.com\",\n      \"contact_company\": {\n        \"company_name\": \"Example LTD.\",\n        \"company_registration_number\": \"EXAMPLE\",\n        \"company_tax_number\": \"EXAMPLE\"\n      },\n      \"contact_classification\": \"IMPORTANT\",\n      \"contact_address\": {\n        \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n        \"name\": \"Start of the Tour / My house / Office / John Doe\",\n        \"street\": \"Amstel 1\",\n        \"addition\": \"Apt B1\",\n        \"city\": \"Amsterdam\",\n        \"postal_code\": \"1011 PN\",\n        \"region\": \"Noord-Holland\",\n        \"country\": \"The Netherlands\",\n        \"country_code\": \"NL\",\n        \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n        \"latitude\": \"52.3785323\",\n        \"longitude\": \"4.893942\",\n        \"notes\": \"It's on the fourth floor\"\n      },\n      \"contact_notes\": [],\n      \"contact_custom_fields\": [],\n      \"contact_created\": \"2027-06-15T10:00:00Z\",\n      \"contact_modified\": \"2027-06-15T10:00:00Z\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"items\": []\n  }\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"By default, previous orders will not be amended. If you would like to update existing orders to the latest contact version, please include these here as well.\n  If the contact was not linked to the order yet, it will be added."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to update an existing contact.\n\n**Contact Functionality:**\n \n * To amend an existing contact, please send the corresponding `contact_uid` in both the path as well as the body parameter with the amended data. In this case the latest request takes precedence and therefore the data is always overwritten, not merged.\n \n * TIP: The contact details will be returned on every request. Therefore you are able to merge and combine all data on your side manually.\n \n > Please note that this API will not amend the contact details of individual orders by default. To amend the contact details of an order, please pass the corresponding order references as well.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"contact\": {\n      \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n      \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n      \"contact_version\": 2,\n      \"contact_number\": \"4573246\",\n      \"contact_type\": \"GUEST\",\n      \"contact_title\": \"Mr.\",\n      \"contact_name_first\": \"John\",\n      \"contact_name_last\": \"Doe\",\n      \"contact_email\": \"Johndoe@example.com\",\n      \"contact_phone\": \"+14155552671\",\n      \"contact_mobile\": \"+14155552671\",\n      \"contact_language\": \"NL\",\n      \"contact_nationality\": \"Dutch\",\n      \"contact_flight_number\": \"KL 445\",\n      \"contact_loyalty_number\": \"46564564564547476\",\n      \"contact_birth_place\": \"Amsterdam\",\n      \"contact_birth_date\": \"2027-06-15\",\n      \"contact_passport\": \"JXXXXXXX\",\n      \"contact_gender\": \"MALE\",\n      \"contact_age\": 19,\n      \"contact_redacted\": false,\n      \"contact_room_number\": \"523\",\n      \"contact_website\": \"example.com\",\n      \"contact_company\": {\n        \"company_name\": \"Example LTD.\",\n        \"company_registration_number\": \"EXAMPLE\",\n        \"company_tax_number\": \"EXAMPLE\"\n      },\n      \"contact_classification\": \"IMPORTANT\",\n      \"contact_address\": {\n        \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n        \"name\": \"Start of the Tour / My house / Office / John Doe\",\n        \"street\": \"Amstel 1\",\n        \"addition\": \"Apt B1\",\n        \"city\": \"Amsterdam\",\n        \"postal_code\": \"1011 PN\",\n        \"region\": \"Noord-Holland\",\n        \"country\": \"The Netherlands\",\n        \"country_code\": \"NL\",\n        \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n        \"latitude\": \"52.3785323\",\n        \"longitude\": \"4.893942\",\n        \"notes\": \"It's on the fourth floor\"\n      },\n      \"contact_notes\": [],\n      \"contact_custom_fields\": [],\n      \"contact_created\": \"2027-06-15T10:00:00Z\",\n      \"contact_modified\": \"2027-06-15T10:00:00Z\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"By default, previous orders will not be amended. If you would like to update existing orders to the latest contact version, please include these here as well.\n  If the contact was not linked to the order yet, it will be added."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to update an existing contact.\n\n**Contact Functionality:**\n \n * To amend an existing contact, please send the corresponding `contact_uid` in both the path as well as the body parameter with the amended data. In this case the latest request takes precedence and therefore the data is always overwritten, not merged.\n \n * TIP: The contact details will be returned on every request. Therefore you are able to merge and combine all data on your side manually.\n \n > Please note that this API will not amend the contact details of individual orders by default. To amend the contact details of an order, please pass the corresponding order references as well.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"contact\": {\n      \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n      \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n      \"contact_version\": 2,\n      \"contact_number\": \"4573246\",\n      \"contact_type\": \"GUEST\",\n      \"contact_title\": \"Mr.\",\n      \"contact_name_first\": \"John\",\n      \"contact_name_last\": \"Doe\",\n      \"contact_email\": \"Johndoe@example.com\",\n      \"contact_phone\": \"+14155552671\",\n      \"contact_mobile\": \"+14155552671\",\n      \"contact_language\": \"NL\",\n      \"contact_nationality\": \"Dutch\",\n      \"contact_flight_number\": \"KL 445\",\n      \"contact_loyalty_number\": \"46564564564547476\",\n      \"contact_birth_place\": \"Amsterdam\",\n      \"contact_birth_date\": \"2027-06-15\",\n      \"contact_passport\": \"JXXXXXXX\",\n      \"contact_gender\": \"MALE\",\n      \"contact_age\": 19,\n      \"contact_redacted\": false,\n      \"contact_room_number\": \"523\",\n      \"contact_website\": \"example.com\",\n      \"contact_company\": {\n        \"company_name\": \"Example LTD.\",\n        \"company_registration_number\": \"EXAMPLE\",\n        \"company_tax_number\": \"EXAMPLE\"\n      },\n      \"contact_classification\": \"IMPORTANT\",\n      \"contact_address\": {\n        \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n        \"name\": \"Start of the Tour / My house / Office / John Doe\",\n        \"street\": \"Amstel 1\",\n        \"addition\": \"Apt B1\",\n        \"city\": \"Amsterdam\",\n        \"postal_code\": \"1011 PN\",\n        \"region\": \"Noord-Holland\",\n        \"country\": \"The Netherlands\",\n        \"country_code\": \"NL\",\n        \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n        \"latitude\": \"52.3785323\",\n        \"longitude\": \"4.893942\",\n        \"notes\": \"It's on the fourth floor\"\n      },\n      \"contact_notes\": [],\n      \"contact_custom_fields\": [],\n      \"contact_created\": \"2027-06-15T10:00:00Z\",\n      \"contact_modified\": \"2027-06-15T10:00:00Z\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"By default, previous orders will not be amended. If you would like to update existing orders to the latest contact version, please include these here as well.\n  If the contact was not linked to the order yet, it will be added."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to update an existing contact.\n\n**Contact Functionality:**\n \n * To amend an existing contact, please send the corresponding `contact_uid` in both the path as well as the body parameter with the amended data. In this case the latest request takes precedence and therefore the data is always overwritten, not merged.\n \n * TIP: The contact details will be returned on every request. Therefore you are able to merge and combine all data on your side manually.\n \n > Please note that this API will not amend the contact details of individual orders by default. To amend the contact details of an order, please pass the corresponding order references as well.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"contact\": {\n      \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n      \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n      \"contact_version\": 2,\n      \"contact_number\": \"4573246\",\n      \"contact_type\": \"GUEST\",\n      \"contact_title\": \"Mr.\",\n      \"contact_name_first\": \"John\",\n      \"contact_name_last\": \"Doe\",\n      \"contact_email\": \"Johndoe@example.com\",\n      \"contact_phone\": \"+14155552671\",\n      \"contact_mobile\": \"+14155552671\",\n      \"contact_language\": \"NL\",\n      \"contact_nationality\": \"Dutch\",\n      \"contact_flight_number\": \"KL 445\",\n      \"contact_loyalty_number\": \"46564564564547476\",\n      \"contact_birth_place\": \"Amsterdam\",\n      \"contact_birth_date\": \"2027-06-15\",\n      \"contact_passport\": \"JXXXXXXX\",\n      \"contact_gender\": \"MALE\",\n      \"contact_age\": 19,\n      \"contact_redacted\": false,\n      \"contact_room_number\": \"523\",\n      \"contact_website\": \"example.com\",\n      \"contact_company\": {\n        \"company_name\": \"Example LTD.\",\n        \"company_registration_number\": \"EXAMPLE\",\n        \"company_tax_number\": \"EXAMPLE\"\n      },\n      \"contact_classification\": \"IMPORTANT\",\n      \"contact_address\": {\n        \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n        \"name\": \"Start of the Tour / My house / Office / John Doe\",\n        \"street\": \"Amstel 1\",\n        \"addition\": \"Apt B1\",\n        \"city\": \"Amsterdam\",\n        \"postal_code\": \"1011 PN\",\n        \"region\": \"Noord-Holland\",\n        \"country\": \"The Netherlands\",\n        \"country_code\": \"NL\",\n        \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n        \"latitude\": \"52.3785323\",\n        \"longitude\": \"4.893942\",\n        \"notes\": \"It's on the fourth floor\"\n      },\n      \"contact_notes\": [],\n      \"contact_custom_fields\": [],\n      \"contact_created\": \"2027-06-15T10:00:00Z\",\n      \"contact_modified\": \"2027-06-15T10:00:00Z\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"405 - Request failed.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"By default, previous orders will not be amended. If you would like to update existing orders to the latest contact version, please include these here as well.\n  If the contact was not linked to the order yet, it will be added."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to update an existing contact.\n\n**Contact Functionality:**\n \n * To amend an existing contact, please send the corresponding `contact_uid` in both the path as well as the body parameter with the amended data. In this case the latest request takes precedence and therefore the data is always overwritten, not merged.\n \n * TIP: The contact details will be returned on every request. Therefore you are able to merge and combine all data on your side manually.\n \n > Please note that this API will not amend the contact details of individual orders by default. To amend the contact details of an order, please pass the corresponding order references as well.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"contact\": {\n      \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n      \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n      \"contact_version\": 2,\n      \"contact_number\": \"4573246\",\n      \"contact_type\": \"GUEST\",\n      \"contact_title\": \"Mr.\",\n      \"contact_name_first\": \"John\",\n      \"contact_name_last\": \"Doe\",\n      \"contact_email\": \"Johndoe@example.com\",\n      \"contact_phone\": \"+14155552671\",\n      \"contact_mobile\": \"+14155552671\",\n      \"contact_language\": \"NL\",\n      \"contact_nationality\": \"Dutch\",\n      \"contact_flight_number\": \"KL 445\",\n      \"contact_loyalty_number\": \"46564564564547476\",\n      \"contact_birth_place\": \"Amsterdam\",\n      \"contact_birth_date\": \"2027-06-15\",\n      \"contact_passport\": \"JXXXXXXX\",\n      \"contact_gender\": \"MALE\",\n      \"contact_age\": 19,\n      \"contact_redacted\": false,\n      \"contact_room_number\": \"523\",\n      \"contact_website\": \"example.com\",\n      \"contact_company\": {\n        \"company_name\": \"Example LTD.\",\n        \"company_registration_number\": \"EXAMPLE\",\n        \"company_tax_number\": \"EXAMPLE\"\n      },\n      \"contact_classification\": \"IMPORTANT\",\n      \"contact_address\": {\n        \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n        \"name\": \"Start of the Tour / My house / Office / John Doe\",\n        \"street\": \"Amstel 1\",\n        \"addition\": \"Apt B1\",\n        \"city\": \"Amsterdam\",\n        \"postal_code\": \"1011 PN\",\n        \"region\": \"Noord-Holland\",\n        \"country\": \"The Netherlands\",\n        \"country_code\": \"NL\",\n        \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n        \"latitude\": \"52.3785323\",\n        \"longitude\": \"4.893942\",\n        \"notes\": \"It's on the fourth floor\"\n      },\n      \"contact_notes\": [],\n      \"contact_custom_fields\": [],\n      \"contact_created\": \"2027-06-15T10:00:00Z\",\n      \"contact_modified\": \"2027-06-15T10:00:00Z\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Method Not Allowed","code":405,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"406 - Request failed.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"By default, previous orders will not be amended. If you would like to update existing orders to the latest contact version, please include these here as well.\n  If the contact was not linked to the order yet, it will be added."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to update an existing contact.\n\n**Contact Functionality:**\n \n * To amend an existing contact, please send the corresponding `contact_uid` in both the path as well as the body parameter with the amended data. In this case the latest request takes precedence and therefore the data is always overwritten, not merged.\n \n * TIP: The contact details will be returned on every request. Therefore you are able to merge and combine all data on your side manually.\n \n > Please note that this API will not amend the contact details of individual orders by default. To amend the contact details of an order, please pass the corresponding order references as well.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"contact\": {\n      \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n      \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n      \"contact_version\": 2,\n      \"contact_number\": \"4573246\",\n      \"contact_type\": \"GUEST\",\n      \"contact_title\": \"Mr.\",\n      \"contact_name_first\": \"John\",\n      \"contact_name_last\": \"Doe\",\n      \"contact_email\": \"Johndoe@example.com\",\n      \"contact_phone\": \"+14155552671\",\n      \"contact_mobile\": \"+14155552671\",\n      \"contact_language\": \"NL\",\n      \"contact_nationality\": \"Dutch\",\n      \"contact_flight_number\": \"KL 445\",\n      \"contact_loyalty_number\": \"46564564564547476\",\n      \"contact_birth_place\": \"Amsterdam\",\n      \"contact_birth_date\": \"2027-06-15\",\n      \"contact_passport\": \"JXXXXXXX\",\n      \"contact_gender\": \"MALE\",\n      \"contact_age\": 19,\n      \"contact_redacted\": false,\n      \"contact_room_number\": \"523\",\n      \"contact_website\": \"example.com\",\n      \"contact_company\": {\n        \"company_name\": \"Example LTD.\",\n        \"company_registration_number\": \"EXAMPLE\",\n        \"company_tax_number\": \"EXAMPLE\"\n      },\n      \"contact_classification\": \"IMPORTANT\",\n      \"contact_address\": {\n        \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n        \"name\": \"Start of the Tour / My house / Office / John Doe\",\n        \"street\": \"Amstel 1\",\n        \"addition\": \"Apt B1\",\n        \"city\": \"Amsterdam\",\n        \"postal_code\": \"1011 PN\",\n        \"region\": \"Noord-Holland\",\n        \"country\": \"The Netherlands\",\n        \"country_code\": \"NL\",\n        \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n        \"latitude\": \"52.3785323\",\n        \"longitude\": \"4.893942\",\n        \"notes\": \"It's on the fourth floor\"\n      },\n      \"contact_notes\": [],\n      \"contact_custom_fields\": [],\n      \"contact_created\": \"2027-06-15T10:00:00Z\",\n      \"contact_modified\": \"2027-06-15T10:00:00Z\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"By default, previous orders will not be amended. If you would like to update existing orders to the latest contact version, please include these here as well.\n  If the contact was not linked to the order yet, it will be added."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to update an existing contact.\n\n**Contact Functionality:**\n \n * To amend an existing contact, please send the corresponding `contact_uid` in both the path as well as the body parameter with the amended data. In this case the latest request takes precedence and therefore the data is always overwritten, not merged.\n \n * TIP: The contact details will be returned on every request. Therefore you are able to merge and combine all data on your side manually.\n \n > Please note that this API will not amend the contact details of individual orders by default. To amend the contact details of an order, please pass the corresponding order references as well.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"contact\": {\n      \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n      \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n      \"contact_version\": 2,\n      \"contact_number\": \"4573246\",\n      \"contact_type\": \"GUEST\",\n      \"contact_title\": \"Mr.\",\n      \"contact_name_first\": \"John\",\n      \"contact_name_last\": \"Doe\",\n      \"contact_email\": \"Johndoe@example.com\",\n      \"contact_phone\": \"+14155552671\",\n      \"contact_mobile\": \"+14155552671\",\n      \"contact_language\": \"NL\",\n      \"contact_nationality\": \"Dutch\",\n      \"contact_flight_number\": \"KL 445\",\n      \"contact_loyalty_number\": \"46564564564547476\",\n      \"contact_birth_place\": \"Amsterdam\",\n      \"contact_birth_date\": \"2027-06-15\",\n      \"contact_passport\": \"JXXXXXXX\",\n      \"contact_gender\": \"MALE\",\n      \"contact_age\": 19,\n      \"contact_redacted\": false,\n      \"contact_room_number\": \"523\",\n      \"contact_website\": \"example.com\",\n      \"contact_company\": {\n        \"company_name\": \"Example LTD.\",\n        \"company_registration_number\": \"EXAMPLE\",\n        \"company_tax_number\": \"EXAMPLE\"\n      },\n      \"contact_classification\": \"IMPORTANT\",\n      \"contact_address\": {\n        \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n        \"name\": \"Start of the Tour / My house / Office / John Doe\",\n        \"street\": \"Amstel 1\",\n        \"addition\": \"Apt B1\",\n        \"city\": \"Amsterdam\",\n        \"postal_code\": \"1011 PN\",\n        \"region\": \"Noord-Holland\",\n        \"country\": \"The Netherlands\",\n        \"country_code\": \"NL\",\n        \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n        \"latitude\": \"52.3785323\",\n        \"longitude\": \"4.893942\",\n        \"notes\": \"It's on the fourth floor\"\n      },\n      \"contact_notes\": [],\n      \"contact_custom_fields\": [],\n      \"contact_created\": \"2027-06-15T10:00:00Z\",\n      \"contact_modified\": \"2027-06-15T10:00:00Z\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"By default, previous orders will not be amended. If you would like to update existing orders to the latest contact version, please include these here as well.\n  If the contact was not linked to the order yet, it will be added."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to update an existing contact.\n\n**Contact Functionality:**\n \n * To amend an existing contact, please send the corresponding `contact_uid` in both the path as well as the body parameter with the amended data. In this case the latest request takes precedence and therefore the data is always overwritten, not merged.\n \n * TIP: The contact details will be returned on every request. Therefore you are able to merge and combine all data on your side manually.\n \n > Please note that this API will not amend the contact details of individual orders by default. To amend the contact details of an order, please pass the corresponding order references as well.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"contact\": {\n      \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n      \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n      \"contact_version\": 2,\n      \"contact_number\": \"4573246\",\n      \"contact_type\": \"GUEST\",\n      \"contact_title\": \"Mr.\",\n      \"contact_name_first\": \"John\",\n      \"contact_name_last\": \"Doe\",\n      \"contact_email\": \"Johndoe@example.com\",\n      \"contact_phone\": \"+14155552671\",\n      \"contact_mobile\": \"+14155552671\",\n      \"contact_language\": \"NL\",\n      \"contact_nationality\": \"Dutch\",\n      \"contact_flight_number\": \"KL 445\",\n      \"contact_loyalty_number\": \"46564564564547476\",\n      \"contact_birth_place\": \"Amsterdam\",\n      \"contact_birth_date\": \"2027-06-15\",\n      \"contact_passport\": \"JXXXXXXX\",\n      \"contact_gender\": \"MALE\",\n      \"contact_age\": 19,\n      \"contact_redacted\": false,\n      \"contact_room_number\": \"523\",\n      \"contact_website\": \"example.com\",\n      \"contact_company\": {\n        \"company_name\": \"Example LTD.\",\n        \"company_registration_number\": \"EXAMPLE\",\n        \"company_tax_number\": \"EXAMPLE\"\n      },\n      \"contact_classification\": \"IMPORTANT\",\n      \"contact_address\": {\n        \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n        \"name\": \"Start of the Tour / My house / Office / John Doe\",\n        \"street\": \"Amstel 1\",\n        \"addition\": \"Apt B1\",\n        \"city\": \"Amsterdam\",\n        \"postal_code\": \"1011 PN\",\n        \"region\": \"Noord-Holland\",\n        \"country\": \"The Netherlands\",\n        \"country_code\": \"NL\",\n        \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n        \"latitude\": \"52.3785323\",\n        \"longitude\": \"4.893942\",\n        \"notes\": \"It's on the fourth floor\"\n      },\n      \"contact_notes\": [],\n      \"contact_custom_fields\": [],\n      \"contact_created\": \"2027-06-15T10:00:00Z\",\n      \"contact_modified\": \"2027-06-15T10:00:00Z\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"By default, previous orders will not be amended. If you would like to update existing orders to the latest contact version, please include these here as well.\n  If the contact was not linked to the order yet, it will be added."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to update an existing contact.\n\n**Contact Functionality:**\n \n * To amend an existing contact, please send the corresponding `contact_uid` in both the path as well as the body parameter with the amended data. In this case the latest request takes precedence and therefore the data is always overwritten, not merged.\n \n * TIP: The contact details will be returned on every request. Therefore you are able to merge and combine all data on your side manually.\n \n > Please note that this API will not amend the contact details of individual orders by default. To amend the contact details of an order, please pass the corresponding order references as well.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"contact\": {\n      \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n      \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n      \"contact_version\": 2,\n      \"contact_number\": \"4573246\",\n      \"contact_type\": \"GUEST\",\n      \"contact_title\": \"Mr.\",\n      \"contact_name_first\": \"John\",\n      \"contact_name_last\": \"Doe\",\n      \"contact_email\": \"Johndoe@example.com\",\n      \"contact_phone\": \"+14155552671\",\n      \"contact_mobile\": \"+14155552671\",\n      \"contact_language\": \"NL\",\n      \"contact_nationality\": \"Dutch\",\n      \"contact_flight_number\": \"KL 445\",\n      \"contact_loyalty_number\": \"46564564564547476\",\n      \"contact_birth_place\": \"Amsterdam\",\n      \"contact_birth_date\": \"2027-06-15\",\n      \"contact_passport\": \"JXXXXXXX\",\n      \"contact_gender\": \"MALE\",\n      \"contact_age\": 19,\n      \"contact_redacted\": false,\n      \"contact_room_number\": \"523\",\n      \"contact_website\": \"example.com\",\n      \"contact_company\": {\n        \"company_name\": \"Example LTD.\",\n        \"company_registration_number\": \"EXAMPLE\",\n        \"company_tax_number\": \"EXAMPLE\"\n      },\n      \"contact_classification\": \"IMPORTANT\",\n      \"contact_address\": {\n        \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n        \"name\": \"Start of the Tour / My house / Office / John Doe\",\n        \"street\": \"Amstel 1\",\n        \"addition\": \"Apt B1\",\n        \"city\": \"Amsterdam\",\n        \"postal_code\": \"1011 PN\",\n        \"region\": \"Noord-Holland\",\n        \"country\": \"The Netherlands\",\n        \"country_code\": \"NL\",\n        \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n        \"latitude\": \"52.3785323\",\n        \"longitude\": \"4.893942\",\n        \"notes\": \"It's on the fourth floor\"\n      },\n      \"contact_notes\": [],\n      \"contact_custom_fields\": [],\n      \"contact_created\": \"2027-06-15T10:00:00Z\",\n      \"contact_modified\": \"2027-06-15T10:00:00Z\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"By default, previous orders will not be amended. If you would like to update existing orders to the latest contact version, please include these here as well.\n  If the contact was not linked to the order yet, it will be added."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to update an existing contact.\n\n**Contact Functionality:**\n \n * To amend an existing contact, please send the corresponding `contact_uid` in both the path as well as the body parameter with the amended data. In this case the latest request takes precedence and therefore the data is always overwritten, not merged.\n \n * TIP: The contact details will be returned on every request. Therefore you are able to merge and combine all data on your side manually.\n \n > Please note that this API will not amend the contact details of individual orders by default. To amend the contact details of an order, please pass the corresponding order references as well.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"contact\": {\n      \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n      \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n      \"contact_version\": 2,\n      \"contact_number\": \"4573246\",\n      \"contact_type\": \"GUEST\",\n      \"contact_title\": \"Mr.\",\n      \"contact_name_first\": \"John\",\n      \"contact_name_last\": \"Doe\",\n      \"contact_email\": \"Johndoe@example.com\",\n      \"contact_phone\": \"+14155552671\",\n      \"contact_mobile\": \"+14155552671\",\n      \"contact_language\": \"NL\",\n      \"contact_nationality\": \"Dutch\",\n      \"contact_flight_number\": \"KL 445\",\n      \"contact_loyalty_number\": \"46564564564547476\",\n      \"contact_birth_place\": \"Amsterdam\",\n      \"contact_birth_date\": \"2027-06-15\",\n      \"contact_passport\": \"JXXXXXXX\",\n      \"contact_gender\": \"MALE\",\n      \"contact_age\": 19,\n      \"contact_redacted\": false,\n      \"contact_room_number\": \"523\",\n      \"contact_website\": \"example.com\",\n      \"contact_company\": {\n        \"company_name\": \"Example LTD.\",\n        \"company_registration_number\": \"EXAMPLE\",\n        \"company_tax_number\": \"EXAMPLE\"\n      },\n      \"contact_classification\": \"IMPORTANT\",\n      \"contact_address\": {\n        \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n        \"name\": \"Start of the Tour / My house / Office / John Doe\",\n        \"street\": \"Amstel 1\",\n        \"addition\": \"Apt B1\",\n        \"city\": \"Amsterdam\",\n        \"postal_code\": \"1011 PN\",\n        \"region\": \"Noord-Holland\",\n        \"country\": \"The Netherlands\",\n        \"country_code\": \"NL\",\n        \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n        \"latitude\": \"52.3785323\",\n        \"longitude\": \"4.893942\",\n        \"notes\": \"It's on the fourth floor\"\n      },\n      \"contact_notes\": [],\n      \"contact_custom_fields\": [],\n      \"contact_created\": \"2027-06-15T10:00:00Z\",\n      \"contact_modified\": \"2027-06-15T10:00:00Z\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"By default, previous orders will not be amended. If you would like to update existing orders to the latest contact version, please include these here as well.\n  If the contact was not linked to the order yet, it will be added."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to update an existing contact.\n\n**Contact Functionality:**\n \n * To amend an existing contact, please send the corresponding `contact_uid` in both the path as well as the body parameter with the amended data. In this case the latest request takes precedence and therefore the data is always overwritten, not merged.\n \n * TIP: The contact details will be returned on every request. Therefore you are able to merge and combine all data on your side manually.\n \n > Please note that this API will not amend the contact details of individual orders by default. To amend the contact details of an order, please pass the corresponding order references as well.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"contact\": {\n      \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n      \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n      \"contact_version\": 2,\n      \"contact_number\": \"4573246\",\n      \"contact_type\": \"GUEST\",\n      \"contact_title\": \"Mr.\",\n      \"contact_name_first\": \"John\",\n      \"contact_name_last\": \"Doe\",\n      \"contact_email\": \"Johndoe@example.com\",\n      \"contact_phone\": \"+14155552671\",\n      \"contact_mobile\": \"+14155552671\",\n      \"contact_language\": \"NL\",\n      \"contact_nationality\": \"Dutch\",\n      \"contact_flight_number\": \"KL 445\",\n      \"contact_loyalty_number\": \"46564564564547476\",\n      \"contact_birth_place\": \"Amsterdam\",\n      \"contact_birth_date\": \"2027-06-15\",\n      \"contact_passport\": \"JXXXXXXX\",\n      \"contact_gender\": \"MALE\",\n      \"contact_age\": 19,\n      \"contact_redacted\": false,\n      \"contact_room_number\": \"523\",\n      \"contact_website\": \"example.com\",\n      \"contact_company\": {\n        \"company_name\": \"Example LTD.\",\n        \"company_registration_number\": \"EXAMPLE\",\n        \"company_tax_number\": \"EXAMPLE\"\n      },\n      \"contact_classification\": \"IMPORTANT\",\n      \"contact_address\": {\n        \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n        \"name\": \"Start of the Tour / My house / Office / John Doe\",\n        \"street\": \"Amstel 1\",\n        \"addition\": \"Apt B1\",\n        \"city\": \"Amsterdam\",\n        \"postal_code\": \"1011 PN\",\n        \"region\": \"Noord-Holland\",\n        \"country\": \"The Netherlands\",\n        \"country_code\": \"NL\",\n        \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n        \"latitude\": \"52.3785323\",\n        \"longitude\": \"4.893942\",\n        \"notes\": \"It's on the fourth floor\"\n      },\n      \"contact_notes\": [],\n      \"contact_custom_fields\": [],\n      \"contact_created\": \"2027-06-15T10:00:00Z\",\n      \"contact_modified\": \"2027-06-15T10:00:00Z\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"By default, previous orders will not be amended. If you would like to update existing orders to the latest contact version, please include these here as well.\n  If the contact was not linked to the order yet, it will be added."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to update an existing contact.\n\n**Contact Functionality:**\n \n * To amend an existing contact, please send the corresponding `contact_uid` in both the path as well as the body parameter with the amended data. In this case the latest request takes precedence and therefore the data is always overwritten, not merged.\n \n * TIP: The contact details will be returned on every request. Therefore you are able to merge and combine all data on your side manually.\n \n > Please note that this API will not amend the contact details of individual orders by default. To amend the contact details of an order, please pass the corresponding order references as well.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"contact\": {\n      \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n      \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n      \"contact_version\": 2,\n      \"contact_number\": \"4573246\",\n      \"contact_type\": \"GUEST\",\n      \"contact_title\": \"Mr.\",\n      \"contact_name_first\": \"John\",\n      \"contact_name_last\": \"Doe\",\n      \"contact_email\": \"Johndoe@example.com\",\n      \"contact_phone\": \"+14155552671\",\n      \"contact_mobile\": \"+14155552671\",\n      \"contact_language\": \"NL\",\n      \"contact_nationality\": \"Dutch\",\n      \"contact_flight_number\": \"KL 445\",\n      \"contact_loyalty_number\": \"46564564564547476\",\n      \"contact_birth_place\": \"Amsterdam\",\n      \"contact_birth_date\": \"2027-06-15\",\n      \"contact_passport\": \"JXXXXXXX\",\n      \"contact_gender\": \"MALE\",\n      \"contact_age\": 19,\n      \"contact_redacted\": false,\n      \"contact_room_number\": \"523\",\n      \"contact_website\": \"example.com\",\n      \"contact_company\": {\n        \"company_name\": \"Example LTD.\",\n        \"company_registration_number\": \"EXAMPLE\",\n        \"company_tax_number\": \"EXAMPLE\"\n      },\n      \"contact_classification\": \"IMPORTANT\",\n      \"contact_address\": {\n        \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n        \"name\": \"Start of the Tour / My house / Office / John Doe\",\n        \"street\": \"Amstel 1\",\n        \"addition\": \"Apt B1\",\n        \"city\": \"Amsterdam\",\n        \"postal_code\": \"1011 PN\",\n        \"region\": \"Noord-Holland\",\n        \"country\": \"The Netherlands\",\n        \"country_code\": \"NL\",\n        \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n        \"latitude\": \"52.3785323\",\n        \"longitude\": \"4.893942\",\n        \"notes\": \"It's on the fourth floor\"\n      },\n      \"contact_notes\": [],\n      \"contact_custom_fields\": [],\n      \"contact_created\": \"2027-06-15T10:00:00Z\",\n      \"contact_modified\": \"2027-06-15T10:00:00Z\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"By default, previous orders will not be amended. If you would like to update existing orders to the latest contact version, please include these here as well.\n  If the contact was not linked to the order yet, it will be added."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to update an existing contact.\n\n**Contact Functionality:**\n \n * To amend an existing contact, please send the corresponding `contact_uid` in both the path as well as the body parameter with the amended data. In this case the latest request takes precedence and therefore the data is always overwritten, not merged.\n \n * TIP: The contact details will be returned on every request. Therefore you are able to merge and combine all data on your side manually.\n \n > Please note that this API will not amend the contact details of individual orders by default. To amend the contact details of an order, please pass the corresponding order references as well.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"contact\": {\n      \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n      \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n      \"contact_version\": 2,\n      \"contact_number\": \"4573246\",\n      \"contact_type\": \"GUEST\",\n      \"contact_title\": \"Mr.\",\n      \"contact_name_first\": \"John\",\n      \"contact_name_last\": \"Doe\",\n      \"contact_email\": \"Johndoe@example.com\",\n      \"contact_phone\": \"+14155552671\",\n      \"contact_mobile\": \"+14155552671\",\n      \"contact_language\": \"NL\",\n      \"contact_nationality\": \"Dutch\",\n      \"contact_flight_number\": \"KL 445\",\n      \"contact_loyalty_number\": \"46564564564547476\",\n      \"contact_birth_place\": \"Amsterdam\",\n      \"contact_birth_date\": \"2027-06-15\",\n      \"contact_passport\": \"JXXXXXXX\",\n      \"contact_gender\": \"MALE\",\n      \"contact_age\": 19,\n      \"contact_redacted\": false,\n      \"contact_room_number\": \"523\",\n      \"contact_website\": \"example.com\",\n      \"contact_company\": {\n        \"company_name\": \"Example LTD.\",\n        \"company_registration_number\": \"EXAMPLE\",\n        \"company_tax_number\": \"EXAMPLE\"\n      },\n      \"contact_classification\": \"IMPORTANT\",\n      \"contact_address\": {\n        \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n        \"name\": \"Start of the Tour / My house / Office / John Doe\",\n        \"street\": \"Amstel 1\",\n        \"addition\": \"Apt B1\",\n        \"city\": \"Amsterdam\",\n        \"postal_code\": \"1011 PN\",\n        \"region\": \"Noord-Holland\",\n        \"country\": \"The Netherlands\",\n        \"country_code\": \"NL\",\n        \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n        \"latitude\": \"52.3785323\",\n        \"longitude\": \"4.893942\",\n        \"notes\": \"It's on the fourth floor\"\n      },\n      \"contact_notes\": [],\n      \"contact_custom_fields\": [],\n      \"contact_created\": \"2027-06-15T10:00:00Z\",\n      \"contact_modified\": \"2027-06-15T10:00:00Z\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/contacts/:contact_uid","host":["{{base_url}}"],"path":[":version","contacts",":contact_uid"],"query":[{"key":"order_reference","value":"{{order_reference}}","disabled":true,"description":"By default, previous orders will not be amended. If you would like to update existing orders to the latest contact version, please include these here as well.\n  If the contact was not linked to the order yet, it will be added."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"contact_uid","value":"{{contact_uid}}","description":"Unique Contact ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nThis API is called to update an existing contact.\n\n**Contact Functionality:**\n \n * To amend an existing contact, please send the corresponding `contact_uid` in both the path as well as the body parameter with the amended data. In this case the latest request takes precedence and therefore the data is always overwritten, not merged.\n \n * TIP: The contact details will be returned on every request. Therefore you are able to merge and combine all data on your side manually.\n \n > Please note that this API will not amend the contact details of individual orders by default. To amend the contact details of an order, please pass the corresponding order references as well.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"contact\": {\n      \"contact_uid\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n      \"contact_external_uid\": \"MTAwOV90ZXN0MTAwOUB0ZXN0LmNvbQ==\",\n      \"contact_version\": 2,\n      \"contact_number\": \"4573246\",\n      \"contact_type\": \"GUEST\",\n      \"contact_title\": \"Mr.\",\n      \"contact_name_first\": \"John\",\n      \"contact_name_last\": \"Doe\",\n      \"contact_email\": \"Johndoe@example.com\",\n      \"contact_phone\": \"+14155552671\",\n      \"contact_mobile\": \"+14155552671\",\n      \"contact_language\": \"NL\",\n      \"contact_nationality\": \"Dutch\",\n      \"contact_flight_number\": \"KL 445\",\n      \"contact_loyalty_number\": \"46564564564547476\",\n      \"contact_birth_place\": \"Amsterdam\",\n      \"contact_birth_date\": \"2027-06-15\",\n      \"contact_passport\": \"JXXXXXXX\",\n      \"contact_gender\": \"MALE\",\n      \"contact_age\": 19,\n      \"contact_redacted\": false,\n      \"contact_room_number\": \"523\",\n      \"contact_website\": \"example.com\",\n      \"contact_company\": {\n        \"company_name\": \"Example LTD.\",\n        \"company_registration_number\": \"EXAMPLE\",\n        \"company_tax_number\": \"EXAMPLE\"\n      },\n      \"contact_classification\": \"IMPORTANT\",\n      \"contact_address\": {\n        \"id\": \"f44226c0-e142-11ea-86d2-83036af9991e\",\n        \"name\": \"Start of the Tour / My house / Office / John Doe\",\n        \"street\": \"Amstel 1\",\n        \"addition\": \"Apt B1\",\n        \"city\": \"Amsterdam\",\n        \"postal_code\": \"1011 PN\",\n        \"region\": \"Noord-Holland\",\n        \"country\": \"The Netherlands\",\n        \"country_code\": \"NL\",\n        \"place_id\": \"ChIJrTLr-GyuEmsRBfy61i59si0\",\n        \"latitude\": \"52.3785323\",\n        \"longitude\": \"4.893942\",\n        \"notes\": \"It's on the fourth floor\"\n      },\n      \"contact_notes\": [],\n      \"contact_custom_fields\": [],\n      \"contact_created\": \"2027-06-15T10:00:00Z\",\n      \"contact_modified\": \"2027-06-15T10:00:00Z\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["// This operation is not available in this API release.","pm.execution.skipRequest();"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["if (pm.collectionVariables.get('allow_mutations') !== 'true') { pm.execution.skipRequest(); }"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]}]},{"name":"Notifications","description":"Reference operations for notification subscriptions and deliveries. These operations are not available in this API release.","item":[{"name":"List Webhooks","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[{"key":"webhook_id","value":"cf3bf1c0-0123-11ed-bb92-8dd6d349e28e","disabled":true,"description":"[FILTER] on webhook (`webhook_id`)."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nList all webhooks."},"response":[{"name":"200 - Reference response format. This operation is not available in this API release.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[{"key":"webhook_id","value":"cf3bf1c0-0123-11ed-bb92-8dd6d349e28e","disabled":true,"description":"[FILTER] on webhook (`webhook_id`)."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nList all webhooks."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"current_item_count\": 10,\n    \"items_per_page\": 10,\n    \"start_index\": 1,\n    \"total_items\": 10,\n    \"page_index\": 1,\n    \"total_pages\": 20,\n    \"items\": []\n  }\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[{"key":"webhook_id","value":"cf3bf1c0-0123-11ed-bb92-8dd6d349e28e","disabled":true,"description":"[FILTER] on webhook (`webhook_id`)."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nList all webhooks."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[{"key":"webhook_id","value":"cf3bf1c0-0123-11ed-bb92-8dd6d349e28e","disabled":true,"description":"[FILTER] on webhook (`webhook_id`)."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nList all webhooks."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[{"key":"webhook_id","value":"cf3bf1c0-0123-11ed-bb92-8dd6d349e28e","disabled":true,"description":"[FILTER] on webhook (`webhook_id`)."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nList all webhooks."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"405 - Request failed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[{"key":"webhook_id","value":"cf3bf1c0-0123-11ed-bb92-8dd6d349e28e","disabled":true,"description":"[FILTER] on webhook (`webhook_id`)."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nList all webhooks."},"status":"Method Not Allowed","code":405,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"406 - Request failed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[{"key":"webhook_id","value":"cf3bf1c0-0123-11ed-bb92-8dd6d349e28e","disabled":true,"description":"[FILTER] on webhook (`webhook_id`)."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nList all webhooks."},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"409 - Request failed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[{"key":"webhook_id","value":"cf3bf1c0-0123-11ed-bb92-8dd6d349e28e","disabled":true,"description":"[FILTER] on webhook (`webhook_id`)."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nList all webhooks."},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[{"key":"webhook_id","value":"cf3bf1c0-0123-11ed-bb92-8dd6d349e28e","disabled":true,"description":"[FILTER] on webhook (`webhook_id`)."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nList all webhooks."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[{"key":"webhook_id","value":"cf3bf1c0-0123-11ed-bb92-8dd6d349e28e","disabled":true,"description":"[FILTER] on webhook (`webhook_id`)."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nList all webhooks."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[{"key":"webhook_id","value":"cf3bf1c0-0123-11ed-bb92-8dd6d349e28e","disabled":true,"description":"[FILTER] on webhook (`webhook_id`)."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nList all webhooks."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[{"key":"webhook_id","value":"cf3bf1c0-0123-11ed-bb92-8dd6d349e28e","disabled":true,"description":"[FILTER] on webhook (`webhook_id`)."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nList all webhooks."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[{"key":"webhook_id","value":"cf3bf1c0-0123-11ed-bb92-8dd6d349e28e","disabled":true,"description":"[FILTER] on webhook (`webhook_id`)."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nList all webhooks."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[{"key":"webhook_id","value":"cf3bf1c0-0123-11ed-bb92-8dd6d349e28e","disabled":true,"description":"[FILTER] on webhook (`webhook_id`)."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nList all webhooks."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[{"key":"webhook_id","value":"cf3bf1c0-0123-11ed-bb92-8dd6d349e28e","disabled":true,"description":"[FILTER] on webhook (`webhook_id`)."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nList all webhooks."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks?items_per_page=5&page=1","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[{"key":"webhook_id","value":"cf3bf1c0-0123-11ed-bb92-8dd6d349e28e","disabled":true,"description":"[FILTER] on webhook (`webhook_id`)."},{"key":"items_per_page","value":"5","disabled":false,"description":"[PAGING] Items Per Page - Allows user's to configure the `items_per_page` value. For example, to load 100 items per page, the developer may point the user to a url with the query string ?items_per_page=100. This parameter is mainly usefull to manage response times, higher values result in longer response times and therefore it is recommended to keep this value as low as possible. We do allow to adjust this value so it can be used to batch/cache/update inventory at once.\n\nClients should anticipate that the value of this parameter may not be honored by the API, and should rely exclusively on the contents of the `items_per_page` response element in calculating actual page size."},{"key":"start_index","value":"1","disabled":true,"description":"[PAGING] Index-based paging - Allows user's to jump directly to a specific item position within a list of items. For example, to load 10 items starting at item 200, the developer may point the user to a url with the query string ?start_index=200."},{"key":"page","value":"1","disabled":false,"description":"[PAGING] Page-based paging - Allows user's to jump directly to a specific page within the items. This is similar to index-based paging, but saves the developer the extra step of having to calculate the item index for a new page of items. For example, rather than jump to item number 200, the developer could jump to page 20. The urls during page-based paging could use the query string ?page=1 or ?page=20. The `page_index` and `total_pages` properties are used for this style of paging."}],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nList all webhooks."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["// This operation is not available in this API release.","pm.execution.skipRequest();"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Create Webhook","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nAdd webhook to receive events.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"webhook\": {\n      \"webhook_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n      \"webhook_status\": \"ENABLED\",\n      \"webhook_version\": \"2.0.0\",\n      \"webhook_events\": [],\n      \"webhook_url\": \"https://myserver.com/send/callback/here\",\n      \"webhook_email\": \"api-notifications@tuexperiencia.dev\",\n      \"webhook_payload\": true,\n      \"webhook_auth\": \"EXAMPLE\",\n      \"webhook_created\": \"2027-06-15T10:00:00Z\",\n      \"webhook_created_name\": \"Cashier Name\",\n      \"webhook_created_email\": \"cashier@tuexperiencia.com\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"name":"201 - Reference response format. This operation is not available in this API release.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nAdd webhook to receive events.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"webhook\": {\n      \"webhook_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n      \"webhook_status\": \"ENABLED\",\n      \"webhook_version\": \"2.0.0\",\n      \"webhook_events\": [],\n      \"webhook_url\": \"https://myserver.com/send/callback/here\",\n      \"webhook_email\": \"api-notifications@tuexperiencia.dev\",\n      \"webhook_payload\": true,\n      \"webhook_auth\": \"EXAMPLE\",\n      \"webhook_created\": \"2027-06-15T10:00:00Z\",\n      \"webhook_created_name\": \"Cashier Name\",\n      \"webhook_created_email\": \"cashier@tuexperiencia.com\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"webhook\": {\n      \"webhook_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n      \"webhook_status\": \"ENABLED\",\n      \"webhook_version\": \"2.0.0\",\n      \"webhook_events\": [],\n      \"webhook_url\": \"https://myserver.com/send/callback/here\",\n      \"webhook_email\": \"api-notifications@tuexperiencia.dev\",\n      \"webhook_payload\": true,\n      \"webhook_auth\": \"EXAMPLE\",\n      \"webhook_created\": \"2027-06-15T10:00:00Z\",\n      \"webhook_created_name\": \"Cashier Name\",\n      \"webhook_created_email\": \"cashier@tuexperiencia.com\"\n    }\n  }\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nAdd webhook to receive events.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"webhook\": {\n      \"webhook_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n      \"webhook_status\": \"ENABLED\",\n      \"webhook_version\": \"2.0.0\",\n      \"webhook_events\": [],\n      \"webhook_url\": \"https://myserver.com/send/callback/here\",\n      \"webhook_email\": \"api-notifications@tuexperiencia.dev\",\n      \"webhook_payload\": true,\n      \"webhook_auth\": \"EXAMPLE\",\n      \"webhook_created\": \"2027-06-15T10:00:00Z\",\n      \"webhook_created_name\": \"Cashier Name\",\n      \"webhook_created_email\": \"cashier@tuexperiencia.com\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nAdd webhook to receive events.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"webhook\": {\n      \"webhook_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n      \"webhook_status\": \"ENABLED\",\n      \"webhook_version\": \"2.0.0\",\n      \"webhook_events\": [],\n      \"webhook_url\": \"https://myserver.com/send/callback/here\",\n      \"webhook_email\": \"api-notifications@tuexperiencia.dev\",\n      \"webhook_payload\": true,\n      \"webhook_auth\": \"EXAMPLE\",\n      \"webhook_created\": \"2027-06-15T10:00:00Z\",\n      \"webhook_created_name\": \"Cashier Name\",\n      \"webhook_created_email\": \"cashier@tuexperiencia.com\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nAdd webhook to receive events.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"webhook\": {\n      \"webhook_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n      \"webhook_status\": \"ENABLED\",\n      \"webhook_version\": \"2.0.0\",\n      \"webhook_events\": [],\n      \"webhook_url\": \"https://myserver.com/send/callback/here\",\n      \"webhook_email\": \"api-notifications@tuexperiencia.dev\",\n      \"webhook_payload\": true,\n      \"webhook_auth\": \"EXAMPLE\",\n      \"webhook_created\": \"2027-06-15T10:00:00Z\",\n      \"webhook_created_name\": \"Cashier Name\",\n      \"webhook_created_email\": \"cashier@tuexperiencia.com\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"405 - Request failed.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nAdd webhook to receive events.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"webhook\": {\n      \"webhook_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n      \"webhook_status\": \"ENABLED\",\n      \"webhook_version\": \"2.0.0\",\n      \"webhook_events\": [],\n      \"webhook_url\": \"https://myserver.com/send/callback/here\",\n      \"webhook_email\": \"api-notifications@tuexperiencia.dev\",\n      \"webhook_payload\": true,\n      \"webhook_auth\": \"EXAMPLE\",\n      \"webhook_created\": \"2027-06-15T10:00:00Z\",\n      \"webhook_created_name\": \"Cashier Name\",\n      \"webhook_created_email\": \"cashier@tuexperiencia.com\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Method Not Allowed","code":405,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"406 - Request failed.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nAdd webhook to receive events.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"webhook\": {\n      \"webhook_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n      \"webhook_status\": \"ENABLED\",\n      \"webhook_version\": \"2.0.0\",\n      \"webhook_events\": [],\n      \"webhook_url\": \"https://myserver.com/send/callback/here\",\n      \"webhook_email\": \"api-notifications@tuexperiencia.dev\",\n      \"webhook_payload\": true,\n      \"webhook_auth\": \"EXAMPLE\",\n      \"webhook_created\": \"2027-06-15T10:00:00Z\",\n      \"webhook_created_name\": \"Cashier Name\",\n      \"webhook_created_email\": \"cashier@tuexperiencia.com\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"409 - Request failed.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nAdd webhook to receive events.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"webhook\": {\n      \"webhook_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n      \"webhook_status\": \"ENABLED\",\n      \"webhook_version\": \"2.0.0\",\n      \"webhook_events\": [],\n      \"webhook_url\": \"https://myserver.com/send/callback/here\",\n      \"webhook_email\": \"api-notifications@tuexperiencia.dev\",\n      \"webhook_payload\": true,\n      \"webhook_auth\": \"EXAMPLE\",\n      \"webhook_created\": \"2027-06-15T10:00:00Z\",\n      \"webhook_created_name\": \"Cashier Name\",\n      \"webhook_created_email\": \"cashier@tuexperiencia.com\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nAdd webhook to receive events.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"webhook\": {\n      \"webhook_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n      \"webhook_status\": \"ENABLED\",\n      \"webhook_version\": \"2.0.0\",\n      \"webhook_events\": [],\n      \"webhook_url\": \"https://myserver.com/send/callback/here\",\n      \"webhook_email\": \"api-notifications@tuexperiencia.dev\",\n      \"webhook_payload\": true,\n      \"webhook_auth\": \"EXAMPLE\",\n      \"webhook_created\": \"2027-06-15T10:00:00Z\",\n      \"webhook_created_name\": \"Cashier Name\",\n      \"webhook_created_email\": \"cashier@tuexperiencia.com\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nAdd webhook to receive events.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"webhook\": {\n      \"webhook_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n      \"webhook_status\": \"ENABLED\",\n      \"webhook_version\": \"2.0.0\",\n      \"webhook_events\": [],\n      \"webhook_url\": \"https://myserver.com/send/callback/here\",\n      \"webhook_email\": \"api-notifications@tuexperiencia.dev\",\n      \"webhook_payload\": true,\n      \"webhook_auth\": \"EXAMPLE\",\n      \"webhook_created\": \"2027-06-15T10:00:00Z\",\n      \"webhook_created_name\": \"Cashier Name\",\n      \"webhook_created_email\": \"cashier@tuexperiencia.com\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nAdd webhook to receive events.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"webhook\": {\n      \"webhook_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n      \"webhook_status\": \"ENABLED\",\n      \"webhook_version\": \"2.0.0\",\n      \"webhook_events\": [],\n      \"webhook_url\": \"https://myserver.com/send/callback/here\",\n      \"webhook_email\": \"api-notifications@tuexperiencia.dev\",\n      \"webhook_payload\": true,\n      \"webhook_auth\": \"EXAMPLE\",\n      \"webhook_created\": \"2027-06-15T10:00:00Z\",\n      \"webhook_created_name\": \"Cashier Name\",\n      \"webhook_created_email\": \"cashier@tuexperiencia.com\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nAdd webhook to receive events.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"webhook\": {\n      \"webhook_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n      \"webhook_status\": \"ENABLED\",\n      \"webhook_version\": \"2.0.0\",\n      \"webhook_events\": [],\n      \"webhook_url\": \"https://myserver.com/send/callback/here\",\n      \"webhook_email\": \"api-notifications@tuexperiencia.dev\",\n      \"webhook_payload\": true,\n      \"webhook_auth\": \"EXAMPLE\",\n      \"webhook_created\": \"2027-06-15T10:00:00Z\",\n      \"webhook_created_name\": \"Cashier Name\",\n      \"webhook_created_email\": \"cashier@tuexperiencia.com\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nAdd webhook to receive events.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"webhook\": {\n      \"webhook_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n      \"webhook_status\": \"ENABLED\",\n      \"webhook_version\": \"2.0.0\",\n      \"webhook_events\": [],\n      \"webhook_url\": \"https://myserver.com/send/callback/here\",\n      \"webhook_email\": \"api-notifications@tuexperiencia.dev\",\n      \"webhook_payload\": true,\n      \"webhook_auth\": \"EXAMPLE\",\n      \"webhook_created\": \"2027-06-15T10:00:00Z\",\n      \"webhook_created_name\": \"Cashier Name\",\n      \"webhook_created_email\": \"cashier@tuexperiencia.com\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nAdd webhook to receive events.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"webhook\": {\n      \"webhook_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n      \"webhook_status\": \"ENABLED\",\n      \"webhook_version\": \"2.0.0\",\n      \"webhook_events\": [],\n      \"webhook_url\": \"https://myserver.com/send/callback/here\",\n      \"webhook_email\": \"api-notifications@tuexperiencia.dev\",\n      \"webhook_payload\": true,\n      \"webhook_auth\": \"EXAMPLE\",\n      \"webhook_created\": \"2027-06-15T10:00:00Z\",\n      \"webhook_created_name\": \"Cashier Name\",\n      \"webhook_created_email\": \"cashier@tuexperiencia.com\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nAdd webhook to receive events.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"webhook\": {\n      \"webhook_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n      \"webhook_status\": \"ENABLED\",\n      \"webhook_version\": \"2.0.0\",\n      \"webhook_events\": [],\n      \"webhook_url\": \"https://myserver.com/send/callback/here\",\n      \"webhook_email\": \"api-notifications@tuexperiencia.dev\",\n      \"webhook_payload\": true,\n      \"webhook_auth\": \"EXAMPLE\",\n      \"webhook_created\": \"2027-06-15T10:00:00Z\",\n      \"webhook_created_name\": \"Cashier Name\",\n      \"webhook_created_email\": \"cashier@tuexperiencia.com\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks","host":["{{base_url}}"],"path":[":version","webhooks"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nAdd webhook to receive events.","body":{"mode":"raw","raw":"{\n  \"api_version\": \"2.0.0\",\n  \"data\": {\n    \"kind\": \"location\",\n    \"webhook\": {\n      \"webhook_id\": \"de1829d0-e144-11ea-bc09-f935c77bef95\",\n      \"webhook_status\": \"ENABLED\",\n      \"webhook_version\": \"2.0.0\",\n      \"webhook_events\": [],\n      \"webhook_url\": \"https://myserver.com/send/callback/here\",\n      \"webhook_email\": \"api-notifications@tuexperiencia.dev\",\n      \"webhook_payload\": true,\n      \"webhook_auth\": \"EXAMPLE\",\n      \"webhook_created\": \"2027-06-15T10:00:00Z\",\n      \"webhook_created_name\": \"Cashier Name\",\n      \"webhook_created_email\": \"cashier@tuexperiencia.com\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["// This operation is not available in this API release.","pm.execution.skipRequest();"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["if (pm.collectionVariables.get('allow_mutations') !== 'true') { pm.execution.skipRequest(); }"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([201]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Remove Webhook","request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks/:webhook_id","host":["{{base_url}}"],"path":[":version","webhooks",":webhook_id"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"webhook_id","value":"{{webhook_id}}","description":"Unique Webhook ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nRemove webhook."},"response":[{"name":"204 - Reference response format. This operation is not available in this API release.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks/:webhook_id","host":["{{base_url}}"],"path":[":version","webhooks",":webhook_id"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"webhook_id","value":"{{webhook_id}}","description":"Unique Webhook ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nRemove webhook."},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"body":""},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks/:webhook_id","host":["{{base_url}}"],"path":[":version","webhooks",":webhook_id"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"webhook_id","value":"{{webhook_id}}","description":"Unique Webhook ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nRemove webhook."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks/:webhook_id","host":["{{base_url}}"],"path":[":version","webhooks",":webhook_id"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"webhook_id","value":"{{webhook_id}}","description":"Unique Webhook ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nRemove webhook."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks/:webhook_id","host":["{{base_url}}"],"path":[":version","webhooks",":webhook_id"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"webhook_id","value":"{{webhook_id}}","description":"Unique Webhook ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nRemove webhook."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"405 - Request failed.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks/:webhook_id","host":["{{base_url}}"],"path":[":version","webhooks",":webhook_id"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"webhook_id","value":"{{webhook_id}}","description":"Unique Webhook ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nRemove webhook."},"status":"Method Not Allowed","code":405,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"406 - Request failed.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks/:webhook_id","host":["{{base_url}}"],"path":[":version","webhooks",":webhook_id"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"webhook_id","value":"{{webhook_id}}","description":"Unique Webhook ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nRemove webhook."},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"409 - Request failed.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks/:webhook_id","host":["{{base_url}}"],"path":[":version","webhooks",":webhook_id"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"webhook_id","value":"{{webhook_id}}","description":"Unique Webhook ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nRemove webhook."},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks/:webhook_id","host":["{{base_url}}"],"path":[":version","webhooks",":webhook_id"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"webhook_id","value":"{{webhook_id}}","description":"Unique Webhook ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nRemove webhook."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks/:webhook_id","host":["{{base_url}}"],"path":[":version","webhooks",":webhook_id"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"webhook_id","value":"{{webhook_id}}","description":"Unique Webhook ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nRemove webhook."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks/:webhook_id","host":["{{base_url}}"],"path":[":version","webhooks",":webhook_id"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"webhook_id","value":"{{webhook_id}}","description":"Unique Webhook ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nRemove webhook."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks/:webhook_id","host":["{{base_url}}"],"path":[":version","webhooks",":webhook_id"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"webhook_id","value":"{{webhook_id}}","description":"Unique Webhook ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nRemove webhook."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks/:webhook_id","host":["{{base_url}}"],"path":[":version","webhooks",":webhook_id"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"webhook_id","value":"{{webhook_id}}","description":"Unique Webhook ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nRemove webhook."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks/:webhook_id","host":["{{base_url}}"],"path":[":version","webhooks",":webhook_id"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"webhook_id","value":"{{webhook_id}}","description":"Unique Webhook ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nRemove webhook."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks/:webhook_id","host":["{{base_url}}"],"path":[":version","webhooks",":webhook_id"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"webhook_id","value":"{{webhook_id}}","description":"Unique Webhook ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nRemove webhook."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/webhooks/:webhook_id","host":["{{base_url}}"],"path":[":version","webhooks",":webhook_id"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."},{"key":"webhook_id","value":"{{webhook_id}}","description":"Unique Webhook ID."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nRemove webhook."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["// This operation is not available in this API release.","pm.execution.skipRequest();"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["if (pm.collectionVariables.get('allow_mutations') !== 'true') { pm.execution.skipRequest(); }"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([204]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]}]},{"name":"System","description":"Information on the system.","item":[{"name":"Get System Status","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/system/status","host":["{{base_url}}"],"path":["system","status"],"query":[],"variable":[]},"description":"Unversioned process health; does not check database or provider readiness.","auth":{"type":"noauth"}},"response":[{"name":"200 - Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/system/status","host":["{{base_url}}"],"path":["system","status"],"query":[],"variable":[]},"description":"Unversioned process health; does not check database or provider readiness.","auth":{"type":"noauth"}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"status\": \"success\",\n  \"message\": \"System OK\"\n}"}],"event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Get metrics","request":{"method":"GET","header":[{"key":"Accept","value":"text/plain"}],"url":{"raw":"{{base_url}}/metrics","host":["{{base_url}}"],"path":["metrics"],"query":[],"variable":[]},"description":"Unversioned Prometheus exposition when enabled. Infrastructure may restrict access.","auth":{"type":"noauth"}},"response":[{"name":"200 - Prometheus exposition","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"text/plain"}],"url":{"raw":"{{base_url}}/metrics","host":["{{base_url}}"],"path":["metrics"],"query":[],"variable":[]},"description":"Unversioned Prometheus exposition when enabled. Infrastructure may restrict access.","auth":{"type":"noauth"}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"body":""},{"name":"404 - Metrics disabled","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"text/plain"}],"url":{"raw":"{{base_url}}/metrics","host":["{{base_url}}"],"path":["metrics"],"query":[],"variable":[]},"description":"Unversioned Prometheus exposition when enabled. Infrastructure may restrict access.","auth":{"type":"noauth"}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"body":""}],"event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200, 404]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]},{"name":"Get System Ping","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/system/ping","host":["{{base_url}}"],"path":[":version","system","ping"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nPing of the system."},"response":[{"name":"200 - Reference response format. This operation is not available in this API release.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/system/ping","host":["{{base_url}}"],"path":[":version","system","ping"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nPing of the system."},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"body":""},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/system/ping","host":["{{base_url}}"],"path":[":version","system","ping"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nPing of the system."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/system/ping","host":["{{base_url}}"],"path":[":version","system","ping"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nPing of the system."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/system/ping","host":["{{base_url}}"],"path":[":version","system","ping"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nPing of the system."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"405 - Request failed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/system/ping","host":["{{base_url}}"],"path":[":version","system","ping"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nPing of the system."},"status":"Method Not Allowed","code":405,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"406 - Request failed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/system/ping","host":["{{base_url}}"],"path":[":version","system","ping"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nPing of the system."},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"EXAMPLE\",\n  \"error_reference\": \"EXAMPLE\",\n  \"error_message\": \"Unable to confirm your booking, please try again later.\",\n  \"error_description\": \"EXAMPLE\",\n  \"error_uri\": \"https://support.tuexperiencia.com/docs/distributor-api-v2-0\",\n  \"errors\": [\n    \"The data.reservation.reservation_distributor_id must be a string.\",\n    \"The data.reservation.reservation_details.booking_travel_date must be a [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date time format.\",\n    \"The data.order.order_bookings.*.reservation_reference field is required when data.order.order_bookings.*.booking_option_type is CONFIRM_RESERVATION.\"\n  ]\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/system/ping","host":["{{base_url}}"],"path":[":version","system","ping"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nPing of the system."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/system/ping","host":["{{base_url}}"],"path":[":version","system","ping"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nPing of the system."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/system/ping","host":["{{base_url}}"],"path":[":version","system","ping"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nPing of the system."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/system/ping","host":["{{base_url}}"],"path":[":version","system","ping"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nPing of the system."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/system/ping","host":["{{base_url}}"],"path":[":version","system","ping"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nPing of the system."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/system/ping","host":["{{base_url}}"],"path":[":version","system","ping"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nPing of the system."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/system/ping","host":["{{base_url}}"],"path":[":version","system","ping"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nPing of the system."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"404 - Resource not found or outside the permitted distribution.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/system/ping","host":["{{base_url}}"],"path":[":version","system","ping"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"**Not available in this API release.** This operation is retained in the reference contract.\n\nPing of the system."},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_FOUND\",\n  \"error_description\": \"Resource not found or outside the permitted distribution.\",\n  \"error_message\": \"Resource not found or outside the permitted distribution.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["// This operation is not available in this API release.","pm.execution.skipRequest();"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}}]}]},{"name":"Session cleanup","item":[{"name":"Logout","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/logout","host":["{{base_url}}"],"path":[":version","oauth2","logout"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Log out of the current session. Discard the saved access token and clear the client cookie after success."},"response":[{"name":"200 - Success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/logout","host":["{{base_url}}"],"path":[":version","oauth2","logout"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Log out of the current session. Discard the saved access token and clear the client cookie after success."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"status\": \"success\"\n}"},{"name":"400 - Invalid request parameters or JSON body.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/logout","host":["{{base_url}}"],"path":[":version","oauth2","logout"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Log out of the current session. Discard the saved access token and clear the client cookie after success."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_REQUEST\",\n  \"error_description\": \"Invalid request parameters or JSON body.\",\n  \"error_message\": \"Invalid request parameters or JSON body.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"401 - Authenticate again with credentials for this environment.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/logout","host":["{{base_url}}"],"path":[":version","oauth2","logout"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Log out of the current session. Discard the saved access token and clear the client cookie after success."},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INVALID_TOKEN\",\n  \"error_description\": \"Authenticate again with credentials for this environment.\",\n  \"error_message\": \"Authenticate again with credentials for this environment.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"403 - The account or distribution does not allow this operation.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/logout","host":["{{base_url}}"],"path":[":version","oauth2","logout"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Log out of the current session. Discard the saved access token and clear the client cookie after success."},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"FORBIDDEN\",\n  \"error_description\": \"The account or distribution does not allow this operation.\",\n  \"error_message\": \"The account or distribution does not allow this operation.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"409 - Check current resource state and version before retrying.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/logout","host":["{{base_url}}"],"path":[":version","oauth2","logout"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Log out of the current session. Discard the saved access token and clear the client cookie after success."},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"CONFLICT\",\n  \"error_description\": \"Check current resource state and version before retrying.\",\n  \"error_message\": \"Check current resource state and version before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"422 - Correct the request or checkout fields.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/logout","host":["{{base_url}}"],"path":[":version","oauth2","logout"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Log out of the current session. Discard the saved access token and clear the client cookie after success."},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"UNPROCESSABLE_ENTITY\",\n  \"error_description\": \"Correct the request or checkout fields.\",\n  \"error_message\": \"Correct the request or checkout fields.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"429 - Request limit reached; wait before retrying.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/logout","host":["{{base_url}}"],"path":[":version","oauth2","logout"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Log out of the current session. Discard the saved access token and clear the client cookie after success."},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Retry-After","value":"60"}],"cookie":[],"body":"{\n  \"error\": \"TOO_MANY_REQUESTS\",\n  \"error_description\": \"Request limit reached; wait before retrying.\",\n  \"error_message\": \"Request limit reached; wait before retrying.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"500 - The operation failed internally.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/logout","host":["{{base_url}}"],"path":[":version","oauth2","logout"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Log out of the current session. Discard the saved access token and clear the client cookie after success."},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"INTERNAL_SERVER_ERROR\",\n  \"error_description\": \"The operation failed internally.\",\n  \"error_message\": \"The operation failed internally.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"501 - This operation is not available for this account or resource.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/logout","host":["{{base_url}}"],"path":[":version","oauth2","logout"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Log out of the current session. Discard the saved access token and clear the client cookie after success."},"status":"Not Implemented","code":501,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"NOT_IMPLEMENTED\",\n  \"error_description\": \"This operation is not available for this account or resource.\",\n  \"error_message\": \"This operation is not available for this account or resource.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"502 - The request could not be completed.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/logout","host":["{{base_url}}"],"path":[":version","oauth2","logout"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Log out of the current session. Discard the saved access token and clear the client cookie after success."},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"BAD_GATEWAY\",\n  \"error_description\": \"The request could not be completed.\",\n  \"error_message\": \"The request could not be completed.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"503 - A required dependency is unavailable.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/logout","host":["{{base_url}}"],"path":[":version","oauth2","logout"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Log out of the current session. Discard the saved access token and clear the client cookie after success."},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"SERVICE_UNAVAILABLE\",\n  \"error_description\": \"A required dependency is unavailable.\",\n  \"error_message\": \"A required dependency is unavailable.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"},{"name":"504 - The request did not complete within the timeout.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{base_url}}/:version/oauth2/logout","host":["{{base_url}}"],"path":[":version","oauth2","logout"],"query":[],"variable":[{"key":"version","value":"{{version}}","description":"API path version matching this collection."}]},"description":"Log out of the current session. Discard the saved access token and clear the client cookie after success."},"status":"Gateway Timeout","code":504,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"body":"{\n  \"error\": \"GATEWAY_TIMEOUT\",\n  \"error_description\": \"The request did not complete within the timeout.\",\n  \"error_message\": \"The request did not complete within the timeout.\",\n  \"error_reference\": \"00000000-0000-4000-8000-000000000001\",\n  \"error_uri\": \"https://support.tuexperiencia.com\",\n  \"errors\": []\n}"}],"event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Expected success status', () => pm.expect(pm.response.code).to.be.oneOf([200]));","if (pm.response.code >= 200 && pm.response.code < 300 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const body = pm.response.json();","  pm.test('JSON object response', () => pm.expect(body).to.be.an('object'));","  if (body.api_version !== undefined) pm.test('Response API version', () => pm.expect(body.api_version).to.eql(pm.collectionVariables.get('version').slice(1) + '.0'));","  for (const kind of ['reservation', 'order']) {","    const resource = body.data && body.data[kind];","    if (resource) {","      for (const suffix of ['reference', 'version']) {","        const key = kind + '_' + suffix;","        if (resource[key] !== undefined) pm.collectionVariables.set(key, resource[key]);","      }","    }","  }","  if (body.data && body.data.payment && body.data.payment.payment_reference) pm.collectionVariables.set('payment_reference', body.data.payment.payment_reference);","  if (body.data && Array.isArray(body.data.items)) {","    pm.test('Collection metadata matches items', () => {","      if (body.data.current_item_count !== undefined) pm.expect(body.data.current_item_count).to.eql(body.data.items.length);","      if (body.data.total_items !== undefined) pm.expect(body.data.total_items).to.be.at.least(body.data.items.length);","    });","  }","}","if (pm.response.code >= 400 && (pm.response.headers.get('Content-Type') || '').includes('json')) {","  const error = pm.response.json();","  pm.test('Structured API error', () => pm.expect(error.error).to.be.a('string'));","  if (pm.response.code === 429 && pm.response.headers.has('Retry-After')) pm.test('Retry-After format', () => {","    const delay = pm.response.headers.get('Retry-After');","    pm.expect(/^\\d+$/.test(delay) || !Number.isNaN(Date.parse(delay))).to.eql(true);","  });","}"]}},{"listen":"test","script":{"type":"text/javascript","exec":["if (pm.response.code === 200) pm.collectionVariables.set('access_token', '');"]}}]}]}]}