{"info":{"_postman_id":"d6a81ff8-cfff-461a-ae4f-9b598b8b8fd1","name":"Travellink Api - OTA - Documentation","description":"<html><head></head><body><p>This API is designed for the management of domains and store-related clients.</p>\n<p>It supports the creation of user accounts with scoped permissions — either limited to a specific store or with access across multiple store contexts.</p>\n<p>The StoreId parameter should be provided only when there is no implicit association between the user and a specific store.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"45687227","collectionId":"d6a81ff8-cfff-461a-ae4f-9b598b8b8fd1","publishedId":"2sB34ZqPn7","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-06-30T20:14:24.000Z"},"item":[{"name":"Store","item":[{"name":"Store","id":"62a3b0fe-6511-4ec4-b0fa-6a1848b25e1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Developer-Token","value":"{{Developer-Token}}","type":"text"},{"key":"Developer-Access-Code","value":"{{Developer-Access-Code}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"StoreId\": 13,\r\n    \"AccessCredentials\": {\r\n        \"Company\": {\r\n            \"Identifier\": \"\",\r\n            \"Password\": \"\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"/TravellinkWebApi/api/v1/ota/store","description":"<h3 id=\"get-store-information\">GET Store Information</h3>\n<p>This endpoint retrieves store information from the system based on the provided access credentials.</p>\n<h4 id=\"request-method\">Request Method</h4>\n<ul>\n<li><strong>GET</strong></li>\n</ul>\n<h4 id=\"request-url\">Request URL</h4>\n<ul>\n<li><code>https://wooba-sandbox.travellink.com.br/asTravellinkWebApi/api/v1/ota/store</code></li>\n</ul>\n<h4 id=\"request-body\">Request Body</h4>\n<p>The request must include the following parameters in JSON format:</p>\n<ul>\n<li><p><strong>StoreId</strong> (integer): The unique identifier for the store you want to retrieve information for.</p>\n</li>\n<li><p><strong>AccessCredentials</strong> (object): Contains the credentials required for authentication.</p>\n<ul>\n<li><p><strong>Company</strong> (object): An object that holds the company credentials.</p>\n<ul>\n<li><p><strong>Identifier</strong> (string): The unique identifier for the company.</p>\n</li>\n<li><p><strong>Password</strong> (string): The password associated with the company identifier.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"expected-response-structure\">Expected Response Structure</h4>\n<p>Upon a successful request, the response will contain the following fields:</p>\n<ul>\n<li><p><strong>Stores</strong> (array): A list of stores retrieved from the system. Each store object may include:</p>\n<ul>\n<li><p><strong>Id</strong> (integer): The unique identifier of the store.</p>\n</li>\n<li><p><strong>Name</strong> (string): The name of the store.</p>\n</li>\n<li><p><strong>Email</strong> (string): The email associated with the store.</p>\n</li>\n<li><p><strong>State</strong> (integer): The state code of the store.</p>\n</li>\n<li><p><strong>StateDescription</strong> (string): A description of the state of the store.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Errors</strong> (array): An array that contains any errors encountered during the request (empty if successful).</p>\n<ul>\n<li><p>Each error object may include:</p>\n<ul>\n<li><p><strong>Message</strong> (string): A description of the error.</p>\n</li>\n<li><p><strong>Exception</strong> (string): Detailed exception information if applicable.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>Success</strong> (boolean): Indicates whether the request was successful.</p>\n</li>\n<li><p><strong>RequestDate</strong> (string): The date and time when the request was made.</p>\n</li>\n</ul>\n<h4 id=\"notes\">Notes</h4>\n<p>This endpoint is essential for accessing store data. Ensure that the credentials provided are correct to avoid authentication errors.</p>\n","urlObject":{"path":["TravellinkWebApi","api","v1","ota","store"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"62a3b0fe-6511-4ec4-b0fa-6a1848b25e1b"}],"id":"355dcf45-8c31-4f08-9238-5be10a1492b7","description":"<p>Endpoints designed for store management.</p>\n","_postman_id":"355dcf45-8c31-4f08-9238-5be10a1492b7"},{"name":"Domain","item":[{"name":"Get","id":"a7f8bc22-49b5-43dc-a4f2-e6bd2ec3b8a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Developer-Token","value":"{{Developer-Token}}","type":"text"},{"key":"Developer-Access-Code","value":"{{Developer-Access-Code}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"StoreId\": 13,\r\n    \"AccessCredentials\": {\r\n        \"Company\": {\r\n            \"Identifier\": \"\",\r\n            \"Password\": \"\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"/TravellinkWebApi/api/v1/ota/domain","description":"<h2 id=\"endpoint-description\">Endpoint Description</h2>\n<p>This API endpoint retrieves domain information associated with a specific store in the Travellink system. It requires authentication credentials and the store identifier to successfully fetch the data.</p>\n<h3 id=\"request\">Request</h3>\n<p><strong>Method:</strong> GET<br /><strong>URL:</strong> <code>https://wooba-sandbox.travellink.com.br/TravellinkWebApi/api/v1/ota/domain</code></p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>The request body must be a JSON object containing the following parameters:</p>\n<ul>\n<li><p><strong>StoreId</strong> (integer): The unique identifier for the store. In the provided example, the value is <code>13</code>.</p>\n</li>\n<li><p><strong>AccessCredentials</strong> (object): Contains the authentication details required to access the API.</p>\n<ul>\n<li><p><strong>Company</strong> (object): Holds the company-specific credentials.</p>\n<ul>\n<li><p><strong>Identifier</strong> (string): The identifier for the company, e.g., <code></code>.</p>\n</li>\n<li><p><strong>Password</strong> (string): The password associated with the identifier, e.g., <code></code>.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>On a successful request, the API returns a JSON object with the following structure:</p>\n<ul>\n<li><p><strong>Domains</strong> (array): An array of domain objects associated with the store.</p>\n<ul>\n<li><p>Each domain object contains:</p>\n<ul>\n<li><p><strong>Id</strong> (integer): The unique identifier for the domain.</p>\n</li>\n<li><p><strong>Host</strong> (string): The host associated with the domain.</p>\n</li>\n<li><p><strong>Email</strong> (string): The email address linked to the domain.</p>\n</li>\n<li><p><strong>DocumentNumber</strong> (string): The document number related to the domain.</p>\n</li>\n<li><p><strong>Type</strong> (integer): The type of the domain.</p>\n</li>\n<li><p><strong>State</strong> (integer): The state of the domain.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>Errors</strong> (array): An array that will contain any error messages if the request fails. In a successful response, this will be empty.</p>\n</li>\n<li><p><strong>Success</strong> (boolean): Indicates whether the request was successful. A value of <code>true</code> indicates success.</p>\n</li>\n<li><p><strong>RequestDate</strong> (string): The date and time when the request was made.</p>\n</li>\n</ul>\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>Ensure that the StoreId and AccessCredentials are correctly provided to avoid authentication errors.</p>\n</li>\n<li><p>The response will vary based on the domains associated with the specified StoreId.</p>\n</li>\n</ul>\n","urlObject":{"path":["TravellinkWebApi","api","v1","ota","domain"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"a7f8bc22-49b5-43dc-a4f2-e6bd2ec3b8a2"},{"name":"Get By Id","id":"8429e461-1fb5-4644-b00e-fd2b8b1e7542","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Developer-Token","value":"{{Developer-Token}}","type":"text"},{"key":"Developer-Access-Code","value":"{{Developer-Access-Code}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"StoreId\": 13,\r\n    \"AccessCredentials\": {\r\n        \"Company\": {\r\n            \"Identifier\": \"\",\r\n            \"Password\": \"\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"/TravellinkWebApi/api/v1/ota/domain/373","description":"<h2 id=\"api-endpoint-retrieve-domain-information\">API Endpoint: Retrieve Domain Information</h2>\n<p>This endpoint allows clients to retrieve domain information associated with a specific store in the Travellink system. The request must include valid access credentials to authenticate the request.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p><strong>Method</strong>: GET</p>\n</li>\n<li><p><strong>URL</strong>: <code>https://wooba-sandbox.travellink.com.br/TravellinkWebApi/api/v1/ota/domain/373</code></p>\n</li>\n</ul>\n<h4 id=\"request-body\">Request Body</h4>\n<p>The request body must be sent in JSON format and includes the following parameters:</p>\n<ul>\n<li><p><strong>StoreId</strong> (integer): The unique identifier for the store. In this case, the value is <code>13</code>.</p>\n</li>\n<li><p><strong>AccessCredentials</strong> (object): An object containing the credentials needed for authentication.</p>\n<ul>\n<li><p><strong>Company</strong> (object): An object that holds the company-specific credentials.</p>\n<ul>\n<li><p><strong>Identifier</strong> (string): The identifier for the company, e.g., <code>\"\"</code>.</p>\n</li>\n<li><p><strong>Password</strong> (string): The password associated with the identifier, e.g., <code>\"\"</code>.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>Upon a successful request, the API will return a JSON response with the following structure:</p>\n<ul>\n<li><p><strong>Domains</strong> (array): An array of domain objects associated with the store.</p>\n<ul>\n<li><p>Each domain object contains:</p>\n<ul>\n<li><p><strong>Id</strong> (integer): The unique identifier for the domain.</p>\n</li>\n<li><p><strong>Host</strong> (string): The host associated with the domain.</p>\n</li>\n<li><p><strong>Email</strong> (string): The email address linked to the domain.</p>\n</li>\n<li><p><strong>DocumentNumber</strong> (string): The document number related to the domain.</p>\n</li>\n<li><p><strong>Type</strong> (integer): The type of the domain.</p>\n</li>\n<li><p><strong>State</strong> (integer): The state of the domain.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>Errors</strong> (array): An array that will contain any errors encountered during the request. If no errors occurred, this will be an empty array.</p>\n</li>\n<li><p><strong>Success</strong> (boolean): Indicates whether the request was successful or not.</p>\n</li>\n<li><p><strong>RequestDate</strong> (string): The date when the request was made.</p>\n</li>\n</ul>\n<h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"Domains\": [\n    {\n      \"Id\": 0,\n      \"Host\": \"\",\n      \"Email\": \"\",\n      \"DocumentNumber\": \"\",\n      \"Type\": 0,\n      \"State\": 0\n    }\n  ],\n  \"Errors\": [],\n  \"Success\": true,\n  \"RequestDate\": \"\"\n}\n\n</code></pre>\n<p>This endpoint is essential for accessing domain information, which can be used for various operational needs within the Travellink system.</p>\n","urlObject":{"path":["TravellinkWebApi","api","v1","ota","domain","373"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"8429e461-1fb5-4644-b00e-fd2b8b1e7542"},{"name":"Create","id":"0e2d262a-5a4d-4dc2-a4c0-daa23620d5b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Developer-Token","value":"{{Developer-Token}}","type":"text"},{"key":"Developer-Access-Code","value":"{{Developer-Access-Code}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"StoreId\": 13,\r\n    \"AccessCredentials\": {\r\n        \"Company\": {\r\n            \"Identifier\": \"\",\r\n            \"Password\": \"\"\r\n        }\r\n    },\r\n    \"Domain\": {\r\n        \"Host\": \"@travellink.com.br\",\r\n        \"Email\": \"\",\r\n        \"DocumentNumber\": \"\",\r\n        \"Type\": \"Host\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"/TravellinkWebApi/api/v1/ota/domain","description":"<h2 id=\"api-endpoint-create-domain\">API Endpoint: Create Domain</h2>\n<p>This endpoint allows you to create a new domain entry in the system. It requires specific credentials and domain details to be provided in the request body.</p>\n<h3 id=\"request\">Request</h3>\n<p><strong>Method:</strong> POST<br /><strong>URL:</strong> <code>{{baseEndpoint}}/TravellinkWebApi/api/v1/ota/domain</code></p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>The request body must be a JSON object containing the following parameters:</p>\n<ul>\n<li><p><code>StoreId</code> (integer): The identifier for the store where the domain is associated.</p>\n</li>\n<li><p><code>AccessCredentials</code> (object): Contains the credentials required for authentication.</p>\n<ul>\n<li><p><code>Company</code> (object): Holds the company-specific credentials.</p>\n<ul>\n<li><p><code>Identifier</code> (string): The unique identifier for the company.</p>\n</li>\n<li><p><code>Password</code> (string): The password associated with the company identifier.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><code>Domain</code> (object): Contains details about the domain to be created.</p>\n<ul>\n<li><p><code>Host</code> (string): The host name for the domain.</p>\n</li>\n<li><p><code>Email</code> (string): An optional email address associated with the domain.</p>\n</li>\n<li><p><code>DocumentNumber</code> (string): An optional document number related to the domain.</p>\n</li>\n<li><p><code>Type</code> (integer): The type of the domain (e.g., Host).</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"example-request-body\">Example Request Body</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"StoreId\": 13,\n  \"AccessCredentials\": {\n    \"Company\": {\n      \"Identifier\": \"\",\n      \"Password\": \"\"\n    }\n  },\n  \"Domain\": {\n    \"Host\": \"@travellink.com.br\",\n    \"Email\": \"\",\n    \"DocumentNumber\": \"\",\n    \"Type\": \"Host\"\n  }\n}\n\n</code></pre>\n<h3 id=\"response\">Response</h3>\n<p>On a successful request, the API will return a JSON response with the following structure:</p>\n<ul>\n<li><p><code>Domain</code> (object): Contains the details of the created domain.</p>\n<ul>\n<li><p><code>Id</code> (integer): The identifier of the created domain.</p>\n</li>\n<li><p><code>Host</code> (string): The host name for the domain.</p>\n</li>\n<li><p><code>Email</code> (string): The email associated with the domain.</p>\n</li>\n<li><p><code>DocumentNumber</code> (string): The document number related to the domain.</p>\n</li>\n<li><p><code>Type</code> (integer): The type of the domain.</p>\n</li>\n<li><p><code>State</code> (integer): The state of the domain (e.g., active, inactive).</p>\n</li>\n</ul>\n</li>\n<li><p><code>Errors</code> (array): An array containing any errors that occurred during the request. If the request is successful, this will be empty.</p>\n</li>\n<li><p><code>Success</code> (boolean): Indicates whether the request was successful.</p>\n</li>\n<li><p><code>RequestDate</code> (string): The date and time when the request was made.</p>\n</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"Domain\": {\n    \"Id\": 0,\n    \"Host\": \"\",\n    \"Email\": \"\",\n    \"DocumentNumber\": \"\",\n    \"Type\": 0,\n    \"State\": 0\n  },\n  \"Errors\": [],\n  \"Success\": true,\n  \"RequestDate\": \"\"\n}\n\n</code></pre>\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>Ensure that the <code>AccessCredentials</code> are valid to avoid authentication errors.</p>\n</li>\n<li><p>The <code>Host</code> parameter must be correctly formatted to ensure the domain is created successfully.</p>\n</li>\n<li><p>Check the <code>Errors</code> array in the response for any issues if the request is not successful.</p>\n</li>\n</ul>\n","urlObject":{"path":["TravellinkWebApi","api","v1","ota","domain"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"0e2d262a-5a4d-4dc2-a4c0-daa23620d5b9"},{"name":"Change","id":"e8f8b44c-76fa-4458-a4a7-330a9aad6b84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Developer-Token","value":"{{Developer-Token}}","type":"text"},{"key":"Developer-Access-Code","value":"{{Developer-Access-Code}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"StoreId\": 13,\r\n    \"AccessCredentials\": {\r\n        \"Company\": {\r\n            \"Identifier\": \"\",\r\n            \"Password\": \"\"\r\n        }\r\n    },\r\n    \"Domain\": {\r\n        \"Host\": \"\",\r\n        \"Email\": \"fulano.silva@wooba.com.br\",\r\n        \"DocumentNumber\": \"124.124.124-24\",\r\n        \"Type\": \"EmailAndDocument\",\r\n        \"State\": \"Active\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"/TravellinkWebApi/api/v1/ota/domain/422","description":"<h3 id=\"patch-request-to-update-domain-information\">PATCH Request to Update Domain Information</h3>\n<p>This endpoint allows you to update the domain information associated with a specific store in the system. It is primarily used to modify the domain details such as the host, email, document number, and type of the domain.</p>\n<h4 id=\"request-format\">Request Format</h4>\n<ul>\n<li><p><strong>Method:</strong> PATCH</p>\n</li>\n<li><p><strong>URL:</strong> <code>https://wooba-sandbox.travellink.com.br/TravellinkWebApi/api/v1/ota/domain/{id}</code></p>\n</li>\n</ul>\n<h4 id=\"request-body\">Request Body</h4>\n<p>The request body must be formatted as a JSON object containing the following keys:</p>\n<ul>\n<li><p><strong>StoreId</strong> (integer): The identifier for the store.</p>\n</li>\n<li><p><strong>AccessCredentials</strong> (object): Contains the credentials for accessing the API.</p>\n<ul>\n<li><p><strong>Company</strong> (object):</p>\n<ul>\n<li><p><strong>Identifier</strong> (string): The identifier for the company.</p>\n</li>\n<li><p><strong>Password</strong> (string): The password associated with the company identifier.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>Domain</strong> (object): Contains the domain information to be updated.</p>\n<ul>\n<li><p><strong>Host</strong> (string): The host of the domain (can be empty).</p>\n</li>\n<li><p><strong>Email</strong> (string): The email associated with the domain.</p>\n</li>\n<li><p><strong>DocumentNumber</strong> (string): The document number associated with the domain.</p>\n</li>\n<li><p><strong>Type</strong> (string): The type of the domain (e.g., \"EmailAndDocument\").</p>\n</li>\n<li><p><strong>State</strong> (string): The current state of the domain (e.g., \"Active\").</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"example-request-body\">Example Request Body</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"StoreId\": 13,\n  \"AccessCredentials\": {\n    \"Company\": {\n      \"Identifier\": \"\",\n      \"Password\": \"\"\n    }\n  },\n  \"Domain\": {\n    \"Host\": \"\",\n    \"Email\": \"fulano.silva@wooba.com.br\",\n    \"DocumentNumber\": \"124.124.124-24\",\n    \"Type\": \"EmailAndDocument\",\n    \"State\": \"Active\"\n  }\n}\n\n</code></pre>\n<h4 id=\"response-structure\">Response Structure</h4>\n<p>Upon a successful request, the response will contain the following structure:</p>\n<ul>\n<li><p><strong>Domain</strong> (object): Contains the updated domain information.</p>\n<ul>\n<li><p><strong>Id</strong> (integer): The unique identifier of the domain.</p>\n</li>\n<li><p><strong>Host</strong> (string): The host of the domain.</p>\n</li>\n<li><p><strong>Email</strong> (string): The email associated with the domain.</p>\n</li>\n<li><p><strong>DocumentNumber</strong> (string): The document number associated with the domain.</p>\n</li>\n<li><p><strong>Type</strong> (integer): The type of the domain represented as an integer.</p>\n</li>\n<li><p><strong>State</strong> (integer): The state of the domain represented as an integer.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Errors</strong> (array): An array containing any errors that occurred during the request. This will be empty if there are no errors.</p>\n</li>\n<li><p><strong>Success</strong> (boolean): Indicates whether the request was successful.</p>\n</li>\n<li><p><strong>RequestDate</strong> (string): The date and time when the request was made.</p>\n</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"Domain\": {\n    \"Id\": 0,\n    \"Host\": \"\",\n    \"Email\": \"\",\n    \"DocumentNumber\": \"\",\n    \"Type\": 0,\n    \"State\": 0\n  },\n  \"Errors\": [],\n  \"Success\": true,\n  \"RequestDate\": \"\"\n}\n\n</code></pre>\n<p>This endpoint is useful for maintaining and updating domain information associated with your store, ensuring that the details are current and accurate.</p>\n","urlObject":{"path":["TravellinkWebApi","api","v1","ota","domain","422"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"e8f8b44c-76fa-4458-a4a7-330a9aad6b84"},{"name":"Change Only State","id":"d379f886-9540-4e2c-8338-6c66efb90f02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Developer-Token","value":"{{Developer-Token}}","type":"text"},{"key":"Developer-Access-Code","value":"{{Developer-Access-Code}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"StoreId\": 13,\r\n    \"AccessCredentials\": {\r\n        \"Company\": {\r\n            \"Identifier\": \"\",\r\n            \"Password\": \"\"\r\n        }\r\n    },\r\n    \"Domain\": {\r\n        \"State\": \"Inactive\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"/TravellinkWebApi/api/v1/ota/domain/422","description":"<h3 id=\"patch-request-to-update-domain-state\">PATCH Request to Update Domain State</h3>\n<p>This endpoint allows you to update the state of a domain associated with a specific store. By sending a PATCH request to the specified URL, you can change the status of the domain to either active or inactive.</p>\n<h4 id=\"request-parameters\">Request Parameters</h4>\n<p>The request body must be in JSON format and should include the following parameters:</p>\n<ul>\n<li><p><strong>StoreId</strong> (integer): The identifier for the store whose domain state you want to update.</p>\n</li>\n<li><p><strong>AccessCredentials</strong> (object): Contains the credentials required for authentication.</p>\n<ul>\n<li><p><strong>Company</strong> (object): Holds the company credentials.</p>\n<ul>\n<li><p><strong>Identifier</strong> (string): The unique identifier for the API access.</p>\n</li>\n<li><p><strong>Password</strong> (string): The password associated with the API access.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>Domain</strong> (object): Contains the details of the domain to be updated.</p>\n<ul>\n<li><strong>State</strong> (string): The new state for the domain (e.g., \"Inactive\").</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"example-request-body\">Example Request Body</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"StoreId\": 13,\n  \"AccessCredentials\": {\n    \"Company\": {\n      \"Identifier\": \"\",\n      \"Password\": \"\"\n    }\n  },\n  \"Domain\": {\n    \"State\": \"Inactive\"\n  }\n}\n\n</code></pre>\n<h4 id=\"expected-response\">Expected Response</h4>\n<p>A successful request will return a response with the following structure:</p>\n<ul>\n<li><p><strong>Domain</strong> (object): Contains information about the updated domain.</p>\n<ul>\n<li><p><strong>Id</strong> (integer): The identifier of the domain.</p>\n</li>\n<li><p><strong>Host</strong> (string): The host of the domain.</p>\n</li>\n<li><p><strong>Email</strong> (string): The email associated with the domain.</p>\n</li>\n<li><p><strong>DocumentNumber</strong> (string): The document number related to the domain.</p>\n</li>\n<li><p><strong>Type</strong> (integer): The type of the domain.</p>\n</li>\n<li><p><strong>State</strong> (integer): The current state of the domain.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Errors</strong> (array): An array that will be empty if there are no errors.</p>\n</li>\n<li><p><strong>Success</strong> (boolean): Indicates whether the request was successful.</p>\n</li>\n<li><p><strong>RequestDate</strong> (string): The date when the request was made.</p>\n</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"Domain\": {\n    \"Id\": 0,\n    \"Host\": \"\",\n    \"Email\": \"\",\n    \"DocumentNumber\": \"\",\n    \"Type\": 0,\n    \"State\": 0\n  },\n  \"Errors\": [],\n  \"Success\": true,\n  \"RequestDate\": \"\"\n}\n\n</code></pre>\n<h4 id=\"notes\">Notes</h4>\n<ul>\n<li><p>Ensure that the <code>StoreId</code> and <code>AccessCredentials</code> are valid to avoid authentication errors.</p>\n</li>\n<li><p>The state of the domain can be set to \"Inactive\" or \"Active\" based on your requirements.</p>\n</li>\n</ul>\n","urlObject":{"path":["TravellinkWebApi","api","v1","ota","domain","422"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"d379f886-9540-4e2c-8338-6c66efb90f02"}],"id":"e1936936-df7d-4318-a13f-bade2200a074","_postman_id":"e1936936-df7d-4318-a13f-bade2200a074","description":""},{"name":"Customer","item":[{"name":"Get","id":"363e8b7e-6f7d-48c1-8a72-531a13ebaef1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Developer-Token","value":"{{Developer-Token}}","type":"text"},{"key":"Developer-Access-Code","value":"{{Developer-Access-Code}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"StoreId\": 13,\r\n    \"AccessCredentials\": {\r\n        \"Company\": {\r\n            \"Identifier\": \"\",\r\n            \"Password\": \"\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"/TravellinkWebApi/api/v1/ota/customer","description":"<h2 id=\"api-endpoint-retrieve-customer-information\">API Endpoint: Retrieve Customer Information</h2>\n<h3 id=\"method\">Method</h3>\n<p><code>GET</code></p>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><code>https://wooba-sandbox.travellink.com.br/TravellinkWebApi/api/v1/ota/customer</code></p>\n<h3 id=\"description\">Description</h3>\n<p>This endpoint retrieves customer information associated with a specific store. It requires authentication credentials and the store identifier to access the customer data.</p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<p>The request body must be sent in JSON format and includes the following parameters:</p>\n<ul>\n<li><p><strong>StoreId</strong> (integer): The identifier for the store from which customer data is being requested.</p>\n</li>\n<li><p><strong>AccessCredentials</strong> (object): Contains the credentials required for authentication.</p>\n<ul>\n<li><p><strong>Company</strong> (object): Holds the company-specific authentication details.</p>\n<ul>\n<li><p><strong>Identifier</strong> (string): The unique identifier for the company.</p>\n</li>\n<li><p><strong>Password</strong> (string): The password associated with the company identifier.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"example-request-body\">Example Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"StoreId\": 13,\n  \"AccessCredentials\": {\n    \"Company\": {\n      \"Identifier\": \"\",\n      \"Password\": \"\"\n    }\n  }\n}\n\n</code></pre>\n<h3 id=\"expected-response-format\">Expected Response Format</h3>\n<p>On a successful request, the response will be in JSON format with the following structure:</p>\n<ul>\n<li><p><strong>Customers</strong> (array): A list of customer objects. Each customer object contains:</p>\n<ul>\n<li><p><strong>Id</strong> (integer): The unique identifier for the customer.</p>\n</li>\n<li><p><strong>Name</strong> (string): The name of the customer.</p>\n</li>\n<li><p><strong>Email</strong> (string): The email address of the customer.</p>\n</li>\n<li><p><strong>BirthDate</strong> (string): The birth date of the customer.</p>\n</li>\n<li><p><strong>State</strong> (integer): The state code associated with the customer.</p>\n</li>\n<li><p><strong>Document</strong> (object): Contains document details.</p>\n<ul>\n<li><p><strong>Type</strong> (integer): The type of document.</p>\n</li>\n<li><p><strong>Number</strong> (string): The document number.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Phones</strong> (array): A list of phone objects, each containing:</p>\n<ul>\n<li><p><strong>Type</strong> (integer): The type of phone.</p>\n</li>\n<li><p><strong>CountryCode</strong> (string): The country code for the phone number.</p>\n</li>\n<li><p><strong>AreaCode</strong> (string): The area code for the phone number.</p>\n</li>\n<li><p><strong>Number</strong> (string): The phone number.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>Errors</strong> (array): An array that will contain any errors encountered during the request. If there are no errors, this will be an empty array.</p>\n</li>\n<li><p><strong>Success</strong> (boolean): Indicates whether the request was successful.</p>\n</li>\n<li><p><strong>RequestDate</strong> (string): The date when the request was made.</p>\n</li>\n</ul>\n<h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"Customers\": [\n    {\n      \"Id\": 0,\n      \"Name\": \"\",\n      \"Email\": \"\",\n      \"BirthDate\": \"\",\n      \"State\": 0,\n      \"Document\": {\n        \"Type\": 0,\n        \"Number\": \"\"\n      },\n      \"Phones\": [\n        {\n          \"Type\": 0,\n          \"CountryCode\": \"\",\n          \"AreaCode\": \"\",\n          \"Number\": \"\"\n        }\n      ]\n    }\n  ],\n  \"Errors\": [],\n  \"Success\": true,\n  \"RequestDate\": \"\"\n}\n\n</code></pre>\n","urlObject":{"path":["TravellinkWebApi","api","v1","ota","customer"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"363e8b7e-6f7d-48c1-8a72-531a13ebaef1"},{"name":"Get By Id","id":"c3fbde5b-203c-49fe-a18e-f95ac802d04d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Developer-Token","value":"{{Developer-Token}}","type":"text"},{"key":"Developer-Access-Code","value":"{{Developer-Access-Code}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"StoreId\": 13,\r\n    \"AccessCredentials\": {\r\n        \"Company\": {\r\n            \"Identifier\": \"\",\r\n            \"Password\": \"\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"/TravellinkWebApi/api/v1/ota/customer/110","description":"<h3 id=\"api-endpoint-get-customer-information\">API Endpoint: Get Customer Information</h3>\n<p>This endpoint retrieves detailed information about a specific customer identified by their unique ID. It requires authentication credentials and a store identifier to access the customer data.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p><strong>Method</strong>: GET</p>\n</li>\n<li><p><strong>URL</strong>: <code>https://wooba-sandbox.travellink.com.br/TravellinkWebApi/api/v1/ota/customer/{customerId}</code></p>\n</li>\n</ul>\n<h5 id=\"request-body-json\">Request Body (JSON)</h5>\n<p>The request body must be sent in JSON format and should include the following parameters:</p>\n<ul>\n<li><p><strong>StoreId</strong> (integer): The identifier for the store making the request.</p>\n</li>\n<li><p><strong>AccessCredentials</strong> (object): Contains the authentication details.</p>\n<ul>\n<li><p><strong>Company</strong> (object): Holds the company credentials.</p>\n<ul>\n<li><p><strong>Identifier</strong> (string): The unique identifier for the API access.</p>\n</li>\n<li><p><strong>Password</strong> (string): The password associated with the API access.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<p><strong>Example Request Body</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"StoreId\": 13,\n  \"AccessCredentials\": {\n    \"Company\": {\n      \"Identifier\": \"\",\n      \"Password\": \"\"\n    }\n  }\n}\n\n</code></pre>\n<h4 id=\"response\">Response</h4>\n<p>Upon a successful request, the server responds with a JSON object containing customer details.</p>\n<h5 id=\"response-structure\">Response Structure</h5>\n<ul>\n<li><p><strong>Customers</strong> (array): A list of customer objects.</p>\n<ul>\n<li><p><strong>Id</strong> (integer): The unique identifier for the customer.</p>\n</li>\n<li><p><strong>Name</strong> (string): The name of the customer.</p>\n</li>\n<li><p><strong>Email</strong> (string): The email address of the customer.</p>\n</li>\n<li><p><strong>BirthDate</strong> (string): The birth date of the customer (format: YYYY-MM-DD).</p>\n</li>\n<li><p><strong>State</strong> (integer): The state code associated with the customer.</p>\n</li>\n<li><p><strong>Document</strong> (object): Contains document details.</p>\n<ul>\n<li><p><strong>Type</strong> (integer): The type of document (e.g., ID, passport).</p>\n</li>\n<li><p><strong>Number</strong> (string): The document number.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Phones</strong> (array): A list of phone objects associated with the customer.</p>\n<ul>\n<li><p><strong>Type</strong> (integer): The type of phone (e.g., mobile, home).</p>\n</li>\n<li><p><strong>CountryCode</strong> (string): The country code for the phone number.</p>\n</li>\n<li><p><strong>AreaCode</strong> (string): The area code for the phone number.</p>\n</li>\n<li><p><strong>Number</strong> (string): The actual phone number.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>Errors</strong> (array): An array that contains any errors that occurred during the request.</p>\n</li>\n<li><p><strong>Success</strong> (boolean): Indicates whether the request was successful.</p>\n</li>\n<li><p><strong>RequestDate</strong> (string): The date and time when the request was made.</p>\n</li>\n</ul>\n<p><strong>Example Response</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"Customers\": [\n    {\n      \"Id\": 0,\n      \"Name\": \"\",\n      \"Email\": \"\",\n      \"BirthDate\": \"\",\n      \"State\": 0,\n      \"Document\": {\n        \"Type\": 0,\n        \"Number\": \"\"\n      },\n      \"Phones\": [\n        {\n          \"Type\": 0,\n          \"CountryCode\": \"\",\n          \"AreaCode\": \"\",\n          \"Number\": \"\"\n        }\n      ]\n    }\n  ],\n  \"Errors\": [],\n  \"Success\": true,\n  \"RequestDate\": \"\"\n}\n\n</code></pre>\n<p>This endpoint is essential for applications that need to access customer data securely and efficiently.</p>\n","urlObject":{"path":["TravellinkWebApi","api","v1","ota","customer","110"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"c3fbde5b-203c-49fe-a18e-f95ac802d04d"},{"name":"Change","id":"9d2db18e-69c0-49ec-baef-269fa3d9980e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Developer-Token","value":"{{Developer-Token}}","type":"text"},{"key":"Developer-Access-Code","value":"{{Developer-Access-Code}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"StoreId\": 13,\r\n    \"AccessCredentials\": {\r\n        \"Company\": {\r\n            \"Identifier\": \"\",\r\n            \"Password\": \"\"\r\n        }\r\n    },\r\n    \"Customer\": {\r\n         \"Name\": \"John Doe Junior\",\r\n        \"Document\": {\r\n            \"Type\": 1,\r\n            \"Number\": \"036.877.390-66\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"/TravellinkWebApi/api/v1/ota/customer/108","description":"<h3 id=\"patch-customer-information\">PATCH Customer Information</h3>\n<p>This endpoint allows you to update the information of a specific customer identified by their unique ID. The request modifies customer details such as their name, email, birth date, state, document information, and phone numbers.</p>\n<h4 id=\"request-parameters\">Request Parameters</h4>\n<p>The request body must be sent in JSON format and should include the following parameters:</p>\n<ul>\n<li><p><strong>StoreId</strong> (integer): The identifier for the store associated with the customer.</p>\n</li>\n<li><p><strong>AccessCredentials</strong> (object): Contains the credentials required for authentication.</p>\n<ul>\n<li><p><strong>Company</strong> (object): An object that holds the company credentials.</p>\n<ul>\n<li><p><strong>Identifier</strong> (string): The unique identifier for the company.</p>\n</li>\n<li><p><strong>Password</strong> (string): The password associated with the company identifier.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>Customer</strong> (object): Contains the details of the customer to be updated.</p>\n<ul>\n<li><p><strong>Id</strong> (integer): The unique identifier of the customer.</p>\n</li>\n<li><p><strong>Name</strong> (string): The name of the customer.</p>\n</li>\n<li><p><strong>Email</strong> (string): The email address of the customer.</p>\n</li>\n<li><p><strong>BirthDate</strong> (string): The birth date of the customer in ISO 8601 format.</p>\n</li>\n<li><p><strong>State</strong> (integer): The state identifier associated with the customer.</p>\n</li>\n<li><p><strong>Document</strong> (object): Contains the customer's document information.</p>\n<ul>\n<li><p><strong>Type</strong> (integer): The type of document (e.g., CPF, CNPJ).</p>\n</li>\n<li><p><strong>Number</strong> (string): The document number.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Phones</strong> (array of objects): A list of phone numbers associated with the customer.</p>\n<ul>\n<li><p>Each phone object can include:</p>\n<ul>\n<li><p><strong>Type</strong> (integer): The type of phone number.</p>\n</li>\n<li><p><strong>CountryCode</strong> (string): The country code for the phone number.</p>\n</li>\n<li><p><strong>AreaCode</strong> (string): The area code for the phone number.</p>\n</li>\n<li><p><strong>Number</strong> (string): The actual phone number.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response-structure\">Response Structure</h4>\n<p>Upon a successful request, the response will contain the following fields:</p>\n<ul>\n<li><p><strong>Customer</strong> (object): Reflects the updated customer information.</p>\n<ul>\n<li><p><strong>Id</strong> (integer): The unique identifier of the customer (should be 0 if not found).</p>\n</li>\n<li><p><strong>Name</strong> (string): The name of the customer.</p>\n</li>\n<li><p><strong>Email</strong> (string): The email address of the customer.</p>\n</li>\n<li><p><strong>BirthDate</strong> (string): The birth date of the customer.</p>\n</li>\n<li><p><strong>State</strong> (integer): The state identifier associated with the customer.</p>\n</li>\n<li><p><strong>Document</strong> (object): Contains the document information.</p>\n<ul>\n<li><p><strong>Type</strong> (integer): The type of document.</p>\n</li>\n<li><p><strong>Number</strong> (string): The document number.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Phones</strong> (array of objects): A list of phone numbers associated with the customer.</p>\n<ul>\n<li><p>Each phone object includes:</p>\n<ul>\n<li><p><strong>Type</strong> (integer): The type of phone number.</p>\n</li>\n<li><p><strong>CountryCode</strong> (string): The country code for the phone number.</p>\n</li>\n<li><p><strong>AreaCode</strong> (string): The area code for the phone number.</p>\n</li>\n<li><p><strong>Number</strong> (string): The actual phone number.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>Errors</strong> (array): An array that contains any errors encountered during the request (empty if successful).</p>\n</li>\n<li><p><strong>Success</strong> (boolean): Indicates whether the request was successful.</p>\n</li>\n<li><p><strong>RequestDate</strong> (string): The date and time when the request was made.</p>\n</li>\n</ul>\n<p>This endpoint is crucial for maintaining up-to-date customer records within the system.</p>\n","urlObject":{"path":["TravellinkWebApi","api","v1","ota","customer","108"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"9d2db18e-69c0-49ec-baef-269fa3d9980e"},{"name":"Create","id":"6c4a503e-4967-47ad-bffc-ade6c8de624b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Developer-Token","value":"{{Developer-Token}}","type":"text"},{"key":"Developer-Access-Code","value":"{{Developer-Access-Code}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"StoreId\": 0,\r\n    \"AccessCredentials\": {\r\n        \"Company\": {\r\n            \"Identifier\": \"\",\r\n            \"Password\": \"\"\r\n        }\r\n    },\r\n    \"Person\": {\r\n        \"FirstName\": \"John\",\r\n        \"MiddleName\": \"\",\r\n        \"Surname\": \"Doe\",\r\n        \"Gender\": \"Male\",\r\n        \"BirthDate\": \"1999-06-30\",\r\n        \"Email\": \"johndoexx@wooba.com.br\"\r\n    },\r\n    \"Documents\": [\r\n        {\r\n            \"Type\": \"Cpf\", //['Cpf', 'Cnpj', 'DriverLicense', 'Passport', 'RNE', 'RG', 'CNH', 'OAB']\r\n            \"Number\": \"250.382.070-06\",\r\n            \"Validity\": \"2030-06-30T17:39:19.893Z\",\r\n            \"IssuingCountry\": \"BR\"\r\n        }\r\n    ],\r\n    \"Phones\": [\r\n        {\r\n            \"Type\": \"Mobile\", //['General', 'Commercial', 'Fax', 'Mobile']\r\n            \"CountryCode\": \"55\",\r\n            \"AreaCode\": \"51\",\r\n            \"Number\": \"999999999\"\r\n        }\r\n    ],\r\n    \"Address\": {\r\n        \"ZipCode\": \"99999999\",\r\n        \"Country\": \"BR\",\r\n        \"State\": \"SP\",\r\n        \"City\": \"Sao Paulo\",\r\n        \"Neighborhood\": \"Vila Madalena\",\r\n        \"Address1\": \"Rua Sao Paulo\",\r\n        \"Address2\": \"Apto 123\",\r\n        \"Number\": \"123\"\r\n    },\r\n    \"Password\": \"xxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/TravellinkWebApi/api/v1/ota/customer","description":"<h3 id=\"post-customer-information\">POST Customer Information</h3>\n<p>This endpoint allows you to create a new customer record in the system.</p>\n<h4 id=\"request-method\">Request Method</h4>\n<ul>\n<li><strong>POST</strong></li>\n</ul>\n<h4 id=\"request-url\">Request URL</h4>\n<ul>\n<li><code>https://wooba-sandbox.travellink.com.br/TravellinkWebApi/api/v1/ota/customer</code></li>\n</ul>\n<h4 id=\"request-parameters\">Request Parameters</h4>\n<p>The request body must be sent in JSON format and should include the following parameters:</p>\n<ul>\n<li><p><strong>StoreId</strong> (integer): The identifier for the store associated with the customer.</p>\n</li>\n<li><p><strong>AccessCredentials</strong> (object): Contains the credentials required for authentication.</p>\n<ul>\n<li><p><strong>Company</strong> (object): An object that holds the company credentials.</p>\n<ul>\n<li><p><strong>Identifier</strong> (string): The unique identifier for the company.</p>\n</li>\n<li><p><strong>Password</strong> (string): The password associated with the company identifier.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>Person</strong> (object): Contains the details of the customer to be created.</p>\n<ul>\n<li><p><strong>FirstName</strong> (string): The first name of the customer.</p>\n</li>\n<li><p><strong>Surname</strong> (string): The surname of the customer.</p>\n</li>\n<li><p><strong>Gender</strong> (string): The gender of the customer.</p>\n</li>\n<li><p><strong>BirthDate</strong> (string): The birth date of the customer in ISO 8601 format.</p>\n</li>\n<li><p><strong>Email</strong> (string): The email address of the customer.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Documents</strong> (array of objects): A list of documents associated with the customer.</p>\n<ul>\n<li><p>Each document object can include:</p>\n<ul>\n<li><p><strong>Type</strong> (string): The type of document (e.g., CPF).</p>\n</li>\n<li><p><strong>Number</strong> (string): The document number.</p>\n</li>\n<li><p><strong>Validity</strong> (string): The validity date of the document in ISO 8601 format.</p>\n</li>\n<li><p><strong>IssuingCountry</strong> (string): The country that issued the document.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>Phones</strong> (array of objects): A list of phone numbers associated with the customer.</p>\n<ul>\n<li><p>Each phone object can include:</p>\n<ul>\n<li><p><strong>Type</strong> (string): The type of phone number (e.g., Mobile).</p>\n</li>\n<li><p><strong>CountryCode</strong> (string): The country code for the phone number.</p>\n</li>\n<li><p><strong>AreaCode</strong> (string): The area code for the phone number.</p>\n</li>\n<li><p><strong>Number</strong> (string): The actual phone number.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>Address</strong> (object): Contains the address details of the customer.</p>\n<ul>\n<li><p><strong>ZipCode</strong> (string): The postal code of the address.</p>\n</li>\n<li><p><strong>Country</strong> (string): The country of the address.</p>\n</li>\n<li><p><strong>State</strong> (string): The state of the address.</p>\n</li>\n<li><p><strong>City</strong> (string): The city of the address.</p>\n</li>\n<li><p><strong>Neighborhood</strong> (string): The neighborhood of the address.</p>\n</li>\n<li><p><strong>Address1</strong> (string): The primary address line.</p>\n</li>\n<li><p><strong>Address2</strong> (string): The secondary address line.</p>\n</li>\n<li><p><strong>Number</strong> (string): The house or apartment number.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Password</strong> (string): The password for the customer account.</p>\n</li>\n</ul>\n<h4 id=\"response-structure\">Response Structure</h4>\n<p>Upon a successful request, the response will contain the following fields:</p>\n<ul>\n<li><p><strong>Customer</strong> (object): Reflects the created customer information.</p>\n<ul>\n<li><p><strong>Id</strong> (integer): The unique identifier of the customer (should be 0 if not found).</p>\n</li>\n<li><p><strong>Name</strong> (string): The name of the customer.</p>\n</li>\n<li><p><strong>Email</strong> (string): The email address of the customer.</p>\n</li>\n<li><p><strong>BirthDate</strong> (string): The birth date of the customer.</p>\n</li>\n<li><p><strong>State</strong> (integer): The state identifier associated with the customer.</p>\n</li>\n<li><p><strong>Document</strong> (object): Contains the document information.</p>\n<ul>\n<li><p><strong>Type</strong> (integer): The type of document.</p>\n</li>\n<li><p><strong>Number</strong> (string): The document number.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Phones</strong> (array of objects): A list of phone numbers associated with the customer.</p>\n<ul>\n<li><p>Each phone object includes:</p>\n<ul>\n<li><p><strong>Type</strong> (integer): The type of phone number.</p>\n</li>\n<li><p><strong>CountryCode</strong> (string): The country code for the phone number.</p>\n</li>\n<li><p><strong>AreaCode</strong> (string): The area code for the phone number.</p>\n</li>\n<li><p><strong>Number</strong> (string): The actual phone number.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>Errors</strong> (array): An array that contains any errors encountered during the request (empty if successful).</p>\n</li>\n<li><p><strong>Success</strong> (boolean): Indicates whether the request was successful.</p>\n</li>\n<li><p><strong>RequestDate</strong> (string): The date and time when the request was made.</p>\n</li>\n</ul>\n<p>This endpoint is crucial for maintaining up-to-date customer records within the system.</p>\n","urlObject":{"path":["TravellinkWebApi","api","v1","ota","customer"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"6c4a503e-4967-47ad-bffc-ade6c8de624b"},{"name":"Change Only State","id":"a5dd0294-9caa-4d46-af2d-989c5bf16ffa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Developer-Token","value":"{{Developer-Token}}","type":"text"},{"key":"Developer-Access-Code","value":"{{Developer-Access-Code}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"StoreId\": 13,\r\n    \"AccessCredentials\": {\r\n        \"Company\": {\r\n            \"Identifier\": \"\",\r\n            \"Password\": \"\"\r\n    },\r\n    \"Customer\": {\r\n        \"State\": \"Inactive\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"/TravellinkWebApi/api/v1/ota/customer/87","description":"<h3 id=\"patch-customer-status\">PATCH Customer Status</h3>\n<p>This endpoint allows you to update the status of a customer in the system.</p>\n<p><strong>Endpoint:</strong><br /><code>PATCH https://wooba-sandbox.travellink.com.br/TravellinkWebApi/api/v1/ota/customer/{customerId}</code><br />Replace <code>{customerId}</code> with the actual ID of the customer you wish to update.</p>\n<p><strong>Request Body Parameters:</strong></p>\n<ul>\n<li><p><strong>StoreId</strong> (integer, required): The identifier for the store associated with the request.</p>\n</li>\n<li><p><strong>AccessCredentials</strong> (object, required): Contains the credentials for accessing the API.</p>\n<ul>\n<li><p><strong>Company</strong> (object, required): The company details.</p>\n<ul>\n<li><p><strong>Identifier</strong> (string, required): The identifier for the API access.</p>\n</li>\n<li><p><strong>Password</strong> (string, required): The password for the API access.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>Customer</strong> (object, required): Contains the details of the customer to be updated.</p>\n<ul>\n<li><strong>State</strong> (string, required): The new state of the customer (e.g., \"Inactive\").</li>\n</ul>\n</li>\n</ul>\n<p><strong>Expected Response Format:</strong></p>\n<p>On a successful request, the response will include:</p>\n<ul>\n<li><p><strong>Customer</strong> (object): The updated customer details.</p>\n<ul>\n<li><p><strong>Id</strong> (integer): The unique identifier of the customer.</p>\n</li>\n<li><p><strong>Name</strong> (string): The name of the customer.</p>\n</li>\n<li><p><strong>Email</strong> (string): The email address of the customer.</p>\n</li>\n<li><p><strong>BirthDate</strong> (string): The birth date of the customer.</p>\n</li>\n<li><p><strong>State</strong> (integer): The current state of the customer.</p>\n</li>\n<li><p><strong>Document</strong> (object): The document details of the customer.</p>\n<ul>\n<li><p><strong>Type</strong> (integer): The type of document.</p>\n</li>\n<li><p><strong>Number</strong> (string): The document number.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Phones</strong> (array): A list of phone numbers associated with the customer.</p>\n<ul>\n<li><p><strong>Type</strong> (integer): The type of phone.</p>\n</li>\n<li><p><strong>CountryCode</strong> (string): The country code for the phone number.</p>\n</li>\n<li><p><strong>AreaCode</strong> (string): The area code for the phone number.</p>\n</li>\n<li><p><strong>Number</strong> (string): The actual phone number.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>Errors</strong> (array): Any errors encountered during the request.</p>\n</li>\n<li><p><strong>Success</strong> (boolean): Indicates whether the request was successful.</p>\n</li>\n<li><p><strong>RequestDate</strong> (string): The date and time when the request was made.</p>\n</li>\n</ul>\n<p><strong>Response Status:</strong></p>\n<ul>\n<li><strong>200 OK</strong>: Indicates that the customer status was successfully updated.</li>\n</ul>\n","urlObject":{"path":["TravellinkWebApi","api","v1","ota","customer","87"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"a5dd0294-9caa-4d46-af2d-989c5bf16ffa"}],"id":"7dd22384-e07f-442b-a22e-213f617dfa2c","_postman_id":"7dd22384-e07f-442b-a22e-213f617dfa2c","description":""},{"name":"Auth","item":[{"name":"GenerateToken - Anonymous","id":"f84387e7-7fd9-4f53-ad3e-19d62d52ef1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Developer-Token","value":"{{Developer-Token}}","type":"text"},{"key":"Developer-Access-Code","value":"{{Developer-Access-Code}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"StoreId\": 13,\r\n    \"AccessCredentials\": {\r\n        \"Company\": {\r\n            \"Identifier\": \"\",\r\n            \"Password\": \"\"\r\n        }\r\n    },\r\n    \"Person\": {\r\n        \"FirstName\": \"Homer\",\r\n        \"SocialName\": \"\",\r\n        \"MiddleName\": \"Jay\",\r\n        \"Surname\": \"Simpson\",\r\n        \"Gender\": \"Male\",\r\n        \"BirthDate\": \"2000-01-05\",\r\n        \"Email\": \"homer.simpson@wooba.com.br\"\r\n    },\r\n    \"Documents\": [\r\n        {\r\n            \"Type\": \"Cpf\",\r\n            \"Number\": \"296.064.560-05\",\r\n            \"Validity\": \"2030-06-30\",\r\n            \"IssuingCountry\": \"BR\"\r\n        }\r\n    ],\r\n    \"Phones\": [\r\n        {\r\n            \"Type\": \"General\",\r\n            \"CountryCode\": \"+55\",\r\n            \"AreaCode\": \"51\",\r\n            \"Number\": \"999998888\"\r\n        }\r\n    ],\r\n    \"Address\": {\r\n        \"ZipCode\": \"99999-999\",\r\n        \"Country\": \"Brasil\",\r\n        \"State\": \"string\",\r\n        \"City\": \"Sao Paulo\",\r\n        \"Neighborhood\": \"Liberdade\",\r\n        \"Address1\": \"Rua Japao\",\r\n        \"Address2\": \"\",\r\n        \"Number\": \"123\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"/TravellinkWebApi/api/v1/ota/auth/generatetoken","description":"<h3 id=\"post-generate-token---anonymous\">POST Generate Token - Anonymous</h3>\n<p>This endpoint creates an order and generates an authentication token for system access.</p>\n<h4 id=\"request-url\">Request URL</h4>\n<ul>\n<li><code>https://wooba-sandbox.travellink.com.br/TravellinkWebApi/api/v1/ota/auth/generatetoken</code></li>\n</ul>\n<h4 id=\"request-parameters\">Request Parameters</h4>\n<p>The request body must be sent in JSON format and should include the following parameters:</p>\n<ul>\n<li><p><strong>StoreId</strong> (integer): The identifier for the store associated with the request.</p>\n</li>\n<li><p><strong>AccessCredentials</strong> (object): Contains the credentials required for authentication.</p>\n<ul>\n<li><p><strong>Company</strong> (object): An object that holds the company credentials.</p>\n<ul>\n<li><p><strong>Identifier</strong> (string): The unique identifier for the company.</p>\n</li>\n<li><p><strong>Password</strong> (string): The password associated with the company identifier.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>Person</strong> (object): Contains the details of the person requesting the token.</p>\n<ul>\n<li><p><strong>FirstName</strong> (string): The first name of the person.</p>\n</li>\n<li><p><strong>SocialName</strong> (string): The social name of the person.</p>\n</li>\n<li><p><strong>MiddleName</strong> (string): The middle name of the person.</p>\n</li>\n<li><p><strong>Surname</strong> (string): The surname of the person.</p>\n</li>\n<li><p><strong>Gender</strong> (string): The gender of the person.</p>\n</li>\n<li><p><strong>BirthDate</strong> (string): The birth date of the person in ISO 8601 format.</p>\n</li>\n<li><p><strong>Email</strong> (string): The email address of the person.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Documents</strong> (array of objects): A list of documents associated with the person.</p>\n<ul>\n<li><p>Each document object can include:</p>\n<ul>\n<li><p><strong>Type</strong> (string): The type of document (e.g., CPF).</p>\n</li>\n<li><p><strong>Number</strong> (string): The document number.</p>\n</li>\n<li><p><strong>Validity</strong> (string): The validity date of the document in ISO 8601 format.</p>\n</li>\n<li><p><strong>IssuingCountry</strong> (string): The country that issued the document.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>Phones</strong> (array of objects): A list of phone numbers associated with the person.</p>\n<ul>\n<li><p>Each phone object can include:</p>\n<ul>\n<li><p><strong>Type</strong> (string): The type of phone number (e.g., General).</p>\n</li>\n<li><p><strong>CountryCode</strong> (string): The country code for the phone number.</p>\n</li>\n<li><p><strong>AreaCode</strong> (string): The area code for the phone number.</p>\n</li>\n<li><p><strong>Number</strong> (string): The actual phone number.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>Address</strong> (object): Contains the address details of the person.</p>\n<ul>\n<li><p><strong>ZipCode</strong> (string): The postal code of the address.</p>\n</li>\n<li><p><strong>Country</strong> (string): The country of the address.</p>\n</li>\n<li><p><strong>State</strong> (string): The state of the address.</p>\n</li>\n<li><p><strong>City</strong> (string): The city of the address.</p>\n</li>\n<li><p><strong>Neighborhood</strong> (string): The neighborhood of the address.</p>\n</li>\n<li><p><strong>Address1</strong> (string): The primary address line.</p>\n</li>\n<li><p><strong>Address2</strong> (string): The secondary address line.</p>\n</li>\n<li><p><strong>Number</strong> (string): The house or apartment number.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response-structure\">Response Structure</h4>\n<p>Upon a successful request, the response will contain the following fields:</p>\n<ul>\n<li><p><strong>Token</strong> (string): The generated authentication token.</p>\n</li>\n<li><p><strong>Errors</strong> (array): An array that contains any errors encountered during the request (empty if successful).</p>\n</li>\n<li><p><strong>Success</strong> (boolean): Indicates whether the request was successful.</p>\n</li>\n<li><p><strong>RequestDate</strong> (string): The date and time when the request was made.</p>\n</li>\n</ul>\n<p>This endpoint is essential for obtaining a valid token necessary for further interactions with the system.</p>\n","urlObject":{"path":["TravellinkWebApi","api","v1","ota","auth","generatetoken"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"f84387e7-7fd9-4f53-ad3e-19d62d52ef1a"},{"name":"GenerateToken","id":"44cca8ee-9f85-486f-be43-92ab0e22da8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Developer-Token","value":"{{Developer-Token}}","type":"text"},{"key":"Developer-Access-Code","value":"{{Developer-Access-Code}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"StoreId\": 13,\r\n    \"AccessCredentials\": {\r\n        \"Company\": {\r\n            \"Identifier\": \"\",\r\n            \"Password\": \"\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"/TravellinkWebApi/api/v1/ota/auth/generatetoken/108","description":"<h3 id=\"post-generate-token\">POST Generate Token</h3>\n<p>This endpoint allows you to generate an authentication token for accessing the API.</p>\n<h4 id=\"request-method\">Request Method</h4>\n<ul>\n<li><strong>POST</strong></li>\n</ul>\n<h4 id=\"request-url\">Request URL</h4>\n<ul>\n<li><code>https://wooba-sandbox.travellink.com.br/TravellinkWebApi/api/v1/ota/auth/generatetoken/108</code></li>\n</ul>\n<h4 id=\"request-parameters\">Request Parameters</h4>\n<p>The request body must be sent in JSON format and should include the following parameters:</p>\n<ul>\n<li><p><strong>StoreId</strong> (integer): The identifier for the store associated with the authentication request.</p>\n</li>\n<li><p><strong>AccessCredentials</strong> (object): Contains the credentials required for authentication.</p>\n<ul>\n<li><p><strong>Company</strong> (object): An object that holds the company credentials.</p>\n<ul>\n<li><p><strong>Identifier</strong> (string): The unique identifier for the company.</p>\n</li>\n<li><p><strong>Password</strong> (string): The password associated with the company identifier.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response-structure\">Response Structure</h4>\n<p>Upon a successful request, the response will contain the following fields:</p>\n<ul>\n<li><p><strong>Token</strong> (string): The generated authentication token.</p>\n</li>\n<li><p><strong>Errors</strong> (array): An array that contains any errors encountered during the request (empty if successful).</p>\n</li>\n<li><p><strong>Success</strong> (boolean): Indicates whether the request was successful.</p>\n</li>\n<li><p><strong>RequestDate</strong> (string): The date and time when the request was made.</p>\n</li>\n</ul>\n<p>This endpoint is essential for obtaining a token that can be used for subsequent API requests, ensuring secure access to the services provided by the API.</p>\n","urlObject":{"path":["TravellinkWebApi","api","v1","ota","auth","generatetoken","108"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"44cca8ee-9f85-486f-be43-92ab0e22da8e"}],"id":"0cfcfb11-de1d-4f5f-bec5-12040cae2204","description":"<p>There are two ways of authentication. The first allows an order to be placed without the need to identify the user.</p>\n<p>The second form of authentication identifies the customer accessing the system.</p>\n","_postman_id":"0cfcfb11-de1d-4f5f-bec5-12040cae2204"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"ce43f0ff-ad3a-444e-80cf-aadd4f3b3bc6"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"75c0fda4-7fb3-4d8f-bd14-b88ffcde9ee5"}}],"variable":[{"key":"baseEndPoint","value":"","type":"default"},{"key":"Login","value":"","type":"string"},{"key":"Password","value":"","type":"string"}]}