# Nicer Docs > Learn to plan, book, and share trips with Nicer. Find guides for the Advisor Portal, traveler app, API, and MCP. Index: https://docs.nicer.travel/llms.txt # Nicer Docs > Learn to plan, book, and share trips with Nicer. Find guides for the Advisor Portal, traveler app, API, and MCP. Source: https://docs.nicer.travel/ · Markdown: https://docs.nicer.travel/index.md ## How a trip works Advisors plan and book travel in the Portal. Travelers review proposals, follow the itinerary, and stay in touch with their advisor as plans take shape. ## Choose your starting point - **Advisor Portal** — Build proposals, book travel, manage client profiles, and collect payments. - **Traveler app** — Open a shared trip, check booking details, and message your advisor. - **Developer guides** — Authenticate your first request and work with trips, travelers, and bookings. - **API reference** — Look up production endpoints, request fields, response schemas, and code samples. ## Connect Nicer to your tools Use the [Nicer MCP server](https://docs.nicer.travel/developers/mcp/) to connect a compatible AI assistant to your Nicer workspace. To read these guides in a tool that understands Markdown, start with the [documentation index](https://docs.nicer.travel/llms.txt). ## Get help Start with [troubleshooting](https://docs.nicer.travel/get-started/help/) if you cannot sign in, open a trip, or find an option in the Portal. # Get started with Nicer > Open the right app, get access, and take your first steps with Nicer. Source: https://docs.nicer.travel/get-started/ · Markdown: https://docs.nicer.travel/get-started/index.md Travel advisors use the Portal to plan and book. Travelers use the Nicer app or a shared link to follow the trip. Start with the guide that matches what you need to do. - **Choose the right app** — Find the Portal, traveler app, and developer tools. - **Sign in** — Use the contact details on your account or invitation. - **Access and roles** — Understand who can access a trip, agency workspace, or integration. - **Plan your first trip** — Create a trip, build a proposal, and share it with your client. - **Share links and payments** — Share itineraries and collect payment information using Nicer. - **Get help** — Fix common sign-in, trip, and workspace problems. # Choose the right app > Find the Nicer app or tool for the job you need to do. Source: https://docs.nicer.travel/get-started/apps/ · Markdown: https://docs.nicer.travel/get-started/apps/index.md | What you need to do | Where to go | | --- | --- | | Plan a trip, manage clients, or book travel as an advisor | [Advisor Portal](https://portal.nicer.travel/) | | Review a proposal or itinerary a travel advisor sent you | Open the link in the advisor's message | | View a trip and message your advisor on your phone | [Nicer traveler app](https://www.nicer.travel/download) | | Apply to become a Nicer travel advisor | [Join Nicer](https://join.nicer.travel/) | | Integrate a product or connect an AI assistant | [Developer guides](https://docs.nicer.travel/developers/) or [MCP server](https://docs.nicer.travel/developers/mcp/) | If your advisor sends you a payment request, use the payment link in their message. For more, see [Share links and payments](https://docs.nicer.travel/get-started/sharing-and-payments/). # Sign in to Nicer > Open your account or get access through an invitation. Source: https://docs.nicer.travel/get-started/sign-in/ · Markdown: https://docs.nicer.travel/get-started/sign-in/index.md ## Advisors Open the [Advisor Portal](https://portal.nicer.travel/) and follow the sign-in prompts. Use the account your agency already uses for you. If your agency invited you, start with the invitation and use the contact information it was sent to. If you are joining Nicer as a new advisor, start at [Join Nicer](https://join.nicer.travel/). See [Sign in and your profile](https://docs.nicer.travel/advisors/how-to/sign-in-and-profile/) for the sign-in steps, your profile, and agency switching. ## Travelers Open the invitation your advisor sent you. If it takes you to the Nicer app, sign in with the details your advisor used for the invitation. See [Open your trip in the app](https://docs.nicer.travel/travelers/open-your-trip/). ## If you cannot sign in Check that you used the right account. If you received a verification code, enter the newest one in the sign-in screen. For an expired invitation or an account you cannot access, follow [Get help](https://docs.nicer.travel/get-started/help/). # Access and roles > Understand who can view a trip, use the Portal, and connect an integration. Source: https://docs.nicer.travel/get-started/access/ · Markdown: https://docs.nicer.travel/get-started/access/index.md ## Agency access The Advisor Portal opens the agency workspace your account can access. If you work with more than one agency, check that you are in the right workspace before looking for a traveler or changing a trip. Your agency manages who can join its workspace. If a colleague needs access or you cannot see a trip you expect to manage, ask your agency administrator to check your account. ## Traveler access Travelers can open the itinerary or proposal shared by their advisor. If a link is missing or the trip does not appear in the app, ask the advisor who shared it to confirm who was invited. ## Developer and assistant access The [API authentication guide](https://docs.nicer.travel/developers/authentication/) explains how requests are scoped to a company. An [MCP connection](https://docs.nicer.travel/developers/mcp/) uses your Nicer account and the access you approve during setup. # Plan your first trip > Set up a trip in the Advisor Portal and send a proposal to your client. Source: https://docs.nicer.travel/get-started/first-trip/ · Markdown: https://docs.nicer.travel/get-started/first-trip/index.md Have the destinations, travel dates, and traveler details ready before you start. 1. **Create the trip** Open the [Advisor Portal](https://portal.nicer.travel/) and start a new trip. Add the destinations and dates, then select or create the traveler profile. 2. **Build the proposal** Add hotel or activity options to the itinerary. Use [Create proposals](https://docs.nicer.travel/advisors/create-proposals/) for the full workflow. 3. **Share it with your client** Review the itinerary and use **Share** to send it by web link, in the app, or as a PDF. 4. **Book after the client chooses** Confirm the options with your client. Open the [booking and payment guides](https://docs.nicer.travel/advisors/#book-and-collect-payment) when you are ready to proceed. # Share links and payments > Send trip details and collect payments through the right Nicer workflow. Source: https://docs.nicer.travel/get-started/sharing-and-payments/ · Markdown: https://docs.nicer.travel/get-started/sharing-and-payments/index.md ## Sharing a trip Use the itinerary's **Share** controls to choose how your client will receive their proposal or itinerary. Review the preview and the visibility settings before sending the link. If you share an app invitation, send it directly to the intended traveler. ## Collecting payment Send the payment request from Nicer so the traveler can enter their details in the payment form. Use the [payment management guide](https://docs.nicer.travel/advisors/how-to/how-to-use-payment-management-in-nicer/) for planning fees and card authorizations. If a client sends card information by email or chat, direct them to the Nicer payment form instead. See [the Nicer privacy policy](https://www.nicer.travel/privacy) for information about personal data. # Get help > Troubleshoot sign-in, missing trips, and agency access. Source: https://docs.nicer.travel/get-started/help/ · Markdown: https://docs.nicer.travel/get-started/help/index.md | If this happens | Start here | | --- | --- | | You cannot sign in | Check that the account matches your agency invitation or the contact information your advisor used. See [Sign in](https://docs.nicer.travel/get-started/sign-in/). | | Your trip is missing from the app | Open the original invitation. Ask your advisor to confirm the contact details and resend the invitation if needed. | | A Portal option is missing | Confirm which agency workspace is open, then ask your agency administrator to check your access. | | An API request fails | Check the response code in [API errors](https://docs.nicer.travel/developers/errors/) and review the [authentication guide](https://docs.nicer.travel/developers/authentication/). | If you still need help, email [hello@nicer.travel](mailto:hello@nicer.travel). Share which page you were on, what you were trying to do, and any error message you saw. Keep passwords, verification codes, and payment details out of the message. # Advisor Portal > Plan, share, and book trips with your clients. Source: https://docs.nicer.travel/advisors/ · Markdown: https://docs.nicer.travel/advisors/index.md Open the [Advisor Portal](https://portal.nicer.travel/) to manage your travelers, trips, and messages. Start with the guide for the task you need to complete. ## Plan and share a trip - **Create a proposal** — Add travel options and send your proposal by web link, in the app, or as a PDF. - **Invite travelers to their trip** — Give a traveler access to their itinerary, messages, and payment links. ## Book and collect payment - **Search and book** — Find travel options in Discover and book them or add them to a trip. - **Manage payments** — Send a secure payment link for a planning fee or another amount. ## More advisor resources New to Nicer? Start with the [Advisor Launchpad](https://docs.nicer.travel/advisors/launchpad/). Browse the [how-to guides](https://docs.nicer.travel/advisors/how-to/) for trip planning, payments, and client communication. Find destination guides, templates, and business resources in the [Knowledge Center](https://docs.nicer.travel/advisors/knowledge-center/). # Create proposals > Build and share a personalized proposal, from an empty trip to a link in the client's hands. Source: https://docs.nicer.travel/advisors/create-proposals/ · Markdown: https://docs.nicer.travel/advisors/create-proposals/index.md Proposals are one of the workflows you will use most. A proposal is an **unbooked** version of a trip itinerary: it presents options for hotels, activities and destinations so a client can choose without anything being locked in. ## Create the trip 1. **Step 1** ### Start a new trip In the Portal, create a new trip. This is the container everything else goes into — the itinerary, the messages, and later the bookings. 2. **Step 2** ### Add the destinations A trip can span several cities: New York from 1 to 3 October, then London from 4 to 8 October. 3. **Step 3** ### Set the dates and travelers Enter the travel dates and the number of travelers, then select an existing client profile or create one. 4. **Step 4** ### Create it and start building The trip opens with an empty itinerary, ready for hotels and activities. ### Personalize the destinations Click a destination image to upload your own. Doing this for each city makes the proposal feel branded rather than generic. Nicer splits the days between destinations automatically. Use **Change destination** to adjust how many days are spent in each place. ## Add hotels There are three ways, and they are good for different situations. ### With the AI assistant Ask for what you want in plain language, such as "boutique hotel in SoHo". Nicer suggests properties from preferred partners, including SELECT, CURATED and Mr & Mrs Smith. Choose the dates, room type and rate, then **Add to trip**, not **Book**. You can rewrite the hotel description with the AI button or edit it yourself. > **Live segments keep watching** > > A hotel added through the assistant becomes a **live segment**: Nicer keeps > tracking its availability and price, so a proposal that has been sitting for a > week tells you when something has moved. ### By hand In the trip's chat panel, use **Add segment → Lodging** and search for the hotel, or enter it manually when it is not available to book directly. Enter the room type, dates, price and your own description. Enter a hotel by hand when you are proposing a property you cannot book directly, or when you are working through a destination management company or a wholesaler. ### From Discover Go to **Discover**, enter the destination, dates and rooms, then compare rates on the map and filter by program. Choose **Add to trip** once you have picked one. Discover also shows your estimated commission on each rate. ## Add activities Use **Add segment → Activity**, or ask the AI assistant for ideas. Enter the time, location, price and any notes, then drag the activity onto the right day. Mark whether it is paid on site, confirmed, or still an estimate. > **Activities are booked separately** > > Nicer books hotels, flights, car rentals and insurance, not activities. An > activity on a proposal shows the shape of the trip; you still book it with the > supplier. ## Decide what pricing the client sees Nicer keeps a running total of the trip cost as you build. When you are showing several hotel options that total is misleading, so you can hide it: in the trip's actions menu, choose **Prices visibility** and turn on **Hide summary**. The client still sees the price of each segment, but not a trip total. ## Add the personal touches Before sharing, rename the trip to something that belongs to the client, such as "Christina's mother-daughter trip: NYC and London", so the client recognizes it at a glance. ## Share it Open **Share** in the trip's header: - **Show itinerary to client** makes it visible to the travelers on the trip. - **Send itinerary by email** notifies the client with a link to it. - **Public itinerary link** is a link you copy and send any way you like. Travelers who have joined the trip see it on your booking site, and can choose **Download as PDF** there for a copy to print or forward. See [Invite travelers to their trip](https://docs.nicer.travel/advisors/how-to/invite-travelers). ## What good proposals do - Use the AI assistant for fast hotel and activity suggestions. - Replace the stock destination photos and rewrite the descriptions. - Enter hotels by hand when working with a destination management company. - Hide the total when you are showing several options. - Give the trip a name that belongs to the client. - Always preview before sharing. ## Related - **Follow up like a pro** — The 3-touch system for a proposal that has gone quiet. - **DMC PDFs in the Itinerary Builder** — Turn a supplier PDF into segments instead of typing them. - **Invite travelers to their trip** — Bring the client into what you just built. # How-to guides > Every step-by-step guide for the Nicer Portal and the traveler app. Source: https://docs.nicer.travel/advisors/how-to/ · Markdown: https://docs.nicer.travel/advisors/how-to/index.md Short, practical walkthroughs, grouped by what you are trying to get done. If you are looking for destination research, mentor sessions or templates, those live in the [knowledge center](https://docs.nicer.travel/advisors/knowledge-center). ## Find and book - **Search and book** — Hotels, flights, car rentals and activities in Discover. - **Follow your bookings** — Holds, payments and confirmations in one list. - **Plan with Nicer AI** — The assistant beside every trip. ## Build and send a trip - **Create proposals** — From an empty trip to a personalized proposal in the client's hands. - **DMC PDFs in the Itinerary Builder** — Turn a supplier PDF into a polished, client-facing itinerary. - **Follow up like a pro** — The 3-touch system that keeps a proposal moving instead of going quiet. ## Get paid - **Take payment** — Request a fee or any amount and send a secure link to pay it. - **Capture a credit card** — Have a traveler authorize a card you can book with. - **Introduce planning fees** — How to present a fee so it reads as value, not a surcharge. - **Track your commissions** — Follow what every booking should earn you. ## Work with your travelers - **Your travelers** — Each client's profile, documents, dates and notes. - **Pipeline and tasks** — Every trip by sales stage, and the next step for each. - **Message your travelers** — Chats, pictures, calls and itineraries from one box. - **Invite travelers to their trip** — Bring a client into their trip to follow it, message you and pay. - **Opening moves in the app** — First messages that get a traveler answering. - **Handle sales objections** — What to say when price, fees or timing become the sticking point. ## Protect the trip - **Add travel insurance** — Quote, collect payment and issue a policy without leaving the trip. ## Your account - **Sign in and your profile** — Codes instead of passwords, your details, your agencies. # Add travel insurance > Quote an Arch RoamRight policy for the trip, choose the cover, and pay to issue it without leaving the trip. Source: https://docs.nicer.travel/advisors/how-to/how-to-add-arch-roamright-travel-insurance-in-nicer/ · Markdown: https://docs.nicer.travel/advisors/how-to/how-to-add-arch-roamright-travel-insurance-in-nicer/index.md Nicer quotes and issues Arch RoamRight travel insurance from inside the trip, priced from what the trip costs. ## Before you start Make sure the trip has its segments and their prices: the hotels, flights and transfers you want covered. The insured amount comes from them. ## Quote and issue a policy 1. **Step 1** ### Open insurance In the trip's chat panel, choose **Add segment → Insurance**. 2. **Step 2** ### Choose a plan Pick the plan, then read its main coverage summary. Add or remove the optional coverages the client wants; the price updates as you go. 3. **Step 3** ### Check the travelers Every traveler covered needs their full details. A traveler marked **Missing fields** opens **Edit traveler info** for their address and birth date: the quote depends on both. Use **Add traveler** for anyone not on the trip yet. 4. **Step 4** ### Check what is insured The trip's dates and the segments the policy covers are listed with the **Total insured**. Use **Add custom segment** for a cost that is not on the trip, such as a deposit paid directly to a supplier. 5. **Step 5** ### Review the price and pay The drawer shows the **Insurance cost** and your commission on it. Choose **Add and pay** to go to the checkout; once paid, the policy is issued and added to the trip. ## Related - **Take payment** — Collect what the trip costs before you book it. - **Capture a credit card** — Have the traveler's card on file. # Capture a credit card > Ask a traveler to authorize a card you can book with, and reveal it safely only when you need it. Source: https://docs.nicer.travel/advisors/how-to/how-to-capture-credit-card-information/ · Markdown: https://docs.nicer.travel/advisors/how-to/how-to-capture-credit-card-information/index.md When you book for a traveler with their own card, ask them to authorize it first. They enter it on a secure Nicer page; you never type or store it yourself. ## Ask for the card 1. **Step 1** ### Open Payment methods In the trip, open the actions menu, choose **Payments** and go to the **Payment methods** tab. 2. **Step 2** ### Send the authorization Enter the traveler's email and choose **Send authorization**. They get an email with a secure link. To send it yourself, by message for example, choose **Copy link** instead. 3. **Step 3** ### The traveler adds their card They enter the card and its billing details on that page. The card is stored encrypted, outside the portal. 4. **Step 4** ### See it on the trip The card appears under **Payment methods** as **Authorized**, with whom it came from and how long the authorization lasts. Once that window has passed it reads **Authorization expired — ask the traveler again**. ## Use the card 1. Under **Payment methods**, choose **View card** on the card you need. 2. Nicer sends a 6-digit code to your phone. Enter it. 3. Choose **Reveal** to see the number, the holder's name, the expiry date, the security code and the billing address. > **Shown for a moment, never saved** > > The card closes by itself after a short countdown and is never kept in your > browser. Reveal it again whenever you need it. ## Stop using a card Choose **Revoke for trip** to stop using the card on this trip. A card the traveler authorized for you, rather than for one trip, covers all your trips with them, and **Revoke** removes it everywhere. ## Related - **Take payment** — Request a fee or an amount and send a secure link. - **Introduce planning fees** — Present a fee before you ask for a card. # DMC PDFs in the Itinerary Builder > Use Nicer’s AI-powered Itinerary Builder to upload and transform that PDF into a polished, client-facing itinerary Source: https://docs.nicer.travel/advisors/how-to/workflow-dmc-pdfs-in-the-nicer-itinerary-builder/ · Markdown: https://docs.nicer.travel/advisors/how-to/workflow-dmc-pdfs-in-the-nicer-itinerary-builder/index.md When working with a DMC (Destination Management Company), you’ll often receive a detailed PDF outlining hotels, transfers, activities, and more. Instead of manually retyping each detail, use Nicer’s **AI-powered Itinerary Builder** to upload and transform that PDF into a polished, client-facing itinerary. ## Step-by-Step Instructions ### 1. Import the DMC PDF - Open the trip and, in its chat panel, choose **Import itinerary**. - Choose the PDF (up to 25 MB) and **Import**. - Nicer reads the file and adds what it finds to the itinerary. It can take a few minutes; a message tells you when the import is done. ### 2. Review the Itinerary - Once complete, the itinerary will auto-populate with: - Properties - Activities - Transfers - Dates and times ### 3. Double Check the Details Before sharing: - Verify pickup times and dates - Cross-check hotel names and activity times - Add or correct any missing details ### 4. Personalize the Experience Go beyond the PDF: - Add **driver names**, **pickup locations**, and **contact info** - Include **special hotel notes** (e.g., welcome amenities or room upgrades) - Adjust descriptions to reflect your client's personality or preferences *Make it feel bespoke—this is where you shine.* ### 5. Set Trip Pricing DMCs often don’t include a cost breakdown. You have two options: ### A. Break Down by Segment - Click into each line item and manually input pricing (e.g., $100 for a transfer) ### B. Set a Custom Trip Price - Switch to “Custom” pricing - Enter the total trip cost (e.g., $10,000) - This reflects what the client was quoted and paid ### 6. Share with the Client Clients always see the latest version of their itinerary on your booking site, from the invitation you send them or the public link under **Share**. See [Invite travelers to their trip](https://docs.nicer.travel/advisors/how-to/invite-travelers). ## Pro Tips - Always personalize the final itinerary—it should feel human, not templated. - If a DMC sends an updated PDF, import it again and review what changed. - Use the Notes section to document any commissionable or non-commissionable items. ## Related - **Create proposals** — Everything else that goes into a proposal. - **Follow up like a pro** — Once the itinerary is out the door. # Follow up on proposals > Learn Nicer’s 3-Touch Follow-Up System to keep proposals on track and clients engaged. Source: https://docs.nicer.travel/advisors/how-to/how-to-follow-up-on-proposals-like-a-pro/ · Markdown: https://docs.nicer.travel/advisors/how-to/how-to-follow-up-on-proposals-like-a-pro/index.md **The 3-Touch Follow-Up System** Once you send a proposal, don’t wait and wonder—follow up with clarity and confidence. At Nicer, we recommend a simple, effective structure called the **3-Touch Follow-Up System** to keep clients engaged and moving forward. ## 1. Day 3: The Soft Check-In **Tone:** Friendly, low-pressure **Purpose:** Stay top-of-mind and invite conversation **Suggested message:** “Hi [Client Name], just checking in to see if you had any questions about your proposal! I’m happy to walk through anything together.” ## 2. Day 7: The Gentle Nudge **Tone:** Supportive, proactive **Purpose:** Remind them that availability can shift **Suggested message:** “Hi [Client Name], I wanted to check in as some options are starting to book up. Let’s finalize soon to hold your preferred choices!” ## 3. Day 10–14: The Clear Decision Point **Tone:** Respectful and direct **Purpose:** Set a final call to action and create closure **Suggested message:** “Hi [Client Name], just checking in one last time before I archive your proposal. If you’d like to move forward, I’d be thrilled to help finalize things. If your plans have changed, that’s totally fine—just let me know either way!” ## Pro Tips for Advisors - **Send follow-ups directly through the Nicer app.** Clients can review and approve proposals right from their chat. - **Mention specifics.** Reference one highlight from the proposal to personalize each message. - **Don’t ghost your own proposals.** A timely follow-up shows professionalism, not pressure. ## Optional Automation Want to make this easier? Use your calendar, email tools, or a CRM like Honeybook or Notion to pre-schedule your follow-ups. Just be sure your tone stays personal and aligned with the Nicer standard of service. ## Final Thought Following up isn’t just sales—it’s service. When done well, it builds trust, protects your time, and helps clients make empowered decisions. ## Related - **Create proposals** — Build the proposal you are following up on. - **Opening moves in the app** — First messages that get a traveler answering. - **Handle sales objections** — What to say when the answer is 'not yet'. # Follow your bookings > Everything you have booked or started to book, with its status, its payment and what to do next. Source: https://docs.nicer.travel/advisors/how-to/my-bookings/ · Markdown: https://docs.nicer.travel/advisors/how-to/my-bookings/index.md **My Bookings**, in the sidebar, lists every booking you made in Nicer: hotels, flights and car rentals, with where each one stands. ## Read a booking's status | Status | What it means | | --- | --- | | **Draft** | The checkout was started and not finished. | | **Awaiting payment** | Waiting for the payment that completes it. | | **Held** | A flight kept without paying for it yet. | | **Booked** | Confirmed with the supplier. | | **Needs attention** | Something went wrong and needs you; open it to see what. | | **Expired** | A hold or a price that ran out before it was booked. | | **Cancelled** | Cancelled, by you or by the supplier. | | **Failed** | The booking could not be completed. | **Processing payment**, **Creating hold**, **Issuing tickets** and **Cancelling** mean Nicer is working on it: the status changes by itself. Use the filters to show one kind of product or one status, and sort by the most recent first or last. ## Open a booking Choose a booking to see its details. From its menu you can: - **Copy payment link** to send the traveler the secure page that pays it. - **Send reservation** to email the confirmation to the traveler or anyone else. - **Cancel order** while the booking still allows it. ## Pick up a booking you did not finish A checkout you leave halfway is kept for a while. Nicer offers it again in a **Continue your booking** card, with the time left before the price runs out; choose **Continue** to go back to the checkout. ## Related - **Search and book** — Find what to book in Discover. - **Take payment** — Request a payment and send a secure link. # Handle sales objections > Explore common objections and offer rephrased responses based on insights from the provided playbook. Source: https://docs.nicer.travel/advisors/how-to/how-to-handle-common-sales-objections/ · Markdown: https://docs.nicer.travel/advisors/how-to/how-to-handle-common-sales-objections/index.md Sales objections are a natural part of working as a travel advisor. Knowing how to address them effectively can build trust with prospective clients, highlight the value of your services, and ultimately convert leads into bookings. Below, we explore common objections and offer rephrased responses based on insights from the provided playbook. ## 1. "Do Travel Advisors Still Exist?" ### Client Concern: Travel seems easily bookable online. Why would someone use a travel advisor? ### Response: Absolutely, travel advisors remain an essential resource. While booking platforms offer convenience, advisors bring unparalleled expertise, firsthand destination knowledge, and exclusive insider access. We curate bespoke experiences, vet suppliers, and provide ongoing support before, during, and after your trip. Think of us as your safety net for unforeseen travel hiccups and as your gateway to unique experiences that can’t be Googled. From coordinating complex itineraries to ensuring VIP treatment, we transform good trips into unforgettable journeys. ## 2. "I Can Find Better Deals Online." ### Client Concern: Online discounts and memberships like Costco may appear more cost-effective. ### Response: It’s true that online platforms can showcase low rates. However, the value of working with a travel advisor lies beyond cost. We provide seamless coordination, access to exclusive perks, and the expertise to avoid pitfalls. For example, our clients often benefit from upgrades, daily credits, and personalized touches that online bookings cannot guarantee. Our priority is your overall experience, not just a price tag. If your focus is on quality and customization, let’s discuss how I can craft a trip aligned with your vision. ## 3. "I Prefer to Plan My Own Trips." ### Client Concern: Planning is part of the excitement for many travelers. ### Response: I completely understand! Researching destinations is a thrilling part of the travel journey. My role as your advisor is to enhance your ideas with insider knowledge and seamless execution. Whether it's a hidden gem for dining or a fast-track entrance to a major attraction, I help elevate your plans. Consider us collaborators—I’m here to support your vision and handle the logistics, so you can focus on the fun aspects of your trip. ## 4. "Why Should I Pay a Planning Fee?" ### Client Concern: Some travelers may see the planning fee as unnecessary. ### Response: The planning fee reflects the time, expertise, and connections that go into crafting your ideal trip. By working with me, you gain access to resources, vetted partners, and unique opportunities tailored to your needs. This fee ensures I can dedicate the attention needed to perfect every detail while providing you with peace of mind. My goal is to save you time, prevent costly mistakes, and create a seamless and memorable experience. ## 5. "I Already Have a Planned Itinerary." ### Client Concern: The traveler has started planning but wants assistance without losing their ideas. ### Response: That’s fantastic—you’ve done a great job starting the process! I’d love to help refine and enhance your itinerary by recommending hidden gems, ensuring efficient logistics, and addressing any gaps. With my resources and connections, I can elevate your travel plans while preserving your original vision. ## 6. "Another Advisor Doesn't Charge Fees." ### Client Concern: The client is comparing your service structure to that of other advisors. ### Response: I understand that fee structures vary between advisors. My planning fee reflects the depth of personalized service, firsthand experience in destinations, and the impartiality of my recommendations. I prioritize your needs over commission rates, ensuring you receive unbiased and high-quality options. This fee allows me to dedicate my time fully to creating the best possible travel experience for you. ## 7. "Why Can’t You Provide Me With Component Pricing?" ### Client Concern: Travelers often want to see a breakdown of costs for transparency. ### Response: I understand your interest in seeing a breakdown. My approach focuses on creating a seamless, bundled package to ensure you receive the best value. Many of my partners offer exclusive rates that are not publicly available, and disclosing individual components could compromise these agreements. My goal is to provide a well-rounded experience that balances value, convenience, and quality while adhering to industry standards. ## Tips for Preventing Objections 1. **Educate Early:** Share a clear outline of your process on your website, including why fees exist and the benefits of bundled pricing. 2. **Set Expectations:** Include acknowledgment checkboxes on your inquiry forms for transparency. 3. **Show Value:** Use social media, email responses, and intake calls to demonstrate how your services save time and provide unparalleled experiences. 4. **Use Testimonials:** Share past successes to reinforce your reliability and expertise. By proactively addressing objections and maintaining open communication, you can demonstrate the value of your services and build trust with clients, leading to stronger relationships and higher conversion rates. ## Related - **Introduce planning fees** — Frame the fee before it becomes an objection. - **Follow up like a pro** — Keep a hesitant proposal moving. # Introduce planning fees > How to present a planning fee so it reads as value rather than a surcharge. Source: https://docs.nicer.travel/advisors/how-to/intro-to-planning-fees/ · Markdown: https://docs.nicer.travel/advisors/how-to/intro-to-planning-fees/index.md As the industry has changed, so has the role of the advisor. You are not a booking agent: you are the curator of the experience and the client's advocate in an increasingly complicated world. Service fees are how that work gets paid for. Here is how to introduce them without the conversation getting awkward. ## Know your value first You cannot charge confidently for something you have not named. You provide expertise, access, convenience and peace of mind — you are the insider who knows the boutique hotel nobody has heard of yet, the one who gets the table at the Michelin-starred restaurant, and the advocate who rebooks a cancelled flight before the traveler even knows there is a problem. ## Be transparent from the start Transparency is the foundation of trust. Say what your fees are and what they cover before the client has to ask. A written fee structure, shared early, turns a potentially uncomfortable moment into an ordinary one. ## Educate, don't defend Explain how the landscape changed: airlines cut commissions, DIY booking sites multiplied, and the personalized work of an advisor became more essential, not less. A client who understands the industry understands your value without being argued into it. ## Offer choices Modern travelers appreciate options. Some want only the basics; others want the full suite. Tiered options hand the client the decision, which is a far easier conversation than a single take-it-or-leave-it number. ## Show the return Make the benefit tangible: room upgrades, amenities, special rates, hours the client did not have to spend. When a fee visibly leads to savings and a better trip, it stops being a surcharge and becomes part of the value. ## Recommended fee structure Nicer's recommended service fees are laid out below. Share the chart as a standalone document, or fold it into a service agreement or welcome packet — it is designed to be scanned quickly, so a client can see what is available and what it costs. These are suggestions: adjust them to your own business. ![Nicer's recommended service fees](https://docs.nicer.travel/_nimbus/md/1ddmrcw/recommended-service-fees.webp) > **Fees are part of the relationship** > > Introducing a fee is not only about revenue. It sets you up as a working part of > the trip rather than a free convenience — and clients treat the relationship > accordingly. ## Related - **Take payment** — Request the fee and send the traveler a secure link to pay it. - **Handle sales objections** — What to say when the fee becomes the sticking point. # Invite travelers to their trip > Bring a client into their trip, where they follow the itinerary, message you and pay through secure links. Source: https://docs.nicer.travel/advisors/how-to/invite-travelers/ · Markdown: https://docs.nicer.travel/advisors/how-to/invite-travelers/index.md A traveler you invite joins their trip on your agency's booking site. From there they follow the itinerary as you build it, message you, and pay what you request through secure payment links. ## Invite a traveler 1. **Step 1** ### Open the invitation In the trip, open the actions menu and choose **Invite traveler**. 2. **Step 2** ### Enter who they are Their first name is required. Add their email, their phone, or both. 3. **Step 3** ### Send it Choose **Invite**. - **With an email**, Nicer emails them an invitation with a **Join your trip** button that opens the trip on your booking site. They sign in with a code sent to their email; there is no password to create. - **With a phone only**, Nicer creates the invitation and offers **Send invite via text message**, which opens your messages app with the text ready to send. Every traveler on the trip can be invited, so a whole family or group follows the same itinerary. ## What travelers get - **The itinerary, always current.** Changes you make show up for them as you make them. Choose what they see under **Share**: show or hide the itinerary, and use **Prices visibility** to hide the trip total while you are offering options. - **Messages with you.** They write to you from their trip, and you answer from the trip's chat in the Portal. - **Secure payments.** Planning fees and other requests reach them as payment links. See [Take payment](https://docs.nicer.travel/advisors/how-to/how-to-use-payment-management-in-nicer). > **The Nicer app** > > Travelers who prefer an app can still use the Nicer app on iPhone. The text > message invitation links to it. For most clients the booking site is the > simpler start: nothing to install. ## Related - **Opening moves in the app** — What to send once they are in. - **Create proposals** — Build what you are inviting them to. # Message your travelers > Talk to clients from Chats or from inside their trip, and send pictures, a call or a whole itinerary from the same box. Source: https://docs.nicer.travel/advisors/how-to/message-travelers/ · Markdown: https://docs.nicer.travel/advisors/how-to/message-travelers/index.md Travelers write to you from their trip on your booking site or the Nicer app. You answer from the Portal, in two places: - **Chats**, in the sidebar, lists every conversation, newest first. - **Trip's Chat**, in a trip's side panel, is the conversation about that trip, next to its itinerary. ## Send more than words The message box in a trip's chat also lets you: - **Send pictures**: choose them with the picture button, drop them on the box, or paste them. JPG and PNG. - **Propose a call**: pick a day and a time, and Nicer writes the traveler a message asking whether it works for them. - **Add a segment**: open **Add segment** to add a hotel, flight, activity or anything else to the itinerary without leaving the chat. - **Import itinerary**: turn a supplier's PDF into segments. See [DMC PDFs in the Itinerary Builder](https://docs.nicer.travel/advisors/how-to/workflow-dmc-pdfs-in-the-nicer-itinerary-builder). - **Dictate**: the microphone types what you say. In **Chats**, send pictures with the **+** button or by dropping them on the conversation. > **New messages** > > When a traveler writes while you are working on their itinerary, the > **Trip's Chat** tab shows a mark until you open it. ## Related - **Opening moves in the app** — First messages that get a traveler answering. - **Plan with Nicer AI** — The assistant beside the trip's chat. # Opening moves in the app > How to elevate your follow-ups to feel personal, polished, and utterly bespoke. Source: https://docs.nicer.travel/advisors/how-to/nicer-app-opening-moves/ · Markdown: https://docs.nicer.travel/advisors/how-to/nicer-app-opening-moves/index.md ## Mastering the Art of Messaging on the Nicer Mobile App The Nicer mobile app’s chat feature is like having a luxury concierge in your pocket. It starts strong with an automatic introduction, but the real magic happens when you make it your own. This is your chance to shine, showcase your personality, and build trust with your clients. Here’s how to elevate your follow-ups to feel personal, polished, and utterly bespoke. ## First Impressions Matter: Why Follow-Up Is Key An automatic intro is convenient, but a personal touch can set you apart. Imagine your clients opening their app to find a message that feels like it was crafted just for them—it builds excitement and trust. ## Tips for Creating Memorable Messages **1. Make It About Them** - Lead with something specific to their trip. - Example: “Hi [Name], I can already picture you sipping a spritz on the Amalfi Coast. Let’s finalize the details!” - Reference their preferences: “I know you love boutique stays—wait until you see the hidden gem I found for you in Kyoto!” **2. Ask Engaging Questions** A question invites a response, turning your message into a conversation. Try: - “What’s one must-have experience for you on this trip?” - “Would you prefer a seamless itinerary or some free time to explore?” **3. Add a Touch of You** This is your moment to subtly showcase your style and expertise. Be warm, cheeky, and professional. - “Packing tip: lightweight chic. Your Rome wardrobe should blend museum-hopping and espresso stops with ease!” - “Quick poll: morning vineyard tour or sunset? Both are divine, but I’m team sunset.” ## What Not to Do - Avoid generic messages like, “Let me know if you have questions.” It’s passive and forgettable. - Skip overly formal language. Luxury doesn’t mean stiff. Keep it approachable. - Never rush the reply. Clients will feel it. Take your time to craft thoughtful responses. ## Creative Prompts to Get You Started Not sure how to follow up? Borrow inspiration from these: - **For a Beach Getaway:** “Your bungalow awaits! Do you prefer a poolside suite or beachfront paradise?” - **For a City Adventure:** “The perfect cocktail bar in Paris? I have just the spot—unless you’re more into jazz clubs?” - **For a Family Trip:** “Can’t wait to see your little ones light up at [destination]! Should I book the skip-the-line pass for the museum?” ## The Goal: Connection Every message is an opportunity to strengthen your relationship with your client. By being thoughtful, engaging, and uniquely you, you’ll create an experience they’ll rave about—even before their trip begins. Go ahead, send that follow-up. Luxury is in the details, and your message is where the journey begins. ## Related - **Invite travelers to their trip** — Get the client in before you write to them. - **Follow up like a pro** — Keep the conversation going after the proposal. # Pipeline and tasks > See every trip by sales stage, from the first inquiry to the trip itself, and keep the next step for each one in a task. Source: https://docs.nicer.travel/advisors/how-to/pipeline-and-tasks/ · Markdown: https://docs.nicer.travel/advisors/how-to/pipeline-and-tasks/index.md ## The pipeline **Pipeline**, in the sidebar, shows your trips as cards in columns, one column per sales stage: **Inquiry → Planning → Proposal → Booked → Traveling → Completed**, and **Lost** for the ones that did not go ahead. Each card shows the traveler and the dates, the trip's value and its next task. - **Move a trip** by dragging its card to another column, or with **Move to another stage** from its menu. - **Sort** the cards by last update, travel date or value. - **Filter** by advisor to see one person's trips. - **Hide a column** you do not use, and bring it back from the columns menu. - **Add a task** straight from a card for its next step. ## Tasks **Tasks**, in the sidebar, holds everything you have to do, for a traveler, a trip or neither. 1. **Step 1** ### Add a task Choose **Add a task**, write what it is, and give it a due date: today, tomorrow, next Monday or any day. Link it to a traveler or a trip so it shows on their page too. For a trip, **From a template** adds a template's steps in one go. 2. **Step 2** ### Work through them Tasks are grouped by when they are due: **Overdue**, **Today**, **Tomorrow**, **This week**, **Later** and **No date**. See them as a **List**, a **Board** or a **Calendar**. 3. **Step 3** ### Tick them off Mark a task done and it moves to **Completed**. ## Related - **Your travelers** — Each client's profile, documents and notes. - **Follow up on proposals** — What to send while a proposal waits. # Plan with Nicer AI > Ask the assistant beside your trip to find hotels and flights, plan days, check a payment or read a document. Source: https://docs.nicer.travel/advisors/how-to/nicer-ai/ · Markdown: https://docs.nicer.travel/advisors/how-to/nicer-ai/index.md Nicer AI sits in every trip's side panel, under **Assistant**, next to the **Trip's Chat**. It knows the trip you are in, so you can ask in plain words without explaining it first. ## Ask it Write what you need in the box, such as "a boutique hotel in SoHo for these dates" or "plan three days in Lisbon with a food tour". Results come back as cards you can open and add to the trip. Type **/** to start from a ready-made request: - **Find hotels** and **Find flights** for the trip. - **Plan my trip** for a day-by-day outline. - **Check payment** on an order. - **Read documents** you attach. Type **@** to point it at something specific: the **Trip**, an **Order** or the trip's **Documents**. ## Give it documents and pictures Attach up to 3 documents or images (4 MB each) with the paperclip, or attach an image from a link. Ask it to read a supplier's confirmation, a passport for the traveler's details, or a quote to compare. > **It works as you** > > Nicer AI can only see and do what you can in the Portal, in your agency. Check > what it suggests before you share it with a client. ## Related - **Create proposals** — Use its suggestions to build options for a client. - **MCP server** — Use Nicer from your own AI assistant with a key. # Search and book > Find hotels, flights, car rentals and activities in Discover, then book them or add them to a trip as options. Source: https://docs.nicer.travel/advisors/how-to/search-and-book/ · Markdown: https://docs.nicer.travel/advisors/how-to/search-and-book/index.md **Discover**, in the sidebar, searches live inventory for **Hotels**, **Flights**, **Activities** and **Car rental**. Anything you find can be booked now, or added to a trip as an option for the client to choose. ## Find a hotel 1. **Step 1** ### Search Choose **Hotels**, then enter a destination or a hotel's name, the dates, and the rooms and guests. Your recent searches wait under the search bar, to run again in one click. 2. **Step 2** ### Narrow the results - **Filter** by rating, commercial terms, rate codes and amenities. - **View in Map** to compare by location. - Sort by price, distance or stars, and pick the currency prices show in. 3. **Step 3** ### Choose a room and a rate Open a hotel to see its rooms. Filter them by room type, bed type, category or rate code, and compare each rate's cancellation terms, accepted cards and your commission. > **When the price moves** > > Rates are live. If a rate changes between choosing it and booking it, Nicer > shows the new price or terms first, so you can go on with the updated offer or > choose another rate. ## Flights, car rentals and activities - **Flights**: one way, round trip or several cities. Open a flight to see its fares and baggage before you book or hold it. - **Car rental**: pick-up and drop-off places and times, then compare by car type and price. - **Activities**: tours and experiences to add to a trip. Nicer does not book activities; you book them with the supplier. ## Book it, or add it to a trip - **Add to trip** puts the hotel, flight, car or activity on a trip as an option the client can see, without booking it. Choose the traveler and their trip, or create a new trip on the spot. - **Book** asks which traveler and trip it is for (you can add a new traveler or a new trip there), then takes you to the checkout. - **Hold**, on a flight, keeps the fare without paying for it yet. A held flight waits under **My Bookings** until you book it or the hold expires. Everything you book shows under **My Bookings**, and its commission under **Commissions**. ## Keep favorites Save a hotel or an activity to find it again under **Saved** in the sidebar. ## Related - **Follow your bookings** — Holds, payments and confirmations in one list. - **Create proposals** — Show options before anything is booked. - **Track your commissions** — What each booking should earn you. # Sign in and your profile > Sign in with a code instead of a password, keep your profile current, and switch between your agencies. Source: https://docs.nicer.travel/advisors/how-to/sign-in-and-profile/ · Markdown: https://docs.nicer.travel/advisors/how-to/sign-in-and-profile/index.md ## Sign in Nicer has no passwords. You sign in with a code sent to you. 1. **Step 1** ### Enter your phone or email Enter your phone number and choose **Continue**. To use your email instead, choose **Sign in with email**. 2. **Step 2** ### Enter the code Type the 6-digit code you receive and choose **Sign in**. - A code to your phone comes by WhatsApp or by text message. If it does not arrive, choose **Send by SMS** or **Send by WhatsApp** to get it the other way; Nicer remembers your choice for next time. - **Resend code** sends another one. - **Change phone** or **Change email** goes back to fix what you typed. > **Invited but not registered yet?** > > If your agency invited you and you have not created your account, signing in > takes you to **Register** with your invitation ready. ## Your profile Choose your avatar, top right, then **Profile**: - **Personal information**: your photo, name, bio and Instagram. - **Account**: your email, which you can also sign in with. - **AI assistants (MCP)**: the keys your own AI assistants use to work in Nicer as you. See [MCP server](https://docs.nicer.travel/developers/mcp). **Take a tour** from the same menu walks you through the page you are on, and **Sign out** ends your session. ## Work for more than one agency If you belong to several agencies, the agency's name at the top of the sidebar opens a menu to switch between them. Everything you see then belongs to the agency you chose. ## Related - **Plan with Nicer AI** — The assistant built into every trip. - **MCP server** — Use Nicer from your own AI assistant with a key. # Take payment > Ask for a planning fee, a segment or any other amount from inside the trip, and send the traveler a secure link to pay it. Source: https://docs.nicer.travel/advisors/how-to/how-to-use-payment-management-in-nicer/ · Markdown: https://docs.nicer.travel/advisors/how-to/how-to-use-payment-management-in-nicer/index.md Everything a traveler pays you starts inside their trip. They pay on a secure Nicer page from a link you send: no app or account needed. ## Request a payment 1. **Step 1** ### Open the trip's payments In the trip, open the actions menu and choose **Payments**. The **Requests** tab lists everything you have asked for on this trip. 2. **Step 2** ### Choose what it is for - **Planning fee**: your fee for planning the trip. Enter the amount. - **Segment**: a priced segment you added yourself, such as a transfer or a hotel booked through a DMC. Pick one or several; each becomes its own request for that segment's price. Segments already paid, paid on site, already requested or booked through Nicer are not offered. - **Other**: any other amount, with a short detail the traveler will read, such as "Private transfer upgrade". > **Only keeping a card on file?** > > Every request charges the traveler when they pay it, even a small one. To keep > their card for later without charging it, send a card authorization instead: > see [Capture a credit card](https://docs.nicer.travel/advisors/how-to/how-to-capture-credit-card-information). 3. **Step 3** ### Send the request Choose **Request**. It appears in the table with its status. 4. **Step 4** ### Share the payment link From the request's menu, choose **Copy payment link** and send it to the traveler by email or message. The link opens a secure checkout where they pay by card. A request that has not been paid yet can be cancelled from the same menu. ## Record a payment made outside Nicer When the traveler paid a supplier directly, or paid you by transfer, open the **Receipts** tab, upload the receipt and choose the segment it pays. Nicer records that segment as paid, so it is not offered for a payment request again. ## Keep a card on file To book for a traveler with their own card, ask them to authorize it under **Payment methods**. See [Capture a credit card](https://docs.nicer.travel/advisors/how-to/how-to-capture-credit-card-information). ## Related - **Capture a credit card** — Have a card on file before you book. - **Introduce planning fees** — Decide what to charge, and how to say it. - **Track your commissions** — Follow what every booking should earn you. # Track your commissions > See what every booking should earn you, add the ones you booked outside Nicer, and follow the statements that pay you. Source: https://docs.nicer.travel/advisors/how-to/track-commissions/ · Markdown: https://docs.nicer.travel/advisors/how-to/track-commissions/index.md **Commissions**, in the sidebar, is where you follow what you are owed, booking by booking. It replaces the commission tracking advisors used to do in Sion. ## What you will find there - **Overview**: what you expect to earn, what has been received, what is still owed, what comes due in the next 30 days and what is past due, with the suppliers that owe you the most. - **Bookings**: every booking that earns you a commission, with its supplier, client, dates, revenue and commission. Open one to see its payments, its details, its notes and files, and what happened to it. - **Statements**: the commission you are paid each cycle, line by line. - **Reports**: your bookings and statements as a file, to keep or to share. ## Bookings made in Nicer add themselves The hotels, flights and car rentals you book in Nicer appear under **Bookings** on their own once confirmed. You do not enter them twice. ## Add a booking made elsewhere For anything you booked outside Nicer, such as a cruise, a DMC package or a hotel booked directly, add it by hand so its commission is tracked too. 1. **Step 1** ### Open the form In **Bookings**, choose **Add booking**. 2. **Step 2** ### Describe the booking Choose its category and supplier, enter the confirmation number (or tick **The supplier gave none**), and pick the client and, if there is one, the trip. 3. **Step 3** ### Enter its dates Travel start and end, and the day you booked it. The due date fills itself in: the end of travel plus the supplier's payment term. Change it if the supplier pays on another day. 4. **Step 4** ### Enter the money The currency and the booking total, then what it earns, as a rate or as an amount. A booking that pays on several parts takes **Add another item**. Then choose **Add booking**. To add many at once, choose **Import** and upload a spreadsheet of your bookings. ## Related - **Take payment** — Fees and payments taken inside Nicer. - **Introduce planning fees** — Earn on your advice as well as on bookings. # Your travelers > Keep each client's profile, documents, dates and conversations in one place, and bring them into Nicer. Source: https://docs.nicer.travel/advisors/how-to/your-travelers/ · Markdown: https://docs.nicer.travel/advisors/how-to/your-travelers/index.md **My Travelers**, in the sidebar, is your client book. Every traveler has one record with their profile, their documents, their important dates, their trips and your notes about them. ## Find and add travelers - Search by name, email or phone, and filter by stage (lead or client) or show the archived ones. - Switch between **Mine** and **Agency** to see only your travelers or every traveler you can see in your agency. - **Add traveler** creates one by hand. **Import** brings in a spreadsheet of clients; **Export** downloads your list. ## A traveler's page Open a traveler to see: - **Overview**: their next trip, your latest notes, their open tasks and what needs your attention. - **Profile**: personal details, preferences, documents such as passports, and important dates such as birthdays and anniversaries. - **Notes**: everything you logged about them, filtered by calls, emails, meetings, messages or notes. - **Tasks**: what you have to do for them, and when. - **Trips**: their trips with you. - **Activity**: what happened on their record, and when. > **Let the client fill it in** > > **Send profile form** emails the traveler a form to complete their own profile > and documents, so you do not have to type them. ## Bring them into Nicer **Invite to the app** sends the traveler an invitation to join Nicer, where they follow their trips and message you. See [Invite travelers to their trip](https://docs.nicer.travel/advisors/how-to/invite-travelers). ## Tidy your list From a traveler's menu, **Archive** someone you no longer work with; they stay findable under the archived filter. When two records look like the same person, the traveler's overview says so. Choose **Merge** to keep one record with both histories, or **Not the same** to keep them apart. ## Related - **Pipeline and tasks** — Follow each trip from inquiry to travel. - **Invite travelers to their trip** — Bring a client into what you built. # Build with Nicer > What the Nicer API does, how it is organized, and your first call. Source: https://docs.nicer.travel/developers/ · Markdown: https://docs.nicer.travel/developers/index.md Nicer is a travel platform where advisors plan trips with travelers. Everything hangs off a **trip**: its itinerary, its conversation, the offers held for it and the orders paid against it. This is the same API the Nicer apps run on — search live inventory, hold an offer long enough to quote it, turn that quote into a paid order, and build the itinerary the traveler reads. - **Authentication** — Tokens, company selection, and the routes that take no token at all. - **Errors** — One envelope for every failure, and the codes worth branching on. - **Idempotency** — Retry anything that spends money without charging twice. - **Rate limits** — What is capped, and how to search politely. - **Travelers and the CRM** — Who a traveler is, who sees them, and how to follow every change. - **API reference** — Browse the public endpoints, request schemas and code examples. ## Base URL The Nicer API is available at `https://api.nicer.travel`. Every path is prefixed by the service that owns it, so a place search is `GET https://api.nicer.travel/search/places?q=bogota`. ## Your first call A few lookups take no token, so you can check your setup before wiring up authentication: ```bash curl "https://api.nicer.travel/search/places?q=lisbon&kinds=city&limit=1" ``` ```json { "items": [ { "id": "gpl_ChIJO_PkYRozGQ0R0DaQ5L3rAAQ", "kind": "city", "source": "GOOGLE", "name": "Lisbon", "address": "Lisbon", "fullAddress": "Lisbon, Portugal", "city": "Lisbon", "state": "Lisbon", "country": "Portugal", "countryCode": "PT", "latitude": 38.722252399999995, "longitude": -9.1393366, "placeId": "ChIJO_PkYRozGQ0R0DaQ5L3rAAQ", "photos": [] } ] } ``` Everything else needs a bearer token. See [Authentication](https://docs.nicer.travel/developers/authentication). ## Use the SDK or CLI Install the stable JavaScript SDK with `npm install @nicertravel/sdk` or the CLI with `npm install --global @nicertravel/cli`. In the API reference, choose **JavaScript SDK** or **Nicer CLI** in the request example. Signed provider webhooks show HTTP examples. The Node.js examples read your bearer token from `NICER_TOKEN`. Set `NICER_COMPANY` for operations that require an agency. When a JavaScript example uses `NICER_IDEMPOTENCY_KEY`, generate a key for that action and reuse it for retries. The CLI supplies its own key. ## How the API is organized | Service | What it covers | | --- | --- | | `travelers-trip` | Trips: the container everything else belongs to | | `trip-itinerary` | Build an itinerary, share it, collect traveler approvals | | `booking` | Search inventory, hold an offer as a selection, quote it | | `commerce` | Orders, payments, payment methods, the finance ledger | | `chat` | Messaging between advisors and travelers | | `crm` | Travelers: their advisors, profiles and documents, a trip's travelers and sales stage, notes, tasks and webhooks. See [Travelers and the CRM](https://docs.nicer.travel/developers/crm) | | `search` | Lookups for pickers: places (hotels, cities, airports), carriers, flight numbers | | `tour-viator` | Tours and activities, shaped as itinerary segments | | `travel-reference` | Static data: airports, cities, carriers, aircraft | ## Planning a trip end to end 1. **Step 1** ### Open a trip `POST /travelers-trip` with a title, the dates and at least one destination. The trip is created together with its itinerary and its conversation, so one call is enough to start. 2. **Step 2** ### Search live inventory `GET /search/places?q=bogota` answers hotels, cities and airports for a text query, ranked, with `photos=3` for a thumbnail each; with `Accept: text/event-stream` the same URL streams the list as sources answer. 3. **Step 3** ### Hold what you chose `POST /booking/selections` re-validates the offer with the supplier and holds it. The selection stays bookable until `bookableUntil`. 4. **Step 4** ### Freeze the price `POST /booking/quotes` turns a selection into an immutable quote: price, payment terms and cancellation policy, fixed. 5. **Step 5** ### Take the money `POST /commerce/orders` turns quotes into an order, and `POST /commerce/orders/{orderId}/payments` collects payment. Both require an [idempotency key](https://docs.nicer.travel/developers/idempotency). 6. **Step 6** ### Show it to the traveler The itinerary lives under `/trip-itinerary/{tripItineraryId}` — created with the trip in step 1, so there is nothing to create here. Its public routes let a traveler read the itinerary and approve segments from a link, without an account. ## Building an agent Every endpoint page in this reference is also available as Markdown — add `.md` to any URL — and the whole site is at [/llms.txt](https://docs.nicer.travel/llms.txt) and [/llms-full.txt](https://docs.nicer.travel/llms-full.txt). ## How this reference is produced The reference is generated from the same schemas the handlers validate against, so it cannot drift from the running API. Request bodies, query parameters and responses are the real contracts, not a description of them. The raw document is at [/openapi.json](https://docs.nicer.travel/api/openapi.json) if you would rather generate a client. # Authentication > How to send a token, how to pick a company, and which routes take no token at all. Source: https://docs.nicer.travel/developers/authentication/ · Markdown: https://docs.nicer.travel/developers/authentication/index.md Every request is resolved at the edge before it reaches a handler: who is calling, and which company they are acting for. Both are settled from the token you send, so a handler never has to guess. ## Bearer token Send the access token in the `Authorization` header. ```http GET /travelers-trip HTTP/1.1 Host: api.nicer.travel Authorization: Bearer ``` An expired or malformed token is 401 before any work happens. Nothing in the API takes credentials in a query string. ## Getting a token Access tokens are issued when a person signs in to Nicer with their phone number and a one-time code. - **Building on top of a Nicer app** — the app already holds the signed-in user's access token. Pass it straight through. - **Building a server-to-server integration** — credentials are issued per integration. Ask your Nicer contact; do not embed a personal token in a backend. > **Tokens are people** > > A token always represents a person, never an application. Whatever the caller > can do in the portal is exactly what the API will let them do — no more. ## Choosing a company Most work happens inside a company. When your token names exactly one company it is used automatically. When it names several, name the one you mean: ```http x-nicer-company: ``` Naming a company you do not belong to returns 403 `ERROR_DO_NOT_HAVE_PERMISSION`. If a route needs a company and none can be resolved, it fails immediately with `ERROR_COMPANY_REQUIRED` rather than operating on nothing. Travelers have no company at all, which is why trip-scoped routes take the company from the trip after checking access, instead of from the caller. ## What each route requires Every operation in the reference states what it accepts. There are five shapes: | Requirement | Caller | Company | | --- | --- | --- | | Signed-in user | required | optional | | Company user | required | required | | Optional user | optional | optional | | Public with company | optional | required | | Public | not used | not used | ## Routes that take no token Some routes deliberately accept an anonymous caller. **Lookups.** City, venue, flight-number, exchange-rate and travel-reference searches are open. They return reference data, never anything about a company or a trip. **The booking channel.** Search, details and quoting accept an anonymous caller that names a company with `x-nicer-company`, so a company's own website can search and quote without signing anyone in. **Links sent to travelers.** Reading an itinerary, approving a segment, choosing between options, paying an order and filling in a profile form all work without a token, so a traveler can act on a link before they have an account. Reading the trip itself does not: that needs a token and membership of the trip. > **Ids in those links are credentials** > > For link-based routes the id in the URL is the only thing standing between the > resource and the world. Treat itinerary, order and profile form links as > secrets: do not put them in analytics, referrers or shared logs. # Errors > One envelope for every failure, and the codes worth branching on. Source: https://docs.nicer.travel/developers/errors/ · Markdown: https://docs.nicer.travel/developers/errors/index.md Every failure returns the same JSON body, whatever the status code. ```json { "errorCode": "BOOKING_OFFER_UNAVAILABLE", "errorMessage": "The provider no longer offers this rate" } ``` `errorCode` is stable and safe to branch on. `errorMessage` is written for a person and may be reworded at any time, so never match on it. > **401 is the one exception** > > A request rejected for authentication never reaches a handler, so it comes back > from the edge as `{"message": "Unauthorized"}` instead of the envelope above. > Check the status before you parse the body. > **Server faults say nothing** > > An unexpected fault returns `errorMessage: "InternalServerError"` on purpose, so > internal detail never reaches a client. If you see one, the cause is in Nicer's > logs — send us the time and the request, not the message. ## Status codes | Status | Meaning | Retry? | | --- | --- | --- | | 400 | The request failed schema validation | No — fix the request | | 401 | No caller, or a token that is missing, expired or invalid | After refreshing the token | | 403 | Authenticated, but not allowed to act on this resource or company | No | | 404 | The resource does not exist, or has expired | No | | 409 | Conflicts with current state, such as a replayed [idempotency key](https://docs.nicer.travel/developers/idempotency) with a different body | No | | 422 | Valid, but cannot be served — for example a supplier not enabled for the company | No | | 429 | [Rate limited](https://docs.nicer.travel/developers/rate-limits) | Yes, after backing off | | 5xx | Something broke on our side | Yes, with backoff — safely, if you sent an idempotency key | ## Codes worth handling explicitly Search and booking run against live supplier inventory, so offers go stale between calls. These are normal operation, not bugs: | Code | What happened | What to do | | --- | --- | --- | | `BOOKING_OFFER_UNAVAILABLE` | The supplier withdrew the rate | Search again and offer the traveler what is left | | `BOOKING_SELECTION_NOT_FOUND` | The hold expired past `bookableUntil` | Search again; do not reuse the selection id | | `COMMISSION_FILTER_FORBIDDEN` | Only advisors may filter to commissionable rates | Drop the filter for traveler-facing callers | | `CRM_REVISION_CONFLICT` | The traveler, trip or settings changed after you read them | Read them again, reapply your change, send the new `revision` | | `ERROR_COMPANY_REQUIRED` | The route needs a company and the token names none or several | Send `x-nicer-company` | | `ERROR_DO_NOT_HAVE_PERMISSION` | The caller is real but not allowed here | Do not retry; this will not change on its own | | `ERROR_ITEM_NOT_FOUND` | No such id, or it is not yours to read | Do not retry | | `ERROR_BODY_VALIDATION` | A trip date change would orphan a segment already in the itinerary | Move the segments first, then the trip | The CRM's own codes, and what to do about each, are in [Travelers and the CRM](https://docs.nicer.travel/developers/crm#when-a-call-fails). ## Validation errors Requests are validated at the edge, before any handler runs. The message names the field that failed, as `path: reason`, joined by `; ` when more than one did: ```json { "errorCode": "ERROR_INVALID_QUERY", "errorMessage": "query: Too small: expected string to have >=2 characters" } ``` | Code | Where it came from | | --- | --- | | `ERROR_BODY_VALIDATION` | The JSON body did not match the schema | | `ERROR_INVALID_QUERY` | A query parameter did not match the schema | | `ERROR_MALFORMED_BODY` | The body was not valid JSON at all | Rules that span several fields — a trip whose end date precedes its start, an invite carrying neither a phone, an email nor a name — are checked in the same place and come back the same way. # Idempotency > Retry anything that spends money, without spending it twice. Source: https://docs.nicer.travel/developers/idempotency/ · Markdown: https://docs.nicer.travel/developers/idempotency/index.md Every route that spends money, holds inventory, sends mail or adds a record to the CRM requires an `Idempotency-Key` header. The key is checked at the edge, so a missing or malformed one never reaches business logic. ```http Idempotency-Key: 8f2a1c40-4a1e-4a7e-9a0f-2f1c0b7a91d3 ``` Keys are free-form text between 8 and 255 characters. A UUID is a good default because it is unique without coordination, but anything stable and unguessable works. > **One key per intention, not per attempt** > > Generate the key when you decide to do something, and reuse it for every retry > of that same thing. A key generated per HTTP call defeats the entire mechanism: > a timeout you retry with a fresh key is how a traveler gets charged twice. ## What replaying does 1. **Step 1** ### Same key, same body You get the original result back. The work is not repeated: no second order, no second charge, no second email. This is what makes a network timeout safe to retry. 2. **Step 2** ### Same key, different body 409, with a code naming the conflict — `COMMERCE_IDEMPOTENCY_CONFLICT` when creating an order, `BOOKING_SELECTION_IDEMPOTENCY_CONFLICT` when holding a selection, `CRM_IDEMPOTENCY_CONFLICT` in the CRM. The platform cannot tell which of the two requests you meant, so it refuses both rather than guessing. 3. **Step 3** ### New key A new operation, every time. Reusing a key across two genuinely different bookings is the one mistake this header cannot protect you from. ## Routes that require a key | Route | What it does | | --- | --- | | `POST /booking/selections` | Holds an offer with the supplier | | `POST /booking/quotes` | Freezes price, payment terms and policy | | `POST /booking/trips/{travelersTripId}/insurance-quotes` | Requests insurance quotes | | `POST /commerce/orders` | Creates an order from quotes | | `POST /commerce/orders/{orderId}/actions` | Submits checkout, creates a payment link | | `POST /commerce/orders/{orderId}/payments` | Takes a payment | | `POST /commerce/orders/{orderId}/confirmation-emails` | Sends confirmation mail | | `POST /commerce/payment-methods/actions` | Stores or links a card | | `POST /commerce/external-payments` | Records or reverses a payment taken elsewhere | | `POST /crm/travelers` | Adds a traveler | | `POST /crm/travelers/import` | Adds up to 200 travelers | | `POST /crm/travelers/{travelerId}/invitation` | Invites a traveler by email or SMS | | `POST /crm/travelers/{travelerId}/merge` | Merges a duplicate traveler | | `POST /crm/notes` | Adds a note | | `POST /crm/tasks` | Adds a task, or a template's tasks | Everything not in this table is either safe to repeat — reads, and the last-write-wins updates — or guarded by state, like a segment that can only be approved once or a traveler that changes only with the [revision](https://docs.nicer.travel/developers/crm#idempotency-keys-and-revisions) you read. # Rate limits > What is capped, on what, and how to search without hitting a limit. Source: https://docs.nicer.travel/developers/rate-limits/ · Markdown: https://docs.nicer.travel/developers/rate-limits/index.md Only the routes that reach live supplier inventory or send mail are capped. Everything else is limited by what your token is allowed to do, not by a counter. Exceeding a limit returns 429 with the standard [error envelope](https://docs.nicer.travel/developers/errors). Limits are per rolling window, not per day, so a short back-off is usually enough. ## Limits in force | Route | Limit | Counted per | | --- | --- | --- | | `GET /booking/hotels` | 60 / 5 min | Source IP | | `POST /booking/flights/search` | 60 / 5 min | Source IP | | `POST /booking/car-rentals/search` | 60 / 5 min | Source IP | | `GET /search/places`, `GET /search/places/{placeId}`, `GET /search/carriers`, `GET /search/flights/{flightNumber}` | 600 / hour, anonymous calls only | Source IP; a valid bearer token lifts the limit | | `POST /trip-itinerary/{tripItineraryId}/public/approve-segment` | 60 / 5 min | Source IP | | `POST /trip-itinerary/{tripItineraryId}/public/select-option-segment` | 60 / 5 min | Source IP | | `POST /commerce/orders/{orderId}/confirmation-emails` | 20 / hour | Company | ## Search politely Each search call reaches live supplier inventory, which is why searches are the capped routes. Polling harder does not make results arrive sooner. 1. **Step 1** ### Ask the search to wait Send `waitMs` on the search request. The response is held open until results arrive, so the common case costs one call instead of five. 2. **Step 2** ### Poll on the interval you are given `GET /booking/searches/{searchId}` returns `pollAfterMs`. Wait that long before asking again — it reflects which suppliers are still answering. 3. **Step 3** ### Stop when it settles A settled search returns `pollAfterMs: null`. There will be no more results; further polling only spends your budget. > **Reuse the search you already ran** > > A `searchId` stays readable after it settles. Paging, filtering and sorting > through `GET /booking/searches/{searchId}` costs nothing against the limit — > starting a fresh search for the same dates does. # MCP server > Connect an MCP client to Nicer with an API key and a bearer authorization header. Source: https://docs.nicer.travel/developers/mcp/ · Markdown: https://docs.nicer.travel/developers/mcp/index.md Nicer runs an [MCP](https://modelcontextprotocol.io) server, so an AI client can work in Nicer as you: read your chats and trips, plan an itinerary, search live inventory and prepare a payment link. A tool call carries your identity and your role in one company, so it can do what you can do in the portal and nothing more, and the tools you see are the ones your role may use. Connect to the Nicer MCP server at `https://mcp.nicer.travel/mcp`. The transport is Streamable HTTP, one JSON-RPC request per `POST` with no session to keep. Every protocol revision from 2025-03-26 to 2026-07-28 works: a client that opens with `initialize` and one that sends each request on its own are both answered. ## Get an API key In the portal, open **Profile → AI assistants (MCP)**, name the key after where you will use it ("Cursor on my laptop") and choose **Create API key**. The key starts with `nicer_` and is shown once: copy it then, or create another. The key works as you in every company you belong to, until you revoke it from the same place. Treat it like a password. A person holds up to 10 keys; a revoked key stops working within 15 minutes. ## Connect Send the key as `Authorization: Bearer `. The portal copies each of these with your key already in place. **Claude Code** ```bash claude mcp add --transport http nicer https://mcp.nicer.travel/mcp \ --header "Authorization: Bearer nicer_..." ``` **Codex** (`~/.codex/config.toml`) ```toml [mcp_servers.nicer] url = "https://mcp.nicer.travel/mcp" http_headers = { Authorization = "Bearer nicer_..." } ``` **Cursor** (`~/.cursor/mcp.json`), **VS Code**, **Gemini CLI** and **Windsurf** take the same URL and header in their MCP settings: ```json { "mcpServers": { "nicer": { "url": "https://mcp.nicer.travel/mcp", "headers": { "Authorization": "Bearer nicer_..." } } } } ``` Use a client that supports an authorization header for a remote MCP server. There is no sign-in page. A missing, revoked or mistyped key is answered with a JSON-RPC error that says so, never with a login prompt. ## Companies Every tool takes an optional `companyName`. Without it, a call acts for your current company in the portal; with it, for that company, if you belong to it. `listMyCompanies` lists yours and your role in each. Each call runs with a token scoped to that one company and the role you have there. ## Tools The tools are the operations advisors use most in Nicer: | Area | Tools | | --- | --- | | Companies | `listMyCompanies` | | Chats | `listChats`, `getChat`, `replyToChat` | | Trips | `listTravelersTrips`, `getTravelersTrip`, `createTravelersTrip`, `updateTravelersTrip` | | Itineraries | `listItinerary`, `segmentOp`, `addOfferToTrip`, `sendItinerary` | | Travelers | `searchTravelers`, `getTraveler` | | Notes and tasks | `listNotes`, `createNote`, `updateNote`, `listTasks`, `createTask`, `updateTask` | | Orders and money | `listOrders`, `getOrderStatus`, `prepareCheckout`, `listEarnings`, `getBalances` | | Commissions | `commissionOverview`, `listCommissionItems`, `exportCommissions`, `getCommissionExport` | | Search and inventory | `searchPlaces`, `searchHotels`, `getHotelRooms`, `searchFlights`, `searchCarRentals`, `lookupFlight`, `searchCarriers`, `searchActivityDestinations`, `searchActivities` | | Knowledge | `searchKnowledge`, `readSkill` | Travelers see the tools for their own trips and orders. Read-only tools are marked `readOnlyHint`, so a client may run them without asking; `replyToChat` and `sendItinerary` reach travelers at once and are marked as such. Agency admins (and staff) see `commissionOverview`, everything about an agency's commission tracking in one call. A tool that creates something (`createTravelersTrip`, `createNote`, `createTask` and the rest) sends the API an `Idempotency-Key` derived from your API key and the call, so the same call sent again creates nothing new. Results come back as compact JSON text: empty fields are left out, and long lists keep their first rows with a `more` count. When the API refuses a call, the result is a tool execution error (`isError: true`) carrying the API's `errorCode`, so an agent can read why and adjust. Live-inventory tools accept a `waitMs` of at most 20 seconds; repeat the same call to pick up availability that was still arriving. A call runs within the API's 28-second window; an operation that takes longer answers with a tool error you can retry. # Travelers and the CRM > Who a traveler is, how one enters an agency, who sees them, and how to follow every change. Source: https://docs.nicer.travel/developers/crm/ · Markdown: https://docs.nicer.travel/developers/crm/index.md The CRM is the one place a person lives in Nicer. A **traveler** is someone an agency serves: they belong to that agency, have an id of their own (`travelerId`), and exist whether or not they have a Nicer account. A child, a client who never signs in and a client with the app are all travelers. A person who travels with two agencies is two travelers, one in each, and neither agency sees the other's. | Part | What it holds | Read it with | | --- | --- | --- | | The traveler | Legal name as printed on their travel document, preferred name, contact, address, birth date, nationality, frequent flyer numbers, tags, custom fields, the advisors who serve them, and a stage: `LEAD` until their first confirmed booking, then `CLIENT` | `GET /crm/travelers/{travelerId}` | | Travel profile | How they fly and stay, dietary and accessibility needs, loyalty programs, emergency contacts, interests and pets | the same route | | Dates, relationships, trips | Anniversaries, the travelers they are related to, the trips they are on | the same route | | Documents | Passports, visas, national IDs, Known Traveler and redress numbers, with their full numbers | `GET /crm/travelers/{travelerId}/documents` | | Notes and tasks | What the agency knows about them and has to do for them | `GET /crm/notes`, `GET /crm/tasks` | | Timeline | Everything that happened to them, newest first | `GET /crm/travelers/{travelerId}/activity` | Every route lives under `/crm` and needs a [company user](https://docs.nicer.travel/developers/authentication), except the self-service and profile form routes described below. ## Finding or adding a traveler A person enters an agency's CRM through one door. Whatever brings them in — a sign-up, a referral link, a checkout, a trip's list of travelers or an import — Nicer looks for the agency's traveler with the same account first, then the same email, then the same phone, and adds a new one only when nothing matches, so a person who arrives twice is still one traveler. | Route | What it does | | --- | --- | | `GET /crm/travelers?q=ana` | Searches by name, email or phone; `q` matches the start of any word | | `POST /crm/travelers` | Adds one traveler; only the legal name is required | | `POST /crm/travelers/import` | Adds up to 200 at once; a row whose email or phone the agency already has comes back `MATCHED` | | `POST /crm/travelers/{travelerId}/merge` | Folds a duplicate into the traveler you keep | ```http POST /crm/travelers HTTP/1.1 Host: api.nicer.travel Authorization: Bearer Idempotency-Key: 0b9f6a52-7d1e-4c3a-9e2b-5f8d4c1a7e60 Content-Type: application/json { "name": { "givenName": "Ana", "middleName": null, "familyName": "Pérez" }, "contact": { "email": "ana@example.com", "phone": "+525512345678" } } ``` A legal name has both parts. When Nicer adds a traveler nobody named in full, such as a person invited to a trip as "David", or by a phone alone, it writes `-` for the family name and `Traveler` for the given name (`UNKNOWN_FAMILY_NAME` and `UNKNOWN_GIVEN_NAME` in `@nicer/catalog/shared/person`). Show them, but never copy them as the person's own name. Adding someone by hand with `POST /crm/travelers` always adds them, and answers the travelers who may be the same person in `possibleDuplicates`: `HIGH` for the same email, `MEDIUM` for the same phone or the same name and birth date. A merge keeps the surviving traveler's values, fills its empty fields from the duplicate and takes over its documents, notes, tasks, relationships, trips and account; the duplicate's id keeps answering as the survivor. To hide a traveler without losing anything, set `isArchived` with `PUT /crm/travelers/{travelerId}`. An admin can erase one for good with `DELETE /crm/travelers/{travelerId}`: their profile, documents, dates, relationships, notes, tasks, trips and timeline are gone, while bookings already made keep their own copy of their travelers. ## Advisors and who sees a traveler `assignedAdvisorUserId` is the advisor responsible for the traveler, and `contributingAdvisorIds` lists every advisor who serves them, the assigned one included. A traveler an advisor adds is theirs. Only admins assign or change advisors; an advisor who tries gets 403 `ERROR_UNAUTHORIZED`. The CRM is the only record of who serves whom: the rest of Nicer, such as the direct chat and the advisor on the traveler's trips, follows it through `crm.traveler-advisors-changed.v1`. When an advisor stops working for the agency (their account is deleted, or an admin turns their portal off), they stop serving their travelers, and the ones assigned to them wait unassigned for an admin to assign them again. `visibility` decides who else sees the traveler: | Value | Who sees the traveler | | --- | --- | | `ADVISORS` | The advisors who serve them, and the agency's admins | | `COMPANY` | Every advisor of the agency | A new traveler takes the agency's `defaultVisibility` from `GET /crm/settings` unless the request names one. `GET /crm/travelers` lists the travelers the calling advisor serves, and `scope=COMPANY` adds the ones shared with every advisor; admins see them all, or one advisor's with `assignedAdvisorUserId`. `userId` answers the traveler linked to that Nicer account, if the agency has one the caller may see. A traveler the caller may not see answers 404 `ERROR_ITEM_NOT_FOUND`, exactly like one that does not exist. Every page of `GET /crm/travelers` carries `total`, how many travelers the whole list holds with its filters (`stage`, `tag`, `isArchived`, the advisor's), the same on every page. It is `null` when the list cannot be counted without reading every traveler: a search with `q`, or a segment that filters by document expiry or by the next trip. ## Documents Documents have routes of their own: - `GET /crm/travelers/{travelerId}/documents` answers each document with its full number, kind, issuing country and dates, in the shape a reservation takes. - `PUT /crm/travelers/{travelerId}/documents` keeps exactly the documents in the body: a stored document left out is removed, one sent with its `documentId` is replaced, and one sent without is added. The kinds are `PASSPORT`, `VISA`, `NATIONAL_ID`, `RESIDENCE_PERMIT`, `DRIVER_LICENSE`, `KNOWN_TRAVELER_NUMBER` and `REDRESS_NUMBER`. Full numbers are answered only where someone needs them: these routes, a trip's travelers (a checkout needs them whole) and the traveler's own self-service. They never appear in the traveler or the list of travelers, the timeline, an event or a webhook — `crm.traveler-documents-changed.v1` names only the kinds that changed — and Nicer's assistant cannot read documents at all. > **Read a number only to use it** > > Fetch documents when you are about to fill a booking, not to keep a copy, and > never log a response from these routes. ## Trips and checkout A trip's travelers are people of the agency, with or without an account. Membership of the trip in `travelers-trip` says who may open its itinerary; the CRM says who travels. A person invited to a trip without an account (`POST /travelers-trip/{travelersTripId}/invite` with an email, a phone or just a name) becomes the agency's traveler on the trip. They join the trip itself, and see its itinerary, when they sign up with that email or phone, at any agency: the CRM links their account and `crm.traveler-linked.v1` names the trips to join in `travelersTripIds`. - `GET /crm/trips/{travelersTripId}` answers the trip's `salesStage`, its `primaryTravelerId`, its `associatedTripItineraryId` and each traveler as a `participant`: legal name, birth date, sex, nationality, contact, address, documents and frequent flyer memberships, in exactly the shape a checkout's order participant takes, so a checkout copies it without mapping a field. - `PUT /crm/trips/{travelersTripId}` keeps exactly the travelers in the body, with the trip's `revision` as you read it. Send a known traveler by `travelerId`, or a person as a `participant` the way a checkout collects them: Nicer finds them by email or phone, or adds them to the agency. The trip's members may change its travelers; only staff move its `salesStage`. A trip's `revision` goes up with every change, whoever makes it: a booking that moves it to `BOOKED`, travelers leaving it, or a person's `PUT`. A `PUT` with an older revision answers 409 `CRM_REVISION_CONFLICT`; read the trip again and send your list on top of what it has now. A trip the CRM keeps nothing of yet has revision `0`. `GET /crm/trips` is the agency's sales pipeline: trips by stage, soonest first, each with its primary traveler's id and name (`primaryTravelerName`, as the agency knows them) and its itinerary. The stages are `INQUIRY`, `PLANNING`, `PROPOSAL`, `BOOKED`, `TRAVELING`, `COMPLETED` and `LOST`; `salesStage=NONE` lists the trips that have none yet. A trip's travelers carry their documents, so the routes answer only the trip's staff and its own travelers, signed in. A payment link or a checkout handoff never reads them: whoever pays through a link fills in the travelers themselves, as they always have. ## Notes, tasks and the timeline - **Notes** are about exactly one traveler or one trip: `POST /crm/notes` with a `travelerId` or a `travelersTripId`. `kind` is `NOTE`, or `CALL`, `EMAIL`, `MEETING` or `MESSAGE` to log a conversation. - **Tasks** have a `title`, a `tentativeDate`, an `assignedUserId` and `completed`. `GET /crm/tasks?assignedUserId=me` lists the caller's open tasks, soonest first. Each task is answered with the names of what it is about, `travelerName` or `tripName` with the trip's `associatedTripItineraryId`, as they are now, so a list of tasks needs no other read to label its rows. A `templateId` sent with a `travelersTripId` applies one of the agency's task templates, dating each task from the trip. The CRM adds tasks of its own for birthdays, anniversaries and documents about to expire. - **The timeline** lists what happened to the traveler: changes in the CRM, notes and tasks, trips, bookings, payments, invitations and itineraries sent. Each entry has ids and a readable `summary`, never the values that changed. - **The emails the agency sent them** are on the timeline too, by themselves: each confirmation, receipt, declined payment, held or cancelled booking, card or profile request, invitation, welcome and itinerary Nicer sends a traveler for the agency, once SES has accepted it. The entry's `summary` is `Email sent: `, its `type` is `notifications.traveler-email-sent.v1` and its `data` holds the `templateName` and SES's `messageId`, never the address. Every traveler of the agency with that email gets it. Sign-in codes and emails to advisors and staff never appear. To log an email of your own, write a note of `kind` `EMAIL`. ## Self-service and profile forms Travelers can fill in their own details in two ways. Either way they see what is theirs — identity, contact, documents and preferences — and none of the agency's own fields: stage, tags, notes and custom fields stay with the agency. **Signed in.** `GET /crm/me` answers the signed-in person's traveler at the agency they act in (`x-nicer-company`), or `null` before they have one there; the `family` they may fill in for, their children, spouse or partner; and the advisors who serve them at every agency, each with the `advisorName` and `advisorAvatar` of their account. `PUT /crm/me` saves their changes and their family's, each with the `revision` it read, and creates their traveler on the first change. **Without an account.** An advisor sends `POST /crm/travelers/{travelerId}/invitation` with a `channel`, `EMAIL` or `SMS`, and a `kind`: | `kind` | What the traveler receives | | --- | --- | | `PROFILE_FORM` | A link to fill in their own profile without an account, valid for 14 days | | `ACCOUNT` | An invitation to create a Nicer account; when they sign up, the account is linked to this traveler | An account invitation, and a trip's, holds for 90 days under the email and the phone it went to. Whoever signs up with either, on the agency's site or anywhere else, belongs to the agency that invited them last: their account takes the name the agency had for them when they give none, the traveler keeps the advisors the agency gave it, and Nicer's own default advisor never takes them. A profile form's answer carries its `profileFormToken` and `expiresAt`, so the advisor can share the link themselves too. Only the first answer does: Nicer keeps the link as a hash, so a retry with the same `Idempotency-Key` answers `profileFormToken: null`. The form reads `GET /crm/profile-forms/{token}`, which names the agency in `companyDisplayName`, and saves with `PUT /crm/profile-forms/{token}` and the `revision` it read; both are public routes. A traveler with no email or phone for the channel answers 400 `CRM_INVITATION_NO_CHANNEL`, and an unknown or expired link 404. > **The token is a credential** > > Like an itinerary link, a profile form's token is all that stands between the > traveler's profile and the world. Keep it out of analytics, referrers and shared > logs. ## Events and webhooks Every change publishes an event, from the same function that made it. Events carry ids and the names of what changed, never the values: `crm.traveler-updated.v1` lists `sections` such as `profile.air`, and you read the traveler for the rest. Every event has an `eventId`, the agency's `companyName` and `occurredAt`, and most name who acted in `actorUserId`, `null` for Nicer itself. | Event | Published when | | --- | --- | | `crm.traveler-created.v1` | A traveler entered the agency; `origin` says how | | `crm.traveler-updated.v1` | Sections of a traveler changed; carries the new `revision` | | `crm.traveler-documents-changed.v1` | Documents were added, replaced or removed, named by kind | | `crm.traveler-advisors-changed.v1` | The advisors who serve a traveler changed | | `crm.traveler-linked.v1` | A traveler was linked to a Nicer account | | `crm.traveler-unlinked.v1` | That link was removed because the account was deleted or merged away | | `crm.travelers-merged.v1` | A duplicate was merged into another traveler | | `crm.traveler-erased.v1` | A traveler was erased | | `crm.traveler-invitation-requested.v1` | The agency invited a traveler | | `crm.trip-updated.v1` | A trip's travelers or sales stage changed | | `crm.note-changed.v1` | A note was created, changed or deleted | | `crm.task-changed.v1` | A task was created, changed, completed, reopened or deleted | | `crm.settings-updated.v1` | The agency's CRM settings changed | | `crm.advisor-reminders-due.v1` | An advisor's day: tasks due and overdue, birthdays, anniversaries and expiring documents, as counts | `crm.traveler-invitation-requested.v1` is the one event that names a person: it carries the recipient's given name, email and phone, and a profile form's token. ### Webhooks An admin registers up to ten HTTPS endpoints in `PUT /crm/settings`, each with the events it subscribes to. The answer shows a new webhook's signing secret once, in `webhookSecrets`; from then on the settings show only its last four characters. Each delivery is a `POST` of one event as JSON: `data` is the event's detail, `id` its `eventId`. ```json { "data": { "actorUserId": "f1c0…", "companyName": "your-agency", "eventId": "01K8B3T5W3M4Q2YQ9C7V1ZJ6HX", "occurredAt": "2026-10-23T10:00:00.000Z", "revision": 4, "sections": ["profile.air", "tags"], "travelerId": "TRV01K8B3…" }, "id": "01K8B3T5W3M4Q2YQ9C7V1ZJ6HX", "occurredAt": "2026-10-23T10:00:00.000Z", "type": "crm.traveler-updated.v1" } ``` Three headers name and sign it: | Header | Value | | --- | --- | | `X-Nicer-Event` | The event's name, as in `type` | | `X-Nicer-Delivery` | `:`: this event, to this endpoint | | `X-Nicer-Signature` | `t=,v1=` | `t` is when Nicer signed the delivery, and `v1` is the hex HMAC-SHA256 of `.`, keyed with the webhook's secret. Nicer calls only `https` endpoints on port 443 whose host name resolves to public addresses. 1. **Step 1** ### Verify before you parse Compute the HMAC over `t`, a period and the raw body exactly as received, before any JSON parsing changes its bytes, and compare it with `v1` in constant time. Reject a `t` more than a few minutes away from your clock, so a captured delivery cannot be replayed. 2. **Step 2** ### Answer fast Return a 2xx as soon as the event is stored, and do the work afterwards. Nicer retries a delivery that fails or is not answered with a 2xx, to every endpoint subscribed to the event: one that answered can receive it again. 3. **Step 3** ### Expect repeats, in any order Delivery is at least once, so the same event can arrive more than once: deduplicate on `id`, the event's `eventId`. Order is not guaranteed either: compare `occurredAt`, or a traveler's `revision`, with what you already have, or read the traveler again. ```ts import { createHmac, timingSafeEqual } from "node:crypto"; /** Whether a delivery's X-Nicer-Signature header matches its raw body. */ export const isFromNicer = ( header: string, rawBody: Buffer, secret: string, toleranceSeconds = 300 ): boolean => { const fields = new Map( header.split(",").map((part): [string, string] => { const [key = "", value = ""] = part.trim().split("="); return [key, value]; }) ); const t = fields.get("t") ?? ""; const age = Math.abs(Date.now() / 1000 - Number(t)); if (!/^\d+$/u.test(t) || age > toleranceSeconds) { return false; } const expected = createHmac("sha256", secret) .update(`${t}.`) .update(rawBody) .digest(); const received = Buffer.from(fields.get("v1") ?? "", "hex"); return ( received.length === expected.length && timingSafeEqual(received, expected) ); }; ``` ## Idempotency keys and revisions **Every `POST` takes an `Idempotency-Key`.** The six `POST` routes under `/crm` — travelers, import, invitation, merge, notes and tasks — require one, as described in [Idempotency](https://docs.nicer.travel/developers/idempotency). A retry with the same key and body answers the first result without doing the work again; the same key with another body is 409 `CRM_IDEMPOTENCY_CONFLICT`. **Every change to a traveler carries the revision you read.** A traveler's `revision` goes up with every change. `PUT /crm/travelers/{travelerId}` takes the `revision` you read and replaces only the sections the body names: an omitted section is kept, `null` clears a section, and a list replaces the stored list. A section is replaced whole, so send all of its fields. ```json { "revision": 3, "profile": { "air": { "cabinClass": "BUSINESS", "seat": "AISLE", "mealCode": "VGML", "notes": null, "preferredAirlineCodes": ["AM"], "preferredAirportCodes": ["MEX"] } } } ``` This sets the traveler's air preferences and leaves every other section as it was. If someone changed the traveler after you read it, the answer is 409 `CRM_REVISION_CONFLICT`: read it again, apply your change to what you read, and send it with the new revision. `PUT /crm/me`, the profile forms, `PUT /crm/trips/{travelersTripId}` and `PUT /crm/settings` work the same way. ## When a call fails Every failure carries the [error envelope](https://docs.nicer.travel/developers/errors): branch on `errorCode`, never on the message. These are the codes the CRM answers, and what to do about each. | Status | `errorCode` | What happened | What to do | | --- | --- | --- | --- | | 400 | `ERROR_BODY_VALIDATION`, `ERROR_INVALID_QUERY`, `ERROR_INVALID_PARAMETER` | The body, a query parameter or a path parameter does not match the route; the message names the field | Fix the request; the API reference lists every field and its limits | | 400 | `CRM_INVITATION_NO_CHANNEL` | The traveler has no email for `EMAIL`, or no phone for `SMS` | Add it with `PUT /crm/travelers/{travelerId}`, or invite on the other channel | | 400 | `CRM_MERGE_SAME_TRAVELER` | `duplicateTravelerId` is the traveler in the path | Send the duplicate's id | | 400 | `CRM_RELATED_TRAVELER_NOT_FOUND` | A relationship names a traveler the agency does not have | Find or add that traveler first, then send its `travelerId` | | 400 | `CRM_TASK_TEMPLATE_NOT_FOUND` | `templateId` names no template in the agency's settings | Read the agency's `taskTemplates` from `GET /crm/settings` | | 403 | `ERROR_UNAUTHORIZED` | The caller's role does not allow it: an advisor assigning advisors, erasing a traveler, changing the settings or listing another person's tasks, or a traveler calling an agency route | Ask an admin; a retry answers the same | | 404 | `ERROR_ITEM_NOT_FOUND` | No such id at the agency the caller acts in, or one they may not see | Check the id and the caller's `x-nicer-company`; do not retry | | 409 | `CRM_REVISION_CONFLICT` | It changed after you read it | Read it again, apply your change to what you read, and send the new `revision` | | 409 | `CRM_IDEMPOTENCY_CONFLICT` | The `Idempotency-Key` was already used with another body | Send a new key for a new request; reuse a key only to retry the same request | A missing or malformed `Idempotency-Key` is refused before the route runs, as [Idempotency](https://docs.nicer.travel/developers/idempotency) describes. A 5xx is safe to retry with backoff, and a `POST` retried with the same key does its work once. # The Nicer app > Follow your trip and stay in touch with your travel advisor. Source: https://docs.nicer.travel/travelers/ · Markdown: https://docs.nicer.travel/travelers/index.md Your travel advisor plans your trip with you and shares it through Nicer. Use the app to see your itinerary, review booking details, and message your advisor. ## Get started - **Open your trip** — Download the app and use the invitation your advisor sent you. - **Find a travel advisor** — Meet Nicer advisors who can help you plan a trip. # Open your trip in the app > Find your itinerary, booking details, and conversation with your advisor. Source: https://docs.nicer.travel/travelers/open-your-trip/ · Markdown: https://docs.nicer.travel/travelers/open-your-trip/index.md You can open a trip in the Nicer app after your advisor invites you. 1. **Get the app** [Download Nicer](https://www.nicer.travel/download) on your iPhone or Android device. 2. **Open your invitation** Follow the invitation from your advisor. If the app asks you to sign in, use the email address or phone number your advisor used for the invitation. 3. **View your itinerary** Open your trip to see your schedule and booking details. Use the app to message your advisor about changes or questions. If you can't find your trip, ask your advisor to check the invitation and the contact details they used. # Nicer API Source: https://docs.nicer.travel/api/ · Markdown: https://docs.nicer.travel/api/index.md Travel platform API. Operations are grouped by service; each one lists the auth it accepts. Version: 1.0.0 ## Servers - `https://api.nicer.travel` ## [backoffice](https://docs.nicer.travel/api/tags/backoffice/) 15 endpoints ## [favorites](https://docs.nicer.travel/api/tags/favorites/) 7 endpoints ## [identity](https://docs.nicer.travel/api/tags/identity/) 45 endpoints ## [maintenance-tasks](https://docs.nicer.travel/api/tags/maintenance-tasks/) 1 endpoint ## [tokenization](https://docs.nicer.travel/api/tags/tokenization/) 2 endpoints ## [assets](https://docs.nicer.travel/api/tags/assets/) 3 endpoints ## [internova](https://docs.nicer.travel/api/tags/internova/) 2 endpoints ## [stripe-support](https://docs.nicer.travel/api/tags/stripe-support/) 1 endpoint ## [Trips](https://docs.nicer.travel/api/tags/Trips/) Trips: the container every itinerary, conversation and order belongs to. 7 endpoints ## [Booking](https://docs.nicer.travel/api/tags/Booking/) Search travel inventory, hold an offer as a selection and quote it before it becomes an order. 16 endpoints ## [Commerce](https://docs.nicer.travel/api/tags/Commerce/) Orders, payments, payment methods and the finance ledger behind them. 60 endpoints ## [Trip itinerary](https://docs.nicer.travel/api/tags/Trip-itinerary/) Build a trip itinerary, share it with travelers and collect their approvals. An itinerary is created with its trip, so every route here works on one that already exists. 11 endpoints ## [Search](https://docs.nicer.travel/api/tags/Search/) Public lookups used by pickers: cities, flight numbers, venues and exchange rates. 4 endpoints ## [Tours and activities](https://docs.nicer.travel/api/tags/Tours-and-activities/) Tours and activities from the activities provider, shaped as itinerary segments. 3 endpoints ## [Assistant](https://docs.nicer.travel/api/tags/Assistant/) AI assistant: trip conversations, suggestions and text helpers. 14 endpoints ## [Chat](https://docs.nicer.travel/api/tags/Chat/) Messaging between advisors and travelers, per trip or direct. 4 endpoints ## [Community](https://docs.nicer.travel/api/tags/Community/) Company-wide channels and direct messages, backed by the realtime service. 15 endpoints ## [Notes and tasks](https://docs.nicer.travel/api/tags/Notes-and-tasks/) Notes and tasks kept against a trip or a traveler. 28 endpoints ## [Company config](https://docs.nicer.travel/api/tags/Company-config/) Company configuration, currently promotions. 6 endpoints ## [User places](https://docs.nicer.travel/api/tags/User-places/) Places a user has saved, grouped into albums. 3 endpoints ## [Cruises](https://docs.nicer.travel/api/tags/Cruises/) Single sign-on into the cruise partner's booking tool. 1 endpoint # backoffice Source: https://docs.nicer.travel/api/tags/backoffice/ · Markdown: https://docs.nicer.travel/api/tags/backoffice/index.md Path: Nicer API ## Operations - [Get the audience in the back office](https://docs.nicer.travel/api/backoffice/backoffice.audience.list/) — `GET /backoffice/audience` - [Get a person's analytics profile in the back office](https://docs.nicer.travel/api/backoffice/backoffice.audience.get/) — `GET /backoffice/audience/{userId}` - [Get platform health in the back office](https://docs.nicer.travel/api/backoffice/backoffice.health.list/) — `GET /backoffice/health` - [Get the operations queues in the back office](https://docs.nicer.travel/api/backoffice/backoffice.operations.list/) — `GET /backoffice/operations` - [List orders in the back office](https://docs.nicer.travel/api/backoffice/backoffice.orders.list/) — `GET /backoffice/orders` - [Get an order in the back office](https://docs.nicer.travel/api/backoffice/backoffice.orders.get/) — `GET /backoffice/orders/{orderId}` - [Get a person's balances in the back office](https://docs.nicer.travel/api/backoffice/backoffice.people.balances.list/) — `GET /backoffice/people/{userId}/balances` - [Get provider performance in the back office](https://docs.nicer.travel/api/backoffice/backoffice.providers.list/) — `GET /backoffice/providers` - [Get customer retention in the back office](https://docs.nicer.travel/api/backoffice/backoffice.retention.list/) — `GET /backoffice/retention` - [Get rewards and earnings in the back office](https://docs.nicer.travel/api/backoffice/backoffice.rewards.list/) — `GET /backoffice/rewards` - [Get the sales report in the back office](https://docs.nicer.travel/api/backoffice/backoffice.sales.list/) — `GET /backoffice/sales` - [List the platform timeline in the back office](https://docs.nicer.travel/api/backoffice/backoffice.timeline.list/) — `GET /backoffice/timeline` - [List trips in the back office](https://docs.nicer.travel/api/backoffice/backoffice.trips.list/) — `GET /backoffice/trips` - [Get a trip in the back office](https://docs.nicer.travel/api/backoffice/backoffice.trips.get/) — `GET /backoffice/trips/{travelersTripId}` - [List users in the back office](https://docs.nicer.travel/api/backoffice/backoffice.users.list/) — `GET /backoffice/users` # Get the audience in the back office Source: https://docs.nicer.travel/api/backoffice/backoffice.audience.list/ · Markdown: https://docs.nicer.travel/api/backoffice/backoffice.audience.list/index.md Path: Nicer API › backoffice `GET /backoffice/audience` URL: `https://api.nicer.travel/backoffice/audience` Returns who is on the platform according to the product analytics tool's people profiles, which a nightly import writes from Identity for every account with a name: how many profiles there are, how many belong to deleted or test accounts, and the live ones (neither) by agency, country, platform role and month the account was created. The figures may be up to 15 minutes old: the analytics tool allows few reads an hour, so the answer is cached. The agency is named by the x-nicer-company header and nothing else: with one named, only the profiles of that agency; with none, every profile. Nicer staff only. Errors: 403 ERROR_DO_NOT_HAVE_PERMISSION for a caller who is not Nicer staff; 502 ERROR_ANALYTICS_UNAVAILABLE when the analytics tool does not answer. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Header parameters - `x-nicer-company` (`backoffice.audience.list.header.x-nicer-company`; string, optional) — Company context for an agency admin who belongs to several companies. Optional when the caller belongs to one. ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.backoffice.audience.list(); ``` ### Nicer CLI ```bash nicer backoffice audience list ``` ### cURL ```bash curl --request GET \ --url https://api.nicer.travel/backoffice/audience \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/backoffice/audience'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/backoffice/audience" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "byCompany": { "property1": 9007199254740991, "property2": 9007199254740991 }, "byCountry": { "property1": 9007199254740991, "property2": 9007199254740991 }, "byRole": { "property1": 9007199254740991, "property2": 9007199254740991 }, "createdByMonth": { "property1": 9007199254740991, "property2": 9007199254740991 }, "deleted": 9007199254740991, "testUsers": 9007199254740991, "total": 9007199254740991 } ``` - `byCompany` (`backoffice.audience.list.response.200.byCompany`; map of integer, required) — Live profiles by agency name; nicer for the accounts that signed up with no agency, unknown for the profiles with none recorded. - `byCountry` (`backoffice.audience.list.response.200.byCountry`; map of integer, required) — Live profiles by the two-letter country code the analytics tool placed them in; unknown for the profiles it could not place. - `byRole` (`backoffice.audience.list.response.200.byRole`; map of integer, required) — Live profiles by platform role (traveler, advisor, admin or superadmin); unknown for the profiles with none recorded. - `createdByMonth` (`backoffice.audience.list.response.200.createdByMonth`; map of integer, required) — Live profiles by the UTC month (YYYY-MM) the account was created in; unknown when the profile has no creation date. - `deleted` (`backoffice.audience.list.response.200.deleted`; integer, required) — How many profiles belong to deleted accounts. A deleted test account counts here and in testUsers. - maximum: `9007199254740991` · minimum: `0` - `testUsers` (`backoffice.audience.list.response.200.testUsers`; integer, required) — How many profiles are test accounts, as their agency membership marks them. - maximum: `9007199254740991` · minimum: `0` - `total` (`backoffice.audience.list.response.200.total`; integer, required) — How many profiles there are, deleted and test accounts included. - maximum: `9007199254740991` · minimum: `0` ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.audience.list.response.400.errorCode`; string, required) - `errorMessage` (`backoffice.audience.list.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.audience.list.response.401.errorCode`; string, required) - `errorMessage` (`backoffice.audience.list.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.audience.list.response.403.errorCode`; string, required) - `errorMessage` (`backoffice.audience.list.response.403.errorMessage`; string, required) # Get a person's analytics profile in the back office Source: https://docs.nicer.travel/api/backoffice/backoffice.audience.get/ · Markdown: https://docs.nicer.travel/api/backoffice/backoffice.audience.get/index.md Path: Nicer API › backoffice `GET /backoffice/audience/{userId}` URL: `https://api.nicer.travel/backoffice/audience/{userId}` Returns the people profile the product analytics tool keeps for one person, keyed by their user id and written by a nightly import from Identity: typed, the advisor a traveler plans with and when the profile was last synced; under properties, every other property with the analytics tool's own names and values, personal data included (name, email, phone, photo, location). The agency is named by the x-nicer-company header and nothing else: with one named, a profile of another agency is not found; with none, any profile. Nicer staff only. Errors: 404 ERROR_ITEM_NOT_FOUND when the analytics tool holds no profile for the person, or, with an agency named, the profile belongs to another agency; 403 ERROR_DO_NOT_HAVE_PERMISSION for a caller who is not Nicer staff; 502 ERROR_ANALYTICS_UNAVAILABLE when the analytics tool does not answer. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Path parameters - `userId` (`backoffice.audience.get.path.userId`; string, required) ## Header parameters - `x-nicer-company` (`backoffice.audience.get.header.x-nicer-company`; string, optional) — Company context for an agency admin who belongs to several companies. Optional when the caller belongs to one. ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.backoffice.audience.get({ "userId": "string" }); ``` ### Nicer CLI ```bash nicer backoffice audience get --user-id 'string' ``` ### cURL ```bash curl --request GET \ --url 'https://api.nicer.travel/backoffice/audience/' \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/backoffice/audience/'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/backoffice/audience/" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "advisorName": "string", "properties": { "property1": "string", "property2": "string" }, "syncedAt": "2019-08-24T14:15:22Z" } ``` - `advisorName` (`backoffice.audience.get.response.200.advisorName`; any of, required) — For a traveler, the name of the advisor the CRM assigned them at their agency, as of the latest import; null for anyone else or when none is assigned. - any of the following: `string`, `null` - `properties` (`backoffice.audience.get.response.200.properties`; map of BackofficeAnalyticsValue, required) — Every other property of the profile, under the analytics tool's own names and as it holds them ($-prefixed ones are the tool's own). advisorName and syncedAt are not repeated here. Personal data: name, email, phone, photo and location properties. - `syncedAt` (`backoffice.audience.get.response.200.syncedAt`; any of, required) — When the import last wrote the profile, UTC. It dates the sync, never the person's last visit; null when the tool holds no such date. - any of the following: `string`, `null` ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.audience.get.response.400.errorCode`; string, required) - `errorMessage` (`backoffice.audience.get.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.audience.get.response.401.errorCode`; string, required) - `errorMessage` (`backoffice.audience.get.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.audience.get.response.403.errorCode`; string, required) - `errorMessage` (`backoffice.audience.get.response.403.errorMessage`; string, required) # Get platform health in the back office Source: https://docs.nicer.travel/api/backoffice/backoffice.health.list/ · Markdown: https://docs.nicer.travel/api/backoffice/backoffice.health.list/index.md Path: Nicer API › backoffice `GET /backoffice/health` URL: `https://api.nicer.travel/backoffice/health` Returns how the platform stands right now, not over a period: every order by current status and currency, whatever its date; the orders of the last 30 days that are NEEDS_ATTENTION or FAILED, as the order list has them (newest first, at most 200); the events Commerce has not yet published; the provider calls of the last 7 days by provider, operation and outcome; Nicer's own charges of the last 7 days by UTC day, status and currency; and how many BOOKED or HELD reservations are overdue for their next check. The agency is named by the x-nicer-company header and nothing else: with one named, that agency's; with none, every agency's. Nicer staff only. Errors: 403 ERROR_DO_NOT_HAVE_PERMISSION for a caller who is not Nicer staff. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Header parameters - `x-nicer-company` (`backoffice.health.list.header.x-nicer-company`; string, optional) — Company context for an agency admin who belongs to several companies. Optional when the caller belongs to one. ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.backoffice.health.list(); ``` ### Nicer CLI ```bash nicer backoffice health list ``` ### cURL ```bash curl --request GET \ --url https://api.nicer.travel/backoffice/health \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/backoffice/health'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/backoffice/health" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "attention": [ { "advisorUserId": "string", "bookingOrigin": "NICER", "committedAt": "2019-08-24T14:15:22Z", "companyName": "string", "createdAt": "2019-08-24T14:15:22Z", "createdByUserId": "string", "currency": "string", "dueAtPropertyMinor": -9007199254740991, "dueLaterMinor": -9007199254740991, "dueNowMinor": -9007199254740991, "entryMethod": "CHECKOUT", "expiresAt": "2019-08-24T14:15:22Z", "fulfillmentState": "NOT_STARTED", "hotel": { "address": "string", "chainName": "string", "checkIn": "2026-12-12", "checkOut": "2026-12-15", "city": "string", "countryCode": "string", "imageUrl": "http://example.com", "starRating": 5 }, "hotelReference": "htl_s_8k2f9", "itineraryItemId": "string", "orderId": "string", "payerEmail": "string", "payerUserId": "string", "paymentState": "NOT_STARTED", "productName": "BOG → MDE · MDE → BOG", "productType": "PLANNING_FEE", "providerKey": "string", "providerLocator": "string", "reservationState": "NOT_STARTED", "status": "DRAFT", "supplierConfirmation": "string", "totalMinor": -9007199254740991, "travelDates": { "end": "2026-12-15", "start": "2026-12-12" }, "travelerCount": 9007199254740991, "travelerNames": [ "string" ], "travelersTripId": "string", "updatedAt": "2019-08-24T14:15:22Z" } ], "outbox": { "failing": 9007199254740991, "maxAttempts": 9007199254740991, "oldestAvailableAt": "2019-08-24T14:15:22Z", "pending": 9007199254740991 }, "overdueChecks": 9007199254740991, "payments": [ { "amountMinor": -9007199254740991, "attempts": 9007199254740991, "currency": "string", "day": "2026-11-10", "status": "REQUIRES_ACTION" } ], "providerOutcomes": [ { "avgSeconds": 0, "kind": "REVALIDATE", "operations": 9007199254740991, "providerKey": "string", "status": "PENDING" } ], "statuses": [ { "currency": "string", "orders": 9007199254740991, "status": "DRAFT", "totalMinor": -9007199254740991 } ] } ``` - `attention` (`backoffice.health.list.response.200.attention`; array of object, required) — The orders created in the last 30 days that are NEEDS_ATTENTION or FAILED, the states a person must clear; newest first, at most 200. - `advisorUserId` (`backoffice.health.list.response.200.attention.advisorUserId`; any of, required) — The advisor credited with the order: the one assigned to it, else the one who booked it or whose provider profile it came in on; null when no advisor is credited. - any of the following: `string`, `null` - `bookingOrigin` (`backoffice.health.list.response.200.attention.bookingOrigin`; string, required) — NICER when the booking was made through Nicer, EXTERNAL when it was made elsewhere and recorded, UNKNOWN when the provider did not say. - one of `"NICER"`, `"EXTERNAL"`, `"UNKNOWN"` - `committedAt` (`backoffice.health.list.response.200.attention.committedAt`; any of, required) — When the order left DRAFT and became a booking; null before. - any of the following: `string`, `null` - `companyName` (`backoffice.health.list.response.200.attention.companyName`; string, required) — The agency the order belongs to. - minLength: `1` - `createdAt` (`backoffice.health.list.response.200.attention.createdAt`; string, required) — When the order was created. - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` - `createdByUserId` (`backoffice.health.list.response.200.attention.createdByUserId`; any of, required) — The user id of who created the order, when one did. - any of the following: `string`, `null` - `currency` (`backoffice.health.list.response.200.attention.currency`; any of, required) — The currency of every amount on the row; null when the order carries no amount. - any of the following: `CurrencyCode`, `null` - `dueAtPropertyMinor` (`backoffice.health.list.response.200.attention.dueAtPropertyMinor`; any of, required) — The part of the total paid at the property, in minor units; null for an order recorded from a provider. - any of the following: `integer`, `null` - `dueLaterMinor` (`backoffice.health.list.response.200.attention.dueLaterMinor`; any of, required) — The part of the total charged later, in minor units; null for an order recorded from a provider. - any of the following: `integer`, `null` - `dueNowMinor` (`backoffice.health.list.response.200.attention.dueNowMinor`; any of, required) — The part of the total charged at checkout, in minor units; null for an order recorded from a provider. - any of the following: `integer`, `null` - `entryMethod` (`backoffice.health.list.response.200.attention.entryMethod`; string, required) — CHECKOUT when Nicer sold the order, and every amount is present; IMPORT or MANUAL when it was recorded from a provider. - one of `"CHECKOUT"`, `"IMPORT"`, `"MANUAL"` - `expiresAt` (`backoffice.health.list.response.200.attention.expiresAt`; any of, required) — When an unpaid checkout lapses; null for an order recorded from a provider. - any of the following: `string`, `null` - `fulfillmentState` (`backoffice.health.list.response.200.attention.fulfillmentState`; string, required) — Where the order's documents (tickets, confirmations, policies, vouchers) stand. - one of `"NOT_STARTED"`, `"PENDING_ISSUANCE"`, `"PARTIALLY_ISSUED"`, `"ISSUED"`, `"FAILED"`, `"UNKNOWN"` - `hotelReference` (`backoffice.health.list.response.200.attention.hotelReference`; any of, required) — Nicer's reference for the property of a lodging order; null for other products. - any of the following: `string`, `null` - `itineraryItemId` (`backoffice.health.list.response.200.attention.itineraryItemId`; any of, required) — The itinerary item the order was booked from, if any. - any of the following: `string`, `null` - `orderId` (`backoffice.health.list.response.200.attention.orderId`; string, required) — The order's id. - minLength: `1` - `payerEmail` (`backoffice.health.list.response.200.attention.payerEmail`; any of, required) — The payer's email, lower-cased, when the order has one. - any of the following: `string`, `null` - `payerUserId` (`backoffice.health.list.response.200.attention.payerUserId`; any of, required) — The payer's user id, when the payer has an account. - any of the following: `string`, `null` - `paymentState` (`backoffice.health.list.response.200.attention.paymentState`; string, required) — Where the traveler's payment stands. - one of `"NOT_STARTED"`, `"AWAITING_METHOD"`, `"REQUIRES_ACTION"`, `"PROCESSING"`, `"AUTHORIZED"`, `"SUCCEEDED"`, `"DECLINED"`, `"CANCELLED"`, `"PARTIALLY_REFUNDED"`, `"REFUNDED"`, `"UNKNOWN"` - `productName` (`backoffice.health.list.response.200.attention.productName`; any of, required) — The order's label: the route for a flight (origin → destination, each pair once, joined by ' · '), else the product or property name as recorded or sold. - any of the following: `string`, `null` - `productType` (`backoffice.health.list.response.200.attention.productType`; string, required) — What the order sells. - one of `"PLANNING_FEE"`, `"EXTRA_PAYMENT"`, `"HOTEL"`, `"FLIGHT"`, `"INSURANCE"`, `"CAR_RENTAL"` - `providerLocator` (`backoffice.health.list.response.200.attention.providerLocator`; any of, required) — The booking's locator at the provider (the Booking ID of a flight), once it exists. - any of the following: `string`, `null` - `reservationState` (`backoffice.health.list.response.200.attention.reservationState`; string, required) — Where the reservation at the provider stands. - one of `"NOT_STARTED"`, `"HOLDING"`, `"HELD"`, `"CONFIRMED"`, `"CANCELLATION_PROCESSING"`, `"CANCELLED"`, `"EXPIRED"`, `"UNKNOWN"` - `status` (`backoffice.health.list.response.200.attention.status`; string, required) — The order's overall status. - one of `"DRAFT"`, `"AWAITING_PAYMENT"`, `"HOLDING"`, `"HELD"`, `"PAYMENT_PROCESSING"`, `"TICKETING"`, `"BOOKED"`, `"CANCELLATION_PROCESSING"`, `"CANCELLED"`, `"EXPIRED"`, `"NEEDS_ATTENTION"`, `"FAILED"` - `supplierConfirmation` (`backoffice.health.list.response.200.attention.supplierConfirmation`; any of, required) — The supplier's own confirmation, as recorded from the provider; null when none was recorded. - any of the following: `string`, `null` - `totalMinor` (`backoffice.health.list.response.200.attention.totalMinor`; any of, required) — The order's total, in minor units; null when the order carries no amount. - any of the following: `integer`, `null` - `travelDates` (`backoffice.health.list.response.200.attention.travelDates`; object, required) — The first and last travel moment: the recorded service's dates, else the hotel's check-in and check-out, else the first departure and last arrival of a flight. A day (YYYY-MM-DD) or an ISO 8601 date-time; null when unknown. - `end` (`backoffice.health.list.response.200.attention.travelDates.end`; any of, required) - any of the following: `string`, `null` - `start` (`backoffice.health.list.response.200.attention.travelDates.start`; any of, required) - any of the following: `string`, `null` - `travelerCount` (`backoffice.health.list.response.200.attention.travelerCount`; integer, required) — How many participants of the order travel (role TRAVELER). - maximum: `9007199254740991` · minimum: `0` - `travelerNames` (`backoffice.health.list.response.200.attention.travelerNames`; array of string, required) — The names of the order's travelers (role TRAVELER), in the order's slot order. A traveler without a name is left out. - minLength: `1` - `travelersTripId` (`backoffice.health.list.response.200.attention.travelersTripId`; any of, required) — The trip the order belongs to, if any. - any of the following: `string`, `null` - `updatedAt` (`backoffice.health.list.response.200.attention.updatedAt`; string, required) — When the order last changed. - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` - `hotel` (`backoffice.health.list.response.200.attention.hotel`; object, optional) — The property facts sold with the order. Present on lodging (HOTEL) orders only. - `address` (`backoffice.health.list.response.200.attention.hotel.address`; any of, required) — The property's address, as sold. - any of the following: `string`, `null` - `chainName` (`backoffice.health.list.response.200.attention.hotel.chainName`; any of, required) — The hotel chain, when the property belongs to one. - any of the following: `string`, `null` - `checkIn` (`backoffice.health.list.response.200.attention.hotel.checkIn`; any of, required) — The check-in day. - any of the following: `string`, `null` - `checkOut` (`backoffice.health.list.response.200.attention.hotel.checkOut`; any of, required) — The check-out day. - any of the following: `string`, `null` - `city` (`backoffice.health.list.response.200.attention.hotel.city`; any of, required) — The property's city. - any of the following: `string`, `null` - `countryCode` (`backoffice.health.list.response.200.attention.hotel.countryCode`; any of, required) — The property's country, ISO 3166-1 alpha-2. - any of the following: `CountryCode`, `null` - `imageUrl` (`backoffice.health.list.response.200.attention.hotel.imageUrl`; any of, required) — The property's first photo. - any of the following: `string`, `null` - `starRating` (`backoffice.health.list.response.200.attention.hotel.starRating`; any of, required) — The property's star rating, 0 to 5. - any of the following: `number`, `null` - `providerKey` (`backoffice.health.list.response.200.attention.providerKey`; string, optional) — The provider the order was booked with. Nicer staff only: left out for an agency admin. - `outbox` (`backoffice.health.list.response.200.outbox`; object, required) — The events Commerce wrote with a change and has not yet published to the other domains. - `failing` (`backoffice.health.list.response.200.outbox.failing`; integer, required) — How many of them failed their latest attempt to publish. - maximum: `9007199254740991` · minimum: `0` - `maxAttempts` (`backoffice.health.list.response.200.outbox.maxAttempts`; any of, required) — The most publish attempts any of them has had; null when none waits. - any of the following: `integer`, `null` - `oldestAvailableAt` (`backoffice.health.list.response.200.outbox.oldestAvailableAt`; any of, required) — When the oldest of them became due to publish; null when none waits. - any of the following: `string`, `null` - `pending` (`backoffice.health.list.response.200.outbox.pending`; integer, required) — How many events wait to be published. - maximum: `9007199254740991` · minimum: `0` - `overdueChecks` (`backoffice.health.list.response.200.overdueChecks`; integer, required) — How many BOOKED or HELD orders the reservation monitor should have read again by now: the next check their latest read set is past. - maximum: `9007199254740991` · minimum: `0` - `payments` (`backoffice.health.list.response.200.payments`; array of object, required) — Nicer's charges of the last 7 days. One row per UTC day, status and currency, the oldest day first. - `amountMinor` (`backoffice.health.list.response.200.payments.amountMinor`; integer, required) — The attempts' total, in minor units. - maximum: `9007199254740991` · minimum: `-9007199254740991` - `attempts` (`backoffice.health.list.response.200.payments.attempts`; integer, required) — How many attempts. - maximum: `9007199254740991` · minimum: `0` - `currency` (`backoffice.health.list.response.200.payments.currency`; string, required) — The attempts' currency. - pattern: `^[A-Z]{3}$` - `day` (`backoffice.health.list.response.200.payments.day`; string, required) — The UTC day the attempts were made on. - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `status` (`backoffice.health.list.response.200.payments.status`; string, required) — The attempts' status. SUCCEEDED is money captured; AUTHORIZED is not money yet. - one of `"REQUIRES_ACTION"`, `"AUTHORIZED"`, `"PROCESSING"`, `"SUCCEEDED"`, `"DECLINED"`, `"UNKNOWN"`, `"CANCELLED"` - `providerOutcomes` (`backoffice.health.list.response.200.providerOutcomes`; array of object, required) — Provider calls of the last 7 days. One row per provider, operation and outcome, the most calls first. - `avgSeconds` (`backoffice.health.list.response.200.providerOutcomes.avgSeconds`; any of, required) — The average seconds a call took, over the calls that both started and finished; null when none did. - any of the following: `number`, `null` - `kind` (`backoffice.health.list.response.200.providerOutcomes.kind`; string, required) — What the calls asked the provider to do. - one of `"REVALIDATE"`, `"INITIATE"`, `"HOLD"`, `"RESERVE"`, `"CONFIRM"`, `"FULFILL"`, `"BOOK"`, `"TICKET"`, `"RETRIEVE"`, `"RECONCILE"`, `"CANCEL"`, `"VOID"`, `"REFUND"` - `operations` (`backoffice.health.list.response.200.providerOutcomes.operations`; integer, required) — How many calls. - maximum: `9007199254740991` · minimum: `0` - `providerKey` (`backoffice.health.list.response.200.providerOutcomes.providerKey`; string, required) — The provider called. - `status` (`backoffice.health.list.response.200.providerOutcomes.status`; string, required) — How the calls ended. - one of `"PENDING"`, `"RUNNING"`, `"SUCCEEDED"`, `"DECLINED"`, `"FAILED"`, `"UNKNOWN"`, `"CANCELLED"` - `statuses` (`backoffice.health.list.response.200.statuses`; array of object, required) — Every order, of any date, by status and currency, the most orders first. - `currency` (`backoffice.health.list.response.200.statuses.currency`; any of, required) — The orders' currency; null for the orders that carry no amount. - any of the following: `CurrencyCode`, `null` - `orders` (`backoffice.health.list.response.200.statuses.orders`; integer, required) — How many orders. - maximum: `9007199254740991` · minimum: `0` - `status` (`backoffice.health.list.response.200.statuses.status`; string, required) — Where the orders stand now. - one of `"DRAFT"`, `"AWAITING_PAYMENT"`, `"HOLDING"`, `"HELD"`, `"PAYMENT_PROCESSING"`, `"TICKETING"`, `"BOOKED"`, `"CANCELLATION_PROCESSING"`, `"CANCELLED"`, `"EXPIRED"`, `"NEEDS_ATTENTION"`, `"FAILED"` - `totalMinor` (`backoffice.health.list.response.200.statuses.totalMinor`; any of, required) — The orders' totals added up, in minor units; null when none carries an amount. - any of the following: `integer`, `null` ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.health.list.response.400.errorCode`; string, required) - `errorMessage` (`backoffice.health.list.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.health.list.response.401.errorCode`; string, required) - `errorMessage` (`backoffice.health.list.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.health.list.response.403.errorCode`; string, required) - `errorMessage` (`backoffice.health.list.response.403.errorMessage`; string, required) # Get the operations queues in the back office Source: https://docs.nicer.travel/api/backoffice/backoffice.operations.list/ · Markdown: https://docs.nicer.travel/api/backoffice/backoffice.operations.list/index.md Path: Nicer API › backoffice `GET /backoffice/operations` URL: `https://api.nicer.travel/backoffice/operations` Returns the five exception queues a person must clear, each at most 200 rows: unticketed (flights Nicer sold through checkout that are BOOKED with no ticket issued, newest first), staleObservations (BOOKED or HELD orders whose latest read at the provider failed, the latest failure first), uncollected (commission items still UPCOMING, DUE or OVERDUE, the largest balance owed first), unmatchedPayments (Nicer charges that SUCCEEDED on orders that never became a booking, newest first) and duplicates (one payer holding the same product on the same accepted terms on more than one BOOKED or HELD order, the most orders first). Every row names its agency and its order, so it can be opened. The agency is named by the x-nicer-company header and nothing else: with one named, that agency's queues; with none, every agency's. Nicer staff only. Errors: 403 ERROR_DO_NOT_HAVE_PERMISSION for a caller who is not Nicer staff. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Header parameters - `x-nicer-company` (`backoffice.operations.list.header.x-nicer-company`; string, optional) — Company context for an agency admin who belongs to several companies. Optional when the caller belongs to one. ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.backoffice.operations.list(); ``` ### Nicer CLI ```bash nicer backoffice operations list ``` ### cURL ```bash curl --request GET \ --url https://api.nicer.travel/backoffice/operations \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/backoffice/operations'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/backoffice/operations" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "duplicates": [ { "bookings": 2, "companyName": "string", "currency": "string", "orderIds": [ "string", "string" ], "payerEmail": "string", "productName": "BOG → MDE · MDE → BOG", "providerProductId": "string", "totalMinor": -9007199254740991 } ], "staleObservations": [ { "companyName": "string", "failures": 1, "lastObservedAt": "2019-08-24T14:15:22Z", "orderId": "string", "productName": "BOG → MDE · MDE → BOG", "providerLocator": "string", "status": "BOOKED" } ], "uncollected": [ { "companyName": "string", "currency": "string", "dueOn": "2026-12-31", "expectedMinor": 9007199254740991, "orderId": "string", "paymentStatus": "UPCOMING", "productName": "BOG → MDE · MDE → BOG", "providerKey": "string", "providerLocator": "string", "receivedMinor": -9007199254740991, "varianceMinor": -9007199254740991 } ], "unmatchedPayments": [ { "amountMinor": 9007199254740991, "companyName": "string", "createdAt": "2019-08-24T14:15:22Z", "currency": "string", "orderId": "string", "orderStatus": "DRAFT", "paymentAttemptId": "string", "productName": "BOG → MDE · MDE → BOG" } ], "unticketed": [ { "advisorUserId": "string", "companyName": "string", "createdAt": "2019-08-24T14:15:22Z", "currency": "string", "orderId": "string", "productName": "BOG → MDE · MDE → BOG", "productType": "PLANNING_FEE", "providerLocator": "string", "totalMinor": -9007199254740991 } ] } ``` - `duplicates` (`backoffice.operations.list.response.200.duplicates`; array of object, required) — Possible duplicates, the most orders first. At most 200. - `bookings` (`backoffice.operations.list.response.200.duplicates.bookings`; integer, required) — How many orders hold the product. - maximum: `9007199254740991` · minimum: `2` - `companyName` (`backoffice.operations.list.response.200.duplicates.companyName`; string, required) — The agency the order belongs to. - minLength: `1` - `currency` (`backoffice.operations.list.response.200.duplicates.currency`; any of, required) — The orders' currency; null when they carry no amount. - any of the following: `CurrencyCode`, `null` - `orderIds` (`backoffice.operations.list.response.200.duplicates.orderIds`; array of string, required) — The orders that hold the product, oldest first. - minLength: `1` - `payerEmail` (`backoffice.operations.list.response.200.duplicates.payerEmail`; string, required) — The payer's email, lower-cased: the same on every order. Personal data. - minLength: `1` - `productName` (`backoffice.operations.list.response.200.duplicates.productName`; any of, required) — The order's label: the route for a flight (origin → destination, each pair once, joined by ' · '), else the product or property name as recorded or sold. - any of the following: `string`, `null` - `providerProductId` (`backoffice.operations.list.response.200.duplicates.providerProductId`; any of, required) — The provider's id for the product the orders hold; null when it gave none. - any of the following: `string`, `null` - `totalMinor` (`backoffice.operations.list.response.200.duplicates.totalMinor`; any of, required) — The orders' totals added up, in minor units; null when none carries an amount. - any of the following: `integer`, `null` - `staleObservations` (`backoffice.operations.list.response.200.staleObservations`; array of object, required) — Reservations the provider stopped confirming, the latest failure first. At most 200. - `companyName` (`backoffice.operations.list.response.200.staleObservations.companyName`; string, required) — The agency the order belongs to. - minLength: `1` - `failures` (`backoffice.operations.list.response.200.staleObservations.failures`; integer, required) — How many reads of the reservation have failed in a row, counting back from the latest. - maximum: `9007199254740991` · minimum: `1` - `lastObservedAt` (`backoffice.operations.list.response.200.staleObservations.lastObservedAt`; string, required) — When the reservation monitor last tried to read the reservation, and failed. - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` - `orderId` (`backoffice.operations.list.response.200.staleObservations.orderId`; string, required) — The order's id. - minLength: `1` - `productName` (`backoffice.operations.list.response.200.staleObservations.productName`; any of, required) — The order's label: the route for a flight (origin → destination, each pair once, joined by ' · '), else the product or property name as recorded or sold. - any of the following: `string`, `null` - `providerLocator` (`backoffice.operations.list.response.200.staleObservations.providerLocator`; any of, required) — The booking's locator at the provider (the Booking ID of a flight), once it exists. - any of the following: `string`, `null` - `status` (`backoffice.operations.list.response.200.staleObservations.status`; string, required) — The order's status: BOOKED or HELD. - one of `"BOOKED"`, `"HELD"` - `uncollected` (`backoffice.operations.list.response.200.uncollected`; array of object, required) — Commission not collected, the largest balance still owed first. At most 200. - `companyName` (`backoffice.operations.list.response.200.uncollected.companyName`; string, required) — The agency whose booking earns the commission. - minLength: `1` - `currency` (`backoffice.operations.list.response.200.uncollected.currency`; string, required) — The commission's currency. - pattern: `^[A-Z]{3}$` - `dueOn` (`backoffice.operations.list.response.200.uncollected.dueOn`; string, required) — The day the commission is due. - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `expectedMinor` (`backoffice.operations.list.response.200.uncollected.expectedMinor`; integer, required) — The commission expected, in minor units. - maximum: `9007199254740991` · minimum: `0` - `orderId` (`backoffice.operations.list.response.200.uncollected.orderId`; string, required) — The order the commission is earned on. - minLength: `1` - `paymentStatus` (`backoffice.operations.list.response.200.uncollected.paymentStatus`; string, required) — Where the item's money stands: UPCOMING before travel ends, DUE or OVERDUE after. Nothing arrived yet: any payment makes an item PAID and takes it off this queue. - one of `"UPCOMING"`, `"DUE"`, `"OVERDUE"` - `productName` (`backoffice.operations.list.response.200.uncollected.productName`; any of, required) — The order's label: the route for a flight (origin → destination, each pair once, joined by ' · '), else the product or property name as recorded or sold. - any of the following: `string`, `null` - `providerKey` (`backoffice.operations.list.response.200.uncollected.providerKey`; string, required) — The provider the order was booked with. - `providerLocator` (`backoffice.operations.list.response.200.uncollected.providerLocator`; any of, required) — The booking's locator as the commission item records it; null when it records none. - any of the following: `string`, `null` - `receivedMinor` (`backoffice.operations.list.response.200.uncollected.receivedMinor`; integer, required) — The commission received so far, net of reversals, in minor units; below zero after a clawback. - maximum: `9007199254740991` · minimum: `-9007199254740991` - `varianceMinor` (`backoffice.operations.list.response.200.uncollected.varianceMinor`; integer, required) — Received minus expected, in minor units: negative while money is still owed. - maximum: `9007199254740991` · minimum: `-9007199254740991` - `unmatchedPayments` (`backoffice.operations.list.response.200.unmatchedPayments`; array of object, required) — Charges whose trip never happened, the newest first. At most 200. - `amountMinor` (`backoffice.operations.list.response.200.unmatchedPayments.amountMinor`; integer, required) — The amount captured, in minor units. - maximum: `9007199254740991` · minimum: `0` - `companyName` (`backoffice.operations.list.response.200.unmatchedPayments.companyName`; string, required) — The agency the order belongs to. - minLength: `1` - `createdAt` (`backoffice.operations.list.response.200.unmatchedPayments.createdAt`; string, required) — When the charge was made. - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` - `currency` (`backoffice.operations.list.response.200.unmatchedPayments.currency`; string, required) — The charge's currency. - pattern: `^[A-Z]{3}$` - `orderId` (`backoffice.operations.list.response.200.unmatchedPayments.orderId`; string, required) — The order the charge was made for. - minLength: `1` - `orderStatus` (`backoffice.operations.list.response.200.unmatchedPayments.orderStatus`; string, required) — The order's status: one that never became a booking (FAILED, NEEDS_ATTENTION, EXPIRED or DRAFT). - one of `"DRAFT"`, `"EXPIRED"`, `"FAILED"`, `"NEEDS_ATTENTION"` - `paymentAttemptId` (`backoffice.operations.list.response.200.unmatchedPayments.paymentAttemptId`; string, required) — The payment attempt that captured the money. - minLength: `1` - `productName` (`backoffice.operations.list.response.200.unmatchedPayments.productName`; any of, required) — The order's label: the route for a flight (origin → destination, each pair once, joined by ' · '), else the product or property name as recorded or sold. - any of the following: `string`, `null` - `unticketed` (`backoffice.operations.list.response.200.unticketed`; array of object, required) — Flights booked but not ticketed, the newest first. At most 200. - `advisorUserId` (`backoffice.operations.list.response.200.unticketed.advisorUserId`; any of, required) — The advisor credited with the order: the one assigned to it, else the one who booked it or whose provider profile it came in on; null when no advisor is credited. - any of the following: `string`, `null` - `companyName` (`backoffice.operations.list.response.200.unticketed.companyName`; string, required) — The agency the order belongs to. - minLength: `1` - `createdAt` (`backoffice.operations.list.response.200.unticketed.createdAt`; string, required) — When the order was created. - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` - `currency` (`backoffice.operations.list.response.200.unticketed.currency`; any of, required) — The currency of every amount on the row; null when the order carries no amount. - any of the following: `CurrencyCode`, `null` - `orderId` (`backoffice.operations.list.response.200.unticketed.orderId`; string, required) — The order's id. - minLength: `1` - `productName` (`backoffice.operations.list.response.200.unticketed.productName`; any of, required) — The order's label: the route for a flight (origin → destination, each pair once, joined by ' · '), else the product or property name as recorded or sold. - any of the following: `string`, `null` - `productType` (`backoffice.operations.list.response.200.unticketed.productType`; string, required) — What the order sells. - one of `"PLANNING_FEE"`, `"EXTRA_PAYMENT"`, `"HOTEL"`, `"FLIGHT"`, `"INSURANCE"`, `"CAR_RENTAL"` - `providerLocator` (`backoffice.operations.list.response.200.unticketed.providerLocator`; any of, required) — The booking's locator at the provider (the Booking ID of a flight), once it exists. - any of the following: `string`, `null` - `totalMinor` (`backoffice.operations.list.response.200.unticketed.totalMinor`; any of, required) — The order's total, in minor units; null when the order carries no amount. - any of the following: `integer`, `null` ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.operations.list.response.400.errorCode`; string, required) - `errorMessage` (`backoffice.operations.list.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.operations.list.response.401.errorCode`; string, required) - `errorMessage` (`backoffice.operations.list.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.operations.list.response.403.errorCode`; string, required) - `errorMessage` (`backoffice.operations.list.response.403.errorMessage`; string, required) # List orders in the back office Source: https://docs.nicer.travel/api/backoffice/backoffice.orders.list/ · Markdown: https://docs.nicer.travel/api/backoffice/backoffice.orders.list/index.md Path: Nicer API › backoffice `GET /backoffice/orders` URL: `https://api.nicer.travel/backoffice/orders` Lists orders for the back office, newest first, 50 a page (limit, at most 100), paged with nextToken; total counts every page. One list serves the orders page, a hotel (hotelReference), a trip (travelersTripId), an advisor (advisorUserId, the advisor credited with the order) and a payer (payerUserId). from and to are UTC days of the order's creation, both included; without them the list reads the last 90 days, or every date when it is narrowed by one of those four ids. status, productType, currency (UNKNOWN for orders without an amount) and entryMethod (RECORDED for every order recorded from a provider) narrow it further, and q searches the order id, provider locator, payer email, hotel reference, product name, supplier confirmation and the names of the people on the order. Lodging orders carry the property facts they were sold with. The agency is named by the x-nicer-company header and nothing else: Nicer staff who name none read every agency's orders; with an agency named, staff and its admins read that agency's. An agency admin may name only an agency they administer, and may leave the header out when they administer one. The providerKey field is answered to Nicer staff only, and the providerKey filter is staff only too. Errors: 400 ERROR_INVALID_QUERY for a bad parameter or a from after to; 400 ERROR_COMPANY_REQUIRED for an admin of several agencies who names none; 403 ERROR_DO_NOT_HAVE_PERMISSION for a caller who is neither Nicer staff nor an admin of the agency named, and for an admin who sends providerKey. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Query parameters - `advisorUserId` (`backoffice.orders.list.query.advisorUserId`; string, optional) — Only the orders credited to this advisor: the one assigned to the order, else the one who booked it or whose provider profile it came in on. - minLength: `1` - `currency` (`backoffice.orders.list.query.currency`; any of, optional) — Only the orders in this currency; UNKNOWN for the orders that carry no amount. - example: `"USD"` - any of the following: `CurrencyCode`, `string` - `entryMethod` (`backoffice.orders.list.query.entryMethod`; string, optional) — Only the orders that entered Nicer this way; RECORDED for every order recorded from a provider. - one of `"CHECKOUT"`, `"IMPORT"`, `"MANUAL"`, `"RECORDED"` - `from` (`backoffice.orders.list.query.from`; string, optional) — The first UTC day of the orders' creation, included. When neither from nor to is sent, the last 90 days, unless the list is narrowed by travelersTripId, hotelReference, advisorUserId or payerUserId, which reads every date. - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` · example: `"2026-08-12"` - `hotelReference` (`backoffice.orders.list.query.hotelReference`; string, optional) — Only the orders at this property. - minLength: `1` · example: `"htl_s_8k2f9"` - `limit` (`backoffice.orders.list.query.limit`; integer, optional) — How many orders a page holds, 1 to 100; 50 by default. - maximum: `100` · minimum: `1` · default: `50` - `nextToken` (`backoffice.orders.list.query.nextToken`; string, optional) — The nextToken of the previous page, to read the next one. - minLength: `1` - `payerUserId` (`backoffice.orders.list.query.payerUserId`; string, optional) — Only the orders this person pays for. - minLength: `1` - `productType` (`backoffice.orders.list.query.productType`; string, optional) — Only the orders that sell this product. - one of `"PLANNING_FEE"`, `"EXTRA_PAYMENT"`, `"HOTEL"`, `"FLIGHT"`, `"INSURANCE"`, `"CAR_RENTAL"` - `providerKey` (`backoffice.orders.list.query.providerKey`; string, optional) — Only the orders booked with this provider. Nicer staff only: an agency admin who sends it gets 403. - `q` (`backoffice.orders.list.query.q`; string, optional) — Free text, matched case-insensitively anywhere in the order id, the provider locator, the payer email, the hotel reference, the product name (the route of a flight), the supplier confirmation or the name of any person on the order. - maxLength: `200` · minLength: `1` · example: `"MDE"` - `status` (`backoffice.orders.list.query.status`; string, optional) — Only the orders in this status. - one of `"DRAFT"`, `"AWAITING_PAYMENT"`, `"HOLDING"`, `"HELD"`, `"PAYMENT_PROCESSING"`, `"TICKETING"`, `"BOOKED"`, `"CANCELLATION_PROCESSING"`, `"CANCELLED"`, `"EXPIRED"`, `"NEEDS_ATTENTION"`, `"FAILED"` - `to` (`backoffice.orders.list.query.to`; string, optional) — The last UTC day of the orders' creation, included; today by default. A from without a to reads up to today; a to without a from reads the 90 days before it. - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` · example: `"2026-11-10"` - `travelersTripId` (`backoffice.orders.list.query.travelersTripId`; string, optional) — Only the orders of this trip. - minLength: `1` ## Header parameters - `x-nicer-company` (`backoffice.orders.list.header.x-nicer-company`; string, optional) — Company context for an agency admin who belongs to several companies. Optional when the caller belongs to one. ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.backoffice.orders.list(); ``` ### Nicer CLI ```bash nicer backoffice orders list ``` ### cURL ```bash curl --request GET \ --url https://api.nicer.travel/backoffice/orders \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/backoffice/orders'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/backoffice/orders" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "items": [ { "advisorUserId": "string", "bookingOrigin": "NICER", "committedAt": "2019-08-24T14:15:22Z", "companyName": "string", "createdAt": "2019-08-24T14:15:22Z", "createdByUserId": "string", "currency": "string", "dueAtPropertyMinor": -9007199254740991, "dueLaterMinor": -9007199254740991, "dueNowMinor": -9007199254740991, "entryMethod": "CHECKOUT", "expiresAt": "2019-08-24T14:15:22Z", "fulfillmentState": "NOT_STARTED", "hotel": { "address": "string", "chainName": "string", "checkIn": "2026-12-12", "checkOut": "2026-12-15", "city": "string", "countryCode": "string", "imageUrl": "http://example.com", "starRating": 5 }, "hotelReference": "htl_s_8k2f9", "itineraryItemId": "string", "orderId": "string", "payerEmail": "string", "payerUserId": "string", "paymentState": "NOT_STARTED", "productName": "BOG → MDE · MDE → BOG", "productType": "PLANNING_FEE", "providerKey": "string", "providerLocator": "string", "reservationState": "NOT_STARTED", "status": "DRAFT", "supplierConfirmation": "string", "totalMinor": -9007199254740991, "travelDates": { "end": "2026-12-15", "start": "2026-12-12" }, "travelerCount": 9007199254740991, "travelerNames": [ "string" ], "travelersTripId": "string", "updatedAt": "2019-08-24T14:15:22Z" } ], "nextToken": "string", "currencies": [ "string" ], "exchangeRates": { "source": "CurrencyBeacon", "updatedAt": "2019-08-24T14:15:22Z", "rates": { "property1": 0, "property2": 0 } }, "total": 9007199254740991 } ``` - `items` (`backoffice.orders.list.response.200.items`; array of object, required) — The items of this page. - `advisorUserId` (`backoffice.orders.list.response.200.items.advisorUserId`; any of, required) — The advisor credited with the order: the one assigned to it, else the one who booked it or whose provider profile it came in on; null when no advisor is credited. - any of the following: `string`, `null` - `bookingOrigin` (`backoffice.orders.list.response.200.items.bookingOrigin`; string, required) — NICER when the booking was made through Nicer, EXTERNAL when it was made elsewhere and recorded, UNKNOWN when the provider did not say. - one of `"NICER"`, `"EXTERNAL"`, `"UNKNOWN"` - `committedAt` (`backoffice.orders.list.response.200.items.committedAt`; any of, required) — When the order left DRAFT and became a booking; null before. - any of the following: `string`, `null` - `companyName` (`backoffice.orders.list.response.200.items.companyName`; string, required) — The agency the order belongs to. - minLength: `1` - `createdAt` (`backoffice.orders.list.response.200.items.createdAt`; string, required) — When the order was created. - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` - `createdByUserId` (`backoffice.orders.list.response.200.items.createdByUserId`; any of, required) — The user id of who created the order, when one did. - any of the following: `string`, `null` - `currency` (`backoffice.orders.list.response.200.items.currency`; any of, required) — The currency of every amount on the row; null when the order carries no amount. - any of the following: `CurrencyCode`, `null` - `dueAtPropertyMinor` (`backoffice.orders.list.response.200.items.dueAtPropertyMinor`; any of, required) — The part of the total paid at the property, in minor units; null for an order recorded from a provider. - any of the following: `integer`, `null` - `dueLaterMinor` (`backoffice.orders.list.response.200.items.dueLaterMinor`; any of, required) — The part of the total charged later, in minor units; null for an order recorded from a provider. - any of the following: `integer`, `null` - `dueNowMinor` (`backoffice.orders.list.response.200.items.dueNowMinor`; any of, required) — The part of the total charged at checkout, in minor units; null for an order recorded from a provider. - any of the following: `integer`, `null` - `entryMethod` (`backoffice.orders.list.response.200.items.entryMethod`; string, required) — CHECKOUT when Nicer sold the order, and every amount is present; IMPORT or MANUAL when it was recorded from a provider. - one of `"CHECKOUT"`, `"IMPORT"`, `"MANUAL"` - `expiresAt` (`backoffice.orders.list.response.200.items.expiresAt`; any of, required) — When an unpaid checkout lapses; null for an order recorded from a provider. - any of the following: `string`, `null` - `fulfillmentState` (`backoffice.orders.list.response.200.items.fulfillmentState`; string, required) — Where the order's documents (tickets, confirmations, policies, vouchers) stand. - one of `"NOT_STARTED"`, `"PENDING_ISSUANCE"`, `"PARTIALLY_ISSUED"`, `"ISSUED"`, `"FAILED"`, `"UNKNOWN"` - `hotelReference` (`backoffice.orders.list.response.200.items.hotelReference`; any of, required) — Nicer's reference for the property of a lodging order; null for other products. - any of the following: `string`, `null` - `itineraryItemId` (`backoffice.orders.list.response.200.items.itineraryItemId`; any of, required) — The itinerary item the order was booked from, if any. - any of the following: `string`, `null` - `orderId` (`backoffice.orders.list.response.200.items.orderId`; string, required) — The order's id. - minLength: `1` - `payerEmail` (`backoffice.orders.list.response.200.items.payerEmail`; any of, required) — The payer's email, lower-cased, when the order has one. - any of the following: `string`, `null` - `payerUserId` (`backoffice.orders.list.response.200.items.payerUserId`; any of, required) — The payer's user id, when the payer has an account. - any of the following: `string`, `null` - `paymentState` (`backoffice.orders.list.response.200.items.paymentState`; string, required) — Where the traveler's payment stands. - one of `"NOT_STARTED"`, `"AWAITING_METHOD"`, `"REQUIRES_ACTION"`, `"PROCESSING"`, `"AUTHORIZED"`, `"SUCCEEDED"`, `"DECLINED"`, `"CANCELLED"`, `"PARTIALLY_REFUNDED"`, `"REFUNDED"`, `"UNKNOWN"` - `productName` (`backoffice.orders.list.response.200.items.productName`; any of, required) — The order's label: the route for a flight (origin → destination, each pair once, joined by ' · '), else the product or property name as recorded or sold. - any of the following: `string`, `null` - `productType` (`backoffice.orders.list.response.200.items.productType`; string, required) — What the order sells. - one of `"PLANNING_FEE"`, `"EXTRA_PAYMENT"`, `"HOTEL"`, `"FLIGHT"`, `"INSURANCE"`, `"CAR_RENTAL"` - `providerLocator` (`backoffice.orders.list.response.200.items.providerLocator`; any of, required) — The booking's locator at the provider (the Booking ID of a flight), once it exists. - any of the following: `string`, `null` - `reservationState` (`backoffice.orders.list.response.200.items.reservationState`; string, required) — Where the reservation at the provider stands. - one of `"NOT_STARTED"`, `"HOLDING"`, `"HELD"`, `"CONFIRMED"`, `"CANCELLATION_PROCESSING"`, `"CANCELLED"`, `"EXPIRED"`, `"UNKNOWN"` - `status` (`backoffice.orders.list.response.200.items.status`; string, required) — The order's overall status. - one of `"DRAFT"`, `"AWAITING_PAYMENT"`, `"HOLDING"`, `"HELD"`, `"PAYMENT_PROCESSING"`, `"TICKETING"`, `"BOOKED"`, `"CANCELLATION_PROCESSING"`, `"CANCELLED"`, `"EXPIRED"`, `"NEEDS_ATTENTION"`, `"FAILED"` - `supplierConfirmation` (`backoffice.orders.list.response.200.items.supplierConfirmation`; any of, required) — The supplier's own confirmation, as recorded from the provider; null when none was recorded. - any of the following: `string`, `null` - `totalMinor` (`backoffice.orders.list.response.200.items.totalMinor`; any of, required) — The order's total, in minor units; null when the order carries no amount. - any of the following: `integer`, `null` - `travelDates` (`backoffice.orders.list.response.200.items.travelDates`; object, required) — The first and last travel moment: the recorded service's dates, else the hotel's check-in and check-out, else the first departure and last arrival of a flight. A day (YYYY-MM-DD) or an ISO 8601 date-time; null when unknown. - `end` (`backoffice.orders.list.response.200.items.travelDates.end`; any of, required) - any of the following: `string`, `null` - `start` (`backoffice.orders.list.response.200.items.travelDates.start`; any of, required) - any of the following: `string`, `null` - `travelerCount` (`backoffice.orders.list.response.200.items.travelerCount`; integer, required) — How many participants of the order travel (role TRAVELER). - maximum: `9007199254740991` · minimum: `0` - `travelerNames` (`backoffice.orders.list.response.200.items.travelerNames`; array of string, required) — The names of the order's travelers (role TRAVELER), in the order's slot order. A traveler without a name is left out. - minLength: `1` - `travelersTripId` (`backoffice.orders.list.response.200.items.travelersTripId`; any of, required) — The trip the order belongs to, if any. - any of the following: `string`, `null` - `updatedAt` (`backoffice.orders.list.response.200.items.updatedAt`; string, required) — When the order last changed. - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` - `hotel` (`backoffice.orders.list.response.200.items.hotel`; object, optional) — The property facts sold with the order. Present on lodging (HOTEL) orders only. - `address` (`backoffice.orders.list.response.200.items.hotel.address`; any of, required) — The property's address, as sold. - any of the following: `string`, `null` - `chainName` (`backoffice.orders.list.response.200.items.hotel.chainName`; any of, required) — The hotel chain, when the property belongs to one. - any of the following: `string`, `null` - `checkIn` (`backoffice.orders.list.response.200.items.hotel.checkIn`; any of, required) — The check-in day. - any of the following: `string`, `null` - `checkOut` (`backoffice.orders.list.response.200.items.hotel.checkOut`; any of, required) — The check-out day. - any of the following: `string`, `null` - `city` (`backoffice.orders.list.response.200.items.hotel.city`; any of, required) — The property's city. - any of the following: `string`, `null` - `countryCode` (`backoffice.orders.list.response.200.items.hotel.countryCode`; any of, required) — The property's country, ISO 3166-1 alpha-2. - any of the following: `CountryCode`, `null` - `imageUrl` (`backoffice.orders.list.response.200.items.hotel.imageUrl`; any of, required) — The property's first photo. - any of the following: `string`, `null` - `starRating` (`backoffice.orders.list.response.200.items.hotel.starRating`; any of, required) — The property's star rating, 0 to 5. - any of the following: `number`, `null` - `providerKey` (`backoffice.orders.list.response.200.items.providerKey`; string, optional) — The provider the order was booked with. Nicer staff only: left out for an agency admin. - `nextToken` (`backoffice.orders.list.response.200.nextToken`; any of, required) — Send it back as nextToken to read the next page; null on the last page. - any of the following: `string`, `null` - `currencies` (`backoffice.orders.list.response.200.currencies`; array of string, required) — Every currency the agency's orders use (every agency's for the whole platform), whatever the other filters: the choices of the currency filter. - pattern: `^[A-Z]{3}$` - `exchangeRates` (`backoffice.orders.list.response.200.exchangeRates`; any of, required) — The latest stored reference exchange rates, to show amounts in another currency; null when they cannot be read. Never the rate a payment used. - any of the following: - `ExchangeRateSnapshot` - `source` (`ExchangeRateSnapshot.source`; string, required) - `updatedAt` (`ExchangeRateSnapshot.updatedAt`; string, required) - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` - `rates` (`ExchangeRateSnapshot.rates`; map of number, required) - `null` - `total` (`backoffice.orders.list.response.200.total`; integer, required) — How many orders match the filters, across every page: the same from one page to the next. - maximum: `9007199254740991` · minimum: `0` ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.orders.list.response.400.errorCode`; string, required) - `errorMessage` (`backoffice.orders.list.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.orders.list.response.401.errorCode`; string, required) - `errorMessage` (`backoffice.orders.list.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.orders.list.response.403.errorCode`; string, required) - `errorMessage` (`backoffice.orders.list.response.403.errorMessage`; string, required) # Get an order in the back office Source: https://docs.nicer.travel/api/backoffice/backoffice.orders.get/ · Markdown: https://docs.nicer.travel/api/backoffice/backoffice.orders.get/index.md Path: Nicer API › backoffice `GET /backoffice/orders/{orderId}` URL: `https://api.nicer.travel/backoffice/orders/{orderId}` Returns everything Commerce knows about one order: its row (as the order list has it), the people on it (name, email, nationality and role; never documents or birth dates), its flight legs as the provider holds them now, its issued documents, the service as the provider recorded it, the latest successful read of the reservation, its timeline (newest first, at most 500 entries) and the reference exchange rates. The agency is named by the x-nicer-company header and nothing else: Nicer staff who name none reach any order; with an agency named, staff and its admins reach that agency's orders only. An agency admin may name only an agency they administer, and may leave the header out when they administer one. For an agency admin the server leaves out providerKey and the timeline entries of kind PAYMENT_EVENT and PROVIDER. Errors: 404 ERROR_ITEM_NOT_FOUND for an order that does not exist or belongs to another agency; 400 ERROR_COMPANY_REQUIRED for an admin of several agencies who names none; 403 ERROR_DO_NOT_HAVE_PERMISSION for a caller who is neither Nicer staff nor an admin of the agency named. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Path parameters - `orderId` (`backoffice.orders.get.path.orderId`; string, required) ## Header parameters - `x-nicer-company` (`backoffice.orders.get.header.x-nicer-company`; string, optional) — Company context for an agency admin who belongs to several companies. Optional when the caller belongs to one. ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.backoffice.orders.get({ "orderId": "string" }); ``` ### Nicer CLI ```bash nicer backoffice orders get --order-id 'string' ``` ### cURL ```bash curl --request GET \ --url 'https://api.nicer.travel/backoffice/orders/' \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/backoffice/orders/'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/backoffice/orders/" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "documents": [ { "documentReference": "string", "externalReference": "string", "issuedAt": "2019-08-24T14:15:22Z", "kind": "TICKET", "participantId": "string", "status": "ISSUED" } ], "exchangeRates": { "source": "CurrencyBeacon", "updatedAt": "2019-08-24T14:15:22Z", "rates": { "property1": 0, "property2": 0 } }, "legs": [ { "aircraftCode": "string", "arrivalAt": "2019-08-24T14:15:22Z", "arrivalTerminal": "string", "companyName": "string", "currentVersion": 9007199254740991, "departureAt": "2019-08-24T14:15:22Z", "departureTerminal": "string", "destinationAirport": "string", "legId": "string", "marketingCarrierCode": "string", "marketingFlightNumber": "string", "operatingCarrierCode": "string", "operatingFlightNumber": "string", "orderId": "string", "originAirport": "string", "sequence": 9007199254740991, "status": "string", "bookingClass": "string", "cabin": "string" } ], "order": { "advisorUserId": "string", "bookingOrigin": "NICER", "committedAt": "2019-08-24T14:15:22Z", "companyName": "string", "createdAt": "2019-08-24T14:15:22Z", "createdByUserId": "string", "currency": "string", "dueAtPropertyMinor": -9007199254740991, "dueLaterMinor": -9007199254740991, "dueNowMinor": -9007199254740991, "entryMethod": "CHECKOUT", "expiresAt": "2019-08-24T14:15:22Z", "fulfillmentState": "NOT_STARTED", "hotel": { "address": "string", "chainName": "string", "checkIn": "2026-12-12", "checkOut": "2026-12-15", "city": "string", "countryCode": "string", "imageUrl": "http://example.com", "starRating": 5 }, "hotelReference": "htl_s_8k2f9", "itineraryItemId": "string", "orderId": "string", "payerEmail": "string", "payerUserId": "string", "paymentState": "NOT_STARTED", "productName": "BOG → MDE · MDE → BOG", "productType": "PLANNING_FEE", "providerKey": "string", "providerLocator": "string", "reservationState": "NOT_STARTED", "status": "DRAFT", "supplierConfirmation": "string", "totalMinor": -9007199254740991, "travelDates": { "end": "2026-12-15", "start": "2026-12-12" }, "travelerCount": 9007199254740991, "travelerNames": [ "string" ], "travelersTripId": "string", "updatedAt": "2019-08-24T14:15:22Z" }, "participants": [ { "displayName": "string", "email": "string", "nationalityCountryCode": "string", "participantId": "string", "role": "DRIVER", "sequence": 9007199254740991, "userId": "string" } ], "providerObservation": { "observedAt": "2019-08-24T14:15:22Z", "recordedAt": "2019-08-24T14:15:22Z", "normalizationVersion": 9007199254740991, "evidence": { "version": 1, "ticketed": true, "cancelable": true, "sourceDigest": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "retrievedAt": "2019-08-24T14:15:22Z", "retentionEndsOn": "2019-08-24", "creator": { "supplierCode": "string", "officeId": "string", "homeOfficeId": "string", "userCode": "string", "agencyIataNumber": "string" }, "updater": { "supplierCode": "string", "officeId": "string", "homeOfficeId": "string", "userCode": "string", "agencyIataNumber": "string" }, "updateCount": 9007199254740991, "contacts": [], "profiles": [], "travelers": [], "fares": [], "fareRules": [], "documents": [], "ancillaries": [], "seats": [], "meals": [], "segments": [], "journeys": [], "baggage": [], "specialRequests": [], "guarantees": [], "history": [], "totals": [] } }, "recordedProduct": { "detail": { "car": { "distanceAllowance": "string", "dropOff": { "address": { "city": "string", "cityCode": "string", "countryCode": "string", "name": "string", "postalCode": "string", "stateProvince": "string", "street": "string", "lines": [ "string" ] }, "at": "string", "locationCode": "string", "phones": [ "string" ], "faxes": [ "string" ], "emergencyPhones": [ "string" ] }, "guaranteeType": "string", "pickUp": { "address": { "city": "string", "cityCode": "string", "countryCode": "string", "name": "string", "postalCode": "string", "stateProvince": "string", "street": "string", "lines": [ "string" ] }, "at": "string", "locationCode": "string", "phones": [ "string" ], "faxes": [ "string" ], "emergencyPhones": [ "string" ] }, "rateCode": "string", "supplierCode": "string", "rentalDays": 0, "refundable": true, "vehicleCategory": "string", "vehicleModel": "string", "vehicleType": "string", "vehicleTypeCode": "string", "vehicles": 9007199254740991 }, "commission": { "amount": { "currency": "string", "totalMinor": 9007199254740991 }, "unconvertedAmount": "string", "percentage": "string", "text": "string" }, "fare": { "calculationLine": "string", "changeable": true, "fareBasis": "string", "negotiated": true, "refundable": true, "taxes": [ { "amount": { "currency": "string", "totalMinor": 9007199254740991 }, "code": "string" } ], "tickets": [ { "issuedOn": "string", "number": "string", "status": "string", "issuingOfficeId": "string" } ], "tourCode": "string" }, "hotel": { "address": { "city": "string", "cityCode": "string", "countryCode": "string", "name": "string", "postalCode": "string", "stateProvince": "string", "street": "string", "lines": [ "string" ] }, "cancellationPolicy": "string", "chainCode": "string", "chainName": "string", "checkInTime": "string", "checkOutTime": "string", "faxes": [ "string" ], "guaranteeType": "string", "guaranteeTypeCode": "string", "guests": 9007199254740991, "nightlyRate": { "currency": "string", "totalMinor": 9007199254740991 }, "nights": [ { "amount": { "currency": "string", "totalMinor": 9007199254740991 }, "nights": 9007199254740991, "percentage": "string", "from": "string", "to": "string" } ], "paymentPolicy": "string", "phones": [ "string" ], "emergencyPhones": [ "string" ], "productCode": "string", "corporateRateCode": "string", "propertyId": "string", "rateCode": "string", "rateDescription": [ "string" ], "refundPenalties": [ { "amount": { "currency": "string", "totalMinor": 9007199254740991 }, "nights": 9007199254740991, "percentage": "string", "from": "string", "to": "string" } ], "refundable": true, "roomDescription": "string", "roomType": "string", "roomTypeCode": "string", "clientRateCode": "string", "rooms": 9007199254740991, "providerPropertyId": "string", "specialInstructions": "string", "sourceTypeCode": "string", "sourceTypeName": "string" }, "money": { "currency": "string", "feesMinor": 9007199254740991, "subtotalMinor": 9007199254740991, "taxesMinor": 9007199254740991, "totalMinor": 9007199254740991 }, "references": { "agencyIataNumber": "string", "agencyProfileId": "string", "corporateProfileId": "string", "providerSegmentIds": [ "string" ] } }, "kind": "CAR_RENTAL", "name": "string", "start": "2019-08-24", "end": "2019-08-24", "supplierConfirmation": "string", "supplierName": "string" }, "timeline": [ { "amountMinor": -9007199254740991, "occurredAt": "2019-08-24T14:15:22Z", "companyName": "string", "currency": "string", "detail": "string", "kind": "ACTION", "orderId": "string", "title": "NICER_CHARGE SUCCEEDED" } ] } ``` - `documents` (`backoffice.orders.get.response.200.documents`; array of object, required) — The order's issued documents, oldest first. - `documentReference` (`backoffice.orders.get.response.200.documents.documentReference`; any of, required) — Where the issued document itself is kept (a policy's PDF), when the provider handed one back. - any of the following: `string`, `null` - `externalReference` (`backoffice.orders.get.response.200.documents.externalReference`; string, required) — The document's number: the ticket number, the hotel confirmation, the policy number or the voucher reference. - minLength: `1` - `issuedAt` (`backoffice.orders.get.response.200.documents.issuedAt`; any of, required) — When the document was issued; null until then. - any of the following: `string`, `null` - `kind` (`backoffice.orders.get.response.200.documents.kind`; string, required) — What the document is. - one of `"TICKET"`, `"HOTEL_CONFIRMATION"`, `"POLICY"`, `"VOUCHER"` - `participantId` (`backoffice.orders.get.response.200.documents.participantId`; any of, required) — The participant the document belongs to, for a ticket. - any of the following: `string`, `null` - `status` (`backoffice.orders.get.response.200.documents.status`; string, required) — Where an issued document stands: ISSUED, PARTIALLY_VOIDED, VOIDED or REFUNDED. - one of `"ISSUED"`, `"PARTIALLY_VOIDED"`, `"VOIDED"`, `"REFUNDED"` - `exchangeRates` (`backoffice.orders.get.response.200.exchangeRates`; any of, required) — The latest stored reference exchange rates, to show amounts in another currency; null when they cannot be read. Never the rate a payment used. - any of the following: - `ExchangeRateSnapshot` - `source` (`ExchangeRateSnapshot.source`; string, required) - `updatedAt` (`ExchangeRateSnapshot.updatedAt`; string, required) - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` - `rates` (`ExchangeRateSnapshot.rates`; map of number, required) - `null` - `legs` (`backoffice.orders.get.response.200.legs`; array of object, required) — The flight legs as the provider holds them now, in order; empty for other products. - `aircraftCode` (`backoffice.orders.get.response.200.legs.aircraftCode`; any of, required) - any of the following: `string`, `null` - `arrivalAt` (`backoffice.orders.get.response.200.legs.arrivalAt`; string, required) - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` - `arrivalTerminal` (`backoffice.orders.get.response.200.legs.arrivalTerminal`; any of, required) - any of the following: `string`, `null` - `companyName` (`backoffice.orders.get.response.200.legs.companyName`; string, required) - minLength: `1` - `currentVersion` (`backoffice.orders.get.response.200.legs.currentVersion`; integer, required) - maximum: `9007199254740991` - `departureAt` (`backoffice.orders.get.response.200.legs.departureAt`; string, required) - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` - `departureTerminal` (`backoffice.orders.get.response.200.legs.departureTerminal`; any of, required) - any of the following: `string`, `null` - `destinationAirport` (`backoffice.orders.get.response.200.legs.destinationAirport`; string, required) - pattern: `^[A-Z]{3}$` - `legId` (`backoffice.orders.get.response.200.legs.legId`; string, required) - minLength: `1` - `marketingCarrierCode` (`backoffice.orders.get.response.200.legs.marketingCarrierCode`; string, required) - pattern: `^[A-Z0-9]{2,3}$` - `marketingFlightNumber` (`backoffice.orders.get.response.200.legs.marketingFlightNumber`; string, required) - minLength: `1` - `operatingCarrierCode` (`backoffice.orders.get.response.200.legs.operatingCarrierCode`; any of, required) - any of the following: `CarrierCode`, `null` - `operatingFlightNumber` (`backoffice.orders.get.response.200.legs.operatingFlightNumber`; any of, required) - any of the following: `string`, `null` - `orderId` (`backoffice.orders.get.response.200.legs.orderId`; string, required) - minLength: `1` - `originAirport` (`backoffice.orders.get.response.200.legs.originAirport`; string, required) - pattern: `^[A-Z]{3}$` - `sequence` (`backoffice.orders.get.response.200.legs.sequence`; integer, required) - maximum: `9007199254740991` · minimum: `0` - `status` (`backoffice.orders.get.response.200.legs.status`; string, required) - minLength: `1` - `bookingClass` (`backoffice.orders.get.response.200.legs.bookingClass`; any of, required) — The leg's booking class, when the provider reported it. - any of the following: `string`, `null` - `cabin` (`backoffice.orders.get.response.200.legs.cabin`; any of, required) — The leg's cabin, when the provider reported it. - any of the following: `string`, `null` - `order` (`backoffice.orders.get.response.200.order`; object, required) — An order as the back office lists it: what it sells, to whom, for how much, and where its reservation, payment and documents stand. - `advisorUserId` (`backoffice.orders.get.response.200.order.advisorUserId`; any of, required) — The advisor credited with the order: the one assigned to it, else the one who booked it or whose provider profile it came in on; null when no advisor is credited. - any of the following: `string`, `null` - `bookingOrigin` (`backoffice.orders.get.response.200.order.bookingOrigin`; string, required) — NICER when the booking was made through Nicer, EXTERNAL when it was made elsewhere and recorded, UNKNOWN when the provider did not say. - one of `"NICER"`, `"EXTERNAL"`, `"UNKNOWN"` - `committedAt` (`backoffice.orders.get.response.200.order.committedAt`; any of, required) — When the order left DRAFT and became a booking; null before. - any of the following: `string`, `null` - `companyName` (`backoffice.orders.get.response.200.order.companyName`; string, required) — The agency the order belongs to. - minLength: `1` - `createdAt` (`backoffice.orders.get.response.200.order.createdAt`; string, required) — When the order was created. - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` - `createdByUserId` (`backoffice.orders.get.response.200.order.createdByUserId`; any of, required) — The user id of who created the order, when one did. - any of the following: `string`, `null` - `currency` (`backoffice.orders.get.response.200.order.currency`; any of, required) — The currency of every amount on the row; null when the order carries no amount. - any of the following: `CurrencyCode`, `null` - `dueAtPropertyMinor` (`backoffice.orders.get.response.200.order.dueAtPropertyMinor`; any of, required) — The part of the total paid at the property, in minor units; null for an order recorded from a provider. - any of the following: `integer`, `null` - `dueLaterMinor` (`backoffice.orders.get.response.200.order.dueLaterMinor`; any of, required) — The part of the total charged later, in minor units; null for an order recorded from a provider. - any of the following: `integer`, `null` - `dueNowMinor` (`backoffice.orders.get.response.200.order.dueNowMinor`; any of, required) — The part of the total charged at checkout, in minor units; null for an order recorded from a provider. - any of the following: `integer`, `null` - `entryMethod` (`backoffice.orders.get.response.200.order.entryMethod`; string, required) — CHECKOUT when Nicer sold the order, and every amount is present; IMPORT or MANUAL when it was recorded from a provider. - one of `"CHECKOUT"`, `"IMPORT"`, `"MANUAL"` - `expiresAt` (`backoffice.orders.get.response.200.order.expiresAt`; any of, required) — When an unpaid checkout lapses; null for an order recorded from a provider. - any of the following: `string`, `null` - `fulfillmentState` (`backoffice.orders.get.response.200.order.fulfillmentState`; string, required) — Where the order's documents (tickets, confirmations, policies, vouchers) stand. - one of `"NOT_STARTED"`, `"PENDING_ISSUANCE"`, `"PARTIALLY_ISSUED"`, `"ISSUED"`, `"FAILED"`, `"UNKNOWN"` - `hotelReference` (`backoffice.orders.get.response.200.order.hotelReference`; any of, required) — Nicer's reference for the property of a lodging order; null for other products. - any of the following: `string`, `null` - `itineraryItemId` (`backoffice.orders.get.response.200.order.itineraryItemId`; any of, required) — The itinerary item the order was booked from, if any. - any of the following: `string`, `null` - `orderId` (`backoffice.orders.get.response.200.order.orderId`; string, required) — The order's id. - minLength: `1` - `payerEmail` (`backoffice.orders.get.response.200.order.payerEmail`; any of, required) — The payer's email, lower-cased, when the order has one. - any of the following: `string`, `null` - `payerUserId` (`backoffice.orders.get.response.200.order.payerUserId`; any of, required) — The payer's user id, when the payer has an account. - any of the following: `string`, `null` - `paymentState` (`backoffice.orders.get.response.200.order.paymentState`; string, required) — Where the traveler's payment stands. - one of `"NOT_STARTED"`, `"AWAITING_METHOD"`, `"REQUIRES_ACTION"`, `"PROCESSING"`, `"AUTHORIZED"`, `"SUCCEEDED"`, `"DECLINED"`, `"CANCELLED"`, `"PARTIALLY_REFUNDED"`, `"REFUNDED"`, `"UNKNOWN"` - `productName` (`backoffice.orders.get.response.200.order.productName`; any of, required) — The order's label: the route for a flight (origin → destination, each pair once, joined by ' · '), else the product or property name as recorded or sold. - any of the following: `string`, `null` - `productType` (`backoffice.orders.get.response.200.order.productType`; string, required) — What the order sells. - one of `"PLANNING_FEE"`, `"EXTRA_PAYMENT"`, `"HOTEL"`, `"FLIGHT"`, `"INSURANCE"`, `"CAR_RENTAL"` - `providerLocator` (`backoffice.orders.get.response.200.order.providerLocator`; any of, required) — The booking's locator at the provider (the Booking ID of a flight), once it exists. - any of the following: `string`, `null` - `reservationState` (`backoffice.orders.get.response.200.order.reservationState`; string, required) — Where the reservation at the provider stands. - one of `"NOT_STARTED"`, `"HOLDING"`, `"HELD"`, `"CONFIRMED"`, `"CANCELLATION_PROCESSING"`, `"CANCELLED"`, `"EXPIRED"`, `"UNKNOWN"` - `status` (`backoffice.orders.get.response.200.order.status`; string, required) — The order's overall status. - one of `"DRAFT"`, `"AWAITING_PAYMENT"`, `"HOLDING"`, `"HELD"`, `"PAYMENT_PROCESSING"`, `"TICKETING"`, `"BOOKED"`, `"CANCELLATION_PROCESSING"`, `"CANCELLED"`, `"EXPIRED"`, `"NEEDS_ATTENTION"`, `"FAILED"` - `supplierConfirmation` (`backoffice.orders.get.response.200.order.supplierConfirmation`; any of, required) — The supplier's own confirmation, as recorded from the provider; null when none was recorded. - any of the following: `string`, `null` - `totalMinor` (`backoffice.orders.get.response.200.order.totalMinor`; any of, required) — The order's total, in minor units; null when the order carries no amount. - any of the following: `integer`, `null` - `travelDates` (`backoffice.orders.get.response.200.order.travelDates`; object, required) — The first and last travel moment: the recorded service's dates, else the hotel's check-in and check-out, else the first departure and last arrival of a flight. A day (YYYY-MM-DD) or an ISO 8601 date-time; null when unknown. - `end` (`backoffice.orders.get.response.200.order.travelDates.end`; any of, required) - any of the following: `string`, `null` - `start` (`backoffice.orders.get.response.200.order.travelDates.start`; any of, required) - any of the following: `string`, `null` - `travelerCount` (`backoffice.orders.get.response.200.order.travelerCount`; integer, required) — How many participants of the order travel (role TRAVELER). - maximum: `9007199254740991` · minimum: `0` - `travelerNames` (`backoffice.orders.get.response.200.order.travelerNames`; array of string, required) — The names of the order's travelers (role TRAVELER), in the order's slot order. A traveler without a name is left out. - minLength: `1` - `travelersTripId` (`backoffice.orders.get.response.200.order.travelersTripId`; any of, required) — The trip the order belongs to, if any. - any of the following: `string`, `null` - `updatedAt` (`backoffice.orders.get.response.200.order.updatedAt`; string, required) — When the order last changed. - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` - `hotel` (`backoffice.orders.get.response.200.order.hotel`; object, optional) — The property facts sold with the order. Present on lodging (HOTEL) orders only. - `address` (`backoffice.orders.get.response.200.order.hotel.address`; any of, required) — The property's address, as sold. - any of the following: `string`, `null` - `chainName` (`backoffice.orders.get.response.200.order.hotel.chainName`; any of, required) — The hotel chain, when the property belongs to one. - any of the following: `string`, `null` - `checkIn` (`backoffice.orders.get.response.200.order.hotel.checkIn`; any of, required) — The check-in day. - any of the following: `string`, `null` - `checkOut` (`backoffice.orders.get.response.200.order.hotel.checkOut`; any of, required) — The check-out day. - any of the following: `string`, `null` - `city` (`backoffice.orders.get.response.200.order.hotel.city`; any of, required) — The property's city. - any of the following: `string`, `null` - `countryCode` (`backoffice.orders.get.response.200.order.hotel.countryCode`; any of, required) — The property's country, ISO 3166-1 alpha-2. - any of the following: `CountryCode`, `null` - `imageUrl` (`backoffice.orders.get.response.200.order.hotel.imageUrl`; any of, required) — The property's first photo. - any of the following: `string`, `null` - `starRating` (`backoffice.orders.get.response.200.order.hotel.starRating`; any of, required) — The property's star rating, 0 to 5. - any of the following: `number`, `null` - `providerKey` (`backoffice.orders.get.response.200.order.providerKey`; string, optional) — The provider the order was booked with. Nicer staff only: left out for an agency admin. - `participants` (`backoffice.orders.get.response.200.participants`; array of object, required) — The people on the order, in slot order. - `displayName` (`backoffice.orders.get.response.200.participants.displayName`; any of, required) — The person's name as the order shows it. - any of the following: `string`, `null` - `email` (`backoffice.orders.get.response.200.participants.email`; any of, required) — The person's email, lower-cased, when the order has one. - any of the following: `string`, `null` - `nationalityCountryCode` (`backoffice.orders.get.response.200.participants.nationalityCountryCode`; any of, required) — The person's nationality, ISO 3166-1 alpha-2, when it was collected. - any of the following: `CountryCode`, `null` - `participantId` (`backoffice.orders.get.response.200.participants.participantId`; string, required) — The participant's id on the order; a document's participantId points at it. - minLength: `1` - `role` (`backoffice.orders.get.response.200.participants.role`; string, required) — How the person takes part. - one of `"DRIVER"`, `"GUEST"`, `"INSURED"`, `"PAYER"`, `"TRAVELER"` - `sequence` (`backoffice.orders.get.response.200.participants.sequence`; integer, required) — The participant's slot on the order, from 0. - maximum: `9007199254740991` · minimum: `0` - `userId` (`backoffice.orders.get.response.200.participants.userId`; any of, required) — The person's user id, when they have an account. - any of the following: `string`, `null` - `providerObservation` (`backoffice.orders.get.response.200.providerObservation`; any of, required) — The latest successful read of the reservation at the provider, projected to this order's service; null when the order has none. - any of the following: - `object` - `observedAt` (`backoffice.orders.get.response.200.providerObservation.1.observedAt`; string, required) - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` - `recordedAt` (`backoffice.orders.get.response.200.providerObservation.1.recordedAt`; string, required) - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` - `normalizationVersion` (`backoffice.orders.get.response.200.providerObservation.1.normalizationVersion`; integer, required) - maximum: `9007199254740991` - `evidence` (`backoffice.orders.get.response.200.providerObservation.1.evidence`; object, required) - `version` (`backoffice.orders.get.response.200.providerObservation.1.evidence.version`; number, required) - `contacts` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts`; array of object, required) - default: `[]` - `reference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.reference`; string, required) - maxLength: `255` · minLength: `1` - `scope` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.scope`; object, required) - `travelerReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.scope.travelerReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `segmentReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.scope.segmentReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `serviceReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.scope.serviceReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `unresolvedTravelerIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.scope.unresolvedTravelerIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `unresolvedSegmentIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.scope.unresolvedSegmentIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `givenName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.givenName`; string, optional) - maxLength: `255` · minLength: `1` - `middleName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.middleName`; string, optional) - maxLength: `255` · minLength: `1` - `surname` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.surname`; string, optional) - maxLength: `255` · minLength: `1` - `displayName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.displayName`; string, optional) - maxLength: `255` · minLength: `1` - `address` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.address`; object, optional) - `city` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.address.city`; string, optional) - maxLength: `255` · minLength: `1` - `cityCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.address.cityCode`; string, optional) - maxLength: `255` · minLength: `1` - `countryCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.address.countryCode`; string, optional) - maxLength: `255` · minLength: `1` - `name` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.address.name`; string, optional) - maxLength: `255` · minLength: `1` - `postalCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.address.postalCode`; string, optional) - maxLength: `255` · minLength: `1` - `stateProvince` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.address.stateProvince`; string, optional) - maxLength: `255` · minLength: `1` - `street` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.address.street`; string, optional) - maxLength: `255` · minLength: `1` - `lines` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.address.lines`; array of string, optional) - maxLength: `255` · minLength: `1` - `emails` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.emails`; array of string, optional) - maxLength: `320` · minLength: `1` - `phones` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.phones`; array of object, optional) - `number` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.phones.number`; string, required) - maxLength: `255` · minLength: `1` - `label` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.phones.label`; string, optional) - maxLength: `255` · minLength: `1` - `faxes` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.faxes`; array of string, optional) - maxLength: `255` · minLength: `1` - `emergencyPhones` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.emergencyPhones`; array of object, optional) - `number` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.emergencyPhones.number`; string, required) - maxLength: `255` · minLength: `1` - `label` (`backoffice.orders.get.response.200.providerObservation.1.evidence.contacts.emergencyPhones.label`; string, optional) - maxLength: `255` · minLength: `1` - `profiles` (`backoffice.orders.get.response.200.providerObservation.1.evidence.profiles`; array of object, required) - default: `[]` - `reference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.profiles.reference`; string, required) - maxLength: `255` · minLength: `1` - `scope` (`backoffice.orders.get.response.200.providerObservation.1.evidence.profiles.scope`; object, required) - `travelerReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.profiles.scope.travelerReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `segmentReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.profiles.scope.segmentReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `serviceReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.profiles.scope.serviceReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `unresolvedTravelerIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.profiles.scope.unresolvedTravelerIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `unresolvedSegmentIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.profiles.scope.unresolvedSegmentIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `type` (`backoffice.orders.get.response.200.providerObservation.1.evidence.profiles.type`; string, optional) - maxLength: `255` · minLength: `1` - `travelers` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers`; array of object, required) - default: `[]` - `reference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.reference`; string, required) - maxLength: `255` · minLength: `1` - `givenName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.givenName`; string, optional) - maxLength: `255` · minLength: `1` - `middleName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.middleName`; string, optional) - maxLength: `255` · minLength: `1` - `surname` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.surname`; string, optional) - maxLength: `255` · minLength: `1` - `displayName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.displayName`; string, optional) - maxLength: `255` · minLength: `1` - `address` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.address`; object, optional) - `city` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.address.city`; string, optional) - maxLength: `255` · minLength: `1` - `cityCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.address.cityCode`; string, optional) - maxLength: `255` · minLength: `1` - `countryCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.address.countryCode`; string, optional) - maxLength: `255` · minLength: `1` - `name` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.address.name`; string, optional) - maxLength: `255` · minLength: `1` - `postalCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.address.postalCode`; string, optional) - maxLength: `255` · minLength: `1` - `stateProvince` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.address.stateProvince`; string, optional) - maxLength: `255` · minLength: `1` - `street` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.address.street`; string, optional) - maxLength: `255` · minLength: `1` - `lines` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.address.lines`; array of string, optional) - maxLength: `255` · minLength: `1` - `emails` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.emails`; array of string, optional) - maxLength: `320` · minLength: `1` - `phones` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.phones`; array of object, optional) - `number` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.phones.number`; string, required) - maxLength: `255` · minLength: `1` - `label` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.phones.label`; string, optional) - maxLength: `255` · minLength: `1` - `faxes` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.faxes`; array of string, optional) - maxLength: `255` · minLength: `1` - `emergencyPhones` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.emergencyPhones`; array of object, optional) - `number` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.emergencyPhones.number`; string, required) - maxLength: `255` · minLength: `1` - `label` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.emergencyPhones.label`; string, optional) - maxLength: `255` · minLength: `1` - `sourceReference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.sourceReference`; string, optional) - maxLength: `255` · minLength: `1` - `nameReference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.nameReference`; string, optional) - maxLength: `255` · minLength: `1` - `passengerType` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.passengerType`; string, optional) - maxLength: `255` · minLength: `1` - `birthDate` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.birthDate`; string, optional) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `gender` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.gender`; string, optional) - maxLength: `255` · minLength: `1` - `guaranteeReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.guaranteeReferences`; array of string, optional) - maxLength: `255` · minLength: `1` - `unresolvedPaymentMethodIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.unresolvedPaymentMethodIndices`; array of integer, optional) - maximum: `9007199254740991` · minimum: `0` - `loyaltyPrograms` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.loyaltyPrograms`; array of object, optional) - `number` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.loyaltyPrograms.number`; string, required) - maxLength: `255` · minLength: `1` - `receiverCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.loyaltyPrograms.receiverCode`; string, optional) - maxLength: `255` · minLength: `1` - `supplierCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.loyaltyPrograms.supplierCode`; string, optional) - maxLength: `255` · minLength: `1` - `tier` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.loyaltyPrograms.tier`; string, optional) - maxLength: `255` · minLength: `1` - `type` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.loyaltyPrograms.type`; string, optional) - maxLength: `255` · minLength: `1` - `identityDocuments` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments`; array of object, optional) - `reference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.reference`; string, optional) - maxLength: `255` · minLength: `1` - `type` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.type`; string, optional) - maxLength: `255` · minLength: `1` - `number` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.number`; string, optional) - maxLength: `255` · minLength: `1` - `issuedOn` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.issuedOn`; string, optional) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `expiresOn` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.expiresOn`; string, optional) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `issuingCountryCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.issuingCountryCode`; string, optional) - maxLength: `255` · minLength: `1` - `citizenshipCountryCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.citizenshipCountryCode`; string, optional) - maxLength: `255` · minLength: `1` - `residenceCountryCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.residenceCountryCode`; string, optional) - maxLength: `255` · minLength: `1` - `hostCountryCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.hostCountryCode`; string, optional) - maxLength: `255` · minLength: `1` - `placeOfIssue` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.placeOfIssue`; string, optional) - maxLength: `255` · minLength: `1` - `visaType` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.visaType`; string, optional) - maxLength: `255` · minLength: `1` - `passportType` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.passportType`; string, optional) - maxLength: `255` · minLength: `1` - `primaryHolder` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.primaryHolder`; boolean, optional) - `givenName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.givenName`; string, optional) - maxLength: `255` · minLength: `1` - `middleName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.middleName`; string, optional) - maxLength: `255` · minLength: `1` - `surname` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.surname`; string, optional) - maxLength: `255` · minLength: `1` - `birthDate` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.birthDate`; string, optional) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `gender` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.gender`; string, optional) - maxLength: `255` · minLength: `1` - `destinationAddress` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.destinationAddress`; object, optional) - `city` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.destinationAddress.city`; string, optional) - maxLength: `255` · minLength: `1` - `cityCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.destinationAddress.cityCode`; string, optional) - maxLength: `255` · minLength: `1` - `countryCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.destinationAddress.countryCode`; string, optional) - maxLength: `255` · minLength: `1` - `name` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.destinationAddress.name`; string, optional) - maxLength: `255` · minLength: `1` - `postalCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.destinationAddress.postalCode`; string, optional) - maxLength: `255` · minLength: `1` - `stateProvince` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.destinationAddress.stateProvince`; string, optional) - maxLength: `255` · minLength: `1` - `street` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.destinationAddress.street`; string, optional) - maxLength: `255` · minLength: `1` - `lines` (`backoffice.orders.get.response.200.providerObservation.1.evidence.travelers.identityDocuments.destinationAddress.lines`; array of string, optional) - maxLength: `255` · minLength: `1` - `fares` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares`; array of object, required) - default: `[]` - `reference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.reference`; string, required) - maxLength: `255` · minLength: `1` - `scope` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.scope`; object, required) - `travelerReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.scope.travelerReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `segmentReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.scope.segmentReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `serviceReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.scope.serviceReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `unresolvedTravelerIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.scope.unresolvedTravelerIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `unresolvedSegmentIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.scope.unresolvedSegmentIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `status` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.status`; object, optional) - `state` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.status.state`; string, required) - one of `"CONFIRMED"`, `"PENDING"`, `"CANCELLED"`, `"ISSUED"`, `"VOIDED"`, `"REFUNDED"`, `"USED"`, `"EXCHANGED"`, `"OPEN"`, `"UNKNOWN"` · default: `"UNKNOWN"` - `code` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.status.code`; string, optional) - maxLength: `255` · minLength: `1` - `name` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.status.name`; string, optional) - maxLength: `255` · minLength: `1` - `supplierCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.supplierCode`; string, optional) - maxLength: `255` · minLength: `1` - `typeCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.typeCode`; string, optional) - maxLength: `255` · minLength: `1` - `typeName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.typeName`; string, optional) - maxLength: `255` · minLength: `1` - `recordTypeCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.recordTypeCode`; string, optional) - maxLength: `255` · minLength: `1` - `recordTypeName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.recordTypeName`; string, optional) - maxLength: `255` · minLength: `1` - `pricedTravelerType` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.pricedTravelerType`; string, optional) - maxLength: `255` · minLength: `1` - `requestedTravelerType` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.requestedTravelerType`; string, optional) - maxLength: `255` · minLength: `1` - `createdAt` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.createdAt`; ReservationTimestamp, optional) - any of the following: - `string` - `object` - `date` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.createdAt.2.date`; string, required) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `time` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.createdAt.2.time`; string, optional) - pattern: `^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$` - `timeZone` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.createdAt.2.timeZone`; string, optional) - maxLength: `255` · minLength: `1` - `purchaseDeadline` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.purchaseDeadline`; ReservationTimestamp, optional) - any of the following: - `string` - `object` - `date` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.purchaseDeadline.2.date`; string, required) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `time` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.purchaseDeadline.2.time`; string, optional) - pattern: `^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$` - `timeZone` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.purchaseDeadline.2.timeZone`; string, optional) - maxLength: `255` · minLength: `1` - `issuer` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.issuer`; object, optional) - `supplierCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.issuer.supplierCode`; string, optional) - maxLength: `255` · minLength: `1` - `officeId` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.issuer.officeId`; string, optional) - maxLength: `255` · minLength: `1` - `homeOfficeId` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.issuer.homeOfficeId`; string, optional) - maxLength: `255` · minLength: `1` - `userCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.issuer.userCode`; string, optional) - maxLength: `255` · minLength: `1` - `agencyIataNumber` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.issuer.agencyIataNumber`; string, optional) - maxLength: `255` · minLength: `1` - `validPricing` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.validPricing`; boolean, optional) - `negotiated` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.negotiated`; boolean, optional) - `money` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.money`; object, optional) - `currency` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.money.currency`; string, required) - pattern: `^[A-Z]{3}$` - `feesMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.money.feesMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `subtotalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.money.subtotalMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `taxesMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.money.taxesMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `totalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.money.totalMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `originalMoney` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.originalMoney`; object, optional) - `currency` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.originalMoney.currency`; string, required) - pattern: `^[A-Z]{3}$` - `feesMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.originalMoney.feesMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `subtotalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.originalMoney.subtotalMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `taxesMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.originalMoney.taxesMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `totalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.originalMoney.totalMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `taxes` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.taxes`; array of object, optional) - `code` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.taxes.code`; string, optional) - maxLength: `255` · minLength: `1` - `amount` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.taxes.amount`; object, optional) - `currency` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.taxes.amount.currency`; string, required) - pattern: `^[A-Z]{3}$` - `totalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.taxes.amount.totalMinor`; integer, required) - maximum: `9007199254740991` · minimum: `0` - `unconvertedAmount` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.taxes.unconvertedAmount`; string, optional) - maxLength: `80` · pattern: `^-?\d+(?:\.\d+)?$` - `commission` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.commission`; object, optional) - `amount` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.commission.amount`; object, optional) - `currency` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.commission.amount.currency`; string, required) - pattern: `^[A-Z]{3}$` - `totalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.commission.amount.totalMinor`; integer, required) - maximum: `9007199254740991` · minimum: `0` - `unconvertedAmount` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.commission.unconvertedAmount`; string, optional) - maxLength: `80` · pattern: `^-?\d+(?:\.\d+)?$` - `percentage` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.commission.percentage`; string, optional) - maxLength: `80` · pattern: `^-?\d+(?:\.\d+)?$` - `text` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.commission.text`; string, optional) - maxLength: `255` · minLength: `1` - `calculationLine` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.calculationLine`; string, optional) - maxLength: `2000` · minLength: `1` - `tourCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.tourCode`; string, optional) - maxLength: `255` · minLength: `1` - `components` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components`; array of object, optional) - `scope` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.scope`; object, required) - `travelerReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.scope.travelerReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `segmentReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.scope.segmentReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `serviceReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.scope.serviceReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `unresolvedTravelerIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.scope.unresolvedTravelerIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `unresolvedSegmentIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.scope.unresolvedSegmentIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `reference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.reference`; string, optional) - maxLength: `255` · minLength: `1` - `fareBasis` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.fareBasis`; string, optional) - maxLength: `255` · minLength: `1` - `accountCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.accountCode`; string, optional) - maxLength: `255` · minLength: `1` - `brandCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.brandCode`; string, optional) - maxLength: `255` · minLength: `1` - `brandName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.brandName`; string, optional) - maxLength: `255` · minLength: `1` - `programCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.programCode`; string, optional) - maxLength: `255` · minLength: `1` - `programName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.programName`; string, optional) - maxLength: `255` · minLength: `1` - `brandAttributes` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.brandAttributes`; array of string, optional) - maxLength: `2000` · minLength: `1` - `currentItinerary` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.currentItinerary`; boolean, optional) - `baseAmount` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.baseAmount`; object, optional) - `currency` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.baseAmount.currency`; string, required) - pattern: `^[A-Z]{3}$` - `totalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.baseAmount.totalMinor`; integer, required) - maximum: `9007199254740991` · minimum: `0` - `checkedBaggage` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.checkedBaggage`; object, optional) - `maximumPieces` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.checkedBaggage.maximumPieces`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `totalWeightKilograms` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.checkedBaggage.totalWeightKilograms`; number, optional) - minimum: `0` - `pieces` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.checkedBaggage.pieces`; array of object, optional) - `pieces` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.checkedBaggage.pieces.pieces`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `maximumWeightKilograms` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.checkedBaggage.pieces.maximumWeightKilograms`; number, optional) - minimum: `0` - `maximumWeightPounds` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.checkedBaggage.pieces.maximumWeightPounds`; number, optional) - minimum: `0` - `maximumSizeCentimeters` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.checkedBaggage.pieces.maximumSizeCentimeters`; number, optional) - minimum: `0` - `maximumSizeInches` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.checkedBaggage.pieces.maximumSizeInches`; number, optional) - minimum: `0` - `description` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.components.checkedBaggage.pieces.description`; string, optional) - maxLength: `2000` · minLength: `1` - `bundledServices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.bundledServices`; array of object, optional) - `code` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.bundledServices.code`; string, optional) - maxLength: `255` · minLength: `1` - `type` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.bundledServices.type`; string, optional) - maxLength: `255` · minLength: `1` - `description` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.bundledServices.description`; string, optional) - maxLength: `2000` · minLength: `1` - `quantity` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.bundledServices.quantity`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `amount` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.bundledServices.amount`; object, optional) - `currency` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.bundledServices.amount.currency`; string, required) - pattern: `^[A-Z]{3}$` - `totalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fares.bundledServices.amount.totalMinor`; integer, required) - maximum: `9007199254740991` · minimum: `0` - `fareRules` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules`; array of object, required) - default: `[]` - `reference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.reference`; string, required) - maxLength: `255` · minLength: `1` - `scope` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.scope`; object, required) - `travelerReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.scope.travelerReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `segmentReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.scope.segmentReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `serviceReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.scope.serviceReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `unresolvedTravelerIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.scope.unresolvedTravelerIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `unresolvedSegmentIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.scope.unresolvedSegmentIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `supplierCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.supplierCode`; string, optional) - maxLength: `255` · minLength: `1` - `passengerType` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.passengerType`; string, optional) - maxLength: `255` · minLength: `1` - `origin` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.origin`; string, optional) - maxLength: `255` · minLength: `1` - `destination` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.destination`; string, optional) - maxLength: `255` · minLength: `1` - `cancelable` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.cancelable`; boolean, optional) - `changeable` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.changeable`; boolean, optional) - `refundable` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.refundable`; boolean, optional) - `exchangePenalties` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.exchangePenalties`; array of object, optional) - `applicability` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.exchangePenalties.applicability`; string, optional) - maxLength: `255` · minLength: `1` - `conditionsApply` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.exchangePenalties.conditionsApply`; boolean, optional) - `hasNoShowCost` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.exchangePenalties.hasNoShowCost`; boolean, optional) - `amount` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.exchangePenalties.amount`; object, optional) - `currency` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.exchangePenalties.amount.currency`; string, required) - pattern: `^[A-Z]{3}$` - `totalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.exchangePenalties.amount.totalMinor`; integer, required) - maximum: `9007199254740991` · minimum: `0` - `noShowAmount` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.exchangePenalties.noShowAmount`; object, optional) - `currency` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.exchangePenalties.noShowAmount.currency`; string, required) - pattern: `^[A-Z]{3}$` - `totalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.exchangePenalties.noShowAmount.totalMinor`; integer, required) - maximum: `9007199254740991` · minimum: `0` - `refundPenalties` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.refundPenalties`; array of object, optional) - `applicability` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.refundPenalties.applicability`; string, optional) - maxLength: `255` · minLength: `1` - `conditionsApply` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.refundPenalties.conditionsApply`; boolean, optional) - `hasNoShowCost` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.refundPenalties.hasNoShowCost`; boolean, optional) - `amount` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.refundPenalties.amount`; object, optional) - `currency` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.refundPenalties.amount.currency`; string, required) - pattern: `^[A-Z]{3}$` - `totalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.refundPenalties.amount.totalMinor`; integer, required) - maximum: `9007199254740991` · minimum: `0` - `noShowAmount` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.refundPenalties.noShowAmount`; object, optional) - `currency` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.refundPenalties.noShowAmount.currency`; string, required) - pattern: `^[A-Z]{3}$` - `totalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.fareRules.refundPenalties.noShowAmount.totalMinor`; integer, required) - maximum: `9007199254740991` · minimum: `0` - `documents` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents`; array of object, required) - default: `[]` - `reference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.reference`; string, required) - maxLength: `255` · minLength: `1` - `kind` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.kind`; string, required) - one of `"ELECTRONIC_TICKET"`, `"NON_ELECTRONIC_TICKET"`, `"ANCILLARY_DOCUMENT"`, `"OTHER"` - `scope` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.scope`; object, required) - `travelerReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.scope.travelerReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `segmentReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.scope.segmentReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `serviceReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.scope.serviceReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `unresolvedTravelerIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.scope.unresolvedTravelerIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `unresolvedSegmentIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.scope.unresolvedSegmentIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `number` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.number`; string, optional) - maxLength: `255` · minLength: `1` - `status` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.status`; object, optional) - `state` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.status.state`; string, required) - one of `"CONFIRMED"`, `"PENDING"`, `"CANCELLED"`, `"ISSUED"`, `"VOIDED"`, `"REFUNDED"`, `"USED"`, `"EXCHANGED"`, `"OPEN"`, `"UNKNOWN"` · default: `"UNKNOWN"` - `code` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.status.code`; string, optional) - maxLength: `255` · minLength: `1` - `name` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.status.name`; string, optional) - maxLength: `255` · minLength: `1` - `issuedAt` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.issuedAt`; ReservationTimestamp, optional) - any of the following: - `string` - `object` - `date` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.issuedAt.2.date`; string, required) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `time` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.issuedAt.2.time`; string, optional) - pattern: `^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$` - `timeZone` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.issuedAt.2.timeZone`; string, optional) - maxLength: `255` · minLength: `1` - `issuer` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.issuer`; object, optional) - `supplierCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.issuer.supplierCode`; string, optional) - maxLength: `255` · minLength: `1` - `officeId` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.issuer.officeId`; string, optional) - maxLength: `255` · minLength: `1` - `homeOfficeId` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.issuer.homeOfficeId`; string, optional) - maxLength: `255` · minLength: `1` - `userCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.issuer.userCode`; string, optional) - maxLength: `255` · minLength: `1` - `agencyIataNumber` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.issuer.agencyIataNumber`; string, optional) - maxLength: `255` · minLength: `1` - `bundled` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.bundled`; boolean, optional) - `money` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.money`; object, optional) - `currency` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.money.currency`; string, required) - pattern: `^[A-Z]{3}$` - `feesMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.money.feesMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `subtotalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.money.subtotalMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `taxesMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.money.taxesMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `totalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.money.totalMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `commission` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.commission`; object, optional) - `amount` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.commission.amount`; object, optional) - `currency` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.commission.amount.currency`; string, required) - pattern: `^[A-Z]{3}$` - `totalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.commission.amount.totalMinor`; integer, required) - maximum: `9007199254740991` · minimum: `0` - `unconvertedAmount` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.commission.unconvertedAmount`; string, optional) - maxLength: `80` · pattern: `^-?\d+(?:\.\d+)?$` - `percentage` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.commission.percentage`; string, optional) - maxLength: `80` · pattern: `^-?\d+(?:\.\d+)?$` - `text` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.commission.text`; string, optional) - maxLength: `255` · minLength: `1` - `coupons` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.coupons`; array of object, optional) - `reference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.coupons.reference`; string, optional) - maxLength: `255` · minLength: `1` - `segmentReference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.coupons.segmentReference`; string, optional) - maxLength: `255` · minLength: `1` - `number` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.coupons.number`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `status` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.coupons.status`; object, optional) - `state` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.coupons.status.state`; string, required) - one of `"CONFIRMED"`, `"PENDING"`, `"CANCELLED"`, `"ISSUED"`, `"VOIDED"`, `"REFUNDED"`, `"USED"`, `"EXCHANGED"`, `"OPEN"`, `"UNKNOWN"` · default: `"UNKNOWN"` - `code` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.coupons.status.code`; string, optional) - maxLength: `255` · minLength: `1` - `name` (`backoffice.orders.get.response.200.providerObservation.1.evidence.documents.coupons.status.name`; string, optional) - maxLength: `255` · minLength: `1` - `ancillaries` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries`; array of object, required) - default: `[]` - `reference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.reference`; string, required) - maxLength: `255` · minLength: `1` - `scope` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.scope`; object, required) - `travelerReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.scope.travelerReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `segmentReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.scope.segmentReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `serviceReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.scope.serviceReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `unresolvedTravelerIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.scope.unresolvedTravelerIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `unresolvedSegmentIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.scope.unresolvedSegmentIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `supplierCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.supplierCode`; string, optional) - maxLength: `255` · minLength: `1` - `vendorCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.vendorCode`; string, optional) - maxLength: `255` · minLength: `1` - `name` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.name`; string, optional) - maxLength: `255` · minLength: `1` - `code` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.code`; string, optional) - maxLength: `255` · minLength: `1` - `subcode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.subcode`; string, optional) - maxLength: `255` · minLength: `1` - `categoryCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.categoryCode`; string, optional) - maxLength: `255` · minLength: `1` - `categoryName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.categoryName`; string, optional) - maxLength: `255` · minLength: `1` - `status` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.status`; object, optional) - `state` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.status.state`; string, required) - one of `"CONFIRMED"`, `"PENDING"`, `"CANCELLED"`, `"ISSUED"`, `"VOIDED"`, `"REFUNDED"`, `"USED"`, `"EXCHANGED"`, `"OPEN"`, `"UNKNOWN"` · default: `"UNKNOWN"` - `code` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.status.code`; string, optional) - maxLength: `255` · minLength: `1` - `name` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.status.name`; string, optional) - maxLength: `255` · minLength: `1` - `applicability` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.applicability`; string, optional) - maxLength: `255` · minLength: `1` - `source` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.source`; string, optional) - maxLength: `255` · minLength: `1` - `quantity` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.quantity`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `documentReference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.documentReference`; string, optional) - maxLength: `255` · minLength: `1` - `refundable` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.refundable`; boolean, optional) - `commissionable` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.commissionable`; boolean, optional) - `money` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.money`; object, optional) - `currency` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.money.currency`; string, required) - pattern: `^[A-Z]{3}$` - `feesMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.money.feesMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `subtotalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.money.subtotalMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `taxesMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.money.taxesMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `totalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.money.totalMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `taxes` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.taxes`; array of object, optional) - `code` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.taxes.code`; string, optional) - maxLength: `255` · minLength: `1` - `amount` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.taxes.amount`; object, optional) - `currency` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.taxes.amount.currency`; string, required) - pattern: `^[A-Z]{3}$` - `totalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.taxes.amount.totalMinor`; integer, required) - maximum: `9007199254740991` · minimum: `0` - `unconvertedAmount` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ancillaries.taxes.unconvertedAmount`; string, optional) - maxLength: `80` · pattern: `^-?\d+(?:\.\d+)?$` - `seats` (`backoffice.orders.get.response.200.providerObservation.1.evidence.seats`; array of object, required) - default: `[]` - `reference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.seats.reference`; string, required) - maxLength: `255` · minLength: `1` - `scope` (`backoffice.orders.get.response.200.providerObservation.1.evidence.seats.scope`; object, required) - `travelerReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.seats.scope.travelerReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `segmentReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.seats.scope.segmentReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `serviceReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.seats.scope.serviceReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `unresolvedTravelerIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.seats.scope.unresolvedTravelerIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `unresolvedSegmentIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.seats.scope.unresolvedSegmentIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `number` (`backoffice.orders.get.response.200.providerObservation.1.evidence.seats.number`; string, required) - maxLength: `255` · minLength: `1` - `status` (`backoffice.orders.get.response.200.providerObservation.1.evidence.seats.status`; object, optional) - `state` (`backoffice.orders.get.response.200.providerObservation.1.evidence.seats.status.state`; string, required) - one of `"CONFIRMED"`, `"PENDING"`, `"CANCELLED"`, `"ISSUED"`, `"VOIDED"`, `"REFUNDED"`, `"USED"`, `"EXCHANGED"`, `"OPEN"`, `"UNKNOWN"` · default: `"UNKNOWN"` - `code` (`backoffice.orders.get.response.200.providerObservation.1.evidence.seats.status.code`; string, optional) - maxLength: `255` · minLength: `1` - `name` (`backoffice.orders.get.response.200.providerObservation.1.evidence.seats.status.name`; string, optional) - maxLength: `255` · minLength: `1` - `characteristics` (`backoffice.orders.get.response.200.providerObservation.1.evidence.seats.characteristics`; array of string, optional) - maxLength: `255` · minLength: `1` - `meals` (`backoffice.orders.get.response.200.providerObservation.1.evidence.meals`; array of object, required) - default: `[]` - `reference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.meals.reference`; string, required) - maxLength: `255` · minLength: `1` - `scope` (`backoffice.orders.get.response.200.providerObservation.1.evidence.meals.scope`; object, required) - `travelerReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.meals.scope.travelerReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `segmentReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.meals.scope.segmentReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `serviceReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.meals.scope.serviceReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `unresolvedTravelerIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.meals.scope.unresolvedTravelerIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `unresolvedSegmentIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.meals.scope.unresolvedSegmentIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `code` (`backoffice.orders.get.response.200.providerObservation.1.evidence.meals.code`; string, optional) - maxLength: `255` · minLength: `1` - `description` (`backoffice.orders.get.response.200.providerObservation.1.evidence.meals.description`; string, optional) - maxLength: `2000` · minLength: `1` - `segments` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments`; array of object, required) - default: `[]` - `reference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.reference`; string, required) - maxLength: `255` · minLength: `1` - `scope` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.scope`; object, required) - `travelerReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.scope.travelerReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `segmentReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.scope.segmentReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `serviceReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.scope.serviceReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `unresolvedTravelerIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.scope.unresolvedTravelerIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `unresolvedSegmentIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.scope.unresolvedSegmentIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `kind` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.kind`; string, required) - `sourceType` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.sourceType`; string, optional) - maxLength: `255` · minLength: `1` - `createdAt` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.createdAt`; ReservationTimestamp, optional) - any of the following: - `string` - `object` - `date` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.createdAt.2.date`; string, required) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `time` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.createdAt.2.time`; string, optional) - pattern: `^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$` - `timeZone` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.createdAt.2.timeZone`; string, optional) - maxLength: `255` · minLength: `1` - `status` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.status`; object, optional) - `state` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.status.state`; string, required) - one of `"CONFIRMED"`, `"PENDING"`, `"CANCELLED"`, `"ISSUED"`, `"VOIDED"`, `"REFUNDED"`, `"USED"`, `"EXCHANGED"`, `"OPEN"`, `"UNKNOWN"` · default: `"UNKNOWN"` - `code` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.status.code`; string, optional) - maxLength: `255` · minLength: `1` - `name` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.status.name`; string, optional) - maxLength: `255` · minLength: `1` - `supplierConfirmation` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.supplierConfirmation`; string, optional) - maxLength: `255` · minLength: `1` - `past` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.past`; boolean, optional) - `departure` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.departure`; object, optional) - `airportCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.departure.airportCode`; string, optional) - maxLength: `255` · minLength: `1` - `scheduledAt` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.departure.scheduledAt`; ReservationTimestamp, optional) - any of the following: - `string` - `object` - `date` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.departure.scheduledAt.2.date`; string, required) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `time` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.departure.scheduledAt.2.time`; string, optional) - pattern: `^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$` - `timeZone` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.departure.scheduledAt.2.timeZone`; string, optional) - maxLength: `255` · minLength: `1` - `updatedAt` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.departure.updatedAt`; ReservationTimestamp, optional) - any of the following: - `string` - `object` - `date` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.departure.updatedAt.2.date`; string, required) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `time` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.departure.updatedAt.2.time`; string, optional) - pattern: `^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$` - `timeZone` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.departure.updatedAt.2.timeZone`; string, optional) - maxLength: `255` · minLength: `1` - `terminalCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.departure.terminalCode`; string, optional) - maxLength: `255` · minLength: `1` - `terminalName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.departure.terminalName`; string, optional) - maxLength: `255` · minLength: `1` - `gate` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.departure.gate`; string, optional) - maxLength: `255` · minLength: `1` - `arrival` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.arrival`; object, optional) - `airportCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.arrival.airportCode`; string, optional) - maxLength: `255` · minLength: `1` - `scheduledAt` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.arrival.scheduledAt`; ReservationTimestamp, optional) - any of the following: - `string` - `object` - `date` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.arrival.scheduledAt.2.date`; string, required) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `time` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.arrival.scheduledAt.2.time`; string, optional) - pattern: `^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$` - `timeZone` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.arrival.scheduledAt.2.timeZone`; string, optional) - maxLength: `255` · minLength: `1` - `updatedAt` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.arrival.updatedAt`; ReservationTimestamp, optional) - any of the following: - `string` - `object` - `date` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.arrival.updatedAt.2.date`; string, required) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `time` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.arrival.updatedAt.2.time`; string, optional) - pattern: `^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$` - `timeZone` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.arrival.updatedAt.2.timeZone`; string, optional) - maxLength: `255` · minLength: `1` - `terminalCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.arrival.terminalCode`; string, optional) - maxLength: `255` · minLength: `1` - `terminalName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.arrival.terminalName`; string, optional) - maxLength: `255` · minLength: `1` - `gate` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.arrival.gate`; string, optional) - maxLength: `255` · minLength: `1` - `aircraftCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.aircraftCode`; string, optional) - maxLength: `255` · minLength: `1` - `aircraftName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.aircraftName`; string, optional) - maxLength: `255` · minLength: `1` - `marketingCarrierCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.marketingCarrierCode`; string, optional) - maxLength: `255` · minLength: `1` - `marketingCarrierName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.marketingCarrierName`; string, optional) - maxLength: `255` · minLength: `1` - `marketingFlightNumber` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.marketingFlightNumber`; string, optional) - maxLength: `255` · minLength: `1` - `operatingCarrierCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.operatingCarrierCode`; string, optional) - maxLength: `255` · minLength: `1` - `operatingCarrierName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.operatingCarrierName`; string, optional) - maxLength: `255` · minLength: `1` - `operatingFlightNumber` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.operatingFlightNumber`; string, optional) - maxLength: `255` · minLength: `1` - `cabinCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.cabinCode`; string, optional) - maxLength: `255` · minLength: `1` - `cabinName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.cabinName`; string, optional) - maxLength: `255` · minLength: `1` - `bookingClass` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.bookingClass`; string, optional) - maxLength: `255` · minLength: `1` - `fareBasis` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.fareBasis`; string, optional) - maxLength: `255` · minLength: `1` - `seats` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.seats`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `distanceMiles` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.distanceMiles`; number, optional) - minimum: `0` - `durationMinutes` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.durationMinutes`; number, optional) - minimum: `0` - `hiddenStops` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.hiddenStops`; array of object, optional) - `airportCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.hiddenStops.airportCode`; string, optional) - maxLength: `255` · minLength: `1` - `arrivalAt` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.hiddenStops.arrivalAt`; ReservationTimestamp, optional) - any of the following: - `string` - `object` - `date` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.hiddenStops.arrivalAt.2.date`; string, required) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `time` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.hiddenStops.arrivalAt.2.time`; string, optional) - pattern: `^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$` - `timeZone` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.hiddenStops.arrivalAt.2.timeZone`; string, optional) - maxLength: `255` · minLength: `1` - `departureAt` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.hiddenStops.departureAt`; ReservationTimestamp, optional) - any of the following: - `string` - `object` - `date` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.hiddenStops.departureAt.2.date`; string, required) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `time` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.hiddenStops.departureAt.2.time`; string, optional) - pattern: `^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$` - `timeZone` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.hiddenStops.departureAt.2.timeZone`; string, optional) - maxLength: `255` · minLength: `1` - `durationMinutes` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.hiddenStops.durationMinutes`; number, optional) - minimum: `0` - `identityDocuments` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.identityDocuments`; array of object, optional) - `reference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.identityDocuments.reference`; string, required) - maxLength: `255` · minLength: `1` - `status` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.identityDocuments.status`; object, optional) - `state` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.identityDocuments.status.state`; string, required) - one of `"CONFIRMED"`, `"PENDING"`, `"CANCELLED"`, `"ISSUED"`, `"VOIDED"`, `"REFUNDED"`, `"USED"`, `"EXCHANGED"`, `"OPEN"`, `"UNKNOWN"` · default: `"UNKNOWN"` - `code` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.identityDocuments.status.code`; string, optional) - maxLength: `255` · minLength: `1` - `name` (`backoffice.orders.get.response.200.providerObservation.1.evidence.segments.identityDocuments.status.name`; string, optional) - maxLength: `255` · minLength: `1` - `journeys` (`backoffice.orders.get.response.200.providerObservation.1.evidence.journeys`; array of object, required) - default: `[]` - `reference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.journeys.reference`; string, required) - maxLength: `255` · minLength: `1` - `scope` (`backoffice.orders.get.response.200.providerObservation.1.evidence.journeys.scope`; object, required) - `travelerReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.journeys.scope.travelerReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `segmentReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.journeys.scope.segmentReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `serviceReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.journeys.scope.serviceReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `unresolvedTravelerIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.journeys.scope.unresolvedTravelerIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `unresolvedSegmentIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.journeys.scope.unresolvedSegmentIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `origin` (`backoffice.orders.get.response.200.providerObservation.1.evidence.journeys.origin`; string, optional) - maxLength: `255` · minLength: `1` - `destination` (`backoffice.orders.get.response.200.providerObservation.1.evidence.journeys.destination`; string, optional) - maxLength: `255` · minLength: `1` - `departureAt` (`backoffice.orders.get.response.200.providerObservation.1.evidence.journeys.departureAt`; ReservationTimestamp, optional) - any of the following: - `string` - `object` - `date` (`backoffice.orders.get.response.200.providerObservation.1.evidence.journeys.departureAt.2.date`; string, required) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `time` (`backoffice.orders.get.response.200.providerObservation.1.evidence.journeys.departureAt.2.time`; string, optional) - pattern: `^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$` - `timeZone` (`backoffice.orders.get.response.200.providerObservation.1.evidence.journeys.departureAt.2.timeZone`; string, optional) - maxLength: `255` · minLength: `1` - `segmentCount` (`backoffice.orders.get.response.200.providerObservation.1.evidence.journeys.segmentCount`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `durationMinutes` (`backoffice.orders.get.response.200.providerObservation.1.evidence.journeys.durationMinutes`; number, optional) - minimum: `0` - `baggage` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage`; array of object, required) - default: `[]` - `reference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.reference`; string, required) - maxLength: `255` · minLength: `1` - `scope` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.scope`; object, required) - `travelerReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.scope.travelerReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `segmentReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.scope.segmentReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `serviceReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.scope.serviceReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `unresolvedTravelerIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.scope.unresolvedTravelerIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `unresolvedSegmentIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.scope.unresolvedSegmentIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `kind` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.kind`; string, required) - one of `"CHECKED"`, `"CABIN"`, `"OTHER"` - `allowance` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.allowance`; object, optional) - `maximumPieces` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.allowance.maximumPieces`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `totalWeightKilograms` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.allowance.totalWeightKilograms`; number, optional) - minimum: `0` - `pieces` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.allowance.pieces`; array of object, optional) - `pieces` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.allowance.pieces.pieces`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `maximumWeightKilograms` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.allowance.pieces.maximumWeightKilograms`; number, optional) - minimum: `0` - `maximumWeightPounds` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.allowance.pieces.maximumWeightPounds`; number, optional) - minimum: `0` - `maximumSizeCentimeters` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.allowance.pieces.maximumSizeCentimeters`; number, optional) - minimum: `0` - `maximumSizeInches` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.allowance.pieces.maximumSizeInches`; number, optional) - minimum: `0` - `description` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.allowance.pieces.description`; string, optional) - maxLength: `2000` · minLength: `1` - `charges` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.charges`; array of object, optional) - `pieces` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.charges.pieces`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `maximumWeightKilograms` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.charges.maximumWeightKilograms`; number, optional) - minimum: `0` - `maximumWeightPounds` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.charges.maximumWeightPounds`; number, optional) - minimum: `0` - `maximumSizeCentimeters` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.charges.maximumSizeCentimeters`; number, optional) - minimum: `0` - `maximumSizeInches` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.charges.maximumSizeInches`; number, optional) - minimum: `0` - `description` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.charges.description`; string, optional) - maxLength: `2000` · minLength: `1` - `amount` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.charges.amount`; object, optional) - `currency` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.charges.amount.currency`; string, required) - pattern: `^[A-Z]{3}$` - `totalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.charges.amount.totalMinor`; integer, required) - maximum: `9007199254740991` · minimum: `0` - `checkInOnly` (`backoffice.orders.get.response.200.providerObservation.1.evidence.baggage.charges.checkInOnly`; boolean, optional) - `specialRequests` (`backoffice.orders.get.response.200.providerObservation.1.evidence.specialRequests`; array of object, required) - default: `[]` - `reference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.specialRequests.reference`; string, required) - maxLength: `255` · minLength: `1` - `scope` (`backoffice.orders.get.response.200.providerObservation.1.evidence.specialRequests.scope`; object, required) - `travelerReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.specialRequests.scope.travelerReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `segmentReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.specialRequests.scope.segmentReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `serviceReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.specialRequests.scope.serviceReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `unresolvedTravelerIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.specialRequests.scope.unresolvedTravelerIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `unresolvedSegmentIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.specialRequests.scope.unresolvedSegmentIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `code` (`backoffice.orders.get.response.200.providerObservation.1.evidence.specialRequests.code`; string, required) - maxLength: `255` · minLength: `1` - `name` (`backoffice.orders.get.response.200.providerObservation.1.evidence.specialRequests.name`; string, optional) - maxLength: `255` · minLength: `1` - `status` (`backoffice.orders.get.response.200.providerObservation.1.evidence.specialRequests.status`; object, optional) - `state` (`backoffice.orders.get.response.200.providerObservation.1.evidence.specialRequests.status.state`; string, required) - one of `"CONFIRMED"`, `"PENDING"`, `"CANCELLED"`, `"ISSUED"`, `"VOIDED"`, `"REFUNDED"`, `"USED"`, `"EXCHANGED"`, `"OPEN"`, `"UNKNOWN"` · default: `"UNKNOWN"` - `code` (`backoffice.orders.get.response.200.providerObservation.1.evidence.specialRequests.status.code`; string, optional) - maxLength: `255` · minLength: `1` - `name` (`backoffice.orders.get.response.200.providerObservation.1.evidence.specialRequests.status.name`; string, optional) - maxLength: `255` · minLength: `1` - `description` (`backoffice.orders.get.response.200.providerObservation.1.evidence.specialRequests.description`; string, optional) - maxLength: `2000` · minLength: `1` - `messageOmitted` (`backoffice.orders.get.response.200.providerObservation.1.evidence.specialRequests.messageOmitted`; boolean, optional) - `guarantees` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees`; array of object, required) - default: `[]` - `reference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.reference`; string, required) - maxLength: `255` · minLength: `1` - `scope` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.scope`; object, required) - `travelerReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.scope.travelerReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `segmentReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.scope.segmentReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `serviceReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.scope.serviceReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `unresolvedTravelerIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.scope.unresolvedTravelerIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `unresolvedSegmentIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.scope.unresolvedSegmentIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `kind` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.kind`; string, required) - one of `"CARD"`, `"CASH"`, `"CHECK"`, `"AGENCY"`, `"OTHER"`, `"UNKNOWN"` - `typeCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.typeCode`; string, optional) - maxLength: `255` · minLength: `1` - `typeName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.typeName`; string, optional) - maxLength: `255` · minLength: `1` - `useTypes` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.useTypes`; array of string, optional) - maxLength: `255` · minLength: `1` - `tripTypes` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.tripTypes`; array of string, optional) - maxLength: `255` · minLength: `1` - `linkedGuaranteeReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.linkedGuaranteeReferences`; array of string, optional) - maxLength: `255` · minLength: `1` - `card` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.card`; object, optional) - `brand` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.card.brand`; any of, required) - any of the following: `string`, `null` - `expiresYearMonth` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.card.expiresYearMonth`; any of, required) - any of the following: `string`, `null` - `last4` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.card.last4`; any of, required) - any of the following: `string`, `null` - `holderName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.card.holderName`; any of, optional) — The name on the card. Only the order's payer and Nicer staff get it. - any of the following: `string`, `null` - `holder` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.holder`; object, optional) — The card holder's name, address, emails and phones. Only the order's payer and Nicer staff get it. - `givenName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.holder.givenName`; string, optional) - maxLength: `255` · minLength: `1` - `middleName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.holder.middleName`; string, optional) - maxLength: `255` · minLength: `1` - `surname` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.holder.surname`; string, optional) - maxLength: `255` · minLength: `1` - `displayName` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.holder.displayName`; string, optional) - maxLength: `255` · minLength: `1` - `address` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.holder.address`; object, optional) - `city` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.holder.address.city`; string, optional) - maxLength: `255` · minLength: `1` - `cityCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.holder.address.cityCode`; string, optional) - maxLength: `255` · minLength: `1` - `countryCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.holder.address.countryCode`; string, optional) - maxLength: `255` · minLength: `1` - `name` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.holder.address.name`; string, optional) - maxLength: `255` · minLength: `1` - `postalCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.holder.address.postalCode`; string, optional) - maxLength: `255` · minLength: `1` - `stateProvince` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.holder.address.stateProvince`; string, optional) - maxLength: `255` · minLength: `1` - `street` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.holder.address.street`; string, optional) - maxLength: `255` · minLength: `1` - `lines` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.holder.address.lines`; array of string, optional) - maxLength: `255` · minLength: `1` - `emails` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.holder.emails`; array of string, optional) - maxLength: `320` · minLength: `1` - `phones` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.holder.phones`; array of object, optional) - `number` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.holder.phones.number`; string, required) - maxLength: `255` · minLength: `1` - `label` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.holder.phones.label`; string, optional) - maxLength: `255` · minLength: `1` - `faxes` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.holder.faxes`; array of string, optional) - maxLength: `255` · minLength: `1` - `emergencyPhones` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.holder.emergencyPhones`; array of object, optional) - `number` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.holder.emergencyPhones.number`; string, required) - maxLength: `255` · minLength: `1` - `label` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.holder.emergencyPhones.label`; string, optional) - maxLength: `255` · minLength: `1` - `approval` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.approval`; object, optional) - `supplierCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.approval.supplierCode`; string, optional) - maxLength: `255` · minLength: `1` - `amount` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.approval.amount`; object, optional) - `currency` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.approval.amount.currency`; string, required) - pattern: `^[A-Z]{3}$` - `totalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.approval.amount.totalMinor`; integer, required) - maximum: `9007199254740991` · minimum: `0` - `requestedAt` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.approval.requestedAt`; ReservationTimestamp, optional) - any of the following: - `string` - `object` - `date` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.approval.requestedAt.2.date`; string, required) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `time` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.approval.requestedAt.2.time`; string, optional) - pattern: `^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$` - `timeZone` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.approval.requestedAt.2.timeZone`; string, optional) - maxLength: `255` · minLength: `1` - `expiresAt` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.approval.expiresAt`; ReservationTimestamp, optional) - any of the following: - `string` - `object` - `date` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.approval.expiresAt.2.date`; string, required) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `time` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.approval.expiresAt.2.time`; string, optional) - pattern: `^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$` - `timeZone` (`backoffice.orders.get.response.200.providerObservation.1.evidence.guarantees.approval.expiresAt.2.timeZone`; string, optional) - maxLength: `255` · minLength: `1` - `history` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history`; array of object, required) - default: `[]` - `reference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.reference`; string, required) - maxLength: `255` · minLength: `1` - `scope` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.scope`; object, required) - `travelerReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.scope.travelerReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `segmentReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.scope.segmentReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `serviceReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.scope.serviceReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `unresolvedTravelerIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.scope.unresolvedTravelerIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `unresolvedSegmentIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.scope.unresolvedSegmentIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `kind` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.kind`; string, required) - one of `"SEGMENT"`, `"SERVICE"`, `"ACCOUNTING"`, `"CREATED"`, `"UPDATED"`, `"TICKETING"`, `"RETENTION"`, `"OTHER"` - `occurredAt` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.occurredAt`; ReservationTimestamp, optional) - any of the following: - `string` - `object` - `date` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.occurredAt.2.date`; string, required) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `time` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.occurredAt.2.time`; string, optional) - pattern: `^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$` - `timeZone` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.occurredAt.2.timeZone`; string, optional) - maxLength: `255` · minLength: `1` - `status` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.status`; object, optional) - `state` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.status.state`; string, required) - one of `"CONFIRMED"`, `"PENDING"`, `"CANCELLED"`, `"ISSUED"`, `"VOIDED"`, `"REFUNDED"`, `"USED"`, `"EXCHANGED"`, `"OPEN"`, `"UNKNOWN"` · default: `"UNKNOWN"` - `code` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.status.code`; string, optional) - maxLength: `255` · minLength: `1` - `name` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.status.name`; string, optional) - maxLength: `255` · minLength: `1` - `code` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.code`; string, optional) - maxLength: `255` · minLength: `1` - `supplierCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.supplierCode`; string, optional) - maxLength: `255` · minLength: `1` - `confirmation` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.confirmation`; string, optional) - maxLength: `255` · minLength: `1` - `documentReference` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.documentReference`; string, optional) - maxLength: `255` · minLength: `1` - `typeCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.typeCode`; string, optional) - maxLength: `255` · minLength: `1` - `fareApplicationType` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.fareApplicationType`; string, optional) - maxLength: `255` · minLength: `1` - `paymentType` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.paymentType`; string, optional) - maxLength: `255` · minLength: `1` - `invoiceReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.invoiceReferences`; array of string, optional) - maxLength: `255` · minLength: `1` - `guaranteeReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.guaranteeReferences`; array of string, optional) - maxLength: `255` · minLength: `1` - `cardLast4` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.cardLast4`; string, optional) - pattern: `^[0-9]{4}$` - `description` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.description`; string, optional) - maxLength: `2000` · minLength: `1` - `messageOmitted` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.messageOmitted`; boolean, optional) - `money` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.money`; object, optional) - `currency` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.money.currency`; string, required) - pattern: `^[A-Z]{3}$` - `feesMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.money.feesMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `subtotalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.money.subtotalMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `taxesMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.money.taxesMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `totalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.money.totalMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `unconvertedAmount` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.unconvertedAmount`; string, optional) - maxLength: `80` · pattern: `^-?\d+(?:\.\d+)?$` - `commission` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.commission`; object, optional) - `amount` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.commission.amount`; object, optional) - `currency` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.commission.amount.currency`; string, required) - pattern: `^[A-Z]{3}$` - `totalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.commission.amount.totalMinor`; integer, required) - maximum: `9007199254740991` · minimum: `0` - `unconvertedAmount` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.commission.unconvertedAmount`; string, optional) - maxLength: `80` · pattern: `^-?\d+(?:\.\d+)?$` - `percentage` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.commission.percentage`; string, optional) - maxLength: `80` · pattern: `^-?\d+(?:\.\d+)?$` - `text` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.commission.text`; string, optional) - maxLength: `255` · minLength: `1` - `taxAmount` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.taxAmount`; object, optional) - `currency` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.taxAmount.currency`; string, required) - pattern: `^[A-Z]{3}$` - `totalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.taxAmount.totalMinor`; integer, required) - maximum: `9007199254740991` · minimum: `0` - `unconvertedTaxAmount` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.unconvertedTaxAmount`; string, optional) - maxLength: `80` · pattern: `^-?\d+(?:\.\d+)?$` - `quantity` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.quantity`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `origin` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.origin`; string, optional) - maxLength: `255` · minLength: `1` - `destination` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.destination`; string, optional) - maxLength: `255` · minLength: `1` - `start` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.start`; ReservationTimestamp, optional) - any of the following: - `string` - `object` - `date` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.start.2.date`; string, required) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `time` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.start.2.time`; string, optional) - pattern: `^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$` - `timeZone` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.start.2.timeZone`; string, optional) - maxLength: `255` · minLength: `1` - `end` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.end`; ReservationTimestamp, optional) - any of the following: - `string` - `object` - `date` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.end.2.date`; string, required) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `time` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.end.2.time`; string, optional) - pattern: `^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$` - `timeZone` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.end.2.timeZone`; string, optional) - maxLength: `255` · minLength: `1` - `address` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.address`; object, optional) - `city` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.address.city`; string, optional) - maxLength: `255` · minLength: `1` - `cityCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.address.cityCode`; string, optional) - maxLength: `255` · minLength: `1` - `countryCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.address.countryCode`; string, optional) - maxLength: `255` · minLength: `1` - `name` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.address.name`; string, optional) - maxLength: `255` · minLength: `1` - `postalCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.address.postalCode`; string, optional) - maxLength: `255` · minLength: `1` - `stateProvince` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.address.stateProvince`; string, optional) - maxLength: `255` · minLength: `1` - `street` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.address.street`; string, optional) - maxLength: `255` · minLength: `1` - `lines` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.address.lines`; array of string, optional) - maxLength: `255` · minLength: `1` - `startAddress` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.startAddress`; object, optional) - `city` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.startAddress.city`; string, optional) - maxLength: `255` · minLength: `1` - `cityCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.startAddress.cityCode`; string, optional) - maxLength: `255` · minLength: `1` - `countryCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.startAddress.countryCode`; string, optional) - maxLength: `255` · minLength: `1` - `name` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.startAddress.name`; string, optional) - maxLength: `255` · minLength: `1` - `postalCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.startAddress.postalCode`; string, optional) - maxLength: `255` · minLength: `1` - `stateProvince` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.startAddress.stateProvince`; string, optional) - maxLength: `255` · minLength: `1` - `street` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.startAddress.street`; string, optional) - maxLength: `255` · minLength: `1` - `lines` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.startAddress.lines`; array of string, optional) - maxLength: `255` · minLength: `1` - `endAddress` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.endAddress`; object, optional) - `city` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.endAddress.city`; string, optional) - maxLength: `255` · minLength: `1` - `cityCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.endAddress.cityCode`; string, optional) - maxLength: `255` · minLength: `1` - `countryCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.endAddress.countryCode`; string, optional) - maxLength: `255` · minLength: `1` - `name` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.endAddress.name`; string, optional) - maxLength: `255` · minLength: `1` - `postalCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.endAddress.postalCode`; string, optional) - maxLength: `255` · minLength: `1` - `stateProvince` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.endAddress.stateProvince`; string, optional) - maxLength: `255` · minLength: `1` - `street` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.endAddress.street`; string, optional) - maxLength: `255` · minLength: `1` - `lines` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.endAddress.lines`; array of string, optional) - maxLength: `255` · minLength: `1` - `issuer` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.issuer`; object, optional) - `supplierCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.issuer.supplierCode`; string, optional) - maxLength: `255` · minLength: `1` - `officeId` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.issuer.officeId`; string, optional) - maxLength: `255` · minLength: `1` - `homeOfficeId` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.issuer.homeOfficeId`; string, optional) - maxLength: `255` · minLength: `1` - `userCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.issuer.userCode`; string, optional) - maxLength: `255` · minLength: `1` - `agencyIataNumber` (`backoffice.orders.get.response.200.providerObservation.1.evidence.history.issuer.agencyIataNumber`; string, optional) - maxLength: `255` · minLength: `1` - `totals` (`backoffice.orders.get.response.200.providerObservation.1.evidence.totals`; array of object, required) - default: `[]` - `kind` (`backoffice.orders.get.response.200.providerObservation.1.evidence.totals.kind`; string, required) - one of `"FLIGHT"`, `"FLIGHT_CURRENT"`, `"HOTEL"`, `"CAR_RENTAL"`, `"ANCILLARY"`, `"RESERVATION"` - `scope` (`backoffice.orders.get.response.200.providerObservation.1.evidence.totals.scope`; object, required) - `travelerReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.totals.scope.travelerReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `segmentReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.totals.scope.segmentReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `serviceReferences` (`backoffice.orders.get.response.200.providerObservation.1.evidence.totals.scope.serviceReferences`; array of string, required) - maxLength: `255` · minLength: `1` · default: `[]` - `unresolvedTravelerIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.totals.scope.unresolvedTravelerIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `unresolvedSegmentIndices` (`backoffice.orders.get.response.200.providerObservation.1.evidence.totals.scope.unresolvedSegmentIndices`; array of integer, required) - maximum: `9007199254740991` · minimum: `0` · default: `[]` - `money` (`backoffice.orders.get.response.200.providerObservation.1.evidence.totals.money`; object, required) - `currency` (`backoffice.orders.get.response.200.providerObservation.1.evidence.totals.money.currency`; string, required) - pattern: `^[A-Z]{3}$` - `feesMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.totals.money.feesMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `subtotalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.totals.money.subtotalMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `taxesMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.totals.money.taxesMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `totalMinor` (`backoffice.orders.get.response.200.providerObservation.1.evidence.totals.money.totalMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `ticketed` (`backoffice.orders.get.response.200.providerObservation.1.evidence.ticketed`; boolean, optional) - `cancelable` (`backoffice.orders.get.response.200.providerObservation.1.evidence.cancelable`; boolean, optional) - `sourceDigest` (`backoffice.orders.get.response.200.providerObservation.1.evidence.sourceDigest`; string, optional) - pattern: `^[a-f0-9]{64}$` - `createdAt` (`backoffice.orders.get.response.200.providerObservation.1.evidence.createdAt`; ReservationTimestamp, optional) - any of the following: - `string` - `object` - `date` (`backoffice.orders.get.response.200.providerObservation.1.evidence.createdAt.2.date`; string, required) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `time` (`backoffice.orders.get.response.200.providerObservation.1.evidence.createdAt.2.time`; string, optional) - pattern: `^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$` - `timeZone` (`backoffice.orders.get.response.200.providerObservation.1.evidence.createdAt.2.timeZone`; string, optional) - maxLength: `255` · minLength: `1` - `updatedAt` (`backoffice.orders.get.response.200.providerObservation.1.evidence.updatedAt`; ReservationTimestamp, optional) - any of the following: - `string` - `object` - `date` (`backoffice.orders.get.response.200.providerObservation.1.evidence.updatedAt.2.date`; string, required) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `time` (`backoffice.orders.get.response.200.providerObservation.1.evidence.updatedAt.2.time`; string, optional) - pattern: `^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$` - `timeZone` (`backoffice.orders.get.response.200.providerObservation.1.evidence.updatedAt.2.timeZone`; string, optional) - maxLength: `255` · minLength: `1` - `retrievedAt` (`backoffice.orders.get.response.200.providerObservation.1.evidence.retrievedAt`; ReservationTimestamp, optional) - any of the following: - `string` - `object` - `date` (`backoffice.orders.get.response.200.providerObservation.1.evidence.retrievedAt.2.date`; string, required) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `time` (`backoffice.orders.get.response.200.providerObservation.1.evidence.retrievedAt.2.time`; string, optional) - pattern: `^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$` - `timeZone` (`backoffice.orders.get.response.200.providerObservation.1.evidence.retrievedAt.2.timeZone`; string, optional) - maxLength: `255` · minLength: `1` - `retentionEndsOn` (`backoffice.orders.get.response.200.providerObservation.1.evidence.retentionEndsOn`; string, optional) - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `creator` (`backoffice.orders.get.response.200.providerObservation.1.evidence.creator`; object, optional) - `supplierCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.creator.supplierCode`; string, optional) - maxLength: `255` · minLength: `1` - `officeId` (`backoffice.orders.get.response.200.providerObservation.1.evidence.creator.officeId`; string, optional) - maxLength: `255` · minLength: `1` - `homeOfficeId` (`backoffice.orders.get.response.200.providerObservation.1.evidence.creator.homeOfficeId`; string, optional) - maxLength: `255` · minLength: `1` - `userCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.creator.userCode`; string, optional) - maxLength: `255` · minLength: `1` - `agencyIataNumber` (`backoffice.orders.get.response.200.providerObservation.1.evidence.creator.agencyIataNumber`; string, optional) - maxLength: `255` · minLength: `1` - `updater` (`backoffice.orders.get.response.200.providerObservation.1.evidence.updater`; object, optional) - `supplierCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.updater.supplierCode`; string, optional) - maxLength: `255` · minLength: `1` - `officeId` (`backoffice.orders.get.response.200.providerObservation.1.evidence.updater.officeId`; string, optional) - maxLength: `255` · minLength: `1` - `homeOfficeId` (`backoffice.orders.get.response.200.providerObservation.1.evidence.updater.homeOfficeId`; string, optional) - maxLength: `255` · minLength: `1` - `userCode` (`backoffice.orders.get.response.200.providerObservation.1.evidence.updater.userCode`; string, optional) - maxLength: `255` · minLength: `1` - `agencyIataNumber` (`backoffice.orders.get.response.200.providerObservation.1.evidence.updater.agencyIataNumber`; string, optional) - maxLength: `255` · minLength: `1` - `updateCount` (`backoffice.orders.get.response.200.providerObservation.1.evidence.updateCount`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `null` - `recordedProduct` (`backoffice.orders.get.response.200.recordedProduct`; any of, required) — The service as the provider reported it, for an order recorded from a provider or enriched by a reservation read; null when none was recorded. - any of the following: - `RecordedProduct` - `kind` (`RecordedProduct.kind`; string, required) - one of `"CAR_RENTAL"`, `"FLIGHT"`, `"HOTEL"`, `"INSURANCE"` - `name` (`RecordedProduct.name`; string, required) - maxLength: `500` · minLength: `1` - `start` (`RecordedProduct.start`; any of, required) - any of the following: - `Option 1` - any of the following: - `string` - `string` - `null` - `end` (`RecordedProduct.end`; any of, required) - any of the following: - `Option 1` - any of the following: - `string` - `string` - `null` - `supplierConfirmation` (`RecordedProduct.supplierConfirmation`; any of, required) - any of the following: `string`, `null` - `supplierName` (`RecordedProduct.supplierName`; any of, required) - any of the following: `string`, `null` - `detail` (`RecordedProduct.detail`; object, optional) - `car` (`RecordedProduct.detail.car`; object, optional) - `distanceAllowance` (`RecordedProduct.detail.car.distanceAllowance`; string, optional) - maxLength: `255` · minLength: `1` - `dropOff` (`RecordedProduct.detail.car.dropOff`; object, optional) - `address` (`RecordedProduct.detail.car.dropOff.address`; object, optional) - `city` (`RecordedProduct.detail.car.dropOff.address.city`; string, optional) - maxLength: `255` · minLength: `1` - `cityCode` (`RecordedProduct.detail.car.dropOff.address.cityCode`; string, optional) - maxLength: `255` · minLength: `1` - `countryCode` (`RecordedProduct.detail.car.dropOff.address.countryCode`; string, optional) - maxLength: `255` · minLength: `1` - `name` (`RecordedProduct.detail.car.dropOff.address.name`; string, optional) - maxLength: `255` · minLength: `1` - `postalCode` (`RecordedProduct.detail.car.dropOff.address.postalCode`; string, optional) - maxLength: `255` · minLength: `1` - `stateProvince` (`RecordedProduct.detail.car.dropOff.address.stateProvince`; string, optional) - maxLength: `255` · minLength: `1` - `street` (`RecordedProduct.detail.car.dropOff.address.street`; string, optional) - maxLength: `255` · minLength: `1` - `lines` (`RecordedProduct.detail.car.dropOff.address.lines`; array of string, optional) - maxLength: `255` · minLength: `1` - `at` (`RecordedProduct.detail.car.dropOff.at`; string, optional) - maxLength: `255` · minLength: `1` - `locationCode` (`RecordedProduct.detail.car.dropOff.locationCode`; string, optional) - maxLength: `255` · minLength: `1` - `phones` (`RecordedProduct.detail.car.dropOff.phones`; array of string, optional) - maxLength: `255` · minLength: `1` - `faxes` (`RecordedProduct.detail.car.dropOff.faxes`; array of string, optional) - maxLength: `255` · minLength: `1` - `emergencyPhones` (`RecordedProduct.detail.car.dropOff.emergencyPhones`; array of string, optional) - maxLength: `255` · minLength: `1` - `guaranteeType` (`RecordedProduct.detail.car.guaranteeType`; string, optional) - maxLength: `255` · minLength: `1` - `pickUp` (`RecordedProduct.detail.car.pickUp`; object, optional) - `address` (`RecordedProduct.detail.car.pickUp.address`; object, optional) - `city` (`RecordedProduct.detail.car.pickUp.address.city`; string, optional) - maxLength: `255` · minLength: `1` - `cityCode` (`RecordedProduct.detail.car.pickUp.address.cityCode`; string, optional) - maxLength: `255` · minLength: `1` - `countryCode` (`RecordedProduct.detail.car.pickUp.address.countryCode`; string, optional) - maxLength: `255` · minLength: `1` - `name` (`RecordedProduct.detail.car.pickUp.address.name`; string, optional) - maxLength: `255` · minLength: `1` - `postalCode` (`RecordedProduct.detail.car.pickUp.address.postalCode`; string, optional) - maxLength: `255` · minLength: `1` - `stateProvince` (`RecordedProduct.detail.car.pickUp.address.stateProvince`; string, optional) - maxLength: `255` · minLength: `1` - `street` (`RecordedProduct.detail.car.pickUp.address.street`; string, optional) - maxLength: `255` · minLength: `1` - `lines` (`RecordedProduct.detail.car.pickUp.address.lines`; array of string, optional) - maxLength: `255` · minLength: `1` - `at` (`RecordedProduct.detail.car.pickUp.at`; string, optional) - maxLength: `255` · minLength: `1` - `locationCode` (`RecordedProduct.detail.car.pickUp.locationCode`; string, optional) - maxLength: `255` · minLength: `1` - `phones` (`RecordedProduct.detail.car.pickUp.phones`; array of string, optional) - maxLength: `255` · minLength: `1` - `faxes` (`RecordedProduct.detail.car.pickUp.faxes`; array of string, optional) - maxLength: `255` · minLength: `1` - `emergencyPhones` (`RecordedProduct.detail.car.pickUp.emergencyPhones`; array of string, optional) - maxLength: `255` · minLength: `1` - `rateCode` (`RecordedProduct.detail.car.rateCode`; string, optional) - maxLength: `255` · minLength: `1` - `supplierCode` (`RecordedProduct.detail.car.supplierCode`; string, optional) - maxLength: `255` · minLength: `1` - `rentalDays` (`RecordedProduct.detail.car.rentalDays`; number, optional) - minimum: `0` - `refundable` (`RecordedProduct.detail.car.refundable`; boolean, optional) - `vehicleCategory` (`RecordedProduct.detail.car.vehicleCategory`; string, optional) - maxLength: `255` · minLength: `1` - `vehicleModel` (`RecordedProduct.detail.car.vehicleModel`; string, optional) - maxLength: `255` · minLength: `1` - `vehicleType` (`RecordedProduct.detail.car.vehicleType`; string, optional) - maxLength: `255` · minLength: `1` - `vehicleTypeCode` (`RecordedProduct.detail.car.vehicleTypeCode`; string, optional) - maxLength: `255` · minLength: `1` - `vehicles` (`RecordedProduct.detail.car.vehicles`; integer, optional) - maximum: `9007199254740991` - `commission` (`RecordedProduct.detail.commission`; object, optional) - `amount` (`RecordedProduct.detail.commission.amount`; object, optional) - `currency` (`RecordedProduct.detail.commission.amount.currency`; string, required) - pattern: `^[A-Z]{3}$` - `totalMinor` (`RecordedProduct.detail.commission.amount.totalMinor`; integer, required) - maximum: `9007199254740991` · minimum: `0` - `unconvertedAmount` (`RecordedProduct.detail.commission.unconvertedAmount`; string, optional) — The supplier stated an amount without a usable currency. - pattern: `^\d+(?:\.\d+)?$` - `percentage` (`RecordedProduct.detail.commission.percentage`; string, optional) - pattern: `^\d+(?:\.\d+)?$` - `text` (`RecordedProduct.detail.commission.text`; string, optional) - maxLength: `255` · minLength: `1` - `fare` (`RecordedProduct.detail.fare`; object, optional) - `calculationLine` (`RecordedProduct.detail.fare.calculationLine`; string, optional) - maxLength: `2000` · minLength: `1` - `changeable` (`RecordedProduct.detail.fare.changeable`; boolean, optional) - `fareBasis` (`RecordedProduct.detail.fare.fareBasis`; string, optional) - maxLength: `255` · minLength: `1` - `negotiated` (`RecordedProduct.detail.fare.negotiated`; boolean, optional) - `refundable` (`RecordedProduct.detail.fare.refundable`; boolean, optional) - `taxes` (`RecordedProduct.detail.fare.taxes`; array of object, optional) - `amount` (`RecordedProduct.detail.fare.taxes.amount`; object, required) - `currency` (`RecordedProduct.detail.fare.taxes.amount.currency`; string, required) - pattern: `^[A-Z]{3}$` - `totalMinor` (`RecordedProduct.detail.fare.taxes.amount.totalMinor`; integer, required) - maximum: `9007199254740991` · minimum: `0` - `code` (`RecordedProduct.detail.fare.taxes.code`; string, required) - maxLength: `255` · minLength: `1` - `tickets` (`RecordedProduct.detail.fare.tickets`; array of object, optional) - `number` (`RecordedProduct.detail.fare.tickets.number`; string, required) - maxLength: `255` · minLength: `1` - `issuedOn` (`RecordedProduct.detail.fare.tickets.issuedOn`; string, optional) - maxLength: `255` · minLength: `1` - `status` (`RecordedProduct.detail.fare.tickets.status`; string, optional) - maxLength: `255` · minLength: `1` - `issuingOfficeId` (`RecordedProduct.detail.fare.tickets.issuingOfficeId`; string, optional) - maxLength: `255` · minLength: `1` - `tourCode` (`RecordedProduct.detail.fare.tourCode`; string, optional) - maxLength: `255` · minLength: `1` - `hotel` (`RecordedProduct.detail.hotel`; object, optional) - `address` (`RecordedProduct.detail.hotel.address`; object, optional) - `city` (`RecordedProduct.detail.hotel.address.city`; string, optional) - maxLength: `255` · minLength: `1` - `cityCode` (`RecordedProduct.detail.hotel.address.cityCode`; string, optional) - maxLength: `255` · minLength: `1` - `countryCode` (`RecordedProduct.detail.hotel.address.countryCode`; string, optional) - maxLength: `255` · minLength: `1` - `name` (`RecordedProduct.detail.hotel.address.name`; string, optional) - maxLength: `255` · minLength: `1` - `postalCode` (`RecordedProduct.detail.hotel.address.postalCode`; string, optional) - maxLength: `255` · minLength: `1` - `stateProvince` (`RecordedProduct.detail.hotel.address.stateProvince`; string, optional) - maxLength: `255` · minLength: `1` - `street` (`RecordedProduct.detail.hotel.address.street`; string, optional) - maxLength: `255` · minLength: `1` - `lines` (`RecordedProduct.detail.hotel.address.lines`; array of string, optional) - maxLength: `255` · minLength: `1` - `cancellationPolicy` (`RecordedProduct.detail.hotel.cancellationPolicy`; string, optional) - maxLength: `2000` · minLength: `1` - `chainCode` (`RecordedProduct.detail.hotel.chainCode`; string, optional) - maxLength: `255` · minLength: `1` - `chainName` (`RecordedProduct.detail.hotel.chainName`; string, optional) - maxLength: `255` · minLength: `1` - `checkInTime` (`RecordedProduct.detail.hotel.checkInTime`; string, optional) - maxLength: `255` · minLength: `1` - `checkOutTime` (`RecordedProduct.detail.hotel.checkOutTime`; string, optional) - maxLength: `255` · minLength: `1` - `faxes` (`RecordedProduct.detail.hotel.faxes`; array of string, optional) - maxLength: `255` · minLength: `1` - `guaranteeType` (`RecordedProduct.detail.hotel.guaranteeType`; string, optional) - maxLength: `255` · minLength: `1` - `guaranteeTypeCode` (`RecordedProduct.detail.hotel.guaranteeTypeCode`; string, optional) - maxLength: `255` · minLength: `1` - `guests` (`RecordedProduct.detail.hotel.guests`; integer, optional) - maximum: `9007199254740991` - `nightlyRate` (`RecordedProduct.detail.hotel.nightlyRate`; object, optional) - `currency` (`RecordedProduct.detail.hotel.nightlyRate.currency`; string, required) - pattern: `^[A-Z]{3}$` - `totalMinor` (`RecordedProduct.detail.hotel.nightlyRate.totalMinor`; integer, required) - maximum: `9007199254740991` · minimum: `0` - `nights` (`RecordedProduct.detail.hotel.nights`; array of object, optional) - `amount` (`RecordedProduct.detail.hotel.nights.amount`; object, optional) - `currency` (`RecordedProduct.detail.hotel.nights.amount.currency`; string, required) - pattern: `^[A-Z]{3}$` - `totalMinor` (`RecordedProduct.detail.hotel.nights.amount.totalMinor`; integer, required) - maximum: `9007199254740991` · minimum: `0` - `nights` (`RecordedProduct.detail.hotel.nights.nights`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `percentage` (`RecordedProduct.detail.hotel.nights.percentage`; string, optional) - pattern: `^\d+(?:\.\d+)?$` - `from` (`RecordedProduct.detail.hotel.nights.from`; string, optional) - maxLength: `40` · minLength: `1` - `to` (`RecordedProduct.detail.hotel.nights.to`; string, optional) - maxLength: `40` · minLength: `1` - `paymentPolicy` (`RecordedProduct.detail.hotel.paymentPolicy`; string, optional) - maxLength: `255` · minLength: `1` - `phones` (`RecordedProduct.detail.hotel.phones`; array of string, optional) - maxLength: `255` · minLength: `1` - `emergencyPhones` (`RecordedProduct.detail.hotel.emergencyPhones`; array of string, optional) - maxLength: `255` · minLength: `1` - `productCode` (`RecordedProduct.detail.hotel.productCode`; string, optional) - maxLength: `255` · minLength: `1` - `corporateRateCode` (`RecordedProduct.detail.hotel.corporateRateCode`; string, optional) - maxLength: `255` · minLength: `1` - `propertyId` (`RecordedProduct.detail.hotel.propertyId`; string, optional) - maxLength: `255` · minLength: `1` - `rateCode` (`RecordedProduct.detail.hotel.rateCode`; string, optional) - maxLength: `255` · minLength: `1` - `rateDescription` (`RecordedProduct.detail.hotel.rateDescription`; array of string, optional) - maxLength: `2000` · minLength: `1` - `refundPenalties` (`RecordedProduct.detail.hotel.refundPenalties`; array of object, optional) - `amount` (`RecordedProduct.detail.hotel.refundPenalties.amount`; object, optional) - `currency` (`RecordedProduct.detail.hotel.refundPenalties.amount.currency`; string, required) - pattern: `^[A-Z]{3}$` - `totalMinor` (`RecordedProduct.detail.hotel.refundPenalties.amount.totalMinor`; integer, required) - maximum: `9007199254740991` · minimum: `0` - `nights` (`RecordedProduct.detail.hotel.refundPenalties.nights`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `percentage` (`RecordedProduct.detail.hotel.refundPenalties.percentage`; string, optional) - pattern: `^\d+(?:\.\d+)?$` - `from` (`RecordedProduct.detail.hotel.refundPenalties.from`; string, optional) - maxLength: `40` · minLength: `1` - `to` (`RecordedProduct.detail.hotel.refundPenalties.to`; string, optional) - maxLength: `40` · minLength: `1` - `refundable` (`RecordedProduct.detail.hotel.refundable`; boolean, optional) - `roomDescription` (`RecordedProduct.detail.hotel.roomDescription`; string, optional) - maxLength: `2000` · minLength: `1` - `roomType` (`RecordedProduct.detail.hotel.roomType`; string, optional) - maxLength: `255` · minLength: `1` - `roomTypeCode` (`RecordedProduct.detail.hotel.roomTypeCode`; string, optional) - maxLength: `255` · minLength: `1` - `clientRateCode` (`RecordedProduct.detail.hotel.clientRateCode`; string, optional) - maxLength: `255` · minLength: `1` - `rooms` (`RecordedProduct.detail.hotel.rooms`; integer, optional) - maximum: `9007199254740991` - `providerPropertyId` (`RecordedProduct.detail.hotel.providerPropertyId`; string, optional) - maxLength: `255` · minLength: `1` - `specialInstructions` (`RecordedProduct.detail.hotel.specialInstructions`; string, optional) - maxLength: `2000` · minLength: `1` - `sourceTypeCode` (`RecordedProduct.detail.hotel.sourceTypeCode`; string, optional) - maxLength: `255` · minLength: `1` - `sourceTypeName` (`RecordedProduct.detail.hotel.sourceTypeName`; string, optional) - maxLength: `255` · minLength: `1` - `money` (`RecordedProduct.detail.money`; object, optional) - `currency` (`RecordedProduct.detail.money.currency`; string, required) - pattern: `^[A-Z]{3}$` - `feesMinor` (`RecordedProduct.detail.money.feesMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `subtotalMinor` (`RecordedProduct.detail.money.subtotalMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `taxesMinor` (`RecordedProduct.detail.money.taxesMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `totalMinor` (`RecordedProduct.detail.money.totalMinor`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `references` (`RecordedProduct.detail.references`; object, optional) - `agencyIataNumber` (`RecordedProduct.detail.references.agencyIataNumber`; string, optional) - maxLength: `255` · minLength: `1` - `agencyProfileId` (`RecordedProduct.detail.references.agencyProfileId`; string, optional) - maxLength: `255` · minLength: `1` - `corporateProfileId` (`RecordedProduct.detail.references.corporateProfileId`; string, optional) - maxLength: `255` · minLength: `1` - `providerSegmentIds` (`RecordedProduct.detail.references.providerSegmentIds`; array of string, optional) - maxLength: `255` · minLength: `1` - `null` - `timeline` (`backoffice.orders.get.response.200.timeline`; array of object, required) — The order's story, newest first, at most 500 entries. Entries of kind PAYMENT_EVENT and PROVIDER are Nicer staff only: the server leaves them out for an agency admin. - `amountMinor` (`backoffice.orders.get.response.200.timeline.amountMinor`; any of, required) — The amount involved, in minor units, for PAYMENT, EARNING and EXTERNAL_PAYMENT entries; null for the others. - any of the following: `integer`, `null` - `occurredAt` (`backoffice.orders.get.response.200.timeline.occurredAt`; string, required) — When it happened: at the processor for a PAYMENT_EVENT, at issue for a FULFILLMENT, when Nicer recorded it for the others. - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` - `companyName` (`backoffice.orders.get.response.200.timeline.companyName`; string, required) — The agency whose books the entry is in. - minLength: `1` - `currency` (`backoffice.orders.get.response.200.timeline.currency`; any of, required) — The currency of amountMinor; null when there is no amount. - any of the following: `CurrencyCode`, `null` - `detail` (`backoffice.orders.get.response.200.timeline.detail`; any of, required) — A second line for the entry, by kind; null when none. - any of the following: `string`, `null` - `kind` (`backoffice.orders.get.response.200.timeline.kind`; string, required) — What happened: ACTION (an order action was accepted; the title is its type), PAYMENT (a payment attempt; the title is its purpose and status, the detail the decline reason), PAYMENT_EVENT (an event from the payment processor; Nicer staff only), PROVIDER (a call to the provider; Nicer staff only), FULFILLMENT (a document was issued; the detail is its number), PROVIDER_RECORD (the provider's data was recorded), OBSERVATION (the reservation monitor read the booking; the detail is its error code), EARNING (an earning was booked; the title is its entry type, kind and beneficiary kind, the detail its status) or EXTERNAL_PAYMENT (a payment recorded outside Nicer; the title is its entry type and method, the detail its note). - one of `"ACTION"`, `"PAYMENT"`, `"PAYMENT_EVENT"`, `"PROVIDER"`, `"FULFILLMENT"`, `"PROVIDER_RECORD"`, `"OBSERVATION"`, `"EARNING"`, `"EXTERNAL_PAYMENT"` - `orderId` (`backoffice.orders.get.response.200.timeline.orderId`; string, required) — The order the entry belongs to. - minLength: `1` - `title` (`backoffice.orders.get.response.200.timeline.title`; string, required) — What happened, in a few words. - minLength: `1` ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.orders.get.response.400.errorCode`; string, required) - `errorMessage` (`backoffice.orders.get.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.orders.get.response.401.errorCode`; string, required) - `errorMessage` (`backoffice.orders.get.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.orders.get.response.403.errorCode`; string, required) - `errorMessage` (`backoffice.orders.get.response.403.errorMessage`; string, required) # Get a person's balances in the back office Source: https://docs.nicer.travel/api/backoffice/backoffice.people.balances.list/ · Markdown: https://docs.nicer.travel/api/backoffice/backoffice.people.balances.list/index.md Path: Nicer API › backoffice `GET /backoffice/people/{userId}/balances` URL: `https://api.nicer.travel/backoffice/people/{userId}/balances` Returns a person's ledger balances, as an advisor (what they earn) and as a traveler (their rewards): one row per agency, kind and currency they hold an account in, with what is available, pending and owed back; an overdrawn bucket reads zero and its shortfall is owed back, as everywhere else in Nicer. The person's orders are read with GET /backoffice/orders, by advisorUserId or payerUserId. The agency is named by the x-nicer-company header and nothing else. Nicer staff who name no agency read the person's accounts in every agency's ledger; with an agency named, staff and its admins read that agency's ledger only: the person's accounts there, and nothing of other agencies. An agency admin may name only an agency they administer, and may leave the header out when they administer one. An empty list means the person holds no account in the ledgers read. Errors: 400 ERROR_COMPANY_REQUIRED for an admin of several agencies who names none; 403 ERROR_DO_NOT_HAVE_PERMISSION for a caller who is neither Nicer staff nor an admin of the agency named. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Path parameters - `userId` (`backoffice.people.balances.list.path.userId`; string, required) ## Header parameters - `x-nicer-company` (`backoffice.people.balances.list.header.x-nicer-company`; string, optional) — Company context for an agency admin who belongs to several companies. Optional when the caller belongs to one. ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.backoffice.people.balances.list({ "userId": "string" }); ``` ### Nicer CLI ```bash nicer backoffice people balances list --user-id 'string' ``` ### cURL ```bash curl --request GET \ --url 'https://api.nicer.travel/backoffice/people//balances' \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/backoffice/people//balances'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/backoffice/people//balances" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "balances": [ { "availableMinor": 9007199254740991, "beneficiaryKind": "ADVISOR", "companyName": "string", "currency": "string", "pendingMinor": 9007199254740991, "receivableMinor": 9007199254740991 } ] } ``` - `balances` (`backoffice.people.balances.list.response.200.balances`; array of object, required) — One row per agency, kind and currency the person holds an account in, ordered by agency, then kind, then currency; empty when they hold none. - `availableMinor` (`backoffice.people.balances.list.response.200.balances.availableMinor`; integer, required) — What the account may pay out now, in minor units; zero when the bucket is overdrawn. - maximum: `9007199254740991` · minimum: `0` - `beneficiaryKind` (`backoffice.people.balances.list.response.200.balances.beneficiaryKind`; string, required) — The account's kind: ADVISOR for what the person earns as an advisor, TRAVELER for their traveler rewards. - one of `"ADVISOR"`, `"TRAVELER"` - `companyName` (`backoffice.people.balances.list.response.200.balances.companyName`; string, required) — The agency whose ledger holds the account. - minLength: `1` - `currency` (`backoffice.people.balances.list.response.200.balances.currency`; string, required) — The account's currency. - pattern: `^[A-Z]{3}$` - `pendingMinor` (`backoffice.people.balances.list.response.200.balances.pendingMinor`; integer, required) — What the account has earned but may not pay out yet, in minor units; zero when the bucket is overdrawn. - maximum: `9007199254740991` · minimum: `0` - `receivableMinor` (`backoffice.people.balances.list.response.200.balances.receivableMinor`; integer, required) — What the person owes back on the account, in minor units, an overdrawn bucket's shortfall included. - maximum: `9007199254740991` · minimum: `0` ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.people.balances.list.response.400.errorCode`; string, required) - `errorMessage` (`backoffice.people.balances.list.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.people.balances.list.response.401.errorCode`; string, required) - `errorMessage` (`backoffice.people.balances.list.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.people.balances.list.response.403.errorCode`; string, required) - `errorMessage` (`backoffice.people.balances.list.response.403.errorMessage`; string, required) # Get provider performance in the back office Source: https://docs.nicer.travel/api/backoffice/backoffice.providers.list/ · Markdown: https://docs.nicer.travel/api/backoffice/backoffice.providers.list/index.md Path: Nicer API › backoffice `GET /backoffice/providers` URL: `https://api.nicer.travel/backoffice/providers` Returns how each provider performed in a period (UTC days, from and to included, the last 90 days by default): the orders created in it by provider, product and currency, whatever their status (value sold, bookings, cancellations, and failures: FAILED or NEEDS_ATTENTION); the calls made to providers in it by provider and operation (how many, succeeded, failed or declined, and the average time); and the commission items on its orders by provider, payment status and currency (expected and received). Sold means BOOKED. Every amount is in its row's own currency, never converted. range is the period read, after the defaults. The agency is named by the x-nicer-company header and nothing else: with one named, that agency's; with none, every agency's. Nicer staff only. Errors: 400 ERROR_INVALID_QUERY for a bad day or a from after to; 403 ERROR_DO_NOT_HAVE_PERMISSION for a caller who is not Nicer staff. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Query parameters - `from` (`backoffice.providers.list.query.from`; string, optional) — The period's first UTC day, included; 90 days before to by default. - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` · example: `"2026-08-12"` - `to` (`backoffice.providers.list.query.to`; string, optional) — The period's last UTC day, included; today by default. - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` · example: `"2026-11-10"` ## Header parameters - `x-nicer-company` (`backoffice.providers.list.header.x-nicer-company`; string, optional) — Company context for an agency admin who belongs to several companies. Optional when the caller belongs to one. ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.backoffice.providers.list(); ``` ### Nicer CLI ```bash nicer backoffice providers list ``` ### cURL ```bash curl --request GET \ --url https://api.nicer.travel/backoffice/providers \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/backoffice/providers'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/backoffice/providers" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "commissions": [ { "count": 9007199254740991, "currency": "string", "expectedMinor": -9007199254740991, "providerKey": "string", "receivedMinor": -9007199254740991, "status": "UPCOMING" } ], "operations": [ { "avgSeconds": 0, "failed": 9007199254740991, "kind": "REVALIDATE", "operations": 9007199254740991, "providerKey": "string", "succeeded": 9007199254740991 } ], "range": { "from": "2026-08-12", "to": "2026-11-10" }, "sales": [ { "bookings": 9007199254740991, "cancelled": 9007199254740991, "currency": "string", "failed": 9007199254740991, "productType": "PLANNING_FEE", "providerKey": "string", "soldMinor": -9007199254740991 } ] } ``` - `commissions` (`backoffice.providers.list.response.200.commissions`; array of object, required) — Commission by provider. One row per provider, payment status and currency, by provider, then status. - `count` (`backoffice.providers.list.response.200.commissions.count`; integer, required) — How many commission items. - maximum: `9007199254740991` · minimum: `0` - `currency` (`backoffice.providers.list.response.200.commissions.currency`; string, required) — The commission's currency. - pattern: `^[A-Z]{3}$` - `expectedMinor` (`backoffice.providers.list.response.200.commissions.expectedMinor`; integer, required) — The commission expected on the items, in minor units. - maximum: `9007199254740991` · minimum: `-9007199254740991` - `providerKey` (`backoffice.providers.list.response.200.commissions.providerKey`; string, required) — The provider the orders were booked with. - `receivedMinor` (`backoffice.providers.list.response.200.commissions.receivedMinor`; integer, required) — The commission received on the items, net of reversals, in minor units. - maximum: `9007199254740991` · minimum: `-9007199254740991` - `status` (`backoffice.providers.list.response.200.commissions.status`; string, required) — Where the items' money stands. Every status is counted, closed ones included. - one of `"UPCOMING"`, `"DUE"`, `"OVERDUE"`, `"PAID"`, `"CANCELLED"`, `"NOT_COMMISSIONABLE"` - `operations` (`backoffice.providers.list.response.200.operations`; array of object, required) — Provider calls made in the period. One row per provider and operation, the most calls first. - `avgSeconds` (`backoffice.providers.list.response.200.operations.avgSeconds`; any of, required) — The average seconds a call took, over the calls that both started and finished; null when none did. - any of the following: `number`, `null` - `failed` (`backoffice.providers.list.response.200.operations.failed`; integer, required) — How many ended FAILED or DECLINED. - maximum: `9007199254740991` · minimum: `0` - `kind` (`backoffice.providers.list.response.200.operations.kind`; string, required) — What the calls asked the provider to do. - one of `"REVALIDATE"`, `"INITIATE"`, `"HOLD"`, `"RESERVE"`, `"CONFIRM"`, `"FULFILL"`, `"BOOK"`, `"TICKET"`, `"RETRIEVE"`, `"RECONCILE"`, `"CANCEL"`, `"VOID"`, `"REFUND"` - `operations` (`backoffice.providers.list.response.200.operations.operations`; integer, required) — How many calls. succeeded and failed do not add up to it: the rest are PENDING, RUNNING, UNKNOWN or CANCELLED. - maximum: `9007199254740991` · minimum: `0` - `providerKey` (`backoffice.providers.list.response.200.operations.providerKey`; string, required) — The provider called. - `succeeded` (`backoffice.providers.list.response.200.operations.succeeded`; integer, required) — How many SUCCEEDED. - maximum: `9007199254740991` · minimum: `0` - `range` (`backoffice.providers.list.response.200.range`; object, required) — The UTC days a report covers, both included, after the defaults were applied. - `from` (`backoffice.providers.list.response.200.range.from`; string, required) — The period's first UTC day, included. - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `to` (`backoffice.providers.list.response.200.range.to`; string, required) — The period's last UTC day, included. - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `sales` (`backoffice.providers.list.response.200.sales`; array of object, required) — Orders created in the period. One row per provider, product and currency, the most sold first. - `bookings` (`backoffice.providers.list.response.200.sales.bookings`; integer, required) — How many of the orders are BOOKED. - maximum: `9007199254740991` · minimum: `0` - `cancelled` (`backoffice.providers.list.response.200.sales.cancelled`; integer, required) — How many are CANCELLED. - maximum: `9007199254740991` · minimum: `0` - `currency` (`backoffice.providers.list.response.200.sales.currency`; any of, required) — The orders' currency; null for the orders that carry no amount. - any of the following: `CurrencyCode`, `null` - `failed` (`backoffice.providers.list.response.200.sales.failed`; integer, required) — How many are FAILED or NEEDS_ATTENTION. - maximum: `9007199254740991` · minimum: `0` - `productType` (`backoffice.providers.list.response.200.sales.productType`; string, required) — What the orders sell. - one of `"PLANNING_FEE"`, `"EXTRA_PAYMENT"`, `"HOTEL"`, `"FLIGHT"`, `"INSURANCE"`, `"CAR_RENTAL"` - `providerKey` (`backoffice.providers.list.response.200.sales.providerKey`; string, required) — The provider the orders were booked with. - `soldMinor` (`backoffice.providers.list.response.200.sales.soldMinor`; integer, required) — The total of the BOOKED orders, in minor units; 0 when none is booked. - maximum: `9007199254740991` · minimum: `-9007199254740991` ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.providers.list.response.400.errorCode`; string, required) - `errorMessage` (`backoffice.providers.list.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.providers.list.response.401.errorCode`; string, required) - `errorMessage` (`backoffice.providers.list.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.providers.list.response.403.errorCode`; string, required) - `errorMessage` (`backoffice.providers.list.response.403.errorMessage`; string, required) # Get customer retention in the back office Source: https://docs.nicer.travel/api/backoffice/backoffice.retention.list/ · Markdown: https://docs.nicer.travel/api/backoffice/backoffice.retention.list/index.md Path: Nicer API › backoffice `GET /backoffice/retention` URL: `https://api.nicer.travel/backoffice/retention` Returns who comes back, over every date: the customers by the UTC month of their first BOOKED order, with how many of them booked again, and the 200 customers with the most BOOKED orders (then the highest lifetime value), one row per agency, customer and currency. A customer is a payer email at one agency with at least one BOOKED order: the same person at two agencies is two customers. The payer email is personal data. The agency is named by the x-nicer-company header and nothing else: with one named, that agency's customers; with none, every agency's. Nicer staff only. Errors: 403 ERROR_DO_NOT_HAVE_PERMISSION for a caller who is not Nicer staff. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Header parameters - `x-nicer-company` (`backoffice.retention.list.header.x-nicer-company`; string, optional) — Company context for an agency admin who belongs to several companies. Optional when the caller belongs to one. ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.backoffice.retention.list(); ``` ### Nicer CLI ```bash nicer backoffice retention list ``` ### cURL ```bash curl --request GET \ --url https://api.nicer.travel/backoffice/retention \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/backoffice/retention'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/backoffice/retention" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "cohorts": [ { "customers": 9007199254740991, "month": "2026-11", "returningCustomers": 9007199254740991 } ], "customers": [ { "bookings": 1, "companyName": "string", "currency": "string", "firstBookingAt": "2019-08-24T14:15:22Z", "lastBookingAt": "2019-08-24T14:15:22Z", "lifetimeMinor": -9007199254740991, "payerEmail": "string" } ] } ``` - `cohorts` (`backoffice.retention.list.response.200.cohorts`; array of object, required) — Customers by the month of their first BOOKED order, the oldest month first. One row per month. - `customers` (`backoffice.retention.list.response.200.cohorts.customers`; integer, required) — How many customers made their first BOOKED order in the month. - maximum: `9007199254740991` · minimum: `0` - `month` (`backoffice.retention.list.response.200.cohorts.month`; string, required) — The UTC month the customers' first BOOKED order was created in: the cohort. - pattern: `^\d{4}-(?:0[1-9]|1[0-2])$` - `returningCustomers` (`backoffice.retention.list.response.200.cohorts.returningCustomers`; integer, required) — How many of them have more than one BOOKED order. - maximum: `9007199254740991` · minimum: `0` - `customers` (`backoffice.retention.list.response.200.customers`; array of object, required) — The most loyal customers: the most BOOKED orders first, then the highest lifetime value. One row per agency, customer and currency; at most 200. - `bookings` (`backoffice.retention.list.response.200.customers.bookings`; integer, required) — How many BOOKED orders the customer has in this currency. - maximum: `9007199254740991` · minimum: `1` - `companyName` (`backoffice.retention.list.response.200.customers.companyName`; string, required) — The agency the customer booked with. - minLength: `1` - `currency` (`backoffice.retention.list.response.200.customers.currency`; any of, required) — The orders' currency; null for the orders that carry no amount. - any of the following: `CurrencyCode`, `null` - `firstBookingAt` (`backoffice.retention.list.response.200.customers.firstBookingAt`; string, required) — When the customer's first BOOKED order in this currency was created. - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` - `lastBookingAt` (`backoffice.retention.list.response.200.customers.lastBookingAt`; string, required) — When their latest BOOKED order in this currency was created. - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` - `lifetimeMinor` (`backoffice.retention.list.response.200.customers.lifetimeMinor`; any of, required) — The BOOKED orders' totals added up, in minor units; null when none carries an amount. - any of the following: `integer`, `null` - `payerEmail` (`backoffice.retention.list.response.200.customers.payerEmail`; string, required) — The customer: the payer's email, lower-cased. Personal data. - minLength: `1` ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.retention.list.response.400.errorCode`; string, required) - `errorMessage` (`backoffice.retention.list.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.retention.list.response.401.errorCode`; string, required) - `errorMessage` (`backoffice.retention.list.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.retention.list.response.403.errorCode`; string, required) - `errorMessage` (`backoffice.retention.list.response.403.errorMessage`; string, required) # Get rewards and earnings in the back office Source: https://docs.nicer.travel/api/backoffice/backoffice.rewards.list/ · Markdown: https://docs.nicer.travel/api/backoffice/backoffice.rewards.list/index.md Path: Nicer API › backoffice `GET /backoffice/rewards` URL: `https://api.nicer.travel/backoffice/rewards` Returns traveler rewards and every earning the platform has booked, over every date: each traveler's reward balance now, by agency and currency (at most 200, the most available first; an overdrawn bucket reads zero and its shortfall moves into receivable), and every earning ever booked by earning kind, beneficiary kind, status and currency, gross: reversals and clawbacks are not subtracted. Amounts are in each row's own currency, never converted. The agency is named by the x-nicer-company header and nothing else: with one named, that agency's ledger; with none, every agency's. Nicer staff only. Errors: 403 ERROR_DO_NOT_HAVE_PERMISSION for a caller who is not Nicer staff. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Header parameters - `x-nicer-company` (`backoffice.rewards.list.header.x-nicer-company`; string, optional) — Company context for an agency admin who belongs to several companies. Optional when the caller belongs to one. ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.backoffice.rewards.list(); ``` ### Nicer CLI ```bash nicer backoffice rewards list ``` ### cURL ```bash curl --request GET \ --url https://api.nicer.travel/backoffice/rewards \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/backoffice/rewards'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/backoffice/rewards" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "balances": [ { "availableMinor": 9007199254740991, "companyName": "string", "currency": "string", "pendingMinor": 9007199254740991, "receivableMinor": 9007199254740991, "travelerUserId": "string" } ], "earnings": [ { "amountMinor": -9007199254740991, "beneficiaryKind": "ADVISOR", "currency": "string", "earningKind": "ADJUSTMENT", "entries": 9007199254740991, "status": "PENDING" } ] } ``` - `balances` (`backoffice.rewards.list.response.200.balances`; array of object, required) — Traveler reward balances, the most available first. One row per agency, traveler and currency; at most 200. - `availableMinor` (`backoffice.rewards.list.response.200.balances.availableMinor`; integer, required) — The rewards available now, in minor units. - maximum: `9007199254740991` · minimum: `0` - `companyName` (`backoffice.rewards.list.response.200.balances.companyName`; string, required) — The agency whose ledger it is. - minLength: `1` - `currency` (`backoffice.rewards.list.response.200.balances.currency`; string, required) — The balance's currency. - pattern: `^[A-Z]{3}$` - `pendingMinor` (`backoffice.rewards.list.response.200.balances.pendingMinor`; integer, required) — The rewards earned but not available yet, in minor units. - maximum: `9007199254740991` · minimum: `0` - `receivableMinor` (`backoffice.rewards.list.response.200.balances.receivableMinor`; integer, required) — What the traveler owes back, in minor units, an overdrawn bucket included. - maximum: `9007199254740991` · minimum: `0` - `travelerUserId` (`backoffice.rewards.list.response.200.balances.travelerUserId`; string, required) — The traveler, as the ledger's beneficiary. - minLength: `1` - `earnings` (`backoffice.rewards.list.response.200.earnings`; array of object, required) — Every earning ever booked, gross. One row per earning kind, beneficiary kind, status and currency, the largest amount first. - `amountMinor` (`backoffice.rewards.list.response.200.earnings.amountMinor`; integer, required) — The earnings' total, in minor units. - maximum: `9007199254740991` · minimum: `-9007199254740991` - `beneficiaryKind` (`backoffice.rewards.list.response.200.earnings.beneficiaryKind`; string, required) — Who earns: an advisor, the agency or a traveler. - one of `"ADVISOR"`, `"COMPANY"`, `"TRAVELER"` - `currency` (`backoffice.rewards.list.response.200.earnings.currency`; string, required) — The earnings' currency. - pattern: `^[A-Z]{3}$` - `earningKind` (`backoffice.rewards.list.response.200.earnings.earningKind`; string, required) — What the earnings are for. - one of `"ADJUSTMENT"`, `"ADVISOR_COMMISSION"`, `"AGENCY_COMMISSION"`, `"HOST_SHARE"`, `"PLANNING_FEE"`, `"REFERRAL_COMMISSION"`, `"TRAVELER_REWARD"` - `entries` (`backoffice.rewards.list.response.200.earnings.entries`; integer, required) — How many earnings. - maximum: `9007199254740991` · minimum: `0` - `status` (`backoffice.rewards.list.response.200.earnings.status`; string, required) — Whether the earnings are PENDING, AVAILABLE or REVERSED. - one of `"PENDING"`, `"AVAILABLE"`, `"REVERSED"` ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.rewards.list.response.400.errorCode`; string, required) - `errorMessage` (`backoffice.rewards.list.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.rewards.list.response.401.errorCode`; string, required) - `errorMessage` (`backoffice.rewards.list.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.rewards.list.response.403.errorCode`; string, required) - `errorMessage` (`backoffice.rewards.list.response.403.errorMessage`; string, required) # Get the sales report in the back office Source: https://docs.nicer.travel/api/backoffice/backoffice.sales.list/ · Markdown: https://docs.nicer.travel/api/backoffice/backoffice.sales.list/index.md Path: Nicer API › backoffice `GET /backoffice/sales` URL: `https://api.nicer.travel/backoffice/sales` Returns the sales report of a period: of one agency, or of every agency for Nicer staff who name none. The period's sections all describe the orders created in it (UTC days, from and to included, the last 90 days by default), of the productType asked for, in the currency asked for (USD by default): sales by month and by day, the checkout funnel, Nicer's charges, booking values, open commission by status and by product, property and age, earnings, advisor production, flight routes and lead times. currencyTotals shows the period in every currency side by side; advisorBalances is what each advisor is owed now, whatever the period; currencies lists every currency the orders use. Sold means BOOKED and cancelled CANCELLED. The agency is named by the x-nicer-company header and nothing else. An agency admin may name only an agency they administer, and may leave the header out when they administer one. Nicer staff only: agencies, the ranking of agencies, answered only for the whole platform, and providerKey in byMonth and commissions; an admin's rows are not split by provider. Errors: 400 ERROR_INVALID_QUERY for a bad parameter or a from after to; 400 ERROR_COMPANY_REQUIRED for an admin of several agencies who names none; 403 ERROR_DO_NOT_HAVE_PERMISSION for a caller who is neither Nicer staff nor an admin of the agency named. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Query parameters - `currency` (`backoffice.sales.list.query.currency`; string, optional) — The currency the money sections are in; USD by default. currencyTotals shows every currency whatever this is. - pattern: `^[A-Z]{3}$` · default: `"USD"` - `from` (`backoffice.sales.list.query.from`; string, optional) — The period's first UTC day, included; 90 days before to by default. - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` · example: `"2026-08-12"` - `productType` (`backoffice.sales.list.query.productType`; string, optional) — Only the orders that sell this product, in every section. - one of `"PLANNING_FEE"`, `"EXTRA_PAYMENT"`, `"HOTEL"`, `"FLIGHT"`, `"INSURANCE"`, `"CAR_RENTAL"` - `to` (`backoffice.sales.list.query.to`; string, optional) — The period's last UTC day, included; today by default. - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` · example: `"2026-11-10"` ## Header parameters - `x-nicer-company` (`backoffice.sales.list.header.x-nicer-company`; string, optional) — Company context for an agency admin who belongs to several companies. Optional when the caller belongs to one. ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.backoffice.sales.list(); ``` ### Nicer CLI ```bash nicer backoffice sales list ``` ### cURL ```bash curl --request GET \ --url https://api.nicer.travel/backoffice/sales \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/backoffice/sales'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/backoffice/sales" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "advisorBalances": [ { "advisorUserId": "string", "availableMinor": 9007199254740991, "companyName": "string", "currency": "string", "pendingMinor": 9007199254740991, "receivableMinor": 9007199254740991 } ], "advisors": [ { "advisorUserId": "string", "bookings": 9007199254740991, "companyName": "string", "currency": "string", "month": "2026-11", "soldMinor": -9007199254740991 } ], "agencies": [ { "bookings": 9007199254740991, "companyName": "string", "currency": "string", "productType": "PLANNING_FEE", "soldMinor": -9007199254740991 } ], "bookingValues": [ { "currency": "string", "productType": "PLANNING_FEE", "totalMinor": -9007199254740991 } ], "byMonth": [ { "bookings": 9007199254740991, "cancelledMinor": -9007199254740991, "currency": "string", "month": "2026-11", "productType": "PLANNING_FEE", "providerKey": "string", "soldMinor": -9007199254740991 } ], "commissionDetail": [ { "currency": "string", "expectedMinor": -9007199254740991, "receivedMinor": -9007199254740991, "status": "UPCOMING", "ageDays": 9007199254740991, "hotelReference": "string", "productName": "string", "productType": "PLANNING_FEE" } ], "commissions": [ { "currency": "string", "expectedMinor": -9007199254740991, "receivedMinor": -9007199254740991, "status": "UPCOMING", "count": 9007199254740991, "providerKey": "string", "varianceMinor": -9007199254740991 } ], "currencies": [ "string" ], "currency": "string", "currencyTotals": [ { "bookings": 9007199254740991, "checkoutMinor": -9007199254740991, "currency": "string", "orders": 9007199254740991, "recordedMinor": -9007199254740991, "unknownAmounts": 9007199254740991, "unpricedBookings": 9007199254740991 } ], "daily": [ { "bookings": 9007199254740991, "day": "2026-11-10", "soldMinor": -9007199254740991 } ], "earnings": [ { "amountMinor": -9007199254740991, "beneficiaryKind": "ADVISOR", "currency": "string", "earningKind": "ADJUSTMENT", "entryType": "EARNING", "month": "2026-11", "status": "PENDING" } ], "exchangeRates": { "source": "CurrencyBeacon", "updatedAt": "2019-08-24T14:15:22Z", "rates": { "property1": 0, "property2": 0 } }, "funnel": { "booked": 9007199254740991, "fulfilled": 9007199254740991, "orders": 9007199254740991 }, "leadTimes": [ { "bucket": "0_7", "legs": 9007199254740991 } ], "payments": [ { "amountMinor": -9007199254740991, "attempts": 9007199254740991, "currency": "string", "month": "2026-11", "status": "REQUIRES_ACTION" } ], "range": { "from": "2026-08-12", "to": "2026-11-10" }, "routes": [ { "destinationAirport": "string", "leadDays": 0, "legs": 9007199254740991, "marketingCarrierCode": "string", "originAirport": "string" } ] } ``` - `advisorBalances` (`backoffice.sales.list.response.200.advisorBalances`; array of object, required) — What each advisor is owed now, in the currency asked for. One row per advisor. - `advisorUserId` (`backoffice.sales.list.response.200.advisorBalances.advisorUserId`; string, required) — The advisor, as the ledger's beneficiary. - minLength: `1` - `availableMinor` (`backoffice.sales.list.response.200.advisorBalances.availableMinor`; integer, required) — What the advisor may be paid now, in minor units. - maximum: `9007199254740991` · minimum: `0` - `companyName` (`backoffice.sales.list.response.200.advisorBalances.companyName`; string, required) — The agency whose ledger it is. - minLength: `1` - `currency` (`backoffice.sales.list.response.200.advisorBalances.currency`; string, required) — The balance's currency. - pattern: `^[A-Z]{3}$` - `pendingMinor` (`backoffice.sales.list.response.200.advisorBalances.pendingMinor`; integer, required) — What the advisor has earned but may not be paid yet, in minor units. - maximum: `9007199254740991` · minimum: `0` - `receivableMinor` (`backoffice.sales.list.response.200.advisorBalances.receivableMinor`; integer, required) — What the advisor owes back, in minor units, an overdrawn bucket included. - maximum: `9007199254740991` · minimum: `0` - `advisors` (`backoffice.sales.list.response.200.advisors`; array of object, required) — Advisor production. One row per month and advisor. - `advisorUserId` (`backoffice.sales.list.response.200.advisors.advisorUserId`; string, required) — The advisor credited with the orders. - minLength: `1` - `bookings` (`backoffice.sales.list.response.200.advisors.bookings`; integer, required) — How many orders are BOOKED. - maximum: `9007199254740991` · minimum: `0` - `companyName` (`backoffice.sales.list.response.200.advisors.companyName`; string, required) — The advisor's agency. - minLength: `1` - `currency` (`backoffice.sales.list.response.200.advisors.currency`; string, required) — The orders' currency. - pattern: `^[A-Z]{3}$` - `month` (`backoffice.sales.list.response.200.advisors.month`; string, required) — The UTC month the orders were created in. - pattern: `^\d{4}-(?:0[1-9]|1[0-2])$` - `soldMinor` (`backoffice.sales.list.response.200.advisors.soldMinor`; integer, required) — The total of the BOOKED orders, in minor units. - maximum: `9007199254740991` · minimum: `-9007199254740991` - `bookingValues` (`backoffice.sales.list.response.200.bookingValues`; array of object, required) — Booked order values. One row per BOOKED order. - `currency` (`backoffice.sales.list.response.200.bookingValues.currency`; string, required) — The order's currency. - pattern: `^[A-Z]{3}$` - `productType` (`backoffice.sales.list.response.200.bookingValues.productType`; string, required) — What the order sells. - one of `"PLANNING_FEE"`, `"EXTRA_PAYMENT"`, `"HOTEL"`, `"FLIGHT"`, `"INSURANCE"`, `"CAR_RENTAL"` - `totalMinor` (`backoffice.sales.list.response.200.bookingValues.totalMinor`; integer, required) — The order's total, in minor units. - maximum: `9007199254740991` · minimum: `-9007199254740991` - `byMonth` (`backoffice.sales.list.response.200.byMonth`; array of object, required) — Sales by month. One row per month and product. - `bookings` (`backoffice.sales.list.response.200.byMonth.bookings`; integer, required) — How many orders are BOOKED. - maximum: `9007199254740991` · minimum: `0` - `cancelledMinor` (`backoffice.sales.list.response.200.byMonth.cancelledMinor`; integer, required) — The total of the CANCELLED orders, in minor units. - maximum: `9007199254740991` · minimum: `-9007199254740991` - `currency` (`backoffice.sales.list.response.200.byMonth.currency`; string, required) — The orders' currency. - pattern: `^[A-Z]{3}$` - `month` (`backoffice.sales.list.response.200.byMonth.month`; string, required) — The UTC month the orders were created in. - pattern: `^\d{4}-(?:0[1-9]|1[0-2])$` - `productType` (`backoffice.sales.list.response.200.byMonth.productType`; string, required) — What the orders sell. - one of `"PLANNING_FEE"`, `"EXTRA_PAYMENT"`, `"HOTEL"`, `"FLIGHT"`, `"INSURANCE"`, `"CAR_RENTAL"` - `soldMinor` (`backoffice.sales.list.response.200.byMonth.soldMinor`; integer, required) — The total of the BOOKED orders, in minor units. - maximum: `9007199254740991` · minimum: `-9007199254740991` - `providerKey` (`backoffice.sales.list.response.200.byMonth.providerKey`; string, optional) — The provider the orders were booked with. Nicer staff only: left out for an agency admin, whose rows are not split by provider. - `commissionDetail` (`backoffice.sales.list.response.200.commissionDetail`; array of object, required) — Open commission by product, property and age. One row per status, product, property and age. - `currency` (`backoffice.sales.list.response.200.commissionDetail.currency`; string, required) — The commission's currency. - pattern: `^[A-Z]{3}$` - `expectedMinor` (`backoffice.sales.list.response.200.commissionDetail.expectedMinor`; integer, required) — The commission expected on the items, in minor units. - maximum: `9007199254740991` · minimum: `-9007199254740991` - `receivedMinor` (`backoffice.sales.list.response.200.commissionDetail.receivedMinor`; integer, required) — The commission received on the items, net of reversals, in minor units. - maximum: `9007199254740991` · minimum: `-9007199254740991` - `status` (`backoffice.sales.list.response.200.commissionDetail.status`; string, required) — Where the items' money stands. Only open items are counted: never CANCELLED or NOT_COMMISSIONABLE, and no written-off item. - one of `"UPCOMING"`, `"DUE"`, `"OVERDUE"`, `"PAID"`, `"CANCELLED"`, `"NOT_COMMISSIONABLE"` - `ageDays` (`backoffice.sales.list.response.200.commissionDetail.ageDays`; integer, required) — Days since travel ended, the clock suppliers pay against; 0 before travel ends. - maximum: `9007199254740991` · minimum: `0` - `hotelReference` (`backoffice.sales.list.response.200.commissionDetail.hotelReference`; any of, required) — Nicer's reference for the property; null for other products. - any of the following: `string`, `null` - `productName` (`backoffice.sales.list.response.200.commissionDetail.productName`; any of, required) — The product or property name, as recorded or sold. - any of the following: `string`, `null` - `productType` (`backoffice.sales.list.response.200.commissionDetail.productType`; string, required) — What the orders sell. - one of `"PLANNING_FEE"`, `"EXTRA_PAYMENT"`, `"HOTEL"`, `"FLIGHT"`, `"INSURANCE"`, `"CAR_RENTAL"` - `commissions` (`backoffice.sales.list.response.200.commissions`; array of object, required) — Open commission. One row per payment status. - `currency` (`backoffice.sales.list.response.200.commissions.currency`; string, required) — The commission's currency. - pattern: `^[A-Z]{3}$` - `expectedMinor` (`backoffice.sales.list.response.200.commissions.expectedMinor`; integer, required) — The commission expected on the items, in minor units. - maximum: `9007199254740991` · minimum: `-9007199254740991` - `receivedMinor` (`backoffice.sales.list.response.200.commissions.receivedMinor`; integer, required) — The commission received on the items, net of reversals, in minor units. - maximum: `9007199254740991` · minimum: `-9007199254740991` - `status` (`backoffice.sales.list.response.200.commissions.status`; string, required) — Where the items' money stands. Only open items are counted: never CANCELLED or NOT_COMMISSIONABLE, and no written-off item. - one of `"UPCOMING"`, `"DUE"`, `"OVERDUE"`, `"PAID"`, `"CANCELLED"`, `"NOT_COMMISSIONABLE"` - `count` (`backoffice.sales.list.response.200.commissions.count`; integer, required) — How many commission items. - maximum: `9007199254740991` · minimum: `0` - `varianceMinor` (`backoffice.sales.list.response.200.commissions.varianceMinor`; integer, required) — Received minus expected, in minor units: negative while money is still owed. - maximum: `9007199254740991` · minimum: `-9007199254740991` - `providerKey` (`backoffice.sales.list.response.200.commissions.providerKey`; string, optional) — The provider the orders were booked with. Nicer staff only: left out for an agency admin, whose rows are not split by provider. - `currencies` (`backoffice.sales.list.response.200.currencies`; array of string, required) — Every currency the agency's orders use (every agency's for the whole platform), at any date: the choices of the currency filter. - pattern: `^[A-Z]{3}$` - `currency` (`backoffice.sales.list.response.200.currency`; string, required) — The currency every money section but currencyTotals is in. - pattern: `^[A-Z]{3}$` - `currencyTotals` (`backoffice.sales.list.response.200.currencyTotals`; array of object, required) — The period in every currency. One row per currency. - `bookings` (`backoffice.sales.list.response.200.currencyTotals.bookings`; integer, required) — How many orders are BOOKED. - maximum: `9007199254740991` · minimum: `0` - `checkoutMinor` (`backoffice.sales.list.response.200.currencyTotals.checkoutMinor`; integer, required) — The total of the BOOKED orders Nicer sold through checkout, in minor units. - maximum: `9007199254740991` · minimum: `-9007199254740991` - `currency` (`backoffice.sales.list.response.200.currencyTotals.currency`; any of, required) — The orders' currency; null for the orders that carry no amount. - any of the following: `CurrencyCode`, `null` - `orders` (`backoffice.sales.list.response.200.currencyTotals.orders`; integer, required) — How many orders were created in the period. - maximum: `9007199254740991` · minimum: `0` - `recordedMinor` (`backoffice.sales.list.response.200.currencyTotals.recordedMinor`; integer, required) — The total of the BOOKED orders recorded from a provider (not sold through checkout), in minor units. Not money Nicer captured. - maximum: `9007199254740991` · minimum: `-9007199254740991` - `unknownAmounts` (`backoffice.sales.list.response.200.currencyTotals.unknownAmounts`; integer, required) — How many orders carry no amount. - maximum: `9007199254740991` · minimum: `0` - `unpricedBookings` (`backoffice.sales.list.response.200.currencyTotals.unpricedBookings`; integer, required) — How many BOOKED orders carry no amount or no currency. - maximum: `9007199254740991` · minimum: `0` - `daily` (`backoffice.sales.list.response.200.daily`; array of object, required) — Bookings by day. One row per UTC day with orders. - `bookings` (`backoffice.sales.list.response.200.daily.bookings`; integer, required) — How many orders are BOOKED. - maximum: `9007199254740991` · minimum: `0` - `day` (`backoffice.sales.list.response.200.daily.day`; string, required) — The UTC day the orders were created on. - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `soldMinor` (`backoffice.sales.list.response.200.daily.soldMinor`; integer, required) — The total of the BOOKED orders, in minor units. - maximum: `9007199254740991` · minimum: `-9007199254740991` - `earnings` (`backoffice.sales.list.response.200.earnings`; array of object, required) — Earnings by who earns. One row per month, beneficiary kind, earning kind, entry type and status. - `amountMinor` (`backoffice.sales.list.response.200.earnings.amountMinor`; integer, required) — The earnings' total, in minor units. - maximum: `9007199254740991` · minimum: `-9007199254740991` - `beneficiaryKind` (`backoffice.sales.list.response.200.earnings.beneficiaryKind`; string, required) — Who earns: an advisor, the agency or a traveler. Nicer's own share is not an earning (it is booked in the ledger), so no row names NICER. - one of `"ADVISOR"`, `"COMPANY"`, `"TRAVELER"` - `currency` (`backoffice.sales.list.response.200.earnings.currency`; string, required) — The earnings' currency. - pattern: `^[A-Z]{3}$` - `earningKind` (`backoffice.sales.list.response.200.earnings.earningKind`; string, required) — What the earning is for. - one of `"ADJUSTMENT"`, `"ADVISOR_COMMISSION"`, `"AGENCY_COMMISSION"`, `"HOST_SHARE"`, `"PLANNING_FEE"`, `"REFERRAL_COMMISSION"`, `"TRAVELER_REWARD"` - `entryType` (`backoffice.sales.list.response.200.earnings.entryType`; string, required) — EARNING, or the REVERSAL or CLAWBACK that takes one back. - one of `"EARNING"`, `"REVERSAL"`, `"CLAWBACK"` - `month` (`backoffice.sales.list.response.200.earnings.month`; string, required) — The UTC month the earning was booked in. - pattern: `^\d{4}-(?:0[1-9]|1[0-2])$` - `status` (`backoffice.sales.list.response.200.earnings.status`; string, required) — Whether the earning is PENDING, AVAILABLE or REVERSED. - one of `"PENDING"`, `"AVAILABLE"`, `"REVERSED"` - `exchangeRates` (`backoffice.sales.list.response.200.exchangeRates`; any of, required) — The latest stored reference exchange rates, to show amounts in another currency; null when they cannot be read. Never the rate a payment used. - any of the following: - `ExchangeRateSnapshot` - `source` (`ExchangeRateSnapshot.source`; string, required) - `updatedAt` (`ExchangeRateSnapshot.updatedAt`; string, required) - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` - `rates` (`ExchangeRateSnapshot.rates`; map of number, required) - `null` - `funnel` (`backoffice.sales.list.response.200.funnel`; object, required) — The checkout funnel of the period: orders placed through checkout, booked, and booked with a document issued. - `booked` (`backoffice.sales.list.response.200.funnel.booked`; integer, required) — How many of them are BOOKED. - maximum: `9007199254740991` · minimum: `0` - `fulfilled` (`backoffice.sales.list.response.200.funnel.fulfilled`; integer, required) — How many of the BOOKED ones have at least one issued document. - maximum: `9007199254740991` · minimum: `0` - `orders` (`backoffice.sales.list.response.200.funnel.orders`; integer, required) — How many orders were started through checkout in the period, unpaid drafts included. - maximum: `9007199254740991` · minimum: `0` - `leadTimes` (`backoffice.sales.list.response.200.leadTimes`; array of object, required) — Flight lead times. One row per bucket with legs. - `bucket` (`backoffice.sales.list.response.200.leadTimes.bucket`; string, required) — Days between the order and the departure: 0_7, 8_30, 31_90, 91_180 or 180_PLUS (more than 180). - one of `"0_7"`, `"8_30"`, `"31_90"`, `"91_180"`, `"180_PLUS"` - `legs` (`backoffice.sales.list.response.200.leadTimes.legs`; integer, required) — How many legs. - maximum: `9007199254740991` · minimum: `0` - `payments` (`backoffice.sales.list.response.200.payments`; array of object, required) — Nicer's charges. One row per month and status. - `amountMinor` (`backoffice.sales.list.response.200.payments.amountMinor`; integer, required) — The attempts' total, in minor units. - maximum: `9007199254740991` · minimum: `-9007199254740991` - `attempts` (`backoffice.sales.list.response.200.payments.attempts`; integer, required) — How many attempts. - maximum: `9007199254740991` · minimum: `0` - `currency` (`backoffice.sales.list.response.200.payments.currency`; string, required) — The attempts' currency. - pattern: `^[A-Z]{3}$` - `month` (`backoffice.sales.list.response.200.payments.month`; string, required) — The UTC month the attempts were made in. - pattern: `^\d{4}-(?:0[1-9]|1[0-2])$` - `status` (`backoffice.sales.list.response.200.payments.status`; string, required) — The attempts' status. SUCCEEDED is money captured; AUTHORIZED is not money yet. - one of `"REQUIRES_ACTION"`, `"AUTHORIZED"`, `"PROCESSING"`, `"SUCCEEDED"`, `"DECLINED"`, `"UNKNOWN"`, `"CANCELLED"` - `range` (`backoffice.sales.list.response.200.range`; object, required) — The UTC days a report covers, both included, after the defaults were applied. - `from` (`backoffice.sales.list.response.200.range.from`; string, required) — The period's first UTC day, included. - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `to` (`backoffice.sales.list.response.200.range.to`; string, required) — The period's last UTC day, included. - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` - `routes` (`backoffice.sales.list.response.200.routes`; array of object, required) — Flight routes. One row per origin, destination and airline. - `destinationAirport` (`backoffice.sales.list.response.200.routes.destinationAirport`; string, required) — Where the legs land. - pattern: `^[A-Z]{3}$` - `leadDays` (`backoffice.sales.list.response.200.routes.leadDays`; any of, required) — The average days between the order and the departure, over the legs of orders sold through checkout; null when there are none. - any of the following: `number`, `null` - `legs` (`backoffice.sales.list.response.200.routes.legs`; integer, required) — How many legs. - maximum: `9007199254740991` · minimum: `0` - `marketingCarrierCode` (`backoffice.sales.list.response.200.routes.marketingCarrierCode`; string, required) — The airline that sells the legs. - pattern: `^[A-Z0-9]{2,3}$` - `originAirport` (`backoffice.sales.list.response.200.routes.originAirport`; string, required) — Where the legs leave from. - pattern: `^[A-Z]{3}$` - `agencies` (`backoffice.sales.list.response.200.agencies`; array of object, optional) — The agency ranking. One row per agency and product. Nicer staff only, and only for the whole platform: absent when an agency is named. - `bookings` (`backoffice.sales.list.response.200.agencies.bookings`; integer, required) — How many orders are BOOKED. - maximum: `9007199254740991` · minimum: `0` - `companyName` (`backoffice.sales.list.response.200.agencies.companyName`; string, required) — The agency. - minLength: `1` - `currency` (`backoffice.sales.list.response.200.agencies.currency`; string, required) — The orders' currency. - pattern: `^[A-Z]{3}$` - `productType` (`backoffice.sales.list.response.200.agencies.productType`; string, required) — What the orders sell. - one of `"PLANNING_FEE"`, `"EXTRA_PAYMENT"`, `"HOTEL"`, `"FLIGHT"`, `"INSURANCE"`, `"CAR_RENTAL"` - `soldMinor` (`backoffice.sales.list.response.200.agencies.soldMinor`; integer, required) — The total of the BOOKED orders, in minor units. - maximum: `9007199254740991` · minimum: `-9007199254740991` ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.sales.list.response.400.errorCode`; string, required) - `errorMessage` (`backoffice.sales.list.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.sales.list.response.401.errorCode`; string, required) - `errorMessage` (`backoffice.sales.list.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.sales.list.response.403.errorCode`; string, required) - `errorMessage` (`backoffice.sales.list.response.403.errorMessage`; string, required) # List the platform timeline in the back office Source: https://docs.nicer.travel/api/backoffice/backoffice.timeline.list/ · Markdown: https://docs.nicer.travel/api/backoffice/backoffice.timeline.list/index.md Path: Nicer API › backoffice `GET /backoffice/timeline` URL: `https://api.nicer.travel/backoffice/timeline` Lists every commercial event of a period across orders, newest first: order actions, payment attempts, payment processor events, provider calls, issued documents, provider records, reservation reads, earnings and external payments, each as an order's timeline has it (GET /backoffice/orders/{orderId}), with the order and agency it belongs to. from and to are UTC days of when the event happened, both included, the last 90 days by default; kind narrows the list to one kind of event, and q searches the order id and the event's title. 100 events a page (limit, at most 500), paged with nextToken. The agency is named by the x-nicer-company header and nothing else: with one named, that agency's events; with none, every agency's. Nicer staff only. Errors: 400 ERROR_INVALID_QUERY for a bad parameter or a from after to; 403 ERROR_DO_NOT_HAVE_PERMISSION for a caller who is not Nicer staff. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Query parameters - `from` (`backoffice.timeline.list.query.from`; string, optional) — The first UTC day of the events, included; 90 days before to by default. - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` · example: `"2026-08-12"` - `kind` (`backoffice.timeline.list.query.kind`; string, optional) — Only the events of this kind. - one of `"ACTION"`, `"PAYMENT"`, `"PAYMENT_EVENT"`, `"PROVIDER"`, `"FULFILLMENT"`, `"PROVIDER_RECORD"`, `"OBSERVATION"`, `"EARNING"`, `"EXTERNAL_PAYMENT"` - `limit` (`backoffice.timeline.list.query.limit`; integer, optional) — How many events a page holds, 1 to 500; 100 by default. - maximum: `500` · minimum: `1` · default: `100` - `nextToken` (`backoffice.timeline.list.query.nextToken`; string, optional) — The nextToken of the previous page, to read the next one. Send it with the same filters. - minLength: `1` - `q` (`backoffice.timeline.list.query.q`; string, optional) — Free text, matched case-insensitively anywhere in the order id or the event's title. - maxLength: `200` · minLength: `1` · example: `"SABRE TICKET"` - `to` (`backoffice.timeline.list.query.to`; string, optional) — The last UTC day of the events, included; today by default. - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` · example: `"2026-11-10"` ## Header parameters - `x-nicer-company` (`backoffice.timeline.list.header.x-nicer-company`; string, optional) — Company context for an agency admin who belongs to several companies. Optional when the caller belongs to one. ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.backoffice.timeline.list(); ``` ### Nicer CLI ```bash nicer backoffice timeline list ``` ### cURL ```bash curl --request GET \ --url https://api.nicer.travel/backoffice/timeline \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/backoffice/timeline'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/backoffice/timeline" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "items": [ { "amountMinor": -9007199254740991, "occurredAt": "2019-08-24T14:15:22Z", "companyName": "string", "currency": "string", "detail": "string", "kind": "ACTION", "orderId": "string", "title": "NICER_CHARGE SUCCEEDED" } ], "nextToken": "string" } ``` - `items` (`backoffice.timeline.list.response.200.items`; array of object, required) — The items of this page. - `amountMinor` (`backoffice.timeline.list.response.200.items.amountMinor`; any of, required) — The amount involved, in minor units, for PAYMENT, EARNING and EXTERNAL_PAYMENT entries; null for the others. - any of the following: `integer`, `null` - `occurredAt` (`backoffice.timeline.list.response.200.items.occurredAt`; string, required) — When it happened: at the processor for a PAYMENT_EVENT, at issue for a FULFILLMENT, when Nicer recorded it for the others. - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` - `companyName` (`backoffice.timeline.list.response.200.items.companyName`; string, required) — The agency whose books the entry is in. - minLength: `1` - `currency` (`backoffice.timeline.list.response.200.items.currency`; any of, required) — The currency of amountMinor; null when there is no amount. - any of the following: `CurrencyCode`, `null` - `detail` (`backoffice.timeline.list.response.200.items.detail`; any of, required) — A second line for the entry, by kind; null when none. - any of the following: `string`, `null` - `kind` (`backoffice.timeline.list.response.200.items.kind`; string, required) — What happened: ACTION (an order action was accepted; the title is its type), PAYMENT (a payment attempt; the title is its purpose and status, the detail the decline reason), PAYMENT_EVENT (an event from the payment processor; Nicer staff only), PROVIDER (a call to the provider; Nicer staff only), FULFILLMENT (a document was issued; the detail is its number), PROVIDER_RECORD (the provider's data was recorded), OBSERVATION (the reservation monitor read the booking; the detail is its error code), EARNING (an earning was booked; the title is its entry type, kind and beneficiary kind, the detail its status) or EXTERNAL_PAYMENT (a payment recorded outside Nicer; the title is its entry type and method, the detail its note). - one of `"ACTION"`, `"PAYMENT"`, `"PAYMENT_EVENT"`, `"PROVIDER"`, `"FULFILLMENT"`, `"PROVIDER_RECORD"`, `"OBSERVATION"`, `"EARNING"`, `"EXTERNAL_PAYMENT"` - `orderId` (`backoffice.timeline.list.response.200.items.orderId`; string, required) — The order the entry belongs to. - minLength: `1` - `title` (`backoffice.timeline.list.response.200.items.title`; string, required) — What happened, in a few words. - minLength: `1` - `nextToken` (`backoffice.timeline.list.response.200.nextToken`; any of, required) — Send it back as nextToken to read the next page; null on the last page. - any of the following: `string`, `null` ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.timeline.list.response.400.errorCode`; string, required) - `errorMessage` (`backoffice.timeline.list.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.timeline.list.response.401.errorCode`; string, required) - `errorMessage` (`backoffice.timeline.list.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.timeline.list.response.403.errorCode`; string, required) - `errorMessage` (`backoffice.timeline.list.response.403.errorMessage`; string, required) # List trips in the back office Source: https://docs.nicer.travel/api/backoffice/backoffice.trips.list/ · Markdown: https://docs.nicer.travel/api/backoffice/backoffice.trips.list/index.md Path: Nicer API › backoffice `GET /backoffice/trips` URL: `https://api.nicer.travel/backoffice/trips` Lists trips for the back office, newest first, with the fields a list shows (read the whole record with GET /backoffice/trips/{travelersTripId}). The agency is named by the x-nicer-company header and nothing else. In an agency: its trips, 50 a page (limit, at most 200), paged with nextToken. Nicer staff who name no agency get the newest trips of every agency in one page, nextToken null; this view returns at most limit trips, so it is capped, not complete. With userId: the trips that person is on, in any relationship, newest first, in one page, each with isArchived (whether they archived it); for an agency admin, only the ones in their agency. Nicer staff may name any agency or none; an agency admin may name only an agency they administer, and may leave the header out when they administer one. Errors: 400 ERROR_INVALID_QUERY for a bad limit or token; 400 ERROR_COMPANY_REQUIRED for an admin of several agencies who names none; 403 ERROR_DO_NOT_HAVE_PERMISSION for a caller who is neither Nicer staff nor an admin of the agency named. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Query parameters - `limit` (`backoffice.trips.list.query.limit`; integer, optional) — How many trips a page holds, 1 to 200; 50 by default. Not used with userId. - maximum: `200` · minimum: `1` · default: `50` - `nextToken` (`backoffice.trips.list.query.nextToken`; string, optional) — The nextToken of the previous page, to read the next one. Only an agency's list has more than one page. - minLength: `1` - `userId` (`backoffice.trips.list.query.userId`; string, optional) — Lists the trips this person is on, in any relationship, instead of the agency's. - minLength: `1` ## Header parameters - `x-nicer-company` (`backoffice.trips.list.header.x-nicer-company`; string, optional) — Company context for an agency admin who belongs to several companies. Optional when the caller belongs to one. ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.backoffice.trips.list(); ``` ### Nicer CLI ```bash nicer backoffice trips list ``` ### cURL ```bash curl --request GET \ --url https://api.nicer.travel/backoffice/trips \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/backoffice/trips'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/backoffice/trips" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "items": [ { "assignedAdvisorUserId": "string", "associatedTripItineraryId": "string", "associatedUserIds": [ "string" ], "budget": "goodValue", "companyName": "string", "createdAt": "2026-11-02T15:04:05.000Z", "createdBy": "string", "createdReason": "CREATED_BY_TRAVELER", "deleted": true, "destinations": [ { "address": "string", "amenities": [ "string" ], "city": "string", "country": "string", "countryCode": "string", "description": "string", "distanceFromSearch": { "unit": "km", "value": 0 }, "features": [ "string" ], "fullAddress": "string", "gate": "string", "iataCode": "string", "internovaId": "string", "latitude": 0, "longitude": 0, "name": "string", "photos": [ { "key": "string", "name": "string", "url": "string" } ], "placeId": "string", "region": "string", "source": "string", "state": "string", "terminal": "string", "timeZone": "string", "zipCode": "string", "endDateTime": "string", "headerImageUrl": "string", "startDateTime": "string" } ], "hasActivity": true, "primaryTravelerUserId": "string", "travelers": { "adults": 0, "children": 0 }, "travelersTripId": "string", "tripEndDate": "2026-12-20", "tripStartDate": "2026-12-12", "tripTitle": "string", "updatedAt": "2026-11-03T09:12:44.000Z", "isArchived": true } ], "nextToken": "string" } ``` - `items` (`backoffice.trips.list.response.200.items`; array of object, required) — The items of this page. - `associatedUserIds` (`backoffice.trips.list.response.200.items.associatedUserIds`; array of string, required) — The user id of every person on the trip, in any relationship. - `companyName` (`backoffice.trips.list.response.200.items.companyName`; string, required) — The agency the trip belongs to. - `createdAt` (`backoffice.trips.list.response.200.items.createdAt`; string, required) — When the trip was created, ISO 8601. - `createdBy` (`backoffice.trips.list.response.200.items.createdBy`; string, required) — The user id of who created the trip. - `destinations` (`backoffice.trips.list.response.200.items.destinations`; array of object, required) — Where the trip goes, in order, each place with its first and last day (YYYY-MM-DD). - `endDateTime` (`backoffice.trips.list.response.200.items.destinations.endDateTime`; string, required) - pattern: `^\d{4}-\d{2}-\d{2}$` - `startDateTime` (`backoffice.trips.list.response.200.items.destinations.startDateTime`; string, required) - pattern: `^\d{4}-\d{2}-\d{2}$` - `address` (`backoffice.trips.list.response.200.items.destinations.address`; any of, optional) - any of the following: `string`, `null` - `amenities` (`backoffice.trips.list.response.200.items.destinations.amenities`; array of string, optional) - `city` (`backoffice.trips.list.response.200.items.destinations.city`; any of, optional) - any of the following: `string`, `null` - `country` (`backoffice.trips.list.response.200.items.destinations.country`; string, optional) - `countryCode` (`backoffice.trips.list.response.200.items.destinations.countryCode`; string, optional) - `description` (`backoffice.trips.list.response.200.items.destinations.description`; string, optional) - `distanceFromSearch` (`backoffice.trips.list.response.200.items.destinations.distanceFromSearch`; object, optional) - `unit` (`backoffice.trips.list.response.200.items.destinations.distanceFromSearch.unit`; string, required) - one of `"km"`, `"mi"` - `value` (`backoffice.trips.list.response.200.items.destinations.distanceFromSearch.value`; number, required) - `features` (`backoffice.trips.list.response.200.items.destinations.features`; array of string, optional) - `fullAddress` (`backoffice.trips.list.response.200.items.destinations.fullAddress`; string, optional) - `gate` (`backoffice.trips.list.response.200.items.destinations.gate`; any of, optional) - any of the following: `string`, `null` - `iataCode` (`backoffice.trips.list.response.200.items.destinations.iataCode`; any of, optional) - any of the following: `string`, `null` - `internovaId` (`backoffice.trips.list.response.200.items.destinations.internovaId`; string, optional) - `latitude` (`backoffice.trips.list.response.200.items.destinations.latitude`; number, optional) - `longitude` (`backoffice.trips.list.response.200.items.destinations.longitude`; number, optional) - `name` (`backoffice.trips.list.response.200.items.destinations.name`; string, optional) - `photos` (`backoffice.trips.list.response.200.items.destinations.photos`; array of object, optional) - `name` (`backoffice.trips.list.response.200.items.destinations.photos.name`; string, required) - `key` (`backoffice.trips.list.response.200.items.destinations.photos.key`; string, optional) - `url` (`backoffice.trips.list.response.200.items.destinations.photos.url`; string, optional) - `placeId` (`backoffice.trips.list.response.200.items.destinations.placeId`; string, optional) - `region` (`backoffice.trips.list.response.200.items.destinations.region`; string, optional) - `source` (`backoffice.trips.list.response.200.items.destinations.source`; string, optional) - `state` (`backoffice.trips.list.response.200.items.destinations.state`; any of, optional) - any of the following: `string`, `null` - `terminal` (`backoffice.trips.list.response.200.items.destinations.terminal`; any of, optional) - any of the following: `string`, `null` - `timeZone` (`backoffice.trips.list.response.200.items.destinations.timeZone`; string, optional) - `zipCode` (`backoffice.trips.list.response.200.items.destinations.zipCode`; any of, optional) - any of the following: `string`, `null` - `headerImageUrl` (`backoffice.trips.list.response.200.items.destinations.headerImageUrl`; string, optional) - `primaryTravelerUserId` (`backoffice.trips.list.response.200.items.primaryTravelerUserId`; string, required) — The user id of the trip's lead traveler. - `travelersTripId` (`backoffice.trips.list.response.200.items.travelersTripId`; string, required) — The trip's id. - `tripEndDate` (`backoffice.trips.list.response.200.items.tripEndDate`; string, required) — The trip's last day. - `tripStartDate` (`backoffice.trips.list.response.200.items.tripStartDate`; string, required) — The trip's first day. - `tripTitle` (`backoffice.trips.list.response.200.items.tripTitle`; string, required) — The trip's name. - `updatedAt` (`backoffice.trips.list.response.200.items.updatedAt`; string, required) — When the trip last changed, ISO 8601. - `assignedAdvisorUserId` (`backoffice.trips.list.response.200.items.assignedAdvisorUserId`; any of, optional) — The user id of the advisor responsible for the trip; null or absent while none is assigned. - any of the following: `string`, `null` - `associatedTripItineraryId` (`backoffice.trips.list.response.200.items.associatedTripItineraryId`; any of, optional) — The trip's itinerary, once its advisor started one; null or absent before. - any of the following: `string`, `null` - `budget` (`backoffice.trips.list.response.200.items.budget`; any of, optional) — The kind of budget the traveler asked for: goodValue or luxury. - any of the following: `string`, `string` - `createdReason` (`backoffice.trips.list.response.200.items.createdReason`; string, optional) — How the trip came to be: created by the traveler, by an advisor, by a matching advisor or by a booking. - one of `"CREATED_BY_TRAVELER"`, `"CREATED_BY_ADVISOR"`, `"CREATED_BY_MATCHING_ADVISOR"`, `"CREATED_BY_BOOKING"` - `deleted` (`backoffice.trips.list.response.200.items.deleted`; boolean, optional) — True once the trip was deleted. Deleted trips are listed too. - `hasActivity` (`backoffice.trips.list.response.200.items.hasActivity`; boolean, optional) — True once the traveler approved a segment or an order was placed on the trip. - `travelers` (`backoffice.trips.list.response.200.items.travelers`; object, optional) — How many adults and children travel. - `adults` (`backoffice.trips.list.response.200.items.travelers.adults`; number, optional) - `children` (`backoffice.trips.list.response.200.items.travelers.children`; number, optional) - `isArchived` (`backoffice.trips.list.response.200.items.isArchived`; boolean, optional) — Whether the person named by userId archived the trip in their own list. Present only on a list read with userId. - `nextToken` (`backoffice.trips.list.response.200.nextToken`; any of, required) — Send it back as nextToken to read the next page; null on the last page. - any of the following: `string`, `null` ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.trips.list.response.400.errorCode`; string, required) - `errorMessage` (`backoffice.trips.list.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.trips.list.response.401.errorCode`; string, required) - `errorMessage` (`backoffice.trips.list.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.trips.list.response.403.errorCode`; string, required) - `errorMessage` (`backoffice.trips.list.response.403.errorMessage`; string, required) # Get a trip in the back office Source: https://docs.nicer.travel/api/backoffice/backoffice.trips.get/ · Markdown: https://docs.nicer.travel/api/backoffice/backoffice.trips.get/index.md Path: Nicer API › backoffice `GET /backoffice/trips/{travelersTripId}` URL: `https://api.nicer.travel/backoffice/trips/{travelersTripId}` Returns a whole trip record and the people on it: each person's relationship to the trip, whether they archived it and when they last read its chat. The agency is named by the x-nicer-company header and nothing else. Nicer staff who name no agency reach any trip; with an agency named, staff and its admins reach that agency's trips only. An agency admin may name only an agency they administer, and may leave the header out when they administer one. Errors: 404 ERROR_ITEM_NOT_FOUND for a trip that does not exist or belongs to another agency; 400 ERROR_COMPANY_REQUIRED for an admin of several agencies who names none; 403 ERROR_DO_NOT_HAVE_PERMISSION for a caller who is neither Nicer staff nor an admin of the agency named. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Path parameters - `travelersTripId` (`backoffice.trips.get.path.travelersTripId`; string, required) ## Header parameters - `x-nicer-company` (`backoffice.trips.get.header.x-nicer-company`; string, optional) — Company context for an agency admin who belongs to several companies. Optional when the caller belongs to one. ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.backoffice.trips.get({ "travelersTripId": "string" }); ``` ### Nicer CLI ```bash nicer backoffice trips get --travelers-trip-id 'string' ``` ### cURL ```bash curl --request GET \ --url 'https://api.nicer.travel/backoffice/trips/' \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/backoffice/trips/'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/backoffice/trips/" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "members": [ { "createdAt": "2026-11-02T15:04:05.000Z", "createdBy": "string", "displayName": "string", "isArchived": true, "lastModifiedBy": "string", "lastReadAt": "string", "relationship": "BILLING_CONTACT", "travelersTripId": "string", "type": "TravelersTripUser", "updatedAt": "2026-11-03T09:12:44.000Z", "userId": "string" } ], "trip": { "assignedAdvisorUserId": "string", "associatedChatId": "string", "associatedTripItineraryId": "string", "associatedUserIds": [ "string" ], "availableDate": "string", "budgetCurrency": "string", "companyName": "string", "conciergeMessageSentAt": "string", "createdBy": "string", "createdReason": "CREATED_BY_TRAVELER", "deleted": true, "deletedAt": "string", "deletedBy": "string", "destinations": [ { "address": "string", "amenities": [ "string" ], "city": "string", "country": "string", "countryCode": "string", "description": "string", "distanceFromSearch": { "unit": "km", "value": 0 }, "features": [ "string" ], "fullAddress": "string", "gate": "string", "iataCode": "string", "internovaId": "string", "latitude": 0, "longitude": 0, "name": "string", "photos": [ { "key": "string", "name": "string", "url": "string" } ], "placeId": "string", "region": "string", "source": "string", "state": "string", "terminal": "string", "timeZone": "string", "zipCode": "string", "endDateTime": "string", "headerImageUrl": "string", "startDateTime": "string" } ], "hasActivity": true, "hasFlexibleDates": true, "isAllPricesHidden": false, "isItineraryVisible": true, "isSummaryHidden": false, "lastMessageTimestamp": "string", "lastModifiedBy": "string", "primaryTravelerUserId": "string", "specialRequests": "string", "suggestionsEnabled": true, "travelers": { "adults": 0, "children": 0 }, "tripEndDate": "2026-12-20", "tripStartDate": "2026-12-12", "tripTitle": "string", "amount": 0, "budget": "goodValue", "purpose": "holidays", "who": "solo", "travelersTripId": "string", "createdAt": "2026-11-02T15:04:05.000Z", "updatedAt": "2026-11-03T09:12:44.000Z", "type": "TravelersTrip" } } ``` - `members` (`backoffice.trips.get.response.200.members`; array of object, required) — The member edges of the people in associatedUserIds that have one. - `createdAt` (`backoffice.trips.get.response.200.members.createdAt`; string, required) — When the person was added to the trip, ISO 8601. - `createdBy` (`backoffice.trips.get.response.200.members.createdBy`; string, required) — Who added the person to the trip: a user id, or SYSTEM. - `lastModifiedBy` (`backoffice.trips.get.response.200.members.lastModifiedBy`; string, required) — Who last changed the edge: a user id, or SYSTEM. - `travelersTripId` (`backoffice.trips.get.response.200.members.travelersTripId`; string, required) — The trip's id. - `type` (`backoffice.trips.get.response.200.members.type`; string, required) - `updatedAt` (`backoffice.trips.get.response.200.members.updatedAt`; string, required) — When the edge last changed, ISO 8601. - `userId` (`backoffice.trips.get.response.200.members.userId`; string, required) — The person's user id. - `displayName` (`backoffice.trips.get.response.200.members.displayName`; any of, optional) — The person's name as the trip shows it, when one is stored. - any of the following: `string`, `null` - `isArchived` (`backoffice.trips.get.response.200.members.isArchived`; boolean, optional) — Whether the person archived the trip in their own list. - `lastReadAt` (`backoffice.trips.get.response.200.members.lastReadAt`; any of, optional) — When the person last read the trip's chat, ISO 8601; null or absent if never. - any of the following: `string`, `null` - `relationship` (`backoffice.trips.get.response.200.members.relationship`; string, optional) — How a person takes part in a trip: PRIMARY (the lead traveler), TRAVELER, PAYER or BILLING_CONTACT. - one of `"BILLING_CONTACT"`, `"PAYER"`, `"PRIMARY"`, `"TRAVELER"` - `trip` (`backoffice.trips.get.response.200.trip`; object, required) — The whole trip record, as travelers-trip stores it: the list fields plus its chat, visibility, flexible dates, budget and special requests. - `associatedUserIds` (`backoffice.trips.get.response.200.trip.associatedUserIds`; array of string, required) — The user id of every person on the trip, in any relationship. - `companyName` (`backoffice.trips.get.response.200.trip.companyName`; string, required) — The agency the trip belongs to. - `createdBy` (`backoffice.trips.get.response.200.trip.createdBy`; string, required) — The user id of who created the trip. - `destinations` (`backoffice.trips.get.response.200.trip.destinations`; array of object, required) — Where the trip goes, in order, each place with its first and last day (YYYY-MM-DD). - `endDateTime` (`backoffice.trips.get.response.200.trip.destinations.endDateTime`; string, required) - pattern: `^\d{4}-\d{2}-\d{2}$` - `startDateTime` (`backoffice.trips.get.response.200.trip.destinations.startDateTime`; string, required) - pattern: `^\d{4}-\d{2}-\d{2}$` - `address` (`backoffice.trips.get.response.200.trip.destinations.address`; any of, optional) - any of the following: `string`, `null` - `amenities` (`backoffice.trips.get.response.200.trip.destinations.amenities`; array of string, optional) - `city` (`backoffice.trips.get.response.200.trip.destinations.city`; any of, optional) - any of the following: `string`, `null` - `country` (`backoffice.trips.get.response.200.trip.destinations.country`; string, optional) - `countryCode` (`backoffice.trips.get.response.200.trip.destinations.countryCode`; string, optional) - `description` (`backoffice.trips.get.response.200.trip.destinations.description`; string, optional) - `distanceFromSearch` (`backoffice.trips.get.response.200.trip.destinations.distanceFromSearch`; object, optional) - `unit` (`backoffice.trips.get.response.200.trip.destinations.distanceFromSearch.unit`; string, required) - one of `"km"`, `"mi"` - `value` (`backoffice.trips.get.response.200.trip.destinations.distanceFromSearch.value`; number, required) - `features` (`backoffice.trips.get.response.200.trip.destinations.features`; array of string, optional) - `fullAddress` (`backoffice.trips.get.response.200.trip.destinations.fullAddress`; string, optional) - `gate` (`backoffice.trips.get.response.200.trip.destinations.gate`; any of, optional) - any of the following: `string`, `null` - `iataCode` (`backoffice.trips.get.response.200.trip.destinations.iataCode`; any of, optional) - any of the following: `string`, `null` - `internovaId` (`backoffice.trips.get.response.200.trip.destinations.internovaId`; string, optional) - `latitude` (`backoffice.trips.get.response.200.trip.destinations.latitude`; number, optional) - `longitude` (`backoffice.trips.get.response.200.trip.destinations.longitude`; number, optional) - `name` (`backoffice.trips.get.response.200.trip.destinations.name`; string, optional) - `photos` (`backoffice.trips.get.response.200.trip.destinations.photos`; array of object, optional) - `name` (`backoffice.trips.get.response.200.trip.destinations.photos.name`; string, required) - `key` (`backoffice.trips.get.response.200.trip.destinations.photos.key`; string, optional) - `url` (`backoffice.trips.get.response.200.trip.destinations.photos.url`; string, optional) - `placeId` (`backoffice.trips.get.response.200.trip.destinations.placeId`; string, optional) - `region` (`backoffice.trips.get.response.200.trip.destinations.region`; string, optional) - `source` (`backoffice.trips.get.response.200.trip.destinations.source`; string, optional) - `state` (`backoffice.trips.get.response.200.trip.destinations.state`; any of, optional) - any of the following: `string`, `null` - `terminal` (`backoffice.trips.get.response.200.trip.destinations.terminal`; any of, optional) - any of the following: `string`, `null` - `timeZone` (`backoffice.trips.get.response.200.trip.destinations.timeZone`; string, optional) - `zipCode` (`backoffice.trips.get.response.200.trip.destinations.zipCode`; any of, optional) - any of the following: `string`, `null` - `headerImageUrl` (`backoffice.trips.get.response.200.trip.destinations.headerImageUrl`; string, optional) - `hasFlexibleDates` (`backoffice.trips.get.response.200.trip.hasFlexibleDates`; boolean, required) - `isAllPricesHidden` (`backoffice.trips.get.response.200.trip.isAllPricesHidden`; boolean, required) - default: `false` - `isItineraryVisible` (`backoffice.trips.get.response.200.trip.isItineraryVisible`; boolean, required) - default: `true` - `isSummaryHidden` (`backoffice.trips.get.response.200.trip.isSummaryHidden`; boolean, required) - default: `false` - `lastModifiedBy` (`backoffice.trips.get.response.200.trip.lastModifiedBy`; string, required) - `primaryTravelerUserId` (`backoffice.trips.get.response.200.trip.primaryTravelerUserId`; string, required) — The user id of the trip's lead traveler. - `tripEndDate` (`backoffice.trips.get.response.200.trip.tripEndDate`; string, required) — The trip's last day. - `tripStartDate` (`backoffice.trips.get.response.200.trip.tripStartDate`; string, required) — The trip's first day. - `tripTitle` (`backoffice.trips.get.response.200.trip.tripTitle`; string, required) — The trip's name. - `travelersTripId` (`backoffice.trips.get.response.200.trip.travelersTripId`; string, required) — The trip's id. - `createdAt` (`backoffice.trips.get.response.200.trip.createdAt`; string, required) — When the trip was created, ISO 8601. - `updatedAt` (`backoffice.trips.get.response.200.trip.updatedAt`; string, required) — When the trip last changed, ISO 8601. - `type` (`backoffice.trips.get.response.200.trip.type`; string, required) - `assignedAdvisorUserId` (`backoffice.trips.get.response.200.trip.assignedAdvisorUserId`; any of, optional) — The user id of the advisor responsible for the trip; null or absent while none is assigned. - any of the following: `string`, `null` - `associatedChatId` (`backoffice.trips.get.response.200.trip.associatedChatId`; any of, optional) - any of the following: `string`, `null` - `associatedTripItineraryId` (`backoffice.trips.get.response.200.trip.associatedTripItineraryId`; any of, optional) — The trip's itinerary, once its advisor started one; null or absent before. - any of the following: `string`, `null` - `availableDate` (`backoffice.trips.get.response.200.trip.availableDate`; any of, optional) - any of the following: - `string` - `object` - `from` (`backoffice.trips.get.response.200.trip.availableDate.2.from`; string, required) - `to` (`backoffice.trips.get.response.200.trip.availableDate.2.to`; string, required) - `budgetCurrency` (`backoffice.trips.get.response.200.trip.budgetCurrency`; any of, optional) - any of the following: `string`, `null` - `conciergeMessageSentAt` (`backoffice.trips.get.response.200.trip.conciergeMessageSentAt`; any of, optional) - any of the following: `string`, `null` - `createdReason` (`backoffice.trips.get.response.200.trip.createdReason`; string, optional) — How the trip came to be: created by the traveler, by an advisor, by a matching advisor or by a booking. - one of `"CREATED_BY_TRAVELER"`, `"CREATED_BY_ADVISOR"`, `"CREATED_BY_MATCHING_ADVISOR"`, `"CREATED_BY_BOOKING"` - `deleted` (`backoffice.trips.get.response.200.trip.deleted`; boolean, optional) — True once the trip was deleted. Deleted trips are listed too. - `deletedAt` (`backoffice.trips.get.response.200.trip.deletedAt`; any of, optional) - any of the following: `string`, `null` - `deletedBy` (`backoffice.trips.get.response.200.trip.deletedBy`; string, optional) - `hasActivity` (`backoffice.trips.get.response.200.trip.hasActivity`; boolean, optional) — True once the traveler approved a segment or an order was placed on the trip. - `lastMessageTimestamp` (`backoffice.trips.get.response.200.trip.lastMessageTimestamp`; any of, optional) - any of the following: `string`, `null` - `specialRequests` (`backoffice.trips.get.response.200.trip.specialRequests`; any of, optional) - any of the following: `string`, `null` - `suggestionsEnabled` (`backoffice.trips.get.response.200.trip.suggestionsEnabled`; boolean, optional) - `travelers` (`backoffice.trips.get.response.200.trip.travelers`; object, optional) — How many adults and children travel. - `adults` (`backoffice.trips.get.response.200.trip.travelers.adults`; number, optional) - `children` (`backoffice.trips.get.response.200.trip.travelers.children`; number, optional) - `amount` (`backoffice.trips.get.response.200.trip.amount`; number, optional) - `budget` (`backoffice.trips.get.response.200.trip.budget`; any of, optional) — The kind of budget the traveler asked for: goodValue or luxury. - any of the following: `string`, `string` - `purpose` (`backoffice.trips.get.response.200.trip.purpose`; any of, optional) - any of the following: `string`, `string`, `string`, `string` - `who` (`backoffice.trips.get.response.200.trip.who`; any of, optional) - any of the following: `string`, `string`, `string`, `string` ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.trips.get.response.400.errorCode`; string, required) - `errorMessage` (`backoffice.trips.get.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.trips.get.response.401.errorCode`; string, required) - `errorMessage` (`backoffice.trips.get.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.trips.get.response.403.errorCode`; string, required) - `errorMessage` (`backoffice.trips.get.response.403.errorMessage`; string, required) # List users in the back office Source: https://docs.nicer.travel/api/backoffice/backoffice.users.list/ · Markdown: https://docs.nicer.travel/api/backoffice/backoffice.users.list/index.md Path: Nicer API › backoffice `GET /backoffice/users` URL: `https://api.nicer.travel/backoffice/users` Lists the accounts Identity holds, 50 a page (limit, at most 100), paged with nextToken, in user id order (not a meaningful one). Each account carries what the users list shows: name, email, phone, photo, agency and role; name, email, phone and photo are personal data. Deleted accounts are listed too, with deleted true. role narrows the list to one platform role. The agency is named by the x-nicer-company header and nothing else: with one named, only the people with an active membership in it (as advisor, admin or Nicer staff), whatever agency they signed up in; with none, every account. A page narrowed by role or agency may hold fewer accounts than limit, even none, before the last page: read on while nextToken is not null. Nicer staff only. Errors: 400 ERROR_INVALID_QUERY for a bad role, limit or token; 403 ERROR_DO_NOT_HAVE_PERMISSION for a caller who is not Nicer staff. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Query parameters - `limit` (`backoffice.users.list.query.limit`; integer, optional) — The most people a page holds, 1 to 100; 50 by default. A page narrowed by role or agency may hold fewer, even none, before the last one. - maximum: `100` · minimum: `1` · default: `50` - `nextToken` (`backoffice.users.list.query.nextToken`; string, optional) — The nextToken of the previous page, to read the next one. Send it with the same role and agency. - minLength: `1` - `role` (`backoffice.users.list.query.role`; string, optional) — Only the people with this platform role: traveler, advisor, admin (an agency admin) or superadmin (Nicer staff). - one of `"advisor"`, `"traveler"`, `"admin"`, `"superadmin"` ## Header parameters - `x-nicer-company` (`backoffice.users.list.header.x-nicer-company`; string, optional) — Company context for an agency admin who belongs to several companies. Optional when the caller belongs to one. ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.backoffice.users.list(); ``` ### Nicer CLI ```bash nicer backoffice users list ``` ### cURL ```bash curl --request GET \ --url https://api.nicer.travel/backoffice/users \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/backoffice/users'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/backoffice/users" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "items": [ { "avatar": "http://example.com", "companyName": "nicer", "deleted": true, "email": "string", "familyName": "string", "fullName": "string", "givenName": "string", "phoneNumber": "string", "role": "advisor", "userId": "string" } ], "nextToken": "string" } ``` - `items` (`backoffice.users.list.response.200.items`; array of object, required) — The items of this page. - `familyName` (`backoffice.users.list.response.200.items.familyName`; string, required) — The person's family name, as they gave it; may be empty. Personal data. - `fullName` (`backoffice.users.list.response.200.items.fullName`; any of, required) — The person's whole name, when stored. Personal data. - any of the following: `string`, `null` - `givenName` (`backoffice.users.list.response.200.items.givenName`; string, required) — The person's given name, as they gave it; may be empty. Personal data. - `role` (`backoffice.users.list.response.200.items.role`; string, required) — The person's platform role: traveler, advisor, admin (an agency admin) or superadmin (Nicer staff). - one of `"advisor"`, `"traveler"`, `"admin"`, `"superadmin"` - `userId` (`backoffice.users.list.response.200.items.userId`; string, required) — The person's user id. - minLength: `1` - `avatar` (`backoffice.users.list.response.200.items.avatar`; string, optional) — The URL of the person's photo, when they uploaded one: the stored media key behind Nicer's media host, as Identity's own user reads answer it. Personal data. - format: `uri` - `companyName` (`backoffice.users.list.response.200.items.companyName`; any of, optional) — The agency the account belongs to: the one the person signed up in, or nicer for an account that signed up with none. It does not list the other agencies the person works with or travels with. - any of the following: `string`, `null` - `deleted` (`backoffice.users.list.response.200.items.deleted`; boolean, optional) — True once the account was deleted; absent or false otherwise. Deleted accounts are listed too. - `email` (`backoffice.users.list.response.200.items.email`; any of, optional) — The person's email, when the account has one; null or absent otherwise. Personal data. - any of the following: `string`, `null` - `phoneNumber` (`backoffice.users.list.response.200.items.phoneNumber`; any of, optional) — The person's phone number, when the account has one; null or absent otherwise. Personal data. - any of the following: `string`, `null` - `nextToken` (`backoffice.users.list.response.200.nextToken`; any of, required) — Send it back as nextToken to read the next page; null on the last page. - any of the following: `string`, `null` ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.users.list.response.400.errorCode`; string, required) - `errorMessage` (`backoffice.users.list.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.users.list.response.401.errorCode`; string, required) - `errorMessage` (`backoffice.users.list.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`backoffice.users.list.response.403.errorCode`; string, required) - `errorMessage` (`backoffice.users.list.response.403.errorMessage`; string, required) # favorites Source: https://docs.nicer.travel/api/tags/favorites/ · Markdown: https://docs.nicer.travel/api/tags/favorites/index.md Path: Nicer API ## Operations - [List the caller's saved places](https://docs.nicer.travel/api/favorites/favorites.list/) — `GET /favorites` - [Save a place](https://docs.nicer.travel/api/favorites/favorites.update/) — `PUT /favorites` - [Remove a saved place](https://docs.nicer.travel/api/favorites/favorites.delete/) — `DELETE /favorites` - [Get the caller's shared list link](https://docs.nicer.travel/api/favorites/favorites.share.list/) — `GET /favorites/share` - [Share the caller's saved list](https://docs.nicer.travel/api/favorites/favorites.share.update/) — `PUT /favorites/share` - [Stop sharing the caller's saved list](https://docs.nicer.travel/api/favorites/favorites.share.delete/) — `DELETE /favorites/share` - [Get a shared saved list](https://docs.nicer.travel/api/favorites/favorites.shared.get/) — `GET /favorites/shared/{shareId}` # List the caller's saved places Source: https://docs.nicer.travel/api/favorites/favorites.list/ · Markdown: https://docs.nicer.travel/api/favorites/favorites.list/index.md Path: Nicer API › favorites `GET /favorites` URL: `https://api.nicer.travel/favorites` Returns the places the caller saved, newest first, optionally narrowed to one kind. Always the caller's own list — there is no way to read another user's. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Query parameters - `kind` (`favorites.list.query.kind`; string, optional) - one of `"HOTEL"`, `"ACTIVITY"` ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.favorites.list(); ``` ### Nicer CLI ```bash nicer favorites list ``` ### cURL ```bash curl --request GET \ --url https://api.nicer.travel/favorites \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/favorites'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/favorites" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "items": [ { "activity": { "destinationId": "string", "destinationName": "string", "durationMinutes": 100000, "reviewCount": 9007199254740991 }, "city": "string", "country": "string", "imageUrl": "string", "latitude": -90, "longitude": -180, "name": "string", "rateCodes": [ "string" ], "starRating": 5, "createdAt": "string", "updatedAt": "string", "favoriteId": "string", "kind": "HOTEL", "reference": "string", "type": "Favorite", "userId": "string" } ] } ``` - `items` (`favorites.list.response.200.items`; array of object, required) - `name` (`favorites.list.response.200.items.name`; string, required) - maxLength: `300` · minLength: `1` - `createdAt` (`favorites.list.response.200.items.createdAt`; string, required) - `updatedAt` (`favorites.list.response.200.items.updatedAt`; string, required) - `favoriteId` (`favorites.list.response.200.items.favoriteId`; string, required) - `kind` (`favorites.list.response.200.items.kind`; string, required) - one of `"HOTEL"`, `"ACTIVITY"` - `reference` (`favorites.list.response.200.items.reference`; string, required) - maxLength: `512` · minLength: `1` - `type` (`favorites.list.response.200.items.type`; string, required) - `userId` (`favorites.list.response.200.items.userId`; string, required) - `activity` (`favorites.list.response.200.items.activity`; any of, optional) - any of the following: - `FavoriteActivity` - `destinationId` (`FavoriteActivity.destinationId`; string, required) - maxLength: `32` · minLength: `1` - `destinationName` (`FavoriteActivity.destinationName`; any of, required) - any of the following: `string`, `null` - `durationMinutes` (`FavoriteActivity.durationMinutes`; any of, required) - any of the following: `integer`, `null` - `reviewCount` (`FavoriteActivity.reviewCount`; any of, required) - any of the following: `integer`, `null` - `null` - `city` (`favorites.list.response.200.items.city`; any of, optional) - any of the following: `string`, `null` - `country` (`favorites.list.response.200.items.country`; any of, optional) - any of the following: `string`, `null` - `imageUrl` (`favorites.list.response.200.items.imageUrl`; any of, optional) - any of the following: `string`, `null` - `latitude` (`favorites.list.response.200.items.latitude`; any of, optional) - any of the following: `number`, `null` - `longitude` (`favorites.list.response.200.items.longitude`; any of, optional) - any of the following: `number`, `null` - `rateCodes` (`favorites.list.response.200.items.rateCodes`; any of, optional) - any of the following: `array`, `null` - `starRating` (`favorites.list.response.200.items.starRating`; any of, optional) - any of the following: `number`, `null` ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`favorites.list.response.400.errorCode`; string, required) - `errorMessage` (`favorites.list.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`favorites.list.response.401.errorCode`; string, required) - `errorMessage` (`favorites.list.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`favorites.list.response.403.errorCode`; string, required) - `errorMessage` (`favorites.list.response.403.errorMessage`; string, required) # Save a place Source: https://docs.nicer.travel/api/favorites/favorites.update/ · Markdown: https://docs.nicer.travel/api/favorites/favorites.update/index.md Path: Nicer API › favorites `PUT /favorites` URL: `https://api.nicer.travel/favorites` Saves a place for the caller, or refreshes its snapshot when it is already saved — saving twice never creates a second entry. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Request body _Required._ - `name` (`favorites.update.name`; string, required) - maxLength: `300` · minLength: `1` - `kind` (`favorites.update.kind`; string, required) - one of `"HOTEL"`, `"ACTIVITY"` - `reference` (`favorites.update.reference`; string, required) - maxLength: `512` · minLength: `1` - `activity` (`favorites.update.activity`; any of, optional) - any of the following: - `FavoriteActivity` - `destinationId` (`FavoriteActivity.destinationId`; string, required) - maxLength: `32` · minLength: `1` - `destinationName` (`FavoriteActivity.destinationName`; any of, required) - any of the following: `string`, `null` - `durationMinutes` (`FavoriteActivity.durationMinutes`; any of, required) - any of the following: `integer`, `null` - `reviewCount` (`FavoriteActivity.reviewCount`; any of, required) - any of the following: `integer`, `null` - `null` - `city` (`favorites.update.city`; any of, optional) - any of the following: `string`, `null` - `country` (`favorites.update.country`; any of, optional) - any of the following: `string`, `null` - `imageUrl` (`favorites.update.imageUrl`; any of, optional) - any of the following: `string`, `null` - `latitude` (`favorites.update.latitude`; any of, optional) - any of the following: `number`, `null` - `longitude` (`favorites.update.longitude`; any of, optional) - any of the following: `number`, `null` - `rateCodes` (`favorites.update.rateCodes`; any of, optional) - any of the following: `array`, `null` - `starRating` (`favorites.update.starRating`; any of, optional) - any of the following: `number`, `null` ## Example request ```json { "activity": { "destinationId": "string", "destinationName": "string", "durationMinutes": 100000, "reviewCount": 9007199254740991 }, "city": "string", "country": "string", "imageUrl": "string", "latitude": -90, "longitude": -180, "name": "string", "rateCodes": [ "string" ], "starRating": 5, "kind": "HOTEL", "reference": "string" } ``` ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.favorites.update({ "name": "string", "kind": "HOTEL", "reference": "string" }); ``` ### Nicer CLI ```bash nicer favorites update --input - <<'JSON' { "name": "string", "kind": "HOTEL", "reference": "string" } JSON ``` ### cURL ```bash curl --request PUT \ --url https://api.nicer.travel/favorites \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "activity": { "destinationId": "string", "destinationName": "string", "durationMinutes": 100000, "reviewCount": 9007199254740991 }, "city": "string", "country": "string", "imageUrl": "string", "latitude": -90, "longitude": -180, "name": "string", "rateCodes": [ "string" ], "starRating": 5, "kind": "HOTEL", "reference": "string" } ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/favorites'; const options = { method: 'PUT', headers: { 'Content-Type': 'application/json', Authorization: 'Bearer ' }, body: JSON.stringify({ activity: { destinationId: 'string', destinationName: 'string', durationMinutes: 100000, reviewCount: 9007199254740991 }, city: 'string', country: 'string', imageUrl: 'string', latitude: -90, longitude: -180, name: 'string', rateCodes: ['string'], starRating: 5, kind: 'HOTEL', reference: 'string' }) }; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/favorites" payload = { "activity": { "destinationId": "string", "destinationName": "string", "durationMinutes": 100000, "reviewCount": 9007199254740991 }, "city": "string", "country": "string", "imageUrl": "string", "latitude": -90, "longitude": -180, "name": "string", "rateCodes": ["string"], "starRating": 5, "kind": "HOTEL", "reference": "string" } headers = { "Content-Type": "application/json", "Authorization": "Bearer " } response = requests.put(url, json=payload, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "activity": { "destinationId": "string", "destinationName": "string", "durationMinutes": 100000, "reviewCount": 9007199254740991 }, "city": "string", "country": "string", "imageUrl": "string", "latitude": -90, "longitude": -180, "name": "string", "rateCodes": [ "string" ], "starRating": 5, "createdAt": "string", "updatedAt": "string", "favoriteId": "string", "kind": "HOTEL", "reference": "string", "type": "Favorite", "userId": "string" } ``` - `name` (`favorites.update.response.200.name`; string, required) - maxLength: `300` · minLength: `1` - `createdAt` (`favorites.update.response.200.createdAt`; string, required) - `updatedAt` (`favorites.update.response.200.updatedAt`; string, required) - `favoriteId` (`favorites.update.response.200.favoriteId`; string, required) - `kind` (`favorites.update.response.200.kind`; string, required) - one of `"HOTEL"`, `"ACTIVITY"` - `reference` (`favorites.update.response.200.reference`; string, required) - maxLength: `512` · minLength: `1` - `type` (`favorites.update.response.200.type`; string, required) - `userId` (`favorites.update.response.200.userId`; string, required) - `activity` (`favorites.update.response.200.activity`; any of, optional) - any of the following: - `FavoriteActivity` - `destinationId` (`FavoriteActivity.destinationId`; string, required) - maxLength: `32` · minLength: `1` - `destinationName` (`FavoriteActivity.destinationName`; any of, required) - any of the following: `string`, `null` - `durationMinutes` (`FavoriteActivity.durationMinutes`; any of, required) - any of the following: `integer`, `null` - `reviewCount` (`FavoriteActivity.reviewCount`; any of, required) - any of the following: `integer`, `null` - `null` - `city` (`favorites.update.response.200.city`; any of, optional) - any of the following: `string`, `null` - `country` (`favorites.update.response.200.country`; any of, optional) - any of the following: `string`, `null` - `imageUrl` (`favorites.update.response.200.imageUrl`; any of, optional) - any of the following: `string`, `null` - `latitude` (`favorites.update.response.200.latitude`; any of, optional) - any of the following: `number`, `null` - `longitude` (`favorites.update.response.200.longitude`; any of, optional) - any of the following: `number`, `null` - `rateCodes` (`favorites.update.response.200.rateCodes`; any of, optional) - any of the following: `array`, `null` - `starRating` (`favorites.update.response.200.starRating`; any of, optional) - any of the following: `number`, `null` ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`favorites.update.response.400.errorCode`; string, required) - `errorMessage` (`favorites.update.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`favorites.update.response.401.errorCode`; string, required) - `errorMessage` (`favorites.update.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`favorites.update.response.403.errorCode`; string, required) - `errorMessage` (`favorites.update.response.403.errorMessage`; string, required) # Remove a saved place Source: https://docs.nicer.travel/api/favorites/favorites.delete/ · Markdown: https://docs.nicer.travel/api/favorites/favorites.delete/index.md Path: Nicer API › favorites `DELETE /favorites` URL: `https://api.nicer.travel/favorites` Removes a saved place from the caller's list. Removing a place that is not saved succeeds too, so a double tap never errors. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Query parameters - `kind` (`favorites.delete.query.kind`; string, required) - one of `"HOTEL"`, `"ACTIVITY"` - `reference` (`favorites.delete.query.reference`; string, required) - maxLength: `512` · minLength: `1` ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.favorites.delete({ "kind": "HOTEL", "reference": "string" }); ``` ### Nicer CLI ```bash nicer favorites delete --kind 'HOTEL' --reference 'string' ``` ### cURL ```bash curl --request DELETE \ --url 'https://api.nicer.travel/favorites?kind=HOTEL&reference=string' \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/favorites?kind=HOTEL&reference=string'; const options = {method: 'DELETE', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/favorites?kind=HOTEL&reference=string" headers = {"Authorization": "Bearer "} response = requests.delete(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "kind": "HOTEL", "reference": "string", "saved": false } ``` - `kind` (`favorites.delete.response.200.kind`; string, required) - one of `"HOTEL"`, `"ACTIVITY"` - `reference` (`favorites.delete.response.200.reference`; string, required) - maxLength: `512` · minLength: `1` - `saved` (`favorites.delete.response.200.saved`; boolean, required) ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`favorites.delete.response.400.errorCode`; string, required) - `errorMessage` (`favorites.delete.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`favorites.delete.response.401.errorCode`; string, required) - `errorMessage` (`favorites.delete.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`favorites.delete.response.403.errorCode`; string, required) - `errorMessage` (`favorites.delete.response.403.errorMessage`; string, required) # Get the caller's shared list link Source: https://docs.nicer.travel/api/favorites/favorites.share.list/ · Markdown: https://docs.nicer.travel/api/favorites/favorites.share.list/index.md Path: Nicer API › favorites `GET /favorites/share` URL: `https://api.nicer.travel/favorites/share` Returns the link id of the caller's shared list and the photo it greets with, or nulls when they are not sharing it. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.favorites.share.list(); ``` ### Nicer CLI ```bash nicer favorites share list ``` ### cURL ```bash curl --request GET \ --url https://api.nicer.travel/favorites/share \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/favorites/share'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/favorites/share" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "avatarUrl": "string", "shareId": "string" } ``` - `avatarUrl` (`favorites.share.list.response.200.avatarUrl`; any of, required) - any of the following: `string`, `null` - `shareId` (`favorites.share.list.response.200.shareId`; any of, required) - any of the following: `string`, `null` ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`favorites.share.list.response.400.errorCode`; string, required) - `errorMessage` (`favorites.share.list.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`favorites.share.list.response.401.errorCode`; string, required) - `errorMessage` (`favorites.share.list.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`favorites.share.list.response.403.errorCode`; string, required) - `errorMessage` (`favorites.share.list.response.403.errorMessage`; string, required) # Share the caller's saved list Source: https://docs.nicer.travel/api/favorites/favorites.share.update/ · Markdown: https://docs.nicer.travel/api/favorites/favorites.share.update/index.md Path: Nicer API › favorites `PUT /favorites/share` URL: `https://api.nicer.travel/favorites/share` Shares the caller's saved list through a link and returns its id. One link per person: sharing again returns the same link, with the greeting name and photo refreshed. Anyone with the link can read the list. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Request body _Required._ - `avatarUrl` (`favorites.share.update.avatarUrl`; any of, optional) - any of the following: `string`, `null` ## Example request ```json { "avatarUrl": "string" } ``` ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.favorites.share.update({}); ``` ### Nicer CLI ```bash nicer favorites share update --input - <<'JSON' {} JSON ``` ### cURL ```bash curl --request PUT \ --url https://api.nicer.travel/favorites/share \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "avatarUrl": "string" } ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/favorites/share'; const options = { method: 'PUT', headers: { 'Content-Type': 'application/json', Authorization: 'Bearer ' }, body: JSON.stringify({avatarUrl: 'string'}) }; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/favorites/share" payload = { "avatarUrl": "string" } headers = { "Content-Type": "application/json", "Authorization": "Bearer " } response = requests.put(url, json=payload, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "shareId": "string" } ``` - `shareId` (`favorites.share.update.response.200.shareId`; string, required) - pattern: `^[A-Za-z0-9_-]{22}$` ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`favorites.share.update.response.400.errorCode`; string, required) - `errorMessage` (`favorites.share.update.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`favorites.share.update.response.401.errorCode`; string, required) - `errorMessage` (`favorites.share.update.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`favorites.share.update.response.403.errorCode`; string, required) - `errorMessage` (`favorites.share.update.response.403.errorMessage`; string, required) # Stop sharing the caller's saved list Source: https://docs.nicer.travel/api/favorites/favorites.share.delete/ · Markdown: https://docs.nicer.travel/api/favorites/favorites.share.delete/index.md Path: Nicer API › favorites `DELETE /favorites/share` URL: `https://api.nicer.travel/favorites/share` Stops sharing the caller's saved list: the link stops working at once, and sharing again creates a new one. Idempotent. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.favorites.share.delete(); ``` ### Nicer CLI ```bash nicer favorites share delete ``` ### cURL ```bash curl --request DELETE \ --url https://api.nicer.travel/favorites/share \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/favorites/share'; const options = {method: 'DELETE', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/favorites/share" headers = {"Authorization": "Bearer "} response = requests.delete(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "shareId": null } ``` - `shareId` (`favorites.share.delete.response.200.shareId`; null, required) ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`favorites.share.delete.response.400.errorCode`; string, required) - `errorMessage` (`favorites.share.delete.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`favorites.share.delete.response.401.errorCode`; string, required) - `errorMessage` (`favorites.share.delete.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`favorites.share.delete.response.403.errorCode`; string, required) - `errorMessage` (`favorites.share.delete.response.403.errorMessage`; string, required) # Get a shared saved list Source: https://docs.nicer.travel/api/favorites/favorites.shared.get/ · Markdown: https://docs.nicer.travel/api/favorites/favorites.shared.get/index.md Path: Nicer API › favorites `GET /favorites/shared/{shareId}` URL: `https://api.nicer.travel/favorites/shared/{shareId}` Returns a shared saved list, newest first, with its owner's first name and photo. Reachable without a token: the link id is the only credential, and it stops working the moment its owner stops sharing. ## Path parameters - `shareId` (`favorites.shared.get.path.shareId`; string, required) ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.favorites.shared.get({ "shareId": "string" }); ``` ### Nicer CLI ```bash nicer favorites shared get --share-id 'string' ``` ### cURL ```bash curl --request GET \ --url 'https://api.nicer.travel/favorites/shared/' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/favorites/shared/'; const options = {method: 'GET'}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/favorites/shared/" response = requests.get(url) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "items": [ { "activity": { "destinationId": "string", "destinationName": "string", "durationMinutes": 100000, "reviewCount": 9007199254740991 }, "city": "string", "country": "string", "imageUrl": "string", "latitude": -90, "longitude": -180, "name": "string", "rateCodes": [ "string" ], "starRating": 5, "createdAt": "string", "kind": "HOTEL", "reference": "string" } ], "owner": { "avatarUrl": "string", "firstName": "string" } } ``` - `items` (`favorites.shared.get.response.200.items`; array of object, required) - `name` (`favorites.shared.get.response.200.items.name`; string, required) - maxLength: `300` · minLength: `1` - `kind` (`favorites.shared.get.response.200.items.kind`; string, required) - one of `"HOTEL"`, `"ACTIVITY"` - `reference` (`favorites.shared.get.response.200.items.reference`; string, required) - maxLength: `512` · minLength: `1` - `activity` (`favorites.shared.get.response.200.items.activity`; any of, optional) - any of the following: - `FavoriteActivity` - `destinationId` (`FavoriteActivity.destinationId`; string, required) - maxLength: `32` · minLength: `1` - `destinationName` (`FavoriteActivity.destinationName`; any of, required) - any of the following: `string`, `null` - `durationMinutes` (`FavoriteActivity.durationMinutes`; any of, required) - any of the following: `integer`, `null` - `reviewCount` (`FavoriteActivity.reviewCount`; any of, required) - any of the following: `integer`, `null` - `null` - `city` (`favorites.shared.get.response.200.items.city`; any of, optional) - any of the following: `string`, `null` - `country` (`favorites.shared.get.response.200.items.country`; any of, optional) - any of the following: `string`, `null` - `imageUrl` (`favorites.shared.get.response.200.items.imageUrl`; any of, optional) - any of the following: `string`, `null` - `latitude` (`favorites.shared.get.response.200.items.latitude`; any of, optional) - any of the following: `number`, `null` - `longitude` (`favorites.shared.get.response.200.items.longitude`; any of, optional) - any of the following: `number`, `null` - `rateCodes` (`favorites.shared.get.response.200.items.rateCodes`; any of, optional) - any of the following: `array`, `null` - `starRating` (`favorites.shared.get.response.200.items.starRating`; any of, optional) - any of the following: `number`, `null` - `createdAt` (`favorites.shared.get.response.200.items.createdAt`; string, optional) - `owner` (`favorites.shared.get.response.200.owner`; object, required) - `avatarUrl` (`favorites.shared.get.response.200.owner.avatarUrl`; any of, required) - any of the following: `string`, `null` - `firstName` (`favorites.shared.get.response.200.owner.firstName`; any of, required) - any of the following: `string`, `null` ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`favorites.shared.get.response.400.errorCode`; string, required) - `errorMessage` (`favorites.shared.get.response.400.errorMessage`; string, required) # identity Source: https://docs.nicer.travel/api/tags/identity/ · Markdown: https://docs.nicer.travel/api/tags/identity/index.md Path: Nicer API ## Operations - [Cancel a staff invitation](https://docs.nicer.travel/api/identity/identity.invite.delete/) — `DELETE /identity/{userId}/invite/{inviteId}` - [List a person's referrals](https://docs.nicer.travel/api/identity/identity.referrals.list/) — `GET /identity/{userId}/referrals` - [List booking-site hostnames](https://docs.nicer.travel/api/identity/identity.admin.hosts.list/) — `GET /identity/admin/hosts` - [Change a member's settings or role in an agency](https://docs.nicer.travel/api/identity/identity.admin.user.update/) — `PUT /identity/admin/user/{id}` - [List the published advisor agreements](https://docs.nicer.travel/api/identity/identity.agreement.list/) — `GET /identity/agreement` - [Publish an advisor agreement](https://docs.nicer.travel/api/identity/identity.agreement.create/) — `POST /identity/agreement` - [Sign the advisor agreement](https://docs.nicer.travel/api/identity/identity.agreement.sign/) — `POST /identity/agreement/sign` - [Get a member's agreement signatures](https://docs.nicer.travel/api/identity/identity.agreement.user.get/) — `GET /identity/agreement/user/{userId}` - [Get the booking site](https://docs.nicer.travel/api/identity/identity.bookingSite.list/) — `GET /identity/booking-site` - [Update the booking site](https://docs.nicer.travel/api/identity/identity.bookingSite.update/) — `PUT /identity/booking-site` - [Add a booking-site hostname](https://docs.nicer.travel/api/identity/identity.bookingSite.hosts.create/) — `POST /identity/booking-site/hosts` - [Remove a booking-site hostname](https://docs.nicer.travel/api/identity/identity.bookingSite.hosts.delete/) — `DELETE /identity/booking-site/hosts/{host}` - [Retry a custom domain](https://docs.nicer.travel/api/identity/identity.bookingSite.hosts.retry/) — `POST /identity/booking-site/hosts/{host}/retry` - [Turn an advisor page on or off](https://docs.nicer.travel/api/identity/identity.bookingSite.pages.update/) — `PUT /identity/booking-site/pages/{advisorUserId}` - [List my agencies](https://docs.nicer.travel/api/identity/identity.company.list/) — `GET /identity/company` - [Create an agency](https://docs.nicer.travel/api/identity/identity.company.create/) — `POST /identity/company` - [Get an agency](https://docs.nicer.travel/api/identity/identity.company.get/) — `GET /identity/company/{companyName}` - [Update an agency](https://docs.nicer.travel/api/identity/identity.company.update/) — `PUT /identity/company/{companyName}` - [List agreement signatures](https://docs.nicer.travel/api/identity/identity.company.agreements.list/) — `GET /identity/company/{companyName}/agreements` - [Get a member's settings](https://docs.nicer.travel/api/identity/identity.company.member.get/) — `GET /identity/company/{companyName}/member/{userId}` - [Remove a member from an agency](https://docs.nicer.travel/api/identity/identity.company.member.delete/) — `DELETE /identity/company/{companyName}/member/{userId}` - [Switch the active agency](https://docs.nicer.travel/api/identity/identity.company.switch/) — `POST /identity/company/{companyName}/switch` - [List the agency's team](https://docs.nicer.travel/api/identity/identity.company.users.list/) — `GET /identity/company/users` - [Get the email sending domain](https://docs.nicer.travel/api/identity/identity.emailDomain.list/) — `GET /identity/email-domain` - [Set the email sending domain](https://docs.nicer.travel/api/identity/identity.emailDomain.update/) — `PUT /identity/email-domain` - [Remove the email sending domain](https://docs.nicer.travel/api/identity/identity.emailDomain.delete/) — `DELETE /identity/email-domain` - [Preview a branded email](https://docs.nicer.travel/api/identity/identity.emailPreview.get/) — `GET /identity/email-preview/{templateName}` - [Send a test email](https://docs.nicer.travel/api/identity/identity.emailTest/) — `POST /identity/email-test` - [List my feature flags](https://docs.nicer.travel/api/identity/identity.flag.list/) — `GET /identity/flag` - [Accept a portal invitation after email OTP verification](https://docs.nicer.travel/api/identity/identity.invitations.registration.accept/) — `POST /identity/invitations/registration/accept` - [Find the portal invitation for a contact the caller verified](https://docs.nicer.travel/api/identity/identity.invitations.registration.lookup/) — `POST /identity/invitations/registration/lookup` - [Invite a person to the agency's staff](https://docs.nicer.travel/api/identity/identity.invite.create/) — `POST /identity/invite` - [Resend a staff invitation](https://docs.nicer.travel/api/identity/identity.invite.resend/) — `POST /identity/invite/resend` - [Check a paid application using its private browser reference](https://docs.nicer.travel/api/identity/identity.join.registration.status/) — `POST /identity/join/registration/status` - [Search the agency's advisors](https://docs.nicer.travel/api/identity/identity.member.search.list/) — `GET /identity/member/search` - [Get my onboarding status](https://docs.nicer.travel/api/identity/identity.onboarding.status.list/) — `GET /identity/onboarding/status` - [Get an agency's public profile](https://docs.nicer.travel/api/identity/identity.public.company.get/) — `GET /identity/public/company/{companyName}` - [Resolve a booking site](https://docs.nicer.travel/api/identity/identity.public.site.get/) — `GET /identity/public/site/{host}` - [Claim a booking-site referral](https://docs.nicer.travel/api/identity/identity.referral.claim/) — `POST /identity/referral/claim` - [Get my account](https://docs.nicer.travel/api/identity/identity.user.list/) — `GET /identity/user` - [Update my account](https://docs.nicer.travel/api/identity/identity.user.update/) — `PUT /identity/user` - [Get a person's profile](https://docs.nicer.travel/api/identity/identity.user.get/) — `GET /identity/user/{id}` - [Close an account](https://docs.nicer.travel/api/identity/identity.user.delete/) — `DELETE /identity/user/{id}` - [List the agency's people](https://docs.nicer.travel/api/identity/identity.users.list/) — `GET /identity/users` - [Get the names of users](https://docs.nicer.travel/api/identity/identity.users.resolve/) — `POST /identity/users/resolve` # Cancel a staff invitation Source: https://docs.nicer.travel/api/identity/identity.invite.delete/ · Markdown: https://docs.nicer.travel/api/identity/identity.invite.delete/index.md Path: Nicer API › identity `DELETE /identity/{userId}/invite/{inviteId}` URL: `https://api.nicer.travel/identity/{userId}/invite/{inviteId}` Cancels a pending staff invitation of the acting agency and frees its email and phone lookup rows when nothing else uses them. An admin cancels any of the agency's; anyone else only one they sent. Answers the invitation as it was. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Path parameters - `userId` (`identity.invite.delete.path.userId`; string, required) - `inviteId` (`identity.invite.delete.path.inviteId`; string, required) ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.identity.invite.delete({ "userId": "string", "inviteId": "string" }); ``` ### Nicer CLI ```bash nicer identity invite delete --user-id 'string' --invite-id 'string' ``` ### cURL ```bash curl --request DELETE \ --url 'https://api.nicer.travel/identity//invite/' \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/identity//invite/'; const options = {method: 'DELETE', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/identity//invite/" headers = {"Authorization": "Bearer "} response = requests.delete(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "advisorId": "string", "companyName": "string", "createdBy": "string", "deleted": true, "email": "string", "expiresAt": "string", "familyName": "string", "fullName": "string", "givenName": "string", "invitedBy": "string", "lastModifiedBy": "string", "metadata": { "property1": "string", "property2": "string" }, "phoneNumber": "string", "resendCount": 0, "role": "advisor", "sendMessage": true, "inviteId": "string", "userId": "string", "createdAt": "string", "type": "Invite", "updatedAt": "string" } ``` - `companyName` (`identity.invite.delete.response.200.companyName`; string, required) — The agency the invitation is to. - `createdBy` (`identity.invite.delete.response.200.createdBy`; string, required) — The user id of whoever sent it, or SYSTEM for a paid Join. - `invitedBy` (`identity.invite.delete.response.200.invitedBy`; string, required) — The user id of whoever sent it, or SYSTEM for a paid Join. - `lastModifiedBy` (`identity.invite.delete.response.200.lastModifiedBy`; string, required) — The user id of whoever last changed it, or SYSTEM. - `role` (`identity.invite.delete.response.200.role`; string, required) — The role the invitee gets on accepting. - one of `"advisor"`, `"traveler"`, `"admin"`, `"superadmin"` - `inviteId` (`identity.invite.delete.response.200.inviteId`; string, required) — The invitation's id. - `userId` (`identity.invite.delete.response.200.userId`; string, required) — The user id of whoever sent it; JOIN# for a paid Join. - `createdAt` (`identity.invite.delete.response.200.createdAt`; string, required) — When it was sent. - `type` (`identity.invite.delete.response.200.type`; string, required) - `updatedAt` (`identity.invite.delete.response.200.updatedAt`; string, required) — When it last changed. - `advisorId` (`identity.invite.delete.response.200.advisorId`; any of, optional) — The advisor some older invitations name. - any of the following: `string`, `null` - `deleted` (`identity.invite.delete.response.200.deleted`; boolean, optional) — True once it was cancelled. - `email` (`identity.invite.delete.response.200.email`; string, optional) — The email it was sent to. - `expiresAt` (`identity.invite.delete.response.200.expiresAt`; string, optional) — When it can no longer be accepted; one without it expires seven days after createdAt. - `familyName` (`identity.invite.delete.response.200.familyName`; string, optional) — The invitee's last name. - `fullName` (`identity.invite.delete.response.200.fullName`; string, optional) — The invitee's first and last name, joined. - `givenName` (`identity.invite.delete.response.200.givenName`; string, optional) — The invitee's first name. - `metadata` (`identity.invite.delete.response.200.metadata`; map of string, optional) — Details stored with it, such as joinRegistrationId. - `phoneNumber` (`identity.invite.delete.response.200.phoneNumber`; string, optional) — The phone it was sent to. - `resendCount` (`identity.invite.delete.response.200.resendCount`; number, optional) — How many times it was sent again; four at most. - `sendMessage` (`identity.invite.delete.response.200.sendMessage`; boolean, optional) — Whether the request asked to send it, kept on invitations of a person whose traveler account was opened from a staff invitation. ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.invite.delete.response.400.errorCode`; string, required) - `errorMessage` (`identity.invite.delete.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.invite.delete.response.401.errorCode`; string, required) - `errorMessage` (`identity.invite.delete.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.invite.delete.response.403.errorCode`; string, required) - `errorMessage` (`identity.invite.delete.response.403.errorMessage`; string, required) # List a person's referrals Source: https://docs.nicer.travel/api/identity/identity.referrals.list/ · Markdown: https://docs.nicer.travel/api/identity/identity.referrals.list/index.md Path: Nicer API › identity `GET /identity/{userId}/referrals` URL: `https://api.nicer.travel/identity/{userId}/referrals` Lists the people someone referred to the agency the request acts for: those they invited who joined (type User) and their invitations not accepted yet (type Invite), each with its date and name. Pages with limit and nextToken. Advisors and admins read their own; an admin also those of an active member of the agency, and Nicer staff anyone's. Errors: 400 ERROR_UNAUTHORIZED for someone else's referrals the caller may not read. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Path parameters - `userId` (`identity.referrals.list.path.userId`; string, required) ## Query parameters - `limit` (`identity.referrals.list.query.limit`; string, optional) — How many rows a page reads: 1000 when absent. The agency and where apply after the read, so a page can hold fewer. - `nextToken` (`identity.referrals.list.query.nextToken`; string, optional) — Where the page starts: the nextToken of the previous page. - `orderBy` (`identity.referrals.list.query.orderBy`; string, optional) — ASC, the default, reads the rows in ascending order; any other value in descending order. - `where` (`identity.referrals.list.query.where`; string, optional) — Which rows to keep, on top of the agency the request acts for. A condition is field:operator:value with eq, neq, gt, gte, lt, lte, like, beginsWith, exists, inq or between (inq and between take values joined by |), several of one object joined by commas; and(…;…) and or(…;…) combine them. Example: type:eq:User. ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.identity.referrals.list({ "userId": "string" }); ``` ### Nicer CLI ```bash nicer identity referrals list --user-id 'string' ``` ### cURL ```bash curl --request GET \ --url 'https://api.nicer.travel/identity//referrals' \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/identity//referrals'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/identity//referrals" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "items": [ { "createdAt": "string", "fullName": "string", "type": "Invite", "userId": "string" } ], "nextToken": "string" } ``` - `items` (`identity.referrals.list.response.200.items`; array of object, required) — The items of this page. - `createdAt` (`identity.referrals.list.response.200.items.createdAt`; string, required) - `type` (`identity.referrals.list.response.200.items.type`; string, required) - one of `"Invite"`, `"User"` - `userId` (`identity.referrals.list.response.200.items.userId`; string, required) - `fullName` (`identity.referrals.list.response.200.items.fullName`; any of, optional) - any of the following: `string`, `null` - `nextToken` (`identity.referrals.list.response.200.nextToken`; any of, required) — Send it back as nextToken to read the next page; null on the last page. - any of the following: `string`, `null` ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.referrals.list.response.400.errorCode`; string, required) - `errorMessage` (`identity.referrals.list.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.referrals.list.response.401.errorCode`; string, required) - `errorMessage` (`identity.referrals.list.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.referrals.list.response.403.errorCode`; string, required) - `errorMessage` (`identity.referrals.list.response.403.errorMessage`; string, required) # List booking-site hostnames Source: https://docs.nicer.travel/api/identity/identity.admin.hosts.list/ · Markdown: https://docs.nicer.travel/api/identity/identity.admin.hosts.list/index.md Path: Nicer API › identity `GET /identity/admin/hosts` URL: `https://api.nicer.travel/identity/admin/hosts` Every agency hostname on the platform (booking sites, portals and Pay), for support, filtered by app and status when they are sent. Nicer staff only. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Query parameters - `app` (`identity.admin.hosts.list.query.app`; string, optional) - one of `"BOOKING"`, `"PORTAL"`, `"PAY"` - `status` (`identity.admin.hosts.list.query.status`; string, optional) - one of `"PENDING_DNS"`, `"ISSUING"`, `"ACTIVE"`, `"FAILED_DNS"`, `"FAILED_CERT"`, `"REMOVING"` ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.identity.admin.hosts.list(); ``` ### Nicer CLI ```bash nicer identity admin hosts list ``` ### cURL ```bash curl --request GET \ --url https://api.nicer.travel/identity/admin/hosts \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/identity/admin/hosts'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/identity/admin/hosts" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "items": [ { "advisorUserId": "string", "aliasOf": "string", "app": "BOOKING", "attempt": 9007199254740991, "canonical": true, "certificateArn": "string", "companyName": "string", "createdAt": "string", "createdBy": "string", "dnsElsewhereSince": "string", "dnsTarget": "string", "kind": "SUBDOMAIN", "lastError": "string", "status": "PENDING_DNS", "tenantId": "string", "tenantName": "string", "updatedAt": "string", "validationMode": "cloudfront", "validationRedirectFrom": "string", "validationRedirectTo": "string", "host": "string" } ] } ``` - `items` (`identity.admin.hosts.list.response.200.items`; array of object, required) - `canonical` (`identity.admin.hosts.list.response.200.items.canonical`; boolean, required) - `companyName` (`identity.admin.hosts.list.response.200.items.companyName`; string, required) - minLength: `1` - `createdAt` (`identity.admin.hosts.list.response.200.items.createdAt`; string, required) - `createdBy` (`identity.admin.hosts.list.response.200.items.createdBy`; string, required) - minLength: `1` - `kind` (`identity.admin.hosts.list.response.200.items.kind`; string, required) - one of `"SUBDOMAIN"`, `"CUSTOM"`, `"ALIAS"` - `status` (`identity.admin.hosts.list.response.200.items.status`; string, required) - one of `"PENDING_DNS"`, `"ISSUING"`, `"ACTIVE"`, `"FAILED_DNS"`, `"FAILED_CERT"`, `"REMOVING"` - `updatedAt` (`identity.admin.hosts.list.response.200.items.updatedAt`; string, required) - `host` (`identity.admin.hosts.list.response.200.items.host`; string, required) - minLength: `1` - `advisorUserId` (`identity.admin.hosts.list.response.200.items.advisorUserId`; string, optional) - minLength: `1` - `aliasOf` (`identity.admin.hosts.list.response.200.items.aliasOf`; string, optional) - `app` (`identity.admin.hosts.list.response.200.items.app`; string, optional) - one of `"BOOKING"`, `"PORTAL"`, `"PAY"` - `attempt` (`identity.admin.hosts.list.response.200.items.attempt`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `certificateArn` (`identity.admin.hosts.list.response.200.items.certificateArn`; string, optional) - `dnsElsewhereSince` (`identity.admin.hosts.list.response.200.items.dnsElsewhereSince`; string, optional) - `dnsTarget` (`identity.admin.hosts.list.response.200.items.dnsTarget`; string, optional) - `lastError` (`identity.admin.hosts.list.response.200.items.lastError`; string, optional) - `tenantId` (`identity.admin.hosts.list.response.200.items.tenantId`; string, optional) - `tenantName` (`identity.admin.hosts.list.response.200.items.tenantName`; string, optional) - `validationMode` (`identity.admin.hosts.list.response.200.items.validationMode`; string, optional) - one of `"cloudfront"`, `"self-hosted"` - `validationRedirectFrom` (`identity.admin.hosts.list.response.200.items.validationRedirectFrom`; string, optional) - `validationRedirectTo` (`identity.admin.hosts.list.response.200.items.validationRedirectTo`; string, optional) ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.admin.hosts.list.response.400.errorCode`; string, required) - `errorMessage` (`identity.admin.hosts.list.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.admin.hosts.list.response.401.errorCode`; string, required) - `errorMessage` (`identity.admin.hosts.list.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.admin.hosts.list.response.403.errorCode`; string, required) - `errorMessage` (`identity.admin.hosts.list.response.403.errorMessage`; string, required) # Change a member's settings or role in an agency Source: https://docs.nicer.travel/api/identity/identity.admin.user.update/ · Markdown: https://docs.nicer.travel/api/identity/identity.admin.user.update/index.md Path: Nicer API › identity `PUT /identity/admin/user/{id}` URL: `https://api.nicer.travel/identity/admin/user/{id}` Changes a person's membership in the agency the request acts for (x-nicer-company): the settings noLeads, bookingAccessEnabled, hasAdvisorPortalAccess and isTestUser, and the role, between advisor and admin. It never changes the person's account, their contact details or their memberships in other agencies. Only the agency's admins and Nicer staff may call it, and staff must name the agency. The legacy company-level superadmin membership is Nicer staff's: only staff change its settings, and its role stays. The agency always keeps at least one admin; an admin may change themself under the same rule. A change of role publishes identity.company-member-role-changed.v1, a change of a setting identity.company-member-settings-changed.v1, and turning an advisor's portal access off app.CompanyMember.removed; the person's next token reflects the membership as it now stands. A request that changes nothing writes nothing. Answers the membership as it now stands. Errors: 400 ERROR_MALFORMED_BODY (not JSON), 400 ERROR_BODY_VALIDATION (an unknown field, a value of the wrong type, or nothing to change), 404 ERROR_ITEM_NOT_FOUND (the person is not an active member of this agency's staff), 403 ERROR_DO_NOT_HAVE_PERMISSION (the caller is neither an admin of the agency nor Nicer staff, or an agency admin changing the legacy superadmin membership), 409 ERROR_IDENTITY_INVALID_ROLE (a role change on the legacy superadmin membership), 409 ERROR_LAST_ADMIN (the agency would be left without an admin), 409 ERROR_CONDITIONAL_CHECK_FAILED (the membership kept changing while this change was made: read it again). ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Path parameters - `id` (`identity.admin.user.update.path.id`; string, required) ## Header parameters - `x-nicer-company` (`identity.admin.user.update.header.x-nicer-company`; string, required) — Company context. Authentication and tenant membership are validated by the API. ## Request body _Required._ - `bookingAccessEnabled` (`identity.admin.user.update.bookingAccessEnabled`; boolean, optional) — Whether the portal shows the member the agency's flight booking link. - `hasAdvisorPortalAccess` (`identity.admin.user.update.hasAdvisorPortalAccess`; boolean, optional) — Whether an advisor may use the agency's portal. Turned off, the advisor's next token no longer carries the agency, and the CRM leaves the travelers they served for an admin to reassign. An admin keeps the agency either way. - `isTestUser` (`identity.admin.user.update.isTestUser`; boolean, optional) — Whether this membership is a test account. - `noLeads` (`identity.admin.user.update.noLeads`; boolean, optional) — Whether the member is left out when the agency assigns new leads automatically. - `role` (`identity.admin.user.update.role`; string, optional) — The member's role in the agency. A role moves between advisor and admin only. - one of `"advisor"`, `"admin"` ## Example request ```json { "bookingAccessEnabled": true, "hasAdvisorPortalAccess": true, "isTestUser": true, "noLeads": true, "role": "advisor" } ``` ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, headers: { "x-nicer-company": process.env.NICER_COMPANY }, }); await nicer.identity.admin.user.update({ "id": "string" }); ``` ### Nicer CLI ```bash nicer identity admin user update --id 'string' --company "$NICER_COMPANY" --input - <<'JSON' {} JSON ``` ### cURL ```bash curl --request PUT \ --url 'https://api.nicer.travel/identity/admin/user/' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --header 'x-nicer-company: string' \ --data ' { "bookingAccessEnabled": true, "hasAdvisorPortalAccess": true, "isTestUser": true, "noLeads": true, "role": "advisor" } ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/identity/admin/user/'; const options = { method: 'PUT', headers: { 'Content-Type': 'application/json', 'x-nicer-company': 'string', Authorization: 'Bearer ' }, body: JSON.stringify({ bookingAccessEnabled: true, hasAdvisorPortalAccess: true, isTestUser: true, noLeads: true, role: 'advisor' }) }; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/identity/admin/user/" payload = { "bookingAccessEnabled": True, "hasAdvisorPortalAccess": True, "isTestUser": True, "noLeads": True, "role": "advisor" } headers = { "Content-Type": "application/json", "x-nicer-company": "string", "Authorization": "Bearer " } response = requests.put(url, json=payload, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "bookingAccessEnabled": true, "companyName": "string", "hasAdvisorPortalAccess": true, "isTestUser": true, "noLeads": true, "role": "advisor", "status": "active", "updatedAt": "2019-08-24T14:15:22Z", "userId": "string" } ``` - `companyName` (`identity.admin.user.update.response.200.companyName`; string, required) — The agency the membership belongs to: the one the request acts for. - minLength: `1` - `role` (`identity.admin.user.update.response.200.role`; string, required) — The member's role in the agency. superadmin is the legacy company-level membership of Nicer staff, which counts as an admin of the agency. - one of `"advisor"`, `"admin"`, `"superadmin"` - `status` (`identity.admin.user.update.response.200.status`; string, required) — The membership's status: only an active membership changes. - `updatedAt` (`identity.admin.user.update.response.200.updatedAt`; string, required) — When the membership last changed. - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` - `userId` (`identity.admin.user.update.response.200.userId`; string, required) — The member. - minLength: `1` - `bookingAccessEnabled` (`identity.admin.user.update.response.200.bookingAccessEnabled`; boolean, optional) — As stored; absent when never set. - `hasAdvisorPortalAccess` (`identity.admin.user.update.response.200.hasAdvisorPortalAccess`; boolean, optional) — As stored; absent when never set, which lets an advisor in. - `isTestUser` (`identity.admin.user.update.response.200.isTestUser`; boolean, optional) — As stored; absent when never set. - `noLeads` (`identity.admin.user.update.response.200.noLeads`; boolean, optional) — As stored; absent when never set. ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.admin.user.update.response.400.errorCode`; string, required) - `errorMessage` (`identity.admin.user.update.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.admin.user.update.response.401.errorCode`; string, required) - `errorMessage` (`identity.admin.user.update.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.admin.user.update.response.403.errorCode`; string, required) - `errorMessage` (`identity.admin.user.update.response.403.errorMessage`; string, required) # List the published advisor agreements Source: https://docs.nicer.travel/api/identity/identity.agreement.list/ · Markdown: https://docs.nicer.travel/api/identity/identity.agreement.list/index.md Path: Nicer API › identity `GET /identity/agreement` URL: `https://api.nicer.travel/identity/agreement` Returns the published advisor agreement of the agency the caller acts for, with its text and version; items is empty while the agency has none. Any signed-in member of the agency the request acts for may read it. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.identity.agreement.list(); ``` ### Nicer CLI ```bash nicer identity agreement list ``` ### cURL ```bash curl --request GET \ --url https://api.nicer.travel/identity/agreement \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/identity/agreement'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/identity/agreement" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "items": [ { "companyName": "string", "content": "string", "customFields": { "property1": null, "property2": null }, "endDate": "string", "publishedAt": "string", "startDate": "string", "status": "draft", "versionNumber": 0, "agreementId": "string", "createdAt": "string", "type": "Agreement", "updatedAt": "string" } ] } ``` - `items` (`identity.agreement.list.response.200.items`; array of object, required) - `companyName` (`identity.agreement.list.response.200.items.companyName`; string, required) - `content` (`identity.agreement.list.response.200.items.content`; string, required) - `publishedAt` (`identity.agreement.list.response.200.items.publishedAt`; string, required) - `startDate` (`identity.agreement.list.response.200.items.startDate`; string, required) - `status` (`identity.agreement.list.response.200.items.status`; string, required) - one of `"draft"`, `"published"`, `"terminated"` - `versionNumber` (`identity.agreement.list.response.200.items.versionNumber`; number, required) - `agreementId` (`identity.agreement.list.response.200.items.agreementId`; string, required) - `createdAt` (`identity.agreement.list.response.200.items.createdAt`; string, required) - `type` (`identity.agreement.list.response.200.items.type`; string, required) - `updatedAt` (`identity.agreement.list.response.200.items.updatedAt`; string, required) - `customFields` (`identity.agreement.list.response.200.items.customFields`; map of unknown, optional) - `endDate` (`identity.agreement.list.response.200.items.endDate`; string, optional) ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.agreement.list.response.400.errorCode`; string, required) - `errorMessage` (`identity.agreement.list.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.agreement.list.response.401.errorCode`; string, required) - `errorMessage` (`identity.agreement.list.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.agreement.list.response.403.errorCode`; string, required) - `errorMessage` (`identity.agreement.list.response.403.errorMessage`; string, required) # Publish an advisor agreement Source: https://docs.nicer.travel/api/identity/identity.agreement.create/ · Markdown: https://docs.nicer.travel/api/identity/identity.agreement.create/index.md Path: Nicer API › identity `POST /identity/agreement` URL: `https://api.nicer.travel/identity/agreement` Publishes a new version of the advisor agreement of the agency the request acts for, with the text sent: it is numbered after the existing versions, every earlier draft or published version is terminated, and every advisor must sign the new one. Answers the new version. Agency admins and Nicer staff only. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Header parameters - `x-nicer-company` (`identity.agreement.create.header.x-nicer-company`; string, optional) — Company context for an agency admin who belongs to several companies. Optional when the caller belongs to one. ## Request body _Required._ - `content` (`identity.agreement.create.content`; string, required) ## Example request ```json { "content": "string" } ``` ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.identity.agreement.create({ "content": "string" }); ``` ### Nicer CLI ```bash nicer identity agreement create --input - <<'JSON' { "content": "string" } JSON ``` ### cURL ```bash curl --request POST \ --url https://api.nicer.travel/identity/agreement \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "content": "string" } ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/identity/agreement'; const options = { method: 'POST', headers: { 'Content-Type': 'application/json', Authorization: 'Bearer ' }, body: JSON.stringify({content: 'string'}) }; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/identity/agreement" payload = { "content": "string" } headers = { "Content-Type": "application/json", "Authorization": "Bearer " } response = requests.post(url, json=payload, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "companyName": "string", "content": "string", "customFields": { "property1": null, "property2": null }, "endDate": "string", "publishedAt": "string", "startDate": "string", "status": "draft", "versionNumber": 0, "agreementId": "string", "createdAt": "string", "type": "Agreement", "updatedAt": "string" } ``` - `companyName` (`identity.agreement.create.response.200.companyName`; string, required) - `content` (`identity.agreement.create.response.200.content`; string, required) - `publishedAt` (`identity.agreement.create.response.200.publishedAt`; string, required) - `startDate` (`identity.agreement.create.response.200.startDate`; string, required) - `status` (`identity.agreement.create.response.200.status`; string, required) - one of `"draft"`, `"published"`, `"terminated"` - `versionNumber` (`identity.agreement.create.response.200.versionNumber`; number, required) - `agreementId` (`identity.agreement.create.response.200.agreementId`; string, required) - `createdAt` (`identity.agreement.create.response.200.createdAt`; string, required) - `type` (`identity.agreement.create.response.200.type`; string, required) - `updatedAt` (`identity.agreement.create.response.200.updatedAt`; string, required) - `customFields` (`identity.agreement.create.response.200.customFields`; map of unknown, optional) - `endDate` (`identity.agreement.create.response.200.endDate`; string, optional) ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.agreement.create.response.400.errorCode`; string, required) - `errorMessage` (`identity.agreement.create.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.agreement.create.response.401.errorCode`; string, required) - `errorMessage` (`identity.agreement.create.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.agreement.create.response.403.errorCode`; string, required) - `errorMessage` (`identity.agreement.create.response.403.errorMessage`; string, required) # Sign the advisor agreement Source: https://docs.nicer.travel/api/identity/identity.agreement.sign/ · Markdown: https://docs.nicer.travel/api/identity/identity.agreement.sign/index.md Path: Nicer API › identity `POST /identity/agreement/sign` URL: `https://api.nicer.travel/identity/agreement/sign` Signs the agency's published agreement for the calling advisor: stores their signature (their name as they typed it), their IP address and the signed PDF. An agreement is signed once. Answers the signature without the IP address or where the PDF is stored. Advisors and admins of the agency the request acts for sign for themselves. Errors: 400 ERROR_ITEM_NOT_FOUND for an agreement the agency does not have, 400 AGREEMENT_NOT_PUBLISHED for a version that is not the published one, 400 AGREEMENT_ALREADY_ACCEPTED when the caller signed it already. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Request body _Required._ - `agreementId` (`identity.agreement.sign.agreementId`; string, required) - `signature` (`identity.agreement.sign.signature`; string, required) ## Example request ```json { "agreementId": "string", "signature": "string" } ``` ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.identity.agreement.sign({ "agreementId": "string", "signature": "string" }); ``` ### Nicer CLI ```bash nicer identity agreement sign --input - <<'JSON' { "agreementId": "string", "signature": "string" } JSON ``` ### cURL ```bash curl --request POST \ --url https://api.nicer.travel/identity/agreement/sign \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data ' { "agreementId": "string", "signature": "string" } ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/identity/agreement/sign'; const options = { method: 'POST', headers: { 'Content-Type': 'application/json', Authorization: 'Bearer ' }, body: JSON.stringify({agreementId: 'string', signature: 'string'}) }; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/identity/agreement/sign" payload = { "agreementId": "string", "signature": "string" } headers = { "Content-Type": "application/json", "Authorization": "Bearer " } response = requests.post(url, json=payload, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "acceptedAt": "string", "companyName": "string", "metadata": { "property1": null, "property2": null }, "signature": "string", "status": "accepted", "versionNumber": 0, "agreementId": "string", "userId": "string", "createdAt": "string", "type": "AgreementAcceptance", "updatedAt": "string" } ``` - `acceptedAt` (`identity.agreement.sign.response.200.acceptedAt`; string, required) - `companyName` (`identity.agreement.sign.response.200.companyName`; string, required) - `signature` (`identity.agreement.sign.response.200.signature`; string, required) - `status` (`identity.agreement.sign.response.200.status`; string, required) - one of `"accepted"`, `"updateRequired"` - `versionNumber` (`identity.agreement.sign.response.200.versionNumber`; number, required) - `agreementId` (`identity.agreement.sign.response.200.agreementId`; string, required) - `userId` (`identity.agreement.sign.response.200.userId`; string, required) - `createdAt` (`identity.agreement.sign.response.200.createdAt`; string, required) - `type` (`identity.agreement.sign.response.200.type`; string, required) - `updatedAt` (`identity.agreement.sign.response.200.updatedAt`; string, required) - `metadata` (`identity.agreement.sign.response.200.metadata`; map of unknown, optional) ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.agreement.sign.response.400.errorCode`; string, required) - `errorMessage` (`identity.agreement.sign.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.agreement.sign.response.401.errorCode`; string, required) - `errorMessage` (`identity.agreement.sign.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.agreement.sign.response.403.errorCode`; string, required) - `errorMessage` (`identity.agreement.sign.response.403.errorMessage`; string, required) # Get a member's agreement signatures Source: https://docs.nicer.travel/api/identity/identity.agreement.user.get/ · Markdown: https://docs.nicer.travel/api/identity/identity.agreement.user.get/index.md Path: Nicer API › identity `GET /identity/agreement/user/{userId}` URL: `https://api.nicer.travel/identity/agreement/user/{userId}` Lists every agreement version of the active agency with whether the given user signed it, their acceptance and a short-lived link to the signed PDF. Agency admins and Nicer staff only. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Path parameters - `userId` (`identity.agreement.user.get.path.userId`; string, required) ## Header parameters - `x-nicer-company` (`identity.agreement.user.get.header.x-nicer-company`; string, optional) — Company context for an agency admin who belongs to several companies. Optional when the caller belongs to one. ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, }); await nicer.identity.agreement.user.get({ "userId": "string" }); ``` ### Nicer CLI ```bash nicer identity agreement user get --user-id 'string' ``` ### cURL ```bash curl --request GET \ --url 'https://api.nicer.travel/identity/agreement/user/' \ --header 'Authorization: Bearer ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/identity/agreement/user/'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/identity/agreement/user/" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "items": [ { "acceptance": { "acceptedAt": "string", "companyName": "string", "metadata": { "property1": null, "property2": null }, "signature": "string", "status": "accepted", "versionNumber": 0, "agreementId": "string", "userId": "string", "createdAt": "string", "type": "AgreementAcceptance", "updatedAt": "string" }, "agreement": { "companyName": "string", "content": "string", "customFields": { "property1": null, "property2": null }, "endDate": "string", "publishedAt": "string", "startDate": "string", "status": "draft", "versionNumber": 0, "agreementId": "string", "createdAt": "string", "type": "Agreement", "updatedAt": "string" }, "documentUrl": "string", "signed": true } ] } ``` - `items` (`identity.agreement.user.get.response.200.items`; array of object, required) - `acceptance` (`identity.agreement.user.get.response.200.items.acceptance`; any of, required) - any of the following: - `IdentityAgreementSignResponse` - `acceptedAt` (`IdentityAgreementSignResponse.acceptedAt`; string, required) - `companyName` (`IdentityAgreementSignResponse.companyName`; string, required) - `signature` (`IdentityAgreementSignResponse.signature`; string, required) - `status` (`IdentityAgreementSignResponse.status`; string, required) - one of `"accepted"`, `"updateRequired"` - `versionNumber` (`IdentityAgreementSignResponse.versionNumber`; number, required) - `agreementId` (`IdentityAgreementSignResponse.agreementId`; string, required) - `userId` (`IdentityAgreementSignResponse.userId`; string, required) - `createdAt` (`IdentityAgreementSignResponse.createdAt`; string, required) - `type` (`IdentityAgreementSignResponse.type`; string, required) - `updatedAt` (`IdentityAgreementSignResponse.updatedAt`; string, required) - `metadata` (`IdentityAgreementSignResponse.metadata`; map of unknown, optional) - `null` - `agreement` (`identity.agreement.user.get.response.200.items.agreement`; object, required) - `companyName` (`identity.agreement.user.get.response.200.items.agreement.companyName`; string, required) - `content` (`identity.agreement.user.get.response.200.items.agreement.content`; string, required) - `publishedAt` (`identity.agreement.user.get.response.200.items.agreement.publishedAt`; string, required) - `startDate` (`identity.agreement.user.get.response.200.items.agreement.startDate`; string, required) - `status` (`identity.agreement.user.get.response.200.items.agreement.status`; string, required) - one of `"draft"`, `"published"`, `"terminated"` - `versionNumber` (`identity.agreement.user.get.response.200.items.agreement.versionNumber`; number, required) - `agreementId` (`identity.agreement.user.get.response.200.items.agreement.agreementId`; string, required) - `createdAt` (`identity.agreement.user.get.response.200.items.agreement.createdAt`; string, required) - `type` (`identity.agreement.user.get.response.200.items.agreement.type`; string, required) - `updatedAt` (`identity.agreement.user.get.response.200.items.agreement.updatedAt`; string, required) - `customFields` (`identity.agreement.user.get.response.200.items.agreement.customFields`; map of unknown, optional) - `endDate` (`identity.agreement.user.get.response.200.items.agreement.endDate`; string, optional) - `documentUrl` (`identity.agreement.user.get.response.200.items.documentUrl`; any of, required) - any of the following: `string`, `null` - `signed` (`identity.agreement.user.get.response.200.items.signed`; boolean, required) ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.agreement.user.get.response.400.errorCode`; string, required) - `errorMessage` (`identity.agreement.user.get.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.agreement.user.get.response.401.errorCode`; string, required) - `errorMessage` (`identity.agreement.user.get.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.agreement.user.get.response.403.errorCode`; string, required) - `errorMessage` (`identity.agreement.user.get.response.403.errorMessage`; string, required) # Get the booking site Source: https://docs.nicer.travel/api/identity/identity.bookingSite.list/ · Markdown: https://docs.nicer.travel/api/identity/identity.bookingSite.list/index.md Path: Nicer API › identity `GET /identity/booking-site` URL: `https://api.nicer.travel/identity/booking-site` The active agency's booking site: theme, switches, advisor-pages policy, the link the caller shares, and the agency's hostnames, each with the app it opens (booking site, portal or Pay). Advisors and admins of the agency: an admin sees every hostname and every advisor page, an advisor the agency's booking-site hostnames and their own page's. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Header parameters - `x-nicer-company` (`identity.bookingSite.list.header.x-nicer-company`; string, required) — Company context. Authentication and tenant membership are validated by the API. ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, headers: { "x-nicer-company": process.env.NICER_COMPANY }, }); await nicer.identity.bookingSite.list(); ``` ### Nicer CLI ```bash nicer identity booking-site list --company "$NICER_COMPANY" ``` ### cURL ```bash curl --request GET \ --url https://api.nicer.travel/identity/booking-site \ --header 'Authorization: Bearer ' \ --header 'x-nicer-company: string' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/identity/booking-site'; const options = { method: 'GET', headers: {'x-nicer-company': 'string', Authorization: 'Bearer '} }; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/identity/booking-site" headers = { "x-nicer-company": "string", "Authorization": "Bearer " } response = requests.get(url, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "advisorSites": true, "branding": { "accentColor": "string", "backgroundColor": "string", "bodyFont": "Inter", "borderColor": "string", "contact": { "email": "user@example.com", "instagram": "string", "phone": "string", "whatsapp": "string" }, "faviconUrl": "string", "headingFont": "Inter", "hero": { "imageUrl": "http://example.com", "subtitle": "string", "title": "string" }, "logoDarkUrl": "http://example.com", "logoUrl": "string", "mode": "light", "mutedTextColor": "string", "primaryColor": "string", "privacyUrl": "http://example.com", "radius": 24, "seo": { "description": "string", "title": "string" }, "surfaceColor": "string", "textColor": "string" }, "canManage": true, "companyName": "string", "displayName": "string", "dnsTargetZone": "string", "enabled": true, "envDomain": "string", "handle": "string", "hosts": [ { "advisorUserId": "string", "aliasOf": "string", "app": "BOOKING", "attempt": 9007199254740991, "canonical": true, "companyName": "string", "createdAt": "string", "createdBy": "string", "dnsTarget": "string", "kind": "SUBDOMAIN", "lastError": "string", "status": "PENDING_DNS", "updatedAt": "string", "validationMode": "cloudfront", "validationRedirectFrom": "string", "validationRedirectTo": "string", "host": "string", "certificateIssued": true, "hasTenant": true } ], "myShareUrl": "string", "pages": [ { "advisorUserId": "string", "enabled": true } ], "platformHost": "string" } ``` - `advisorSites` (`identity.bookingSite.list.response.200.advisorSites`; boolean, required) - `branding` (`identity.bookingSite.list.response.200.branding`; object, required) - `accentColor` (`identity.bookingSite.list.response.200.branding.accentColor`; string, optional) - pattern: `^#[0-9a-fA-F]{6}$` - `backgroundColor` (`identity.bookingSite.list.response.200.branding.backgroundColor`; string, optional) - pattern: `^#[0-9a-fA-F]{6}$` - `bodyFont` (`identity.bookingSite.list.response.200.branding.bodyFont`; string, optional) - one of `"Inter"`, `"DM Sans"`, `"Manrope"`, `"Poppins"`, `"Montserrat"`, `"Lato"`, `"Nunito"`, `"Work Sans"`, `"Playfair Display"`, `"Merriweather"`, `"Lora"`, `"Cormorant Garamond"` - `borderColor` (`identity.bookingSite.list.response.200.branding.borderColor`; string, optional) - pattern: `^#[0-9a-fA-F]{6}$` - `contact` (`identity.bookingSite.list.response.200.branding.contact`; object, optional) - `email` (`identity.bookingSite.list.response.200.branding.contact.email`; string, optional) - format: `email` · maxLength: `254` · pattern: `^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$` - `instagram` (`identity.bookingSite.list.response.200.branding.contact.instagram`; string, optional) - maxLength: `64` - `phone` (`identity.bookingSite.list.response.200.branding.contact.phone`; string, optional) - maxLength: `32` - `whatsapp` (`identity.bookingSite.list.response.200.branding.contact.whatsapp`; string, optional) - maxLength: `32` - `faviconUrl` (`identity.bookingSite.list.response.200.branding.faviconUrl`; string, optional) - `headingFont` (`identity.bookingSite.list.response.200.branding.headingFont`; string, optional) - one of `"Inter"`, `"DM Sans"`, `"Manrope"`, `"Poppins"`, `"Montserrat"`, `"Lato"`, `"Nunito"`, `"Work Sans"`, `"Playfair Display"`, `"Merriweather"`, `"Lora"`, `"Cormorant Garamond"` - `hero` (`identity.bookingSite.list.response.200.branding.hero`; object, optional) - `imageUrl` (`identity.bookingSite.list.response.200.branding.hero.imageUrl`; string, optional) - format: `uri` · maxLength: `2048` - `subtitle` (`identity.bookingSite.list.response.200.branding.hero.subtitle`; string, optional) - maxLength: `160` - `title` (`identity.bookingSite.list.response.200.branding.hero.title`; string, optional) - maxLength: `80` - `logoDarkUrl` (`identity.bookingSite.list.response.200.branding.logoDarkUrl`; string, optional) - format: `uri` · maxLength: `2048` - `logoUrl` (`identity.bookingSite.list.response.200.branding.logoUrl`; string, optional) - `mode` (`identity.bookingSite.list.response.200.branding.mode`; string, optional) - one of `"light"`, `"dark"`, `"system"` - `mutedTextColor` (`identity.bookingSite.list.response.200.branding.mutedTextColor`; string, optional) - pattern: `^#[0-9a-fA-F]{6}$` - `primaryColor` (`identity.bookingSite.list.response.200.branding.primaryColor`; string, optional) - `privacyUrl` (`identity.bookingSite.list.response.200.branding.privacyUrl`; string, optional) - format: `uri` · maxLength: `2048` - `radius` (`identity.bookingSite.list.response.200.branding.radius`; integer, optional) - maximum: `24` · minimum: `0` - `seo` (`identity.bookingSite.list.response.200.branding.seo`; object, optional) - `description` (`identity.bookingSite.list.response.200.branding.seo.description`; string, optional) - maxLength: `160` - `title` (`identity.bookingSite.list.response.200.branding.seo.title`; string, optional) - maxLength: `60` - `surfaceColor` (`identity.bookingSite.list.response.200.branding.surfaceColor`; string, optional) - pattern: `^#[0-9a-fA-F]{6}$` - `textColor` (`identity.bookingSite.list.response.200.branding.textColor`; string, optional) - pattern: `^#[0-9a-fA-F]{6}$` - `canManage` (`identity.bookingSite.list.response.200.canManage`; boolean, required) - `companyName` (`identity.bookingSite.list.response.200.companyName`; string, required) - `displayName` (`identity.bookingSite.list.response.200.displayName`; string, required) - `dnsTargetZone` (`identity.bookingSite.list.response.200.dnsTargetZone`; string, required) - `enabled` (`identity.bookingSite.list.response.200.enabled`; boolean, required) - `envDomain` (`identity.bookingSite.list.response.200.envDomain`; string, required) - `hosts` (`identity.bookingSite.list.response.200.hosts`; array of object, required) - `canonical` (`identity.bookingSite.list.response.200.hosts.canonical`; boolean, required) - `companyName` (`identity.bookingSite.list.response.200.hosts.companyName`; string, required) - minLength: `1` - `createdAt` (`identity.bookingSite.list.response.200.hosts.createdAt`; string, required) - `createdBy` (`identity.bookingSite.list.response.200.hosts.createdBy`; string, required) - minLength: `1` - `kind` (`identity.bookingSite.list.response.200.hosts.kind`; string, required) - one of `"SUBDOMAIN"`, `"CUSTOM"`, `"ALIAS"` - `status` (`identity.bookingSite.list.response.200.hosts.status`; string, required) - one of `"PENDING_DNS"`, `"ISSUING"`, `"ACTIVE"`, `"FAILED_DNS"`, `"FAILED_CERT"`, `"REMOVING"` - `updatedAt` (`identity.bookingSite.list.response.200.hosts.updatedAt`; string, required) - `host` (`identity.bookingSite.list.response.200.hosts.host`; string, required) - minLength: `1` - `certificateIssued` (`identity.bookingSite.list.response.200.hosts.certificateIssued`; boolean, required) - `hasTenant` (`identity.bookingSite.list.response.200.hosts.hasTenant`; boolean, required) - `advisorUserId` (`identity.bookingSite.list.response.200.hosts.advisorUserId`; string, optional) - minLength: `1` - `aliasOf` (`identity.bookingSite.list.response.200.hosts.aliasOf`; string, optional) - `app` (`identity.bookingSite.list.response.200.hosts.app`; string, optional) - one of `"BOOKING"`, `"PORTAL"`, `"PAY"` - `attempt` (`identity.bookingSite.list.response.200.hosts.attempt`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `dnsTarget` (`identity.bookingSite.list.response.200.hosts.dnsTarget`; string, optional) - `lastError` (`identity.bookingSite.list.response.200.hosts.lastError`; string, optional) - `validationMode` (`identity.bookingSite.list.response.200.hosts.validationMode`; string, optional) - one of `"cloudfront"`, `"self-hosted"` - `validationRedirectFrom` (`identity.bookingSite.list.response.200.hosts.validationRedirectFrom`; string, optional) - `validationRedirectTo` (`identity.bookingSite.list.response.200.hosts.validationRedirectTo`; string, optional) - `pages` (`identity.bookingSite.list.response.200.pages`; array of object, required) - `advisorUserId` (`identity.bookingSite.list.response.200.pages.advisorUserId`; string, required) - `enabled` (`identity.bookingSite.list.response.200.pages.enabled`; boolean, required) - `handle` (`identity.bookingSite.list.response.200.handle`; string, optional) - `myShareUrl` (`identity.bookingSite.list.response.200.myShareUrl`; string, optional) - `platformHost` (`identity.bookingSite.list.response.200.platformHost`; string, optional) ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.bookingSite.list.response.400.errorCode`; string, required) - `errorMessage` (`identity.bookingSite.list.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.bookingSite.list.response.401.errorCode`; string, required) - `errorMessage` (`identity.bookingSite.list.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.bookingSite.list.response.403.errorCode`; string, required) - `errorMessage` (`identity.bookingSite.list.response.403.errorMessage`; string, required) # Update the booking site Source: https://docs.nicer.travel/api/identity/identity.bookingSite.update/ · Markdown: https://docs.nicer.travel/api/identity/identity.bookingSite.update/index.md Path: Nicer API › identity `PUT /identity/booking-site` URL: `https://api.nicer.travel/identity/booking-site` Updates the active agency's booking-site theme, advisor-pages policy, Nicer subdomain or on/off switch, and answers the booking site as it now stands. branding replaces the whole theme. Agency admins and Nicer staff only. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Header parameters - `x-nicer-company` (`identity.bookingSite.update.header.x-nicer-company`; string, required) — Company context. Authentication and tenant membership are validated by the API. ## Request body _Required._ - `advisorSites` (`identity.bookingSite.update.advisorSites`; boolean, optional) - `branding` (`identity.bookingSite.update.branding`; object, optional) - `accentColor` (`identity.bookingSite.update.branding.accentColor`; string, optional) - pattern: `^#[0-9a-fA-F]{6}$` - `backgroundColor` (`identity.bookingSite.update.branding.backgroundColor`; string, optional) - pattern: `^#[0-9a-fA-F]{6}$` - `bodyFont` (`identity.bookingSite.update.branding.bodyFont`; string, optional) - one of `"Inter"`, `"DM Sans"`, `"Manrope"`, `"Poppins"`, `"Montserrat"`, `"Lato"`, `"Nunito"`, `"Work Sans"`, `"Playfair Display"`, `"Merriweather"`, `"Lora"`, `"Cormorant Garamond"` - `borderColor` (`identity.bookingSite.update.branding.borderColor`; string, optional) - pattern: `^#[0-9a-fA-F]{6}$` - `contact` (`identity.bookingSite.update.branding.contact`; object, optional) - `email` (`identity.bookingSite.update.branding.contact.email`; string, optional) - format: `email` · maxLength: `254` · pattern: `^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$` - `instagram` (`identity.bookingSite.update.branding.contact.instagram`; string, optional) - maxLength: `64` · pattern: `^(?:@?[\w.]{1,30}|https:\/\/(?:www\.)?instagram\.com\/[\w.]{1,30}\/?)$` - `phone` (`identity.bookingSite.update.branding.contact.phone`; string, optional) - maxLength: `32` - `whatsapp` (`identity.bookingSite.update.branding.contact.whatsapp`; string, optional) - maxLength: `32` - `faviconUrl` (`identity.bookingSite.update.branding.faviconUrl`; string, optional) - `headingFont` (`identity.bookingSite.update.branding.headingFont`; string, optional) - one of `"Inter"`, `"DM Sans"`, `"Manrope"`, `"Poppins"`, `"Montserrat"`, `"Lato"`, `"Nunito"`, `"Work Sans"`, `"Playfair Display"`, `"Merriweather"`, `"Lora"`, `"Cormorant Garamond"` - `hero` (`identity.bookingSite.update.branding.hero`; object, optional) - `imageUrl` (`identity.bookingSite.update.branding.hero.imageUrl`; string, optional) - format: `uri` · maxLength: `2048` - `subtitle` (`identity.bookingSite.update.branding.hero.subtitle`; string, optional) - maxLength: `160` - `title` (`identity.bookingSite.update.branding.hero.title`; string, optional) - maxLength: `80` - `logoDarkUrl` (`identity.bookingSite.update.branding.logoDarkUrl`; string, optional) - format: `uri` · maxLength: `2048` - `logoUrl` (`identity.bookingSite.update.branding.logoUrl`; string, optional) - `mode` (`identity.bookingSite.update.branding.mode`; string, optional) - one of `"light"`, `"dark"`, `"system"` - `mutedTextColor` (`identity.bookingSite.update.branding.mutedTextColor`; string, optional) - pattern: `^#[0-9a-fA-F]{6}$` - `primaryColor` (`identity.bookingSite.update.branding.primaryColor`; string, optional) - `privacyUrl` (`identity.bookingSite.update.branding.privacyUrl`; string, optional) - format: `uri` · maxLength: `2048` - `radius` (`identity.bookingSite.update.branding.radius`; integer, optional) - maximum: `24` · minimum: `0` - `seo` (`identity.bookingSite.update.branding.seo`; object, optional) - `description` (`identity.bookingSite.update.branding.seo.description`; string, optional) - maxLength: `160` - `title` (`identity.bookingSite.update.branding.seo.title`; string, optional) - maxLength: `60` - `surfaceColor` (`identity.bookingSite.update.branding.surfaceColor`; string, optional) - pattern: `^#[0-9a-fA-F]{6}$` - `textColor` (`identity.bookingSite.update.branding.textColor`; string, optional) - pattern: `^#[0-9a-fA-F]{6}$` - `enabled` (`identity.bookingSite.update.enabled`; boolean, optional) - `handle` (`identity.bookingSite.update.handle`; string, optional) - pattern: `^[a-z0-9](?:[a-z0-9-]{1,38}[a-z0-9])$` ## Example request ```json { "advisorSites": true, "branding": { "accentColor": "string", "backgroundColor": "string", "bodyFont": "Inter", "borderColor": "string", "contact": { "email": "user@example.com", "instagram": "string", "phone": "string", "whatsapp": "string" }, "faviconUrl": "string", "headingFont": "Inter", "hero": { "imageUrl": "http://example.com", "subtitle": "string", "title": "string" }, "logoDarkUrl": "http://example.com", "logoUrl": "string", "mode": "light", "mutedTextColor": "string", "primaryColor": "string", "privacyUrl": "http://example.com", "radius": 24, "seo": { "description": "string", "title": "string" }, "surfaceColor": "string", "textColor": "string" }, "enabled": true, "handle": "string" } ``` ## Code samples ### JavaScript SDK ```javascript import { createClient } from "@nicertravel/sdk"; const nicer = createClient({ baseUrl: "https://api.nicer.travel", token: process.env.NICER_TOKEN, headers: { "x-nicer-company": process.env.NICER_COMPANY }, }); await nicer.identity.bookingSite.update({}); ``` ### Nicer CLI ```bash nicer identity booking-site update --company "$NICER_COMPANY" --input - <<'JSON' {} JSON ``` ### cURL ```bash curl --request PUT \ --url https://api.nicer.travel/identity/booking-site \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --header 'x-nicer-company: string' \ --data ' { "advisorSites": true, "branding": { "accentColor": "string", "backgroundColor": "string", "bodyFont": "Inter", "borderColor": "string", "contact": { "email": "user@example.com", "instagram": "string", "phone": "string", "whatsapp": "string" }, "faviconUrl": "string", "headingFont": "Inter", "hero": { "imageUrl": "http://example.com", "subtitle": "string", "title": "string" }, "logoDarkUrl": "http://example.com", "logoUrl": "string", "mode": "light", "mutedTextColor": "string", "primaryColor": "string", "privacyUrl": "http://example.com", "radius": 24, "seo": { "description": "string", "title": "string" }, "surfaceColor": "string", "textColor": "string" }, "enabled": true, "handle": "string" } ' ``` ### TypeScript ```typescript const url = 'https://api.nicer.travel/identity/booking-site'; const options = { method: 'PUT', headers: { 'Content-Type': 'application/json', 'x-nicer-company': 'string', Authorization: 'Bearer ' }, body: JSON.stringify({ advisorSites: true, branding: { accentColor: 'string', backgroundColor: 'string', bodyFont: 'Inter', borderColor: 'string', contact: { email: 'user@example.com', instagram: 'string', phone: 'string', whatsapp: 'string' }, faviconUrl: 'string', headingFont: 'Inter', hero: {imageUrl: 'http://example.com', subtitle: 'string', title: 'string'}, logoDarkUrl: 'http://example.com', logoUrl: 'string', mode: 'light', mutedTextColor: 'string', primaryColor: 'string', privacyUrl: 'http://example.com', radius: 24, seo: {description: 'string', title: 'string'}, surfaceColor: 'string', textColor: 'string' }, enabled: true, handle: 'string' }) }; fetch(url, options) .then(res => res.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` ### Python ```python import requests url = "https://api.nicer.travel/identity/booking-site" payload = { "advisorSites": True, "branding": { "accentColor": "string", "backgroundColor": "string", "bodyFont": "Inter", "borderColor": "string", "contact": { "email": "user@example.com", "instagram": "string", "phone": "string", "whatsapp": "string" }, "faviconUrl": "string", "headingFont": "Inter", "hero": { "imageUrl": "http://example.com", "subtitle": "string", "title": "string" }, "logoDarkUrl": "http://example.com", "logoUrl": "string", "mode": "light", "mutedTextColor": "string", "primaryColor": "string", "privacyUrl": "http://example.com", "radius": 24, "seo": { "description": "string", "title": "string" }, "surfaceColor": "string", "textColor": "string" }, "enabled": True, "handle": "string" } headers = { "Content-Type": "application/json", "x-nicer-company": "string", "Authorization": "Bearer " } response = requests.put(url, json=payload, headers=headers) print(response.text) ``` ## Responses ### 200 OK #### Example ```json { "advisorSites": true, "branding": { "accentColor": "string", "backgroundColor": "string", "bodyFont": "Inter", "borderColor": "string", "contact": { "email": "user@example.com", "instagram": "string", "phone": "string", "whatsapp": "string" }, "faviconUrl": "string", "headingFont": "Inter", "hero": { "imageUrl": "http://example.com", "subtitle": "string", "title": "string" }, "logoDarkUrl": "http://example.com", "logoUrl": "string", "mode": "light", "mutedTextColor": "string", "primaryColor": "string", "privacyUrl": "http://example.com", "radius": 24, "seo": { "description": "string", "title": "string" }, "surfaceColor": "string", "textColor": "string" }, "canManage": true, "companyName": "string", "displayName": "string", "dnsTargetZone": "string", "enabled": true, "envDomain": "string", "handle": "string", "hosts": [ { "advisorUserId": "string", "aliasOf": "string", "app": "BOOKING", "attempt": 9007199254740991, "canonical": true, "companyName": "string", "createdAt": "string", "createdBy": "string", "dnsTarget": "string", "kind": "SUBDOMAIN", "lastError": "string", "status": "PENDING_DNS", "updatedAt": "string", "validationMode": "cloudfront", "validationRedirectFrom": "string", "validationRedirectTo": "string", "host": "string", "certificateIssued": true, "hasTenant": true } ], "myShareUrl": "string", "pages": [ { "advisorUserId": "string", "enabled": true } ], "platformHost": "string" } ``` - `advisorSites` (`identity.bookingSite.update.response.200.advisorSites`; boolean, required) - `branding` (`identity.bookingSite.update.response.200.branding`; object, required) - `accentColor` (`identity.bookingSite.update.response.200.branding.accentColor`; string, optional) - pattern: `^#[0-9a-fA-F]{6}$` - `backgroundColor` (`identity.bookingSite.update.response.200.branding.backgroundColor`; string, optional) - pattern: `^#[0-9a-fA-F]{6}$` - `bodyFont` (`identity.bookingSite.update.response.200.branding.bodyFont`; string, optional) - one of `"Inter"`, `"DM Sans"`, `"Manrope"`, `"Poppins"`, `"Montserrat"`, `"Lato"`, `"Nunito"`, `"Work Sans"`, `"Playfair Display"`, `"Merriweather"`, `"Lora"`, `"Cormorant Garamond"` - `borderColor` (`identity.bookingSite.update.response.200.branding.borderColor`; string, optional) - pattern: `^#[0-9a-fA-F]{6}$` - `contact` (`identity.bookingSite.update.response.200.branding.contact`; object, optional) - `email` (`identity.bookingSite.update.response.200.branding.contact.email`; string, optional) - format: `email` · maxLength: `254` · pattern: `^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$` - `instagram` (`identity.bookingSite.update.response.200.branding.contact.instagram`; string, optional) - maxLength: `64` - `phone` (`identity.bookingSite.update.response.200.branding.contact.phone`; string, optional) - maxLength: `32` - `whatsapp` (`identity.bookingSite.update.response.200.branding.contact.whatsapp`; string, optional) - maxLength: `32` - `faviconUrl` (`identity.bookingSite.update.response.200.branding.faviconUrl`; string, optional) - `headingFont` (`identity.bookingSite.update.response.200.branding.headingFont`; string, optional) - one of `"Inter"`, `"DM Sans"`, `"Manrope"`, `"Poppins"`, `"Montserrat"`, `"Lato"`, `"Nunito"`, `"Work Sans"`, `"Playfair Display"`, `"Merriweather"`, `"Lora"`, `"Cormorant Garamond"` - `hero` (`identity.bookingSite.update.response.200.branding.hero`; object, optional) - `imageUrl` (`identity.bookingSite.update.response.200.branding.hero.imageUrl`; string, optional) - format: `uri` · maxLength: `2048` - `subtitle` (`identity.bookingSite.update.response.200.branding.hero.subtitle`; string, optional) - maxLength: `160` - `title` (`identity.bookingSite.update.response.200.branding.hero.title`; string, optional) - maxLength: `80` - `logoDarkUrl` (`identity.bookingSite.update.response.200.branding.logoDarkUrl`; string, optional) - format: `uri` · maxLength: `2048` - `logoUrl` (`identity.bookingSite.update.response.200.branding.logoUrl`; string, optional) - `mode` (`identity.bookingSite.update.response.200.branding.mode`; string, optional) - one of `"light"`, `"dark"`, `"system"` - `mutedTextColor` (`identity.bookingSite.update.response.200.branding.mutedTextColor`; string, optional) - pattern: `^#[0-9a-fA-F]{6}$` - `primaryColor` (`identity.bookingSite.update.response.200.branding.primaryColor`; string, optional) - `privacyUrl` (`identity.bookingSite.update.response.200.branding.privacyUrl`; string, optional) - format: `uri` · maxLength: `2048` - `radius` (`identity.bookingSite.update.response.200.branding.radius`; integer, optional) - maximum: `24` · minimum: `0` - `seo` (`identity.bookingSite.update.response.200.branding.seo`; object, optional) - `description` (`identity.bookingSite.update.response.200.branding.seo.description`; string, optional) - maxLength: `160` - `title` (`identity.bookingSite.update.response.200.branding.seo.title`; string, optional) - maxLength: `60` - `surfaceColor` (`identity.bookingSite.update.response.200.branding.surfaceColor`; string, optional) - pattern: `^#[0-9a-fA-F]{6}$` - `textColor` (`identity.bookingSite.update.response.200.branding.textColor`; string, optional) - pattern: `^#[0-9a-fA-F]{6}$` - `canManage` (`identity.bookingSite.update.response.200.canManage`; boolean, required) - `companyName` (`identity.bookingSite.update.response.200.companyName`; string, required) - `displayName` (`identity.bookingSite.update.response.200.displayName`; string, required) - `dnsTargetZone` (`identity.bookingSite.update.response.200.dnsTargetZone`; string, required) - `enabled` (`identity.bookingSite.update.response.200.enabled`; boolean, required) - `envDomain` (`identity.bookingSite.update.response.200.envDomain`; string, required) - `hosts` (`identity.bookingSite.update.response.200.hosts`; array of object, required) - `canonical` (`identity.bookingSite.update.response.200.hosts.canonical`; boolean, required) - `companyName` (`identity.bookingSite.update.response.200.hosts.companyName`; string, required) - minLength: `1` - `createdAt` (`identity.bookingSite.update.response.200.hosts.createdAt`; string, required) - `createdBy` (`identity.bookingSite.update.response.200.hosts.createdBy`; string, required) - minLength: `1` - `kind` (`identity.bookingSite.update.response.200.hosts.kind`; string, required) - one of `"SUBDOMAIN"`, `"CUSTOM"`, `"ALIAS"` - `status` (`identity.bookingSite.update.response.200.hosts.status`; string, required) - one of `"PENDING_DNS"`, `"ISSUING"`, `"ACTIVE"`, `"FAILED_DNS"`, `"FAILED_CERT"`, `"REMOVING"` - `updatedAt` (`identity.bookingSite.update.response.200.hosts.updatedAt`; string, required) - `host` (`identity.bookingSite.update.response.200.hosts.host`; string, required) - minLength: `1` - `certificateIssued` (`identity.bookingSite.update.response.200.hosts.certificateIssued`; boolean, required) - `hasTenant` (`identity.bookingSite.update.response.200.hosts.hasTenant`; boolean, required) - `advisorUserId` (`identity.bookingSite.update.response.200.hosts.advisorUserId`; string, optional) - minLength: `1` - `aliasOf` (`identity.bookingSite.update.response.200.hosts.aliasOf`; string, optional) - `app` (`identity.bookingSite.update.response.200.hosts.app`; string, optional) - one of `"BOOKING"`, `"PORTAL"`, `"PAY"` - `attempt` (`identity.bookingSite.update.response.200.hosts.attempt`; integer, optional) - maximum: `9007199254740991` · minimum: `0` - `dnsTarget` (`identity.bookingSite.update.response.200.hosts.dnsTarget`; string, optional) - `lastError` (`identity.bookingSite.update.response.200.hosts.lastError`; string, optional) - `validationMode` (`identity.bookingSite.update.response.200.hosts.validationMode`; string, optional) - one of `"cloudfront"`, `"self-hosted"` - `validationRedirectFrom` (`identity.bookingSite.update.response.200.hosts.validationRedirectFrom`; string, optional) - `validationRedirectTo` (`identity.bookingSite.update.response.200.hosts.validationRedirectTo`; string, optional) - `pages` (`identity.bookingSite.update.response.200.pages`; array of object, required) - `advisorUserId` (`identity.bookingSite.update.response.200.pages.advisorUserId`; string, required) - `enabled` (`identity.bookingSite.update.response.200.pages.enabled`; boolean, required) - `handle` (`identity.bookingSite.update.response.200.handle`; string, optional) - `myShareUrl` (`identity.bookingSite.update.response.200.myShareUrl`; string, optional) - `platformHost` (`identity.bookingSite.update.response.200.platformHost`; string, optional) ### 400 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.bookingSite.update.response.400.errorCode`; string, required) - `errorMessage` (`identity.bookingSite.update.response.400.errorMessage`; string, required) ### 401 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.bookingSite.update.response.401.errorCode`; string, required) - `errorMessage` (`identity.bookingSite.update.response.401.errorMessage`; string, required) ### 403 Request failed. `errorCode` is stable; `errorMessage` is for humans. #### Example ```json { "errorCode": "string", "errorMessage": "string" } ``` - `errorCode` (`identity.bookingSite.update.response.403.errorCode`; string, required) - `errorMessage` (`identity.bookingSite.update.response.403.errorMessage`; string, required) # Add a booking-site hostname Source: https://docs.nicer.travel/api/identity/identity.bookingSite.hosts.create/ · Markdown: https://docs.nicer.travel/api/identity/identity.bookingSite.hosts.create/index.md Path: Nicer API › identity `POST /identity/booking-site/hosts` URL: `https://api.nicer.travel/identity/booking-site/hosts` Adds a Nicer subdomain or a custom domain to the agency's booking site, or to an advisor's site when the agency allows advisor pages. A custom domain may instead open the agency's portal or Pay (`app`), which only its admins add. A custom domain starts in PENDING_DNS with the CNAME target to create. Admins add any hostname for the agency; an advisor adds one only for their own page, while the agency allows advisor pages. ## Authentication - `bearerAuth`, http bearer, header `Authorization`, format `JWT` ## Header parameters - `x-nicer-company` (`identity.bookingSite.hosts.create.header.x-nicer-company`; string, required) — Company context. Authentication and tenant membership are validated by the API. ## Request body _Required._ Every option has: - `kind` (`