{"info":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","description":"<html><head></head><body><p>Guper is a powerful tool developed based on the MACH architecture (Microservices, API-first, Cloud-native, and Headless), with its main goal being to drive customer revenue. This platform offers various functionalities, such as Loyalty, which encourages customer loyalty by offering cashback as an incentive for future purchases in the store. Additionally, Analytics is an indispensable tool that analyzes store order data and provides valuable insights and strategic suggestions to optimize sales and promote more effective campaigns. With Guper, companies gain access to essential resources to boost financial returns and enhance their business strategies.</p>\n<h2 id=\"integration-landscape\">Integration landscape</h2>\n<p><strong>POS &amp; Ecommece</strong></p>\n<p>All POS and Ecommerce integrations communicate with the <strong>Integration API</strong>, specifically through the <a href=\"https://developers.guper.co/#b461d9b5-6eb3-453d-af64-de19198abeac\">Checkout API</a>, to transmit shopping data to the <strong>Guper Engine</strong>.</p>\n<p>The <strong>Guper Engine</strong> is the core component responsible for evaluating and applying all promotion and reward rules. It processes this data in real time, ensuring that the appropriate benefits—such as discounts, cashback, or loyalty points—are applied seamlessly during both <strong>navigation</strong> and <strong>checkout</strong>.</p>\n<p>When data is received, the Guper Engine determines which rules are eligible based on the configured conditions. For each rule that is triggered, it returns the corresponding <strong>effect(s)</strong> to the integration layer, enabling an instant and smooth application of the rewards.</p>\n<img src=\"https://content.pstmn.io/b9730790-1d7f-4482-8711-3ec2950705bd/SW50ZWdyYXRpb24gTGFuZHNjYXBlLmRyYXdpby5wbmc=\">\n\n<p><strong>Data Transfer</strong></p>\n<p>The <strong>Data Transfer</strong> layer is designed to keep your systems—such as CRM, BI tools, Data Lakes, or any other applications—up to date with the latest customer and order activity.</p>\n<p>We provide two dedicated feeds: <a href=\"https://developers.guper.co/#ef9097be-65ac-4c08-af50-53c135a82060\">Customer Feed</a> and <a href=\"https://developers.guper.co/#3b8ca0b9-d69e-437f-856c-02d001d64b8a\">Order Feed</a>. These feeds continuously list updates in real time. Every time a customer or order is updated, a new entry is added to the respective feed.</p>\n<p>Updates may include:</p>\n<ul>\n<li><p>New customer or order registration</p>\n</li>\n<li><p>Profile or status changes</p>\n</li>\n<li><p>Items added or removed from an order</p>\n</li>\n<li><p>Tags or audiences added or removed</p>\n</li>\n<li><p>Rewards or promotions applied or revoked</p>\n</li>\n<li><p>And more</p>\n</li>\n</ul>\n<p>This setup ensures a seamless data flow for enriched analytics, reporting, and customer engagement strategies.</p>\n<img src=\"https://content.pstmn.io/ae8e9afb-9c24-4aac-bdc1-df8fd4fe599f/RmVlZC5wbmc=\">\n\n<h2 id=\"authentication\">Authentication</h2>\n<p>The <strong>authorization token</strong> is extremely necessary to make any requests to APIs in Guper.</p>\n<p>Authentication for Guper APIs is performed through our <strong>Authorization Token</strong>. This token must be included in nearly all requests, utilizing the '<em>x-guper-authorization</em>' header.</p>\n<p>The generation of this token is carried out via a dedicated endpoint, using the API key (<em>x-guper-apikey</em>) and API secret (<em>x-guper-apisecret</em>). These credentials are established during the configuration of an API access account, with the initial set being generated by the Guper integration team.</p>\n<h3 id=\"503-response\">503 response</h3>\n<p>An HTTP 500 response from our servers is some internal API malfunction. If the outage persists or you receive any other form of HTTP <em>5XX</em> error, contact support.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"1022797","collectionId":"b7996912-fccb-4091-8821-89e464400101","publishedId":"2s93m5zh2u","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-08-09T17:15:31.000Z"},"item":[{"name":"API reference","item":[{"name":"Sandbox","item":[],"id":"9303f6fc-139c-4a53-baa8-ff521032570d","description":"<p>For testing purposes, you can use the following <strong>sandbox</strong> credentials to simulate API requests in a non-production environment.</p>\n<h3 id=\"sandbox-environment-credentials\">Sandbox Environment Credentials</h3>\n<ul>\n<li><p><strong>Interface</strong>: <code>sandbox</code></p>\n</li>\n<li><p><strong>API Key</strong>: <code>sandbox-admin-XKQHFBAS</code></p>\n</li>\n<li><p><strong>API Secret</strong>: <code>W069YCPVI2X7SGJ5OA3MD8QL</code></p>\n</li>\n</ul>\n<blockquote>\n<p><strong>Note</strong>: These credentials are for testing purposes only. Ensure you use the appropriate <strong>production</strong> credentials when interacting with the live environment.</p>\n</blockquote>\n","_postman_id":"9303f6fc-139c-4a53-baa8-ff521032570d","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"587933d5-bc9f-4fd7-bc7c-9aade482e5dc","id":"587933d5-bc9f-4fd7-bc7c-9aade482e5dc","name":"API reference","type":"folder"}}},{"name":"Interface","item":[],"id":"1dca51ac-265e-4020-be24-d25599bebd7d","description":"<h2 id=\"data-interfaces-in-the-system\">Data Interfaces in the System</h2>\n<p>At <strong>Guper</strong>, we integrate with various external systems such as <strong>Bling, Vtex, Linx, Shopify</strong>, among others. Each of these integrations is called a <strong>Provider</strong>, and within each provider, there are different <strong>Sources</strong> representing the origin of the data.</p>\n<p>To organize and standardize information from these different systems, we use a concept called <strong>Data Interface</strong>. An interface acts as a \"translator\" between the external system's data and the format expected within Guper, ensuring the correct mapping between identifiers from each platform.</p>\n<h2 id=\"how-interfaces-work\">How Interfaces Work</h2>\n<p>Each interface has a unique identifier within Guper. When configured, it defines a <strong>mapping</strong> between the source system’s data and Guper’s internal data.</p>\n<h3 id=\"example-mapping\"><strong>Example Mapping:</strong></h3>\n<ul>\n<li><p><strong>Interface:</strong> <code>\"xpto1\"</code> → Unique identification of the interface within Guper</p>\n</li>\n<li><p><strong>categoryId:</strong> <code>\"45asd-5\"</code> → Category ID in the source system</p>\n</li>\n</ul>\n<p>After processing through Guper’s \"translator,\" the data is structured as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"translatedFrom\": \"xpto1\",\n  \"categoryRefId\": \"45asd-5\",\n  \"categoryId\": 563\n}\n\n</code></pre>\n<ul>\n<li><p><strong><code>translatedFrom</code></strong>: Identifies which interface performed the data conversion.</p>\n</li>\n<li><p><strong><code>categoryRefId</code></strong>: The reference ID of the category in the external system (source).</p>\n</li>\n<li><p><strong><code>categoryId</code></strong>: The standardized ID recognized within Guper.</p>\n</li>\n</ul>\n<p>This model ensures that data from different providers is correctly converted and can be used in a unified way within the system.</p>\n","_postman_id":"1dca51ac-265e-4020-be24-d25599bebd7d","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"587933d5-bc9f-4fd7-bc7c-9aade482e5dc","id":"587933d5-bc9f-4fd7-bc7c-9aade482e5dc","name":"API reference","type":"folder"}}},{"name":"Monetary Value Standards","item":[],"id":"aa737e8d-5f58-4faa-9465-5ff97dd48096","description":"<p>When submitting orders to our API, all monetary values—including item prices, taxes, discounts, and totals—must be expressed as <strong>integers</strong> representing the smallest unit of the currency (for example, cents for BRL, USD, etc.). This means that values should be transmitted without any decimal points.</p>\n<h4 id=\"how-it-works\">How It Works</h4>\n<ul>\n<li><p><strong>Cents Format:</strong><br />  Each value is converted to the smallest currency unit. For example, a price of R$52.20 should be sent as 5220, and a tax of R$3.75 as 375.</p>\n</li>\n<li><p><strong>JSON Representation Example:</strong></p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"itemPrice\": 5220,\n  \"tax\": 375,\n  \"total\": 5595\n}\n\n</code></pre>\n<ul>\n<li><strong>Conversion for Display:</strong><br />  If it is necessary to display these values on the front-end, simply divide the number by 100 to return to the conventional format.</li>\n</ul>\n<h4 id=\"why-use-integers-instead-of-floats\">Why Use Integers Instead of Floats?</h4>\n<p>Choosing integers eliminates the precision and rounding issues commonly encountered with floating-point numbers, ensuring accurate calculations and data integrity during transmission between systems.</p>\n","_postman_id":"aa737e8d-5f58-4faa-9465-5ff97dd48096","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"587933d5-bc9f-4fd7-bc7c-9aade482e5dc","id":"587933d5-bc9f-4fd7-bc7c-9aade482e5dc","name":"API reference","type":"folder"}}},{"name":"List Query Parameters","item":[],"id":"47d015b3-c142-4c6c-8cc4-a9f971fc1514","description":"<h2 id=\"query\">Query</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>q[column][operator]=value\n\n</code></pre><ul>\n<li><p><strong>column</strong> – can be composite, separated by “;” or “|”.</p>\n</li>\n<li><p><strong>operator</strong> – list of supported operators:</p>\n</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Operator</th>\n<th>Meaning</th>\n<th>SQL Equivalent</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>E</td>\n<td>equal</td>\n<td><code>=</code></td>\n</tr>\n<tr>\n<td>!E</td>\n<td>not equal</td>\n<td><code>!=</code></td>\n</tr>\n<tr>\n<td>B</td>\n<td>before</td>\n<td><code>&gt;</code></td>\n</tr>\n<tr>\n<td>BE</td>\n<td>before and equal</td>\n<td><code>&gt;=</code></td>\n</tr>\n<tr>\n<td>A</td>\n<td>after</td>\n<td><code>&lt;</code></td>\n</tr>\n<tr>\n<td>AE</td>\n<td>after and equal</td>\n<td><code>&lt;=</code></td>\n</tr>\n<tr>\n<td>IS</td>\n<td>is</td>\n<td><code>IS NULL</code></td>\n</tr>\n<tr>\n<td>!IS</td>\n<td>not is</td>\n<td><code>IS NOT NULL</code></td>\n</tr>\n<tr>\n<td>IN</td>\n<td>in</td>\n<td><code>IN (1, 2, …)</code></td>\n</tr>\n<tr>\n<td>!IN</td>\n<td>not in</td>\n<td><code>NOT IN (1, 2, …)</code></td>\n</tr>\n<tr>\n<td>L</td>\n<td>like</td>\n<td><code>LIKE \"value\"</code></td>\n</tr>\n<tr>\n<td>!L</td>\n<td>not like</td>\n<td><code>NOT LIKE \"value\"</code></td>\n</tr>\n<tr>\n<td>LL</td>\n<td>left like</td>\n<td><code>LIKE \"%value\"</code></td>\n</tr>\n<tr>\n<td>!LL</td>\n<td>not left like</td>\n<td><code>NOT LIKE \"%value\"</code></td>\n</tr>\n<tr>\n<td>RL</td>\n<td>right like</td>\n<td><code>LIKE \"value%\"</code></td>\n</tr>\n<tr>\n<td>!RL</td>\n<td>not right like</td>\n<td><code>NOT LIKE \"value%\"</code></td>\n</tr>\n<tr>\n<td>LRL</td>\n<td>left right like</td>\n<td><code>LIKE \"%value%\"</code></td>\n</tr>\n<tr>\n<td>!LRL</td>\n<td>not left right like</td>\n<td><code>NOT LIKE \"%value%\"</code></td>\n</tr>\n<tr>\n<td>S</td>\n<td>search</td>\n<td>Similar to <code>LIKE</code>, but performs a term-based search and may include multiple columns</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"multiple-options\">Multiple Options</h2>\n<p>Operators that can accept multiple values must be configured in sequence.<br />Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>q[column][IN]=1&amp;q[column][]=2&amp;q[column][]=3\n\n</code></pre><p>Generates:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>column IN (1, 2, 3)\n\n</code></pre><hr />\n<h2 id=\"search-for-null\">Search for NULL</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>q[column][IS]=null\n\n</code></pre><hr />\n<h2 id=\"order\">Order</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>o[column]=dir\n\n</code></pre><ul>\n<li><p><strong>column</strong> – the column to sort by</p>\n</li>\n<li><p><strong>dir</strong> – sorting direction:</p>\n<ul>\n<li><p><code>[ASC, asc, 1]</code> → ascending</p>\n</li>\n<li><p><code>[DESC, desc, 0]</code> → descending</p>\n</li>\n</ul>\n</li>\n</ul>\n<hr />\n<h2 id=\"limit\">Limit</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>e=entries&amp;p=page\n\n</code></pre><ul>\n<li><p><strong>entries</strong> – number of items per page (default: 20, max: 1000, if 0 → unlimited)</p>\n</li>\n<li><p><strong>page</strong> – page number (default: 1, min: 1)</p>\n</li>\n</ul>\n<hr />\n<p><strong>EndFragment</strong></p>\n","_postman_id":"47d015b3-c142-4c6c-8cc4-a9f971fc1514","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"587933d5-bc9f-4fd7-bc7c-9aade482e5dc","id":"587933d5-bc9f-4fd7-bc7c-9aade482e5dc","name":"API reference","type":"folder"}}}],"id":"587933d5-bc9f-4fd7-bc7c-9aade482e5dc","description":"<p>This section provides detailed documentation on the available API endpoints, their request and response structures, and usage guidelines.</p>\n","auth":{"type":"noauth","isInherited":false},"_postman_id":"587933d5-bc9f-4fd7-bc7c-9aade482e5dc"},{"name":"Connect","item":[{"name":"API","item":[{"name":"Get token","event":[{"listen":"test","script":{"id":"99c02dd2-cd85-41e8-aec8-b7769d0f76c9","exec":["((pm) => {\r","    const responseBody = pm.response.json();\r","\r","    \r","    if ('accessToken' in responseBody) {\r","        const accessToken = responseBody.accessToken;\r","\r","        \r","        pm.environment.set('x-guper-authorization', accessToken);\r","\r","   \r","        console.log(`Value of 'x-guper-authorization' set in the environment variable: ${accessToken}`);\r","    } else {\r","        console.log('The key \"accessToken\" was not found in the response body.');\r","    }\r","\r","})(pm);"],"type":"text/javascript","packages":{}}}],"id":"7d83bb85-ebe4-4dd9-a0ee-b95ae764088f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"x-guper-apikey","value":"{{x-guper-apikey}}","type":"text"},{"key":"x-guper-apisecret","value":"{{x-guper-apisecret}}","type":"text"}],"url":"https://acme.myguper.com/api/connect/token","description":"<p>This feature allows requesting access authorization token.</p>\n<p>Which will be used for future requests</p>\n","urlObject":{"protocol":"https","path":["api","connect","token"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"79e11926-fccc-4353-94cc-89d64026c70b","name":"Successful Response","originalRequest":{"method":"GET","header":[{"key":"x-guper-apikey","value":"{{apiKey}}","type":"text"},{"key":"x-guper-apisecret","value":"{{apiSecret}}","type":"text"}],"url":"https://acme.myguper.com/api/connect/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 11 Aug 2023 12:12:57 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"161"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"accessToken\": \"c074cb9bd30d7b431230877facb45e0a06790e93dea6a728cef9fdaf656bf349\",\n    \"expiresIn\": \"2023-08-11T15:13:00-03:00\",\n    \"dateTime\": \"2023-08-11T09:13:00-03:00\"\n}"}],"_postman_id":"7d83bb85-ebe4-4dd9-a0ee-b95ae764088f"},{"name":"Create Access","id":"7adbfad4-2606-43bf-b930-a68ba1b2d7bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"identification\": \"Admin\",\r\n    \"apiKey\": \"acme\",\r\n    \"apiSecret\": \"a10b20c30\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/connect/access","description":"<p>Resources for creating ApiAccess</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","connect","access"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"8e9326c5-a6ea-40f0-a64f-fbf2c834c84f","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"identification\": \"Admin\",\r\n    \"apiKey\": \"acme\",\r\n    \"apiSecret\": \"a10b20c30\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/connect/access"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 11 Aug 2023 16:38:22 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"127"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"account\": \"acme\",\n    \"identification\": \"Admin\",\n    \"apiKey\": \"acme\",\n    \"apiSecret\": \"**************\",\n    \"dateTime\": \"2023-08-11T13:38:24-03:00\"\n}"}],"_postman_id":"7adbfad4-2606-43bf-b930-a68ba1b2d7bb"},{"name":"Grant Access Scope","id":"127e239a-6f43-48e1-9252-5b873fa945da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"apiKey\": \"acme\",\r\n    \"scope\": [\r\n        \"Register.create\",\r\n        \"Register.delete\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/connect/accessScope","description":"<p>Resources for creating ApiAccess</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","connect","accessScope"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"1362835b-3a25-41fa-88b3-7f5c3d60bb91","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"apiKey\": \"acme\",\r\n    \"scope\": [        \r\n        \"Register.create\",\r\n        \"Register.delete\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/connect/accessScope"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 11 Aug 2023 16:38:48 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"132"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"account\": \"acme\",\n    \"access\": \"acme\",\n    \"scopes\": [\n        {\n            \"scope\": 1,\n            \"access\": 11\n        },\n        {\n            \"scope\": 2,\n            \"access\": 11\n        }\n    ],\n    \"dateTime\": \"2023-08-11T13:38:53-03:00\"\n}"}],"_postman_id":"127e239a-6f43-48e1-9252-5b873fa945da"}],"id":"ba348ca8-f164-4eb2-8580-5f8324bc132c","description":"<p>Requests for operations related to API Access.</p>\n","_postman_id":"ba348ca8-f164-4eb2-8580-5f8324bc132c","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"User","item":[{"name":"Token","item":[{"name":"Access token","id":"d099a29f-581c-48c3-92e1-5b58d32f512b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/connect/authToken/byPerson/:personId","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","connect","authToken","byPerson",":personId"],"host":["acme","myguper.com"],"query":[],"variable":[{"id":"9313c16c-d42c-4111-80b1-f126ec5f85f2","type":"any","value":"624790","key":"personId"}]}},"response":[{"id":"15b3c6b5-5590-4dbd-9bad-c4827ee67c8e","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://acme.myguper.com/api/connect/authToken/byPerson/:personId","protocol":"https","host":["acme","myguper.com"],"path":["api","connect","authToken","byPerson",":personId"],"variable":[{"key":"personId","value":"123456"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 21 Mar 2025 20:53:53 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"70"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"organization\": \"acme\",\n    \"personId\": \"123456\",\n    \"token\": \"AEFB631DE1E07B31\"\n}"}],"_postman_id":"d099a29f-581c-48c3-92e1-5b58d32f512b"},{"name":"Auth","id":"c8c26b21-aabf-490a-97d2-9524da6e38c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/connect/authToken/:token","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","connect","authToken",":token"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"AEFB631DE1E07B31","key":"token"}]}},"response":[{"id":"67a5a6c0-1750-47fe-bbb9-2214d694dad4","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://acme.myguper.com/api/connect/authToken/:token","protocol":"https","host":["acme","myguper.com"],"path":["api","connect","authToken",":token"],"variable":[{"key":"token","value":"AEFB631DE1E07B31"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 21 Mar 2025 20:54:00 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"62"},{"key":"Keep-Alive","value":"timeout=5, max=99"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"personId\": 123456,\n    \"login\": \"tintim@guper.com\",\n    \"type\": \"user\"\n}"}],"_postman_id":"c8c26b21-aabf-490a-97d2-9524da6e38c8"}],"id":"12321d62-d3b9-407f-b1de-189a12b7bccc","_postman_id":"12321d62-d3b9-407f-b1de-189a12b7bccc","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Create User","id":"993b34f3-3c19-4acc-a0de-5c5c19d4f9af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"inviteToken\": \"Y%2BnXOTHRjmTEds9GTXjvt1rDx71nZa4xOQCOuSbzFNOcsFHD4Zci2yCdeICxGUhN%2BMImJE59kNQtK%2FnTBdxpxIMkjnz6xciw%2Fx9BaT6hAqENDQsEWwoic31kj8RL6WhMW44F2yAX%2F7CYrqjG80a7CIx9Nu4dNPKAMSuf94UGS8E%3D\",\r\n    \"login\": \"tintim\",\r\n    \"password\": \"a10b20c30\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/connect/user","description":"<p>Resources for creating ApiAccess</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","connect","user"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"8430c675-6dac-4c07-8042-b381ec63cb5a","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"inviteToken\": \"Y%2BnXOTHRjmTEds9GTXjvt1rDx71nZa4xOQCOuSbzFNOcsFHD4Zci2yCdeICxGUhN%2BMImJE59kNQtK%2FnTBdxpxIMkjnz6xciw%2Fx9BaT6hAqENDQsEWwoic31kj8RL6WhMW44F2yAX%2F7CYrqjG80a7CIx9Nu4dNPKAMSuf94UGS8E%3D\",\r\n    \"login\": \"tintin\",\r\n    \"password\": \"a10b20c30\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/connect/user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 11 Aug 2023 16:39:52 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"114"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"account\": \"acme\",\n    \"login\": \"tintin\",\n    \"register\": \"44\",\n    \"pass\": \"**************\",\n    \"dateTime\": \"2023-08-11T13:39:55-03:00\"\n}"}],"_postman_id":"993b34f3-3c19-4acc-a0de-5c5c19d4f9af"},{"name":"Update User","id":"4bdfd10c-9b3d-4445-b960-81a97c90cf85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"personId\": \"44\",\r\n    \"login\": \"tintim\",\r\n    \"password\": \"a10b20c30\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/connect/user","description":"<p>Resources for creating ApiAccess</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","connect","user"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4bdfd10c-9b3d-4445-b960-81a97c90cf85"},{"name":"Auth","id":"9f9d92b6-cba3-4615-a2a6-d5256494c823","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"login\": \"tintin\",\r\n    \"password\": \"a10b20c30\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/connect/auth","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","connect","auth"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"09fb640d-3c24-44b4-b6f9-0441b7ff6110","name":"Successful Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"login\": \"tintin\",\r\n    \"password\": \"a10b20c30\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/connect/auth"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 24 Aug 2023 20:13:42 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"54"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"personId\": 44,\n    \"type\": \"user\",\n    \"dateTime\": \"2023-08-24T17:13:52-03:00\"\n}"}],"_postman_id":"9f9d92b6-cba3-4615-a2a6-d5256494c823"},{"name":"Get User","id":"71878e24-1a5d-4698-ba17-e9e5c1c30bf7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/connect/user/:personId","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","connect","user",":personId"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"","key":"personId"}]}},"response":[],"_postman_id":"71878e24-1a5d-4698-ba17-e9e5c1c30bf7"}],"id":"4a4686d0-d2c5-4c81-9318-75852e63d910","description":"<p>Requests for operations related to user access.</p>\n","_postman_id":"4a4686d0-d2c5-4c81-9318-75852e63d910","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Ping","id":"99b48486-6993-4144-af2f-80ff8bac5061","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/connect/ping","description":"<p>Resource for checking service availability</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","connect","ping"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"e4d10f54-dec7-4be7-b32c-d63a2f9f0ab1","name":"Successful Response","originalRequest":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/connect/ping"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 10 Aug 2023 01:45:06 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"84"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"account\": \"acme\",\n    \"response\": \"Server online\",\n    \"dateTime\": \"2023-08-09T22:45:08-03:00\"\n}"}],"_postman_id":"99b48486-6993-4144-af2f-80ff8bac5061"}],"id":"37010de6-9ea8-471d-a756-f5b32a528e10","description":"<p>This document refers to the process of connecting your application, where its main function is to generate the <strong>Access Token</strong> through the <em>apiKey</em> and <em>apiSecret</em> that will be used in future requests</p>\n","event":[{"listen":"prerequest","script":{"id":"bc7a8335-d2f2-4dc2-8caa-8916f4b0b980","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d1b957fd-97f9-4bbc-928c-7d225f65889c","type":"text/javascript","exec":[""]}}],"_postman_id":"37010de6-9ea8-471d-a756-f5b32a528e10","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Loyalty","item":[{"name":"Checkout","item":[{"name":"Reward by Order","event":[{"listen":"test","script":{"id":"607b67b9-384b-4b1d-a29a-34c811613eb4","exec":["((pm) => {\r","\r","    // Extract the value of 'confirmToken' from the response body in JSON format\r","    const responseBody = pm.response.json();\r","\r","    // Check if 'confirmToken' is present in the response body\r","    if ('confirmToken' in responseBody) {\r","        // Get the value of 'confirmToken'\r","        const confirmTokenValue = responseBody.confirmToken;\r","\r","        // Set the value of 'confirmToken' in the environment variable with the same name\r","        pm.environment.set('confirmToken', confirmTokenValue);\r","\r","        // Log the confirmation of the process in the tests section\r","        console.log(`Value of 'confirmToken' set in the environment variable: ${confirmTokenValue}`);\r","    } else {\r","        // If 'confirmToken' is not present in the response, log a warning in the tests section\r","        console.log('The key \"confirmToken\" was not found in the response body.');\r","    }\r","\r","})(pm);"],"type":"text/javascript","packages":{}}}],"id":"e789fc21-b61d-4d3c-9a2a-b2a0a4e16ca0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"generic\",\r\n    \"storeId\": \"1\", \r\n    \"checkoutId\": \"r526-a600\", //optional (string)\r\n    \"client\": { //optional\r\n        \"id\": \"123123\", //optional\r\n        \"countryCallingCode\": 55, //optional\r\n        \"cellphone\": \"19954264546\", //optional        \r\n        \"email\": \"tintim@guper.co\", //optional\r\n        \"name\": \"Tintim\"   //optional\r\n    },\r\n    \"attendants\": { //optional\r\n        \"cashier\": {\r\n            \"id\": \"123\"\r\n        },        \r\n        \"salesperson\":{\r\n            \"id\": \"342\" \r\n        }\r\n    },\r\n    \"items\": [ \r\n        {\r\n            \"id\": \"1\", // SKU id string\r\n            \"productId\": \"1\",  //optional ?string\r\n            \"name\": \"Smartphone Guper MK1\", //string\r\n            \"categoryId\": \"20\",  //optional ?string\r\n            \"brandId\": \"20\",  //optional ?string\r\n            \"sellerId\": \"1\", //optional  ?string\r\n            \"tax\": 1232, //optional ?int\r\n            \"quantity\": 1, // int\r\n            \"price\": 96390, //value per unit product\r\n            \"listPrice\": 100000 //optional value per unit product\r\n        }\r\n    ],\r\n    \"shipping\": [ //optional\r\n        {\r\n            \"id\": \"AA123456785BR\",\r\n            \"courierId\": \"correios-br\",\r\n            \"courierName\": \"Correios\",\r\n            \"price\": 2000,\r\n            \"listPrice\": 2000\r\n        }\r\n    ]    \r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/rewardByOrder","description":"<p>This request operates in two modes: <strong>Public</strong> and <strong>Private</strong>. In <strong>Private mode</strong>, it returns <strong>customer data</strong>, <strong>redeemable reward information</strong>, and a <strong>confirmation token</strong>. In <strong>Public mode</strong>, it only returns the <strong>values that will be accumulated</strong>.</p>\n<p>To use the Public mode, simply omit the <code>x-guper-authorization</code> header. For Private mode, provide the corresponding token in the same header.</p>\n<p><a href=\"https://developers.guper.co/#b373ebfa-a447-46fc-9fe3-2cead5db4628\">Create customer</a></p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","rewardByOrder"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"e892d081-43f0-47dc-857a-6543c5dacdac","name":"Success status, private mode","originalRequest":{"method":"POST","header":[{"key":"x-guper-authorization","value":"{{x-guper-authorization}}"}],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"generic\",\r\n    \"storeId\": \"1\",\r\n    \"client\": {\r\n        \"id\": \"123123\",\r\n        \"email\": \"tintim@guper.co\",\r\n        \"name\": \"Tintim\"\r\n    },\r\n    \"attendants\": {\r\n        \"cashier\": {\r\n            \"id\": \"123\"\r\n        },        \r\n        \"salesperson\":{\r\n            \"id\": \"342\" \r\n        }\r\n    },\r\n    \"items\": [\r\n        {\r\n            \"id\": \"1\",  // SKU id\r\n            \"productId\": \"1\",  //optional\r\n            \"name\": \"Smartphone Guper MK1\", \r\n            \"categoryId\": \"20\",  //optional\r\n            \"brandId\": \"20\",  //optional\r\n            \"sellerId\": \"1\", //optional\r\n            \"quantity\": 1, \r\n            \"price\": 96390,  //value per unit product\r\n            \"listPrice\": 100000 //optional\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/rewardByOrder"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Access-Control-Max-Age","value":"10800"},{"key":"Content-Length","value":"362"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"organization\": \"acme\",\n    \"interface\": \"generic\",\n    \"customerId\": 708,\n    \"cashback\": {\n        \"thisOrder\": {\n            \"redeemable\": {\n                \"total\": 522,\n                \"item\": [\n                    {\n                        \"id\": \"1\",\n                        \"value\": 522\n                    }\n                ]         \n            },\n            \"accumulating\": {\n                \"total\": 4819,\n                \"item\": [\n                    {\n                        \"id\": \"1\",\n                        \"value\": 4819\n                    }\n                ]\n            }\n        },\n        \"userBalance\": {\n            \"total\": 0,\n            \"availableAmount\": 0\n        }\n    },\n    \"confirmToken\": \"54eb6281f4e3e13671a5e4c95609f4a69247a5f38d01bef99768399bb6645c49\",\n    \"smartpos\": \"https://acme.myguper.com/smartpos/54eb6281f4e3e13671a5e4c95609f4a69247a5f38d01bef99768399bb6645c49\",\n    \"expiresAt\": \"2024-05-21T11:21:27-03:00\",\n    \"dateTime\": \"2024-05-21T10:51:27-03:00\"\n}"},{"id":"c61107ae-14bb-4833-9dcb-ea6f18892629","name":"Success status, public mode","originalRequest":{"method":"POST","header":[{"key":"x-guper-authorization","value":"{{x-guper-authorization}}"}],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"generic\",\r\n    \"storeId\": \"1\",\r\n    \"client\": {\r\n        \"id\": \"123123\",\r\n        \"email\": \"tintim@guper.co\",\r\n        \"name\": \"Tintim\"\r\n    },\r\n    \"attendants\": { //optional\r\n        \"cashier\": {\r\n            \"id\": \"123\"\r\n        },        \r\n        \"salesperson\":{\r\n            \"id\": \"342\" \r\n        }\r\n    },\r\n    \"items\": [\r\n        {\r\n            \"id\": \"1\",  // SKU id\r\n            \"productId\": \"1\",  //optional\r\n            \"name\": \"Smartphone Guper MK1\", \r\n            \"categoryId\": \"20\",  //optional\r\n            \"brandId\": \"20\",  //optional\r\n            \"sellerId\": \"1\", //optional\r\n            \"quantity\": 1, \r\n            \"price\": 96390,  //value per unit product\r\n            \"listPrice\": 100000 //optional\r\n            \r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/rewardByOrder"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 21 May 2024 14:00:37 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Access-Control-Max-Age","value":"10800"},{"key":"Content-Length","value":"181"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"organization\": \"acme\",\n    \"interface\": \"generic\",\n    \"cashback\": {\n        \"thisOrder\": {\n            \"accumulating\": {\n                \"total\": 9639\n            }\n        }\n    },\n    \"expiresAt\": \"2024-05-21T11:30:37-03:00\",\n    \"dateTime\": \"2024-05-21T11:00:37-03:00\"\n}"},{"id":"aecb8a87-20f4-43a7-84d5-e0a9add3b597","name":"Minimum required fields, success status, public mode","originalRequest":{"method":"POST","header":[{"key":"x-guper-authorization","value":"","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"generic\",\r\n    \"storeId\": \"1\",\r\n    \"total_item\": 96390\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/rewardByOrder"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 21 May 2024 14:02:03 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Access-Control-Max-Age","value":"10800"},{"key":"Content-Length","value":"181"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"organization\": \"acme\",\n    \"interface\": \"generic\",\n    \"cashback\": {\n        \"thisOrder\": {\n            \"accumulating\": {\n                \"total\": 9639\n            }\n        }\n    },\n    \"expiresAt\": \"2024-05-21T11:32:03-03:00\",\n    \"dateTime\": \"2024-05-21T11:02:03-03:00\"\n}"}],"_postman_id":"e789fc21-b61d-4d3c-9a2a-b2a0a4e16ca0"},{"name":"Update Transaction","id":"c3a43892-67f0-4895-aa23-7b56c29904ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"recalculateReward\": false,\r\n    \"recalculateRedemption\": false,\r\n    \r\n    \"amountToRedeem\": null, //optional (type int)\r\n\r\n    \"items\": [\r\n        {\r\n            \"skuId\": \"1\",\r\n            \"price\": 90000\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/updateTransaction/:confirmToken","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","updateTransaction",":confirmToken"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"df0c960d12035828065f769caddceb3bbb468000c641a7097162dc53a7b3fe39","key":"confirmToken"}]}},"response":[{"id":"6e8b5e2f-6d92-407e-bbab-8cadb5d8f8a1","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"generic\", // xpto\r\n\r\n    \"recalculateReward\": false,\r\n    \"recalculateRedemption\": false,\r\n\r\n    \"items\": [\r\n        {\r\n            \"skuId\": \"10\",\r\n            \"price\": 188800\r\n        },\r\n        {\r\n            \"skuId\": \"10\",\r\n            \"price\": 199900\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://acme.myguper.com/api/loyalty/updateTransaction/:confirmToken","protocol":"https","host":["acme","myguper.com"],"path":["api","loyalty","updateTransaction",":confirmToken"],"variable":[{"key":"confirmToken","value":"ca93b522eb10c42dff16ce8d5b3ad86d962a610184db68643158eec9bb10747f"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 24 Jul 2025 18:52:24 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Apache/2.4.62 (Amazon Linux) OpenSSL/3.0.8"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Access-Control-Max-Age","value":"10800"},{"key":"Set-Cookie","value":"PHPSESSID=e908cb78eaab560d60cd12ef72be7a2fab2f235e77dc91ad5f26b6a8e5e68186loyalty; expires=Thu, 24-Jul-2025 19:22:24 GMT; Max-Age=1800; path=/; secure; HttpOnly"}],"cookie":[],"responseTime":null,"body":"{\n    \"organization\": \"xpto\",\n    \"interface\": \"generic\",\n    \"customerId\": 2157344,\n    \"cashback\": {\n        \"thisOrder\": {\n            \"redeemable\": {\n                \"total\": 55059,\n                \"item\": [\n                    {\n                        \"skuId\": \"2\",\n                        \"value\": 18353\n                    },\n                    {\n                        \"skuId\": \"10\",\n                        \"value\": 18353\n                    },\n                    {\n                        \"skuId\": \"10\",\n                        \"value\": 18353\n                    }\n                ]\n            },\n            \"accumulating\": {\n                \"total\": 54464,\n                \"item\": [\n                    {\n                        \"skuId\": \"2\",\n                        \"value\": 18155\n                    },\n                    {\n                        \"skuId\": \"10\",\n                        \"value\": 18155\n                    },\n                    {\n                        \"skuId\": \"10\",\n                        \"value\": 18154\n                    }\n                ]\n            }\n        },\n        \"userBalance\": {\n            \"total\": 55059,\n            \"availableAmount\": 54464\n        }\n    },\n    \"coupon\": [],\n    \"confirmToken\": \"ca93b522eb10c42dff16ce8d5b3ad86d962a610184db68643158eec9bb10747f\",\n    \"expiresAt\": \"2025-07-25T00:52:14-06:00\",\n    \"smartpos\": \"https://xpto.myguper.com/smartpos/ca93b522eb10c42dff16ce8d5b3ad86d962a610184db68643158eec9bb10747f\",\n    \"dateTime\": \"2025-07-24T12:52:14-06:00\"\n}"}],"_postman_id":"c3a43892-67f0-4895-aa23-7b56c29904ea"},{"name":"Confirm Order by confirmToken","id":"af55b32d-749d-4056-8a89-f2ad7a91bf71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"id-489\", // Order ID\r\n    \"amountToRedeem\": null, //optional (type int)\r\n    \"waitSettlement\": false, // optional for later settlement\r\n    \"payments\": [ //Payment data is optional\r\n        {\r\n            \"paymentSystem\": \"4\",\r\n            \"value\": 5447,\r\n            \"paymentSystemName\": \"Mastercard\", //optional\r\n            \"type\": \"creditCard\",\r\n            \"installments\": 3, //optional\r\n            \"firstDigits\": \"550209\", //optional\r\n            \"lastDigits\": \"2569\" //optional\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/confirmOrder/:confirmToken","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","confirmOrder",":confirmToken"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"123456","key":"confirmToken"}]}},"response":[{"id":"0393ada6-9e78-412b-be8a-586d59ba8dd3","name":"Success","originalRequest":{"method":"POST","header":[{"key":"x-guper-authorization","value":""}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"456\",\r\n    \"amountToRedeem\": 1099\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/rewardByOrder"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Access-Control-Max-Age","value":"10800"},{"key":"Content-Length","value":"362"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"organization\": \"acme\",\n    \"orderId\": \"456\",\n    \"TID\": \"54eb6281f4e3e13671a5e4c95609f4a69247a5f38d01bef99768399bb6645c49\",\n    \"person\": 570971,\n    \"cashback\": {\n        \"accumulatedOrder\": 96390\n    },\n    \"confirmedAt\": \"2025-01-15T16:21:39-03:00\",\n    \"dateTime\": \"2025-01-15T16:21:44-03:00\"\n}"}],"_postman_id":"af55b32d-749d-4056-8a89-f2ad7a91bf71"},{"name":"Transaction Settlement","id":"44a41885-1faf-4016-9432-be0a01c18e5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://acme.myguper.com/api/loyalty/transactionSettlement/:TID","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","transactionSettlement",":TID"],"host":["acme","myguper.com"],"query":[],"variable":[{"id":"948423d2-0755-4c6e-8615-2bdb93d3c816","type":"any","value":"","key":"TID"}]}},"response":[],"_postman_id":"44a41885-1faf-4016-9432-be0a01c18e5b"},{"name":"Cancel Transaction and Order","id":"7ae52210-135e-4a7a-a555-d12c69aabd51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://acme.myguper.com/api/loyalty/cancelOrderByTransaction/:TID","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","cancelOrderByTransaction",":TID"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"dcf33b4448d604033d12ce176253ee54851531212b29bde1468d359e82005b92","key":"TID"}]}},"response":[{"id":"e2297c56-b103-4b86-9aae-c6e54b23e775","name":"Success","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://acme.myguper.com/api/loyalty/cancelOrderByTransaction/:TID","protocol":"https","host":["acme","myguper.com"],"path":["api","loyalty","cancelOrderByTransaction",":TID"],"variable":[{"key":"TID","value":"dcf33b4448d604033d12ce176253ee54851531212b29bde1468d359e82005b92"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 09 May 2025 21:17:52 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Access-Control-Max-Age","value":"10800"},{"key":"Content-Length","value":"175"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"TID\": \"dcf33b4448d604033d12ce176253ee54851531212b29bde1468d359e82005b92\",\n    \"order\": 2467383,\n    \"reward\": [\n        {\n            \"cardId\": 185840,\n            \"value\": 0\n        }\n    ],\n    \"redemption\": [\n        {\n            \"cardId\": 185839,\n            \"value\": 1099\n        }\n    ]\n}"},{"id":"5c6df07f-9766-4ab9-b4fe-ad9ea9b9738e","name":"Was canceled","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://acme.myguper.com/api/loyalty/cancelOrderByTransaction/:TID","protocol":"https","host":["acme","myguper.com"],"path":["api","loyalty","cancelOrderByTransaction",":TID"],"variable":[{"key":"TID","value":"dcf33b4448d604033d12ce176253ee54851531212b29bde1468d359e82005b92"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 09 May 2025 21:18:21 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"115"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status_code\": 409,\n    \"reason_phrase\": \"Transaction was canceled\",\n    \"message\": \"This transaction was canceled previously\"\n}"}],"_postman_id":"7ae52210-135e-4a7a-a555-d12c69aabd51"},{"name":"Partial cancellation","id":"12ea95b8-63f6-4458-a616-39ff05a60fc8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  // Required: List of items to be cancelled\r\n  \"items\": [\r\n    {\r\n      \"id\": \"1\", // Required: unique identifier for the item (can be ID or SKU)\r\n      \"quantity\": 1, // Optional: quantity to cancel (default is 1 if omitted)\r\n      \"price\": 96390 // Optional: used to differentiate when there are multiple items with the same ID\r\n    },\r\n    {\r\n      \"id\": \"REw5521\" // No quantity: defaults to 1 | No price: no duplicates expected for this ID\r\n    },\r\n    {\r\n      \"id\": \"RWEr5-831\" // Same as above\r\n    }\r\n  ]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/cancelPartial/:TID","description":"<p>It is advisable to re-enter all purchase items. If this is not possible and you are canceling an item (ID or SKU) that appears more than once, it is mandatory to re-enter all items with the same ID/SKU in the same sequence as they were sent in Reward by Order so that the system knows which item will be canceled. An error will be returned if there is a difference in the quantity of items. It will not be returned if the sequence is different, but another item will be canceled, which may result in a discrepancy in the balance to be returned and/or withdrawn</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","cancelPartial",":TID"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"","key":"TID"}]}},"response":[{"id":"97d805af-1c87-4c33-8f01-85be44dc58c9","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"items\":\r\n    [ \r\n        {\r\n            \"id\": \"2\",\r\n            \"cancel\": false\r\n        },\r\n        {\r\n            \"id\": \"1\",\r\n            \"cancel\": true\r\n        },\r\n        {\r\n            \"id\": \"1\"\r\n            //,\"cancel\": true\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://acme.myguper.com/api/loyalty/cancelPartial/:TID","protocol":"https","host":["acme","myguper.com"],"path":["api","loyalty","cancelPartial",":TID"],"variable":[{"key":"TID","value":"6ea795c61088f27baa304d3dce8e4e7a85b99f78378d1101dbfc82864759e798"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 14 Aug 2025 01:32:00 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Set-Cookie","value":"PHPSESSID=8a2ba39b5408c4d6d1c954914fb47ddb5d1534f9c121b5279bc7fad697cd917aloyalty; expires=Thu, 14-Aug-2025 02:02:07 GMT; Max-Age=1800; path=/; secure; HttpOnly"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Access-Control-Max-Age","value":"10800"},{"key":"Content-Length","value":"260"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"TID\": \"6ea795c61088f27baa304d3dce8e4e7a85b99f78378d1101dbfc82864759e798\",\n    \"redemption\": [\n        {\n            \"cardId\": 331467,\n            \"value\": \"949\"\n        },\n        {\n            \"cardId\": 331471,\n            \"value\": \"1748\"\n        },\n        {\n            \"cardId\": 331486,\n            \"value\": \"3432\"\n        }\n    ],\n    \"reward\": [\n        {\n            \"cardId\": 331532,\n            \"value\": 1601\n        },\n        {\n            \"cardId\": 331533,\n            \"value\": 6574\n        }\n    ]\n}"}],"_postman_id":"12ea95b8-63f6-4458-a616-39ff05a60fc8"},{"name":"Promotion by Order","event":[{"listen":"test","script":{"id":"607b67b9-384b-4b1d-a29a-34c811613eb4","exec":["((pm) => {\r","\r","    // Extract the value of 'confirmToken' from the response body in JSON format\r","    const responseBody = pm.response.json();\r","\r","    // Check if 'confirmToken' is present in the response body\r","    if ('confirmToken' in responseBody) {\r","        // Get the value of 'confirmToken'\r","        const confirmTokenValue = responseBody.confirmToken;\r","\r","        // Set the value of 'confirmToken' in the environment variable with the same name\r","        pm.environment.set('confirmToken', confirmTokenValue);\r","\r","        // Log the confirmation of the process in the tests section\r","        console.log(`Value of 'confirmToken' set in the environment variable: ${confirmTokenValue}`);\r","    } else {\r","        // If 'confirmToken' is not present in the response, log a warning in the tests section\r","        console.log('The key \"confirmToken\" was not found in the response body.');\r","    }\r","\r","})(pm);"],"type":"text/javascript","packages":{}}}],"id":"0077e874-48dd-4224-9173-bd394bbc15ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"sip\",\r\n    \"storeId\": \"1\", \r\n    \"items\": [ \r\n        {\r\n            \"id\": \"2\", // SKU id\r\n            \"productId\": \"1\",  //optional\r\n            \"name\": \"Smartphone Guper MK1\", \r\n            \"categoryId\": \"20\",  //optional\r\n            \"brandId\": \"20\",  //optional\r\n            \"sellerId\": \"1\", //optional\r\n            \"tax\": 1232, //optional\r\n            \"quantity\": 2, \r\n            \"price\": 96390, //value per unit product\r\n            \"listPrice\": 100000 //optional\r\n        },\r\n        {\r\n            \"id\": \"3\", // SKU id\r\n            \"productId\": \"1\",  //optional\r\n            \"name\": \"Smartphone Guper MK1\", \r\n            \"categoryId\": \"20\",  //optional\r\n            \"brandId\": \"20\",  //optional\r\n            \"sellerId\": \"1\", //optional\r\n            \"tax\": 1232, //optional\r\n            \"quantity\": 1, \r\n            \"price\": 96390, //value per unit product\r\n            \"listPrice\": 100000 //optional\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/getPromotion","description":"<p>This request operates in two modes: <strong>Public</strong> and <strong>Private</strong>. In <strong>Private mode</strong>, it returns <strong>customer data</strong>, <strong>redeemable reward information</strong>, and a <strong>confirmation token</strong>. In <strong>Public mode</strong>, it only returns the <strong>values that will be accumulated</strong>.</p>\n<p>To use the Public mode, simply omit the <code>x-guper-authorization</code> header. For Private mode, provide the corresponding token in the same header.</p>\n<p><strong>Request body parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>interface *</td>\n<td>string</td>\n<td>Interface of sale.  <br />For more details, refer to the <a href=\"https://developers.guper.co/#1dca51ac-265e-4020-be24-d25599bebd7d\">documentation</a>.</td>\n</tr>\n<tr>\n<td>storeId *</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>client</td>\n<td>array / int / null</td>\n<td>The client field in the request abstracts the client API and can be null for an anonymous customer or contain customer data. If provided as an object (\"client\": {\"id\": \"789\"}), the id will always be a string, representing the external identifier (refId). If sent as an integer (\"client\": 123), it will be treated as the internal ID within Guper. The client API automatically manages customer registration and retrieval based on the provided data. For more details, refer to the <a href=\"https://developers.guper.co/#b373ebfa-a447-46fc-9fe3-2cead5db4628\">documentation</a>.</td>\n</tr>\n<tr>\n<td>attendants</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>items *</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>total_order</td>\n<td>int</td>\n<td>total order amount</td>\n</tr>\n<tr>\n<td>total_item</td>\n<td>int</td>\n<td>total value of items only</td>\n</tr>\n<tr>\n<td>total_shipping</td>\n<td>int</td>\n<td>total amount of shipping fee only</td>\n</tr>\n<tr>\n<td>total_discounts</td>\n<td>int</td>\n<td>total amount of discounts; <em>Cashback values ​​should not be passed in this field</em></td>\n</tr>\n</tbody>\n</table>\n</div><p><a href=\"https://developers.guper.co/#b373ebfa-a447-46fc-9fe3-2cead5db4628\">Create customer</a></p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","getPromotion"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"58aebc33-188e-4bae-923b-86015417eb85","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"sip\",\r\n    \"storeId\": \"1\", \r\n    \"items\": [ \r\n        {\r\n            \"id\": \"2\", // SKU id\r\n            \"productId\": \"1\",  //optional\r\n            \"name\": \"Smartphone Guper MK1\", \r\n            \"categoryId\": \"20\",  //optional\r\n            \"brandId\": \"20\",  //optional\r\n            \"sellerId\": \"1\", //optional\r\n            \"tax\": 1232, //optional\r\n            \"quantity\": 2, \r\n            \"price\": 96390, //value per unit product\r\n            \"listPrice\": 100000 //optional\r\n        },\r\n        {\r\n            \"id\": \"3\", // SKU id\r\n            \"productId\": \"1\",  //optional\r\n            \"name\": \"Smartphone Guper MK1\", \r\n            \"categoryId\": \"20\",  //optional\r\n            \"brandId\": \"20\",  //optional\r\n            \"sellerId\": \"1\", //optional\r\n            \"tax\": 1232, //optional\r\n            \"quantity\": 1, \r\n            \"price\": 96390, //value per unit product\r\n            \"listPrice\": 100000 //optional\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/getPromotion"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 13 Jun 2025 17:37:28 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Access-Control-Max-Age","value":"10800"},{"key":"Content-Length","value":"222"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"discount\": [\n        {\n            \"campaign\": \"NEWPROGRESSIVE2025\",\n            \"description\": \"Desconto por quantidade de itens\",\n            \"total\": 38556,\n            \"item\": [\n                {\n                    \"id\": \"2\",\n                    \"position\": 0,\n                    \"value\": 19278,\n                    \"quantity\": 2\n                },\n                {\n                    \"id\": \"3\",\n                    \"position\": 1,\n                    \"value\": 19278,\n                    \"quantity\": 1\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"0077e874-48dd-4224-9173-bd394bbc15ea"}],"id":"b461d9b5-6eb3-453d-af64-de19198abeac","description":"<p>Endpoints responsible for rewards earned from placing orders.</p>\n","_postman_id":"b461d9b5-6eb3-453d-af64-de19198abeac","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"External event","item":[{"name":"Create Reward","id":"ce99101a-9216-4a7b-91b4-9c8bcf6bb499","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"generic\",\r\n    \"storeId\": \"2\",\r\n    \"client\": {\r\n        \"countryCallingCode\": 55,\r\n        \"cellphone\": \"19954264546\",\r\n        \"email\": \"tintim@guper.co\",\r\n        \"name\": \"Tintim\"\r\n    },\r\n    \"campaigns\": [\r\n        {\r\n            \"id\": 430,\r\n            \"value\": 5000,\r\n            \"startsAt\": \"2026-03-01\",\r\n            \"expiresAt\": \"2026-06-30\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/external-event","description":"<p>Creates reward cards for the customer via external-events campaigns.</p>\n<p>  The reward value is passed directly in each campaign entry (<code>value</code> field in cents). The external system decides when and how much to reward — the loyalty\n  service only creates the cards following the campaign principles (validity, tags, sequence, etc.).</p>\n<p>  The <code>client</code> field accepts the same formats as <code>rewardByOrder</code>: int (person ID), string (refId), or object with identifiers (<code>id</code>, <code>email</code>, <code>cellphone</code>,\n  <code>document</code>). The client is resolved via the Mapping + Translate pipeline (same as rewardByOrder).</p>\n<p>  Accepts a single campaign object <code>{ id, value }</code> or an array of objects. If a single object is sent, it is auto-wrapped into an array.</p>\n<p>  <strong>Required fields:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>interface *</td>\n<td>string</td>\n<td>Identifier of the origin interface (e.g., <code>generic</code>)</td>\n</tr>\n<tr>\n<td>client *</td>\n<td>int | string | object</td>\n<td>Client identifier — person ID (int), refId (string), or object with <code>id</code>, <code>email</code>, <code>cellphone</code>, <code>document</code></td>\n</tr>\n<tr>\n<td>campaigns *</td>\n<td>array</td>\n<td>Array of campaign entries (or single object)</td>\n</tr>\n<tr>\n<td>campaigns[].id *</td>\n<td>int</td>\n<td>Campaign ID (must be type <code>external-events</code> and active)</td>\n</tr>\n<tr>\n<td>campaigns[].value *</td>\n<td>int</td>\n<td>Reward value in cents (e.g., 5000 = R$50.00)</td>\n</tr>\n</tbody>\n</table>\n</div><p>  <strong>Optional fields:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>storeId</td>\n<td>int</td>\n<td>Store ID in the Register service</td>\n</tr>\n<tr>\n<td>campaigns[].startsAt</td>\n<td>string (date)</td>\n<td>Card validity start date (ISO format, e.g., <code>2026-03-01</code>). Defaults to campaign config</td>\n</tr>\n<tr>\n<td>campaigns[].expiresAt</td>\n<td>string (date)</td>\n<td>Card expiration date (ISO format, e.g., <code>2026-06-30</code>). Defaults to campaign config</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","external-event"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"9f895f2c-43f5-4fe6-b30f-438d6ed10e90","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"generic\",\r\n    \"storeId\": \"2\",\r\n    \"client\": { //optional      \r\n        \"countryCallingCode\": 55, //optional\r\n        \"cellphone\": \"19954264546\", //optional        \r\n        \"email\": \"tintim@guper.co\", //optional\r\n        \"name\": \"Tintim\" //optional\r\n    },\r\n    \"campaigns\": [\r\n        {\r\n            \"id\": 430,\r\n            \"value\": 5000\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/external-event"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Wed, 25 Feb 2026 19:23:58 GMT"},{"key":"Server","value":"Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.1.25"},{"key":"X-Powered-By","value":"PHP/8.1.25"},{"key":"Set-Cookie","value":"PHPSESSID=0822c744f6607051f53a9d4ee1503e373e8f7449e5f1e357bd1f54be3202155cloyalty; expires=Wed, 25-Feb-2026 19:54:00 GMT; Max-Age=1800; path=/; secure; HttpOnly"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Access-Control-Max-Age","value":"10800"},{"key":"Content-Length","value":"134"},{"key":"Keep-Alive","value":"timeout=5, max=99"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"reward\": [\n        {\n            \"TID\": \"E430A609E1561BC27E45F696B1C14298A0D860A6EC1F68DDCB9B1B1EFD31275A\",\n            \"campaign\": 430,\n            \"rewardValue\": 5000\n        }\n    ],\n    \"total\": 5000\n}"}],"_postman_id":"ce99101a-9216-4a7b-91b4-9c8bcf6bb499"}],"id":"4e1708bc-4ad4-42d2-aa0c-a9047903c3a4","_postman_id":"4e1708bc-4ad4-42d2-aa0c-a9047903c3a4","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Transaction","item":[{"name":"Cancel","id":"f68641f6-ef12-48fe-9f6e-e05b2b7aceb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://acme.myguper.com/api/loyalty/transaction/cancel/:TID","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","transaction","cancel",":TID"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"","key":"TID"}]}},"response":[{"id":"57a961e6-e6b8-4071-a073-ab2c7294e4e4","name":"Success","originalRequest":{"method":"POST","header":[{"key":"x-guper-authorization","value":""}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://acme.myguper.com/api/loyalty/transaction/cancel/:TID","protocol":"https","host":["acme","myguper.com"],"path":["api","loyalty","transaction","cancel",":TID"],"variable":[{"key":"TID","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Access-Control-Max-Age","value":"10800"},{"key":"Content-Length","value":"362"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"TID\": \"5876f434afea2e0aafeed9bcc0adfd625b52e301fb9c1b5f437f2b819fa541e4\",\n    \"order\": 1898583,\n    \"reward\": [\n        {\n            \"cardId\": 95980,\n            \"value\": 5\n        }\n    ],\n    \"redemption\": [\n        {\n            \"cardId\": 74744,\n            \"value\": 50\n        }\n    ]\n}"}],"_postman_id":"f68641f6-ef12-48fe-9f6e-e05b2b7aceb0"},{"name":"Get","id":"df33ccbb-984c-4e57-a55f-e165d56af1b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/loyalty/transaction/:TID","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","transaction",":TID"],"host":["acme","myguper.com"],"query":[],"variable":[{"id":"73207aa2-7df5-458d-b340-db88bd73e03f","type":"any","value":"dcf33b4448d604033d12ce176253ee54851531212b29bde1468d359e82005b92","key":"TID"}]}},"response":[{"id":"f51a3478-0273-4bed-a9af-600c869c8f1e","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://acme.myguper.com/api/loyalty/transaction/:TID","protocol":"https","host":["acme","myguper.com"],"path":["api","loyalty","transaction",":TID"],"variable":[{"key":"TID","value":"dcf33b4448d604033d12ce176253ee54851531212b29bde1468d359e82005b92"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 06 May 2025 21:48:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Apache/2.4.62 (Amazon Linux) OpenSSL/3.0.8"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Access-Control-Max-Age","value":"10800"}],"cookie":[],"responseTime":null,"body":"{\n    \"TID\": \"dcf33b4448d604033d12ce176253ee54851531212b29bde1468d359e82005b92\",\n    \"order\": 2467383,\n    \"reward\": [\n        {\n            \"cardId\": 185840,\n            \"value\": 0\n        }\n    ],\n    \"redemption\": [\n        {\n            \"cardId\": 185839,\n            \"value\": 1099\n        }\n    ]\n}"}],"_postman_id":"df33ccbb-984c-4e57-a55f-e165d56af1b3"},{"name":"Settlement","id":"a6128b05-0128-4694-91f6-e45196a81fa3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"a6128b05-0128-4694-91f6-e45196a81fa3"}],"id":"1c9d22da-77ab-4b61-88e2-4744fdafcd58","_postman_id":"1c9d22da-77ab-4b61-88e2-4744fdafcd58","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Redeem","item":[{"name":"Reserve","event":[{"listen":"test","script":{"id":"607b67b9-384b-4b1d-a29a-34c811613eb4","exec":["((pm) => {\r","\r","    // Extract the value of 'confirmToken' from the response body in JSON format\r","    const responseBody = pm.response.json();\r","\r","    // Check if 'confirmToken' is present in the response body\r","    if ('confirmToken' in responseBody) {\r","        // Get the value of 'confirmToken'\r","        const confirmTokenValue = responseBody.confirmToken;\r","\r","        // Set the value of 'confirmToken' in the environment variable with the same name\r","        pm.environment.set('confirmToken', confirmTokenValue);\r","\r","        // Log the confirmation of the process in the tests section\r","        console.log(`Value of 'confirmToken' set in the environment variable: ${confirmTokenValue}`);\r","    } else {\r","        // If 'confirmToken' is not present in the response, log a warning in the tests section\r","        console.log('The key \"confirmToken\" was not found in the response body.');\r","    }\r","\r","})(pm);"],"type":"text/javascript","packages":{}}}],"id":"d81351df-a29d-4990-aa3f-533eebe09da8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"refId\": \"123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/redeem/reserve/:hash","description":"<p><strong>Request body parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>interface *</td>\n<td>string</td>\n<td>interface of sale</td>\n</tr>\n<tr>\n<td>storeId *</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>client</td>\n<td>array / int / null</td>\n<td>In this field, you can enter an <code>id</code>(person ID, guper), leave it as <code>null</code> to represent an anonymous customer, or fill it with a complete customer's data, as shown in the example: <code>{\"id\": \"47\", \"name\": \"Trifólio Girassol\", \"</code>countryCallingCode\": 55 <code>\"cellphone\": \"19954264546\", \"email\": \"</code><a href=\"https://\"><code>trifolio@girassol.com</code></a><code>\"};</code>  <br />For already registered customers, it is necessary to provide at least <code>id</code> or <code>cellphone</code>. To register a new customer, you need to include <code>id</code>, <code>cellphone</code>, and <code>name</code>. Our API is responsible for handling customer registration and retrieval efficiently using this information.</td>\n</tr>\n<tr>\n<td>attendants</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>items *</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>total_order</td>\n<td>int</td>\n<td>total order amount</td>\n</tr>\n<tr>\n<td>total_item</td>\n<td>int</td>\n<td>total value of items only</td>\n</tr>\n<tr>\n<td>total_shipping</td>\n<td>int</td>\n<td>total amount of shipping fee only</td>\n</tr>\n<tr>\n<td>total_discounts</td>\n<td>int</td>\n<td>total amount of discounts; <em>Cashback values ​​should not be passed in this field</em></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","redeem","reserve",":hash"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"{{confirmToken}}","key":"hash"}]}},"response":[],"_postman_id":"d81351df-a29d-4990-aa3f-533eebe09da8"},{"name":"Reserve","event":[{"listen":"test","script":{"id":"607b67b9-384b-4b1d-a29a-34c811613eb4","exec":["((pm) => {\r","\r","    // Extract the value of 'confirmToken' from the response body in JSON format\r","    const responseBody = pm.response.json();\r","\r","    // Check if 'confirmToken' is present in the response body\r","    if ('confirmToken' in responseBody) {\r","        // Get the value of 'confirmToken'\r","        const confirmTokenValue = responseBody.confirmToken;\r","\r","        // Set the value of 'confirmToken' in the environment variable with the same name\r","        pm.environment.set('confirmToken', confirmTokenValue);\r","\r","        // Log the confirmation of the process in the tests section\r","        console.log(`Value of 'confirmToken' set in the environment variable: ${confirmTokenValue}`);\r","    } else {\r","        // If 'confirmToken' is not present in the response, log a warning in the tests section\r","        console.log('The key \"confirmToken\" was not found in the response body.');\r","    }\r","\r","})(pm);"],"type":"text/javascript","packages":{}}}],"id":"01c12438-d8c7-493c-ae9f-6d78f62774ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"vtex\",\r\n    \"storeId\": \"vtex\",\r\n    \"client\": {\r\n        \"refId\": \"3143c4fb-af42-4a0d-8719-3d218937ded8\",\r\n        \"name\": \"Rodrigo Dechen\",\r\n        \"email\": \"mestri.rodrigo@gmail.com\",\r\n        \"document\": \"44613737\",\r\n        \"cellphone\": null,\r\n        \"id\": 652\r\n    },\r\n    \"items\": [\r\n        {\r\n            \"skuRefId\": \"1\",\r\n            \"name\": \"Smartphone Guper G1\",\r\n            \"categoryRefId\": 2,\r\n            \"brandRefId\": 2000000,\r\n            \"quantity\": 1,\r\n            \"productPrice\": 150000,\r\n            \"sellingPrice\": 91800,\r\n            \"categoryId\": null,\r\n            \"brandId\": null\r\n        }\r\n    ],\r\n    \"total_item\": 150000,\r\n    \"total_discounts\": 58200,\r\n    \"total_shipping\": 44160,\r\n    \"total_taxes\": 0,\r\n    \"total_order\": 145960\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/redeem/reserve/:hash","description":"<p><strong>Request body parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>interface *</td>\n<td>string</td>\n<td>interface of sale</td>\n</tr>\n<tr>\n<td>storeId *</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>client</td>\n<td>array / int / null</td>\n<td>In this field, you can enter an <code>id</code>(person ID, guper), leave it as <code>null</code> to represent an anonymous customer, or fill it with a complete customer's data, as shown in the example: <code>{\"id\": \"47\", \"name\": \"Trifólio Girassol\", \"</code>countryCallingCode\": 55 <code>\"cellphone\": \"19954264546\", \"email\": \"</code><a href=\"https://\"><code>trifolio@girassol.com</code></a><code>\"};</code>  <br />For already registered customers, it is necessary to provide at least <code>id</code> or <code>cellphone</code>. To register a new customer, you need to include <code>id</code>, <code>cellphone</code>, and <code>name</code>. Our API is responsible for handling customer registration and retrieval efficiently using this information.</td>\n</tr>\n<tr>\n<td>attendants</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>items *</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>total_order</td>\n<td>int</td>\n<td>total order amount</td>\n</tr>\n<tr>\n<td>total_item</td>\n<td>int</td>\n<td>total value of items only</td>\n</tr>\n<tr>\n<td>total_shipping</td>\n<td>int</td>\n<td>total amount of shipping fee only</td>\n</tr>\n<tr>\n<td>total_discounts</td>\n<td>int</td>\n<td>total amount of discounts; <em>Cashback values ​​should not be passed in this field</em></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","redeem","reserve",":hash"],"host":["acme","myguper.com"],"query":[],"variable":[{"description":{"content":"<p>confirmToken</p>\n","type":"text/plain"},"type":"any","value":"","key":"hash"}]}},"response":[],"_postman_id":"01c12438-d8c7-493c-ae9f-6d78f62774ff"},{"name":"Cancel","event":[{"listen":"test","script":{"id":"607b67b9-384b-4b1d-a29a-34c811613eb4","exec":["((pm) => {\r","\r","    // Extract the value of 'confirmToken' from the response body in JSON format\r","    const responseBody = pm.response.json();\r","\r","    // Check if 'confirmToken' is present in the response body\r","    if ('confirmToken' in responseBody) {\r","        // Get the value of 'confirmToken'\r","        const confirmTokenValue = responseBody.confirmToken;\r","\r","        // Set the value of 'confirmToken' in the environment variable with the same name\r","        pm.environment.set('confirmToken', confirmTokenValue);\r","\r","        // Log the confirmation of the process in the tests section\r","        console.log(`Value of 'confirmToken' set in the environment variable: ${confirmTokenValue}`);\r","    } else {\r","        // If 'confirmToken' is not present in the response, log a warning in the tests section\r","        console.log('The key \"confirmToken\" was not found in the response body.');\r","    }\r","\r","})(pm);"],"type":"text/javascript","packages":{}}}],"id":"2abb60dc-cfbb-4354-9639-0c47dc4b293a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"vtex\",\r\n    \"storeId\": \"vtex\",\r\n    \"client\": {\r\n        \"refId\": \"3143c4fb-af42-4a0d-8719-3d218937ded8\",\r\n        \"name\": \"Rodrigo Dechen\",\r\n        \"email\": \"mestri.rodrigo@gmail.com\",\r\n        \"document\": \"44613737\",\r\n        \"cellphone\": null,\r\n        \"id\": 652\r\n    },\r\n    \"items\": [\r\n        {\r\n            \"skuRefId\": \"1\",\r\n            \"name\": \"Smartphone Guper G1\",\r\n            \"categoryRefId\": 2,\r\n            \"brandRefId\": 2000000,\r\n            \"quantity\": 1,\r\n            \"productPrice\": 150000,\r\n            \"sellingPrice\": 91800,\r\n            \"categoryId\": null,\r\n            \"brandId\": null\r\n        }\r\n    ],\r\n    \"total_item\": 150000,\r\n    \"total_discounts\": 58200,\r\n    \"total_shipping\": 44160,\r\n    \"total_taxes\": 0,\r\n    \"total_order\": 145960\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/redeem/cancel/:hash","description":"<p><strong>Request body parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>interface *</td>\n<td>string</td>\n<td>interface of sale</td>\n</tr>\n<tr>\n<td>storeId *</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>client</td>\n<td>array / int / null</td>\n<td>In this field, you can enter an <code>id</code>(person ID, guper), leave it as <code>null</code> to represent an anonymous customer, or fill it with a complete customer's data, as shown in the example: <code>{\"id\": \"47\", \"name\": \"Trifólio Girassol\", \"</code>countryCallingCode\": 55 <code>\"cellphone\": \"19954264546\", \"email\": \"</code><a href=\"https://\"><code>trifolio@girassol.com</code></a><code>\"};</code>  <br />For already registered customers, it is necessary to provide at least <code>id</code> or <code>cellphone</code>. To register a new customer, you need to include <code>id</code>, <code>cellphone</code>, and <code>name</code>. Our API is responsible for handling customer registration and retrieval efficiently using this information.</td>\n</tr>\n<tr>\n<td>attendants</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>items *</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>total_order</td>\n<td>int</td>\n<td>total order amount</td>\n</tr>\n<tr>\n<td>total_item</td>\n<td>int</td>\n<td>total value of items only</td>\n</tr>\n<tr>\n<td>total_shipping</td>\n<td>int</td>\n<td>total amount of shipping fee only</td>\n</tr>\n<tr>\n<td>total_discounts</td>\n<td>int</td>\n<td>total amount of discounts; <em>Cashback values ​​should not be passed in this field</em></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","redeem","cancel",":hash"],"host":["acme","myguper.com"],"query":[],"variable":[{"description":{"content":"<p>confirmToken</p>\n","type":"text/plain"},"type":"any","value":"","key":"hash"}]}},"response":[],"_postman_id":"2abb60dc-cfbb-4354-9639-0c47dc4b293a"},{"name":"Settle","event":[{"listen":"test","script":{"id":"607b67b9-384b-4b1d-a29a-34c811613eb4","exec":["((pm) => {\r","\r","    // Extract the value of 'confirmToken' from the response body in JSON format\r","    const responseBody = pm.response.json();\r","\r","    // Check if 'confirmToken' is present in the response body\r","    if ('confirmToken' in responseBody) {\r","        // Get the value of 'confirmToken'\r","        const confirmTokenValue = responseBody.confirmToken;\r","\r","        // Set the value of 'confirmToken' in the environment variable with the same name\r","        pm.environment.set('confirmToken', confirmTokenValue);\r","\r","        // Log the confirmation of the process in the tests section\r","        console.log(`Value of 'confirmToken' set in the environment variable: ${confirmTokenValue}`);\r","    } else {\r","        // If 'confirmToken' is not present in the response, log a warning in the tests section\r","        console.log('The key \"confirmToken\" was not found in the response body.');\r","    }\r","\r","})(pm);"],"type":"text/javascript","packages":{}}}],"id":"fd0fb37f-a7f7-4849-97ff-19eff242eb23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"vtex\",\r\n    \"storeId\": \"vtex\",\r\n    \"client\": {\r\n        \"refId\": \"3143c4fb-af42-4a0d-8719-3d218937ded8\",\r\n        \"name\": \"Rodrigo Dechen\",\r\n        \"email\": \"mestri.rodrigo@gmail.com\",\r\n        \"document\": \"44613737\",\r\n        \"cellphone\": null,\r\n        \"id\": 652\r\n    },\r\n    \"items\": [\r\n        {\r\n            \"skuRefId\": \"1\",\r\n            \"name\": \"Smartphone Guper G1\",\r\n            \"categoryRefId\": 2,\r\n            \"brandRefId\": 2000000,\r\n            \"quantity\": 1,\r\n            \"productPrice\": 150000,\r\n            \"sellingPrice\": 91800,\r\n            \"categoryId\": null,\r\n            \"brandId\": null\r\n        }\r\n    ],\r\n    \"total_item\": 150000,\r\n    \"total_discounts\": 58200,\r\n    \"total_shipping\": 44160,\r\n    \"total_taxes\": 0,\r\n    \"total_order\": 145960\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/redeem/settle/:hash","description":"<p><strong>Request body parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>interface *</td>\n<td>string</td>\n<td>interface of sale</td>\n</tr>\n<tr>\n<td>storeId *</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>client</td>\n<td>array / int / null</td>\n<td>In this field, you can enter an <code>id</code>(person ID, guper), leave it as <code>null</code> to represent an anonymous customer, or fill it with a complete customer's data, as shown in the example: <code>{\"id\": \"47\", \"name\": \"Trifólio Girassol\", \"</code>countryCallingCode\": 55 <code>\"cellphone\": \"19954264546\", \"email\": \"</code><a href=\"https://\"><code>trifolio@girassol.com</code></a><code>\"};</code>  <br />For already registered customers, it is necessary to provide at least <code>id</code> or <code>cellphone</code>. To register a new customer, you need to include <code>id</code>, <code>cellphone</code>, and <code>name</code>. Our API is responsible for handling customer registration and retrieval efficiently using this information.</td>\n</tr>\n<tr>\n<td>attendants</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>items *</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>total_order</td>\n<td>int</td>\n<td>total order amount</td>\n</tr>\n<tr>\n<td>total_item</td>\n<td>int</td>\n<td>total value of items only</td>\n</tr>\n<tr>\n<td>total_shipping</td>\n<td>int</td>\n<td>total amount of shipping fee only</td>\n</tr>\n<tr>\n<td>total_discounts</td>\n<td>int</td>\n<td>total amount of discounts; <em>Cashback values ​​should not be passed in this field</em></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","redeem","settle",":hash"],"host":["acme","myguper.com"],"query":[],"variable":[{"description":{"content":"<p>confirmToken</p>\n","type":"text/plain"},"type":"any","value":"","key":"hash"}]}},"response":[],"_postman_id":"fd0fb37f-a7f7-4849-97ff-19eff242eb23"}],"id":"b917c93d-c4c8-48bd-91bd-dde542b0bf0d","_postman_id":"b917c93d-c4c8-48bd-91bd-dde542b0bf0d","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Campaign","item":[{"name":"Campaign Rules","item":[{"name":"List","id":"19b56fac-15f5-4d88-a8da-39730b3cf658","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/loyalty/campaign/rule?entries=0&q[campaign]=1","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","campaign","rule"],"host":["acme","myguper.com"],"query":[{"key":"entries","value":"0"},{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"q[id]","value":"1"},{"key":"q[campaign]","value":"1"}],"variable":[]}},"response":[{"id":"a4b2dfba-113e-4c6a-84e5-cea56aaf1626","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"url":{"raw":"https://acme.myguper.com/api/loyalty/wallet","protocol":"https","host":["acme","myguper.com"],"path":["api","loyalty","wallet"],"query":[{"key":"entries","value":"10","type":"text","disabled":true},{"key":"page","value":"1","type":"text","disabled":true},{"key":"q[id]","value":"1","disabled":true},{"key":"q[name]","value":"My Wallet","type":"text","disabled":true},{"key":"q[%name%]","value":"My","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 12 Aug 2023 14:12:21 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"175"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"list\": [\n        {\n            \"id\": 1,\n            \"name\": \"My Wallet\"\n        }\n    ],\n    \"total\": 1,\n    \"pagination\": {\n        \"entries\": 20,\n        \"totalPages\": 1,\n        \"currentPage\": 1,\n        \"isInitial\": true,\n        \"isEnd\": true,\n        \"totalPrevPages\": 0,\n        \"totalNextPages\": 0\n    }\n}"}],"_postman_id":"19b56fac-15f5-4d88-a8da-39730b3cf658"},{"name":"Create","id":"4d62c4f6-bb99-4c74-a234-f643efaac65d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"campaign\": 1,\r\n    \"code\": 2,\r\n    \"params\": [\"12\"]\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/campaign/rule","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","campaign","rule"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4d62c4f6-bb99-4c74-a234-f643efaac65d"},{"name":"Update","id":"c79bccc9-c894-4161-91c4-93035996c929","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1,\r\n    \"code\": 2,\r\n    \"params\": [\"45\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/campaign/rule","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","campaign","rule"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c79bccc9-c894-4161-91c4-93035996c929"},{"name":"Delete","id":"abb5c535-d2d6-4a5f-b9cb-39c95a5d6189","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/campaign/rule","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","campaign","rule"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"abb5c535-d2d6-4a5f-b9cb-39c95a5d6189"}],"id":"2c6c78ba-d5ef-49f9-ba21-2a6c797fa55e","_postman_id":"2c6c78ba-d5ef-49f9-ba21-2a6c797fa55e","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"List Campaign and Rules","id":"31330561-6cc7-4ad1-b33f-8f8b15ad8b47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/loyalty/campaigns","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","campaigns"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"31330561-6cc7-4ad1-b33f-8f8b15ad8b47"},{"name":"List","id":"300d1df4-0ca1-4036-a12d-33534cd9da03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/loyalty/campaign","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","campaign"],"host":["acme","myguper.com"],"query":[{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"entries","value":"100"},{"disabled":true,"key":"q[name]","value":"Campaign"}],"variable":[]}},"response":[],"_postman_id":"300d1df4-0ca1-4036-a12d-33534cd9da03"},{"name":"Read","id":"2ac2b631-863b-4d08-9a1a-aa054af8ad91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/loyalty/campaign/:id","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","campaign",":id"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[{"id":"5a45dd58-7aaf-495b-8410-94eaffbb6113","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"url":"https://acme.myguper.com/api/loyalty/campaign/{{id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Aug 2023 17:11:32 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"295"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"My Campaign\",\n    \"aliquot\": 5,\n    \"aliquotType\": 1,\n    \"recurrentByOrder\": 0,\n    \"expiryTime\": 5184000,\n    \"initAt\": {\n        \"date\": \"2023-07-01 06:00:00.000000\",\n        \"timezone_type\": 3,\n        \"timezone\": \"America/Sao_Paulo\"\n    },\n    \"finishAt\": {\n        \"date\": \"2023-12-31 18:00:00.000000\",\n        \"timezone_type\": 3,\n        \"timezone\": \"America/Sao_Paulo\"\n    }\n}"}],"_postman_id":"2ac2b631-863b-4d08-9a1a-aa054af8ad91"},{"name":"Create","id":"415941ac-5dc1-4d8a-a3ba-a00480209735","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": {{id}},\r\n    \"name\": \"My Campaign\",\r\n    \"aliquot\": \"5\",\r\n    \"aliquotType\": \"1\",\r\n    \"recurrentByOrder\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/campaign","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","campaign"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"415941ac-5dc1-4d8a-a3ba-a00480209735"},{"name":"Update","id":"8800f190-5f57-48d8-97b2-1eb259cd78b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": {{id}},\r\n    \"name\": \"My Campaign\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/campaign","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","campaign"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8800f190-5f57-48d8-97b2-1eb259cd78b7"},{"name":"Delete","id":"5682face-9969-4630-acba-e3631732b8e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": {{id}}\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/campaign","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","campaign"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5682face-9969-4630-acba-e3631732b8e7"}],"id":"2a2a1175-f65a-4779-87f2-0dd98af8b4e0","_postman_id":"2a2a1175-f65a-4779-87f2-0dd98af8b4e0","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Report","item":[{"name":"CashBack Card Flow","event":[{"listen":"test","script":{"id":"607b67b9-384b-4b1d-a29a-34c811613eb4","exec":[""],"type":"text/javascript","packages":{}}}],"id":"6fc370b3-9347-4d4d-9f5a-da7dbfd6975a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/report/cashBackCardFlow/:dateStart/:dateEnd","description":"<p><strong>Request body parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>interface *</td>\n<td>string</td>\n<td>interface of sale</td>\n</tr>\n<tr>\n<td>storeId *</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>client</td>\n<td>array / int / null</td>\n<td>In this field, you can enter an <code>id</code>(person ID, guper), leave it as <code>null</code> to represent an anonymous customer, or fill it with a complete customer's data, as shown in the example: <code>{\"id\": \"47\", \"name\": \"Trifólio Girassol\", \"</code>countryCallingCode\": 55 <code>\"cellphone\": \"19954264546\", \"email\": \"</code><a href=\"https://\"><code>trifolio@girassol.com</code></a><code>\"};</code>  <br />For already registered customers, it is necessary to provide at least <code>id</code> or <code>cellphone</code>. To register a new customer, you need to include <code>id</code>, <code>cellphone</code>, and <code>name</code>. Our API is responsible for handling customer registration and retrieval efficiently using this information.</td>\n</tr>\n<tr>\n<td>attendants</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>items *</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>total_order</td>\n<td>int</td>\n<td>total order amount</td>\n</tr>\n<tr>\n<td>total_item</td>\n<td>int</td>\n<td>total value of items only</td>\n</tr>\n<tr>\n<td>total_shipping</td>\n<td>int</td>\n<td>total amount of shipping fee only</td>\n</tr>\n<tr>\n<td>total_discounts</td>\n<td>int</td>\n<td>total amount of discounts; <em>Cashback values ​​should not be passed in this field</em></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","report","cashBackCardFlow",":dateStart",":dateEnd"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"","key":"dateStart"},{"type":"any","value":"","key":"dateEnd"}]}},"response":[],"_postman_id":"6fc370b3-9347-4d4d-9f5a-da7dbfd6975a"},{"name":"CashBack Card Expired","event":[{"listen":"test","script":{"id":"607b67b9-384b-4b1d-a29a-34c811613eb4","exec":[""],"type":"text/javascript","packages":{}}}],"id":"d012cf7a-f743-4b77-b181-05ad1a4c19b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/report/cashBackCardExpired/:dateStart/:dateEnd","description":"<p><strong>Request body parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>interface *</td>\n<td>string</td>\n<td>interface of sale</td>\n</tr>\n<tr>\n<td>storeId *</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>client</td>\n<td>array / int / null</td>\n<td>In this field, you can enter an <code>id</code>(person ID, guper), leave it as <code>null</code> to represent an anonymous customer, or fill it with a complete customer's data, as shown in the example: <code>{\"id\": \"47\", \"name\": \"Trifólio Girassol\", \"</code>countryCallingCode\": 55 <code>\"cellphone\": \"19954264546\", \"email\": \"</code><a href=\"https://\"><code>trifolio@girassol.com</code></a><code>\"};</code>  <br />For already registered customers, it is necessary to provide at least <code>id</code> or <code>cellphone</code>. To register a new customer, you need to include <code>id</code>, <code>cellphone</code>, and <code>name</code>. Our API is responsible for handling customer registration and retrieval efficiently using this information.</td>\n</tr>\n<tr>\n<td>attendants</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>items *</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>total_order</td>\n<td>int</td>\n<td>total order amount</td>\n</tr>\n<tr>\n<td>total_item</td>\n<td>int</td>\n<td>total value of items only</td>\n</tr>\n<tr>\n<td>total_shipping</td>\n<td>int</td>\n<td>total amount of shipping fee only</td>\n</tr>\n<tr>\n<td>total_discounts</td>\n<td>int</td>\n<td>total amount of discounts; <em>Cashback values ​​should not be passed in this field</em></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","report","cashBackCardExpired",":dateStart",":dateEnd"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"","key":"dateStart"},{"type":"any","value":"","key":"dateEnd"}]}},"response":[],"_postman_id":"d012cf7a-f743-4b77-b181-05ad1a4c19b9"},{"name":"Reward Balances","event":[{"listen":"test","script":{"id":"607b67b9-384b-4b1d-a29a-34c811613eb4","exec":[""],"type":"text/javascript","packages":{}}}],"id":"df3c86b3-6b2b-4334-9d90-b9aaa8524edd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/report/rewardBalances/:dateStart/:dateEnd","description":"<p><strong>Request body parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>interface *</td>\n<td>string</td>\n<td>interface of sale</td>\n</tr>\n<tr>\n<td>storeId *</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>client</td>\n<td>array / int / null</td>\n<td>In this field, you can enter an <code>id</code>(person ID, guper), leave it as <code>null</code> to represent an anonymous customer, or fill it with a complete customer's data, as shown in the example: <code>{\"id\": \"47\", \"name\": \"Trifólio Girassol\", \"</code>countryCallingCode\": 55 <code>\"cellphone\": \"19954264546\", \"email\": \"</code><a href=\"https://\"><code>trifolio@girassol.com</code></a><code>\"};</code>  <br />For already registered customers, it is necessary to provide at least <code>id</code> or <code>cellphone</code>. To register a new customer, you need to include <code>id</code>, <code>cellphone</code>, and <code>name</code>. Our API is responsible for handling customer registration and retrieval efficiently using this information.</td>\n</tr>\n<tr>\n<td>attendants</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>items *</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>total_order</td>\n<td>int</td>\n<td>total order amount</td>\n</tr>\n<tr>\n<td>total_item</td>\n<td>int</td>\n<td>total value of items only</td>\n</tr>\n<tr>\n<td>total_shipping</td>\n<td>int</td>\n<td>total amount of shipping fee only</td>\n</tr>\n<tr>\n<td>total_discounts</td>\n<td>int</td>\n<td>total amount of discounts; <em>Cashback values ​​should not be passed in this field</em></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","report","rewardBalances",":dateStart",":dateEnd"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"","key":"dateStart"},{"type":"any","value":"","key":"dateEnd"}]}},"response":[],"_postman_id":"df3c86b3-6b2b-4334-9d90-b9aaa8524edd"},{"name":"Reward Balances By Person","event":[{"listen":"test","script":{"id":"607b67b9-384b-4b1d-a29a-34c811613eb4","exec":[""],"type":"text/javascript","packages":{}}}],"id":"1fbc7e4f-15ca-4073-80d1-198657a3461c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/report/rewardBalances/:dateStart/:dateEnd/:personId","description":"<p><strong>Request body parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>interface *</td>\n<td>string</td>\n<td>interface of sale</td>\n</tr>\n<tr>\n<td>storeId *</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>client</td>\n<td>array / int / null</td>\n<td>In this field, you can enter an <code>id</code>(person ID, guper), leave it as <code>null</code> to represent an anonymous customer, or fill it with a complete customer's data, as shown in the example: <code>{\"id\": \"47\", \"name\": \"Trifólio Girassol\", \"</code>countryCallingCode\": 55 <code>\"cellphone\": \"19954264546\", \"email\": \"</code><a href=\"https://\"><code>trifolio@girassol.com</code></a><code>\"};</code>  <br />For already registered customers, it is necessary to provide at least <code>id</code> or <code>cellphone</code>. To register a new customer, you need to include <code>id</code>, <code>cellphone</code>, and <code>name</code>. Our API is responsible for handling customer registration and retrieval efficiently using this information.</td>\n</tr>\n<tr>\n<td>attendants</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>items *</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>total_order</td>\n<td>int</td>\n<td>total order amount</td>\n</tr>\n<tr>\n<td>total_item</td>\n<td>int</td>\n<td>total value of items only</td>\n</tr>\n<tr>\n<td>total_shipping</td>\n<td>int</td>\n<td>total amount of shipping fee only</td>\n</tr>\n<tr>\n<td>total_discounts</td>\n<td>int</td>\n<td>total amount of discounts; <em>Cashback values ​​should not be passed in this field</em></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","report","rewardBalances",":dateStart",":dateEnd",":personId"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"2025-01-01","key":"dateStart"},{"type":"any","value":"2025-03-30","key":"dateEnd"},{"type":"any","value":"213","key":"personId"}]}},"response":[{"id":"c64c9f80-d38a-43b0-8d59-b19a59672211","name":"Success","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://acme.myguper.com/api/loyalty/report/rewardBalances/:dateStart/:dateEnd/:personId","protocol":"https","host":["acme","myguper.com"],"path":["api","loyalty","report","rewardBalances",":dateStart",":dateEnd",":personId"],"variable":[{"key":"dateStart","value":"2025-01-01"},{"key":"dateEnd","value":"2025-03-30"},{"key":"personId","value":"213"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 31 Mar 2025 13:48:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Apache/2.4.62 (Amazon Linux) OpenSSL/3.0.8"}],"cookie":[],"responseTime":null,"body":"{\n    \"total\": 135,\n    \"available\": 135,\n    \"expired\": 0,\n    \"canceled\": 0,\n    \"used\": 0,\n    \"byWallet\": {\n        \"77\": {\n            \"name\": \"Pontos\",\n            \"rewardType\": \"point\",\n            \"total\": 135,\n            \"available\": 135,\n            \"expired\": 0,\n            \"canceled\": 0,\n            \"used\": 0\n        }\n    }\n}"}],"_postman_id":"1fbc7e4f-15ca-4073-80d1-198657a3461c"}],"id":"23e82d83-9913-466f-bf35-954b21e65b0a","_postman_id":"23e82d83-9913-466f-bf35-954b21e65b0a","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Card","item":[{"name":"By Order","id":"e340199f-08c4-4533-bf7a-c618fcc303b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"generic\",\r\n    \"storeId\": \"2\", \r\n    \"client\": { //optional\r\n        \"id\": \"123123\", //optional\r\n        \"email\": \"tintim@guper.co\", //optional\r\n        \"countryCallingCode\": \"+55\", //optional\r\n        \"cellphone\": \"19954264546\", //optional\r\n        \"name\": \"Tintim\" //optional\r\n    },\r\n    \"attendants\": { //optional\r\n        \"cashierId\": \"123\", \r\n        \"salespersonId\": \"342\" \r\n    },\r\n    \"items\": [ //optional\r\n        {\r\n            \"skuId\": \"1\", \r\n            \"name\": \"Smartphone Guper MK1\", \r\n            \"categoryId\": \"20\", \r\n            \"brandId\": \"20\", \r\n            \"sellerId\": \"1\", \r\n            \"quantity\": 1, \r\n            \"price\": 96390\r\n        }\r\n    ],\r\n    \"total_item\": 96390, \r\n    \"total_discounts\": 1000, //optional\r\n    \"total_shipping\": 20000, //optional\r\n    \"total_order\": 97390, //optional\r\n    \"amountToRedeem\": null //optional (type int)\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/card/byOrder","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","card","byOrder"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e340199f-08c4-4533-bf7a-c618fcc303b0"},{"name":"Card Full Data","id":"790ba88f-13cd-46bf-853a-6d1e26617ac7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-guper-apikey","value":"{{x-guper-apikey}}"},{"key":"x-guper-apisecret","value":"{{x-guper-apisecret}}"}],"url":"https://acme.myguper.com/api/loyalty/cards/full?q[client]=2391380","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","cards","full"],"host":["acme","myguper.com"],"query":[{"key":"q[client]","value":"2391380"}],"variable":[]}},"response":[{"id":"728718fc-ffec-4f4b-b7e7-328b7bbc3514","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-guper-apikey","value":"{{x-guper-apikey}}"},{"key":"x-guper-apisecret","value":"{{x-guper-apisecret}}"}],"url":"https://acme.myguper.com/api/loyalty/cards/full"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 26 Aug 2025 18:36:06 GMT"},{"key":"Content-Type","value":"application/json","description":""},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.28.0"},{"key":"X-Powered-By","value":"PHP/8.1.33"},{"key":"Set-Cookie","value":"PHPSESSID=bf23e0f1e58b4d41735dd8a18c490c7a7d8dfc09a265944db59e4a9823754ae2loyalty; expires=Tue, 26-Aug-2025 19:06:05 GMT; Max-Age=1800; path=/; secure; HttpOnly"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"list\": [\n        {\n            \"id\": 218,\n            \"assetId\": \"CD63AFB86B25F411F0888606CAA23FBAE1\",\n            \"wallet\": 1,\n            \"order\": 210,\n            \"store\": null,\n            \"campaign\": 5,\n            \"client\": 642,\n            \"rewardType\": \"monetary\",\n            \"pointsDividend\": 1,\n            \"pointsDivisor\": 1,\n            \"cashBack\": 22,\n            \"cashBackAmount\": 22,\n            \"canceledAt\": null,\n            \"startsAt\": \"-0001-11-29T20:53:32-03:06\",\n            \"expiresAt\": \"2024-04-08T05:38:54-03:00\",\n            \"createAt\": \"2024-01-09T06:08:50-03:00\",\n            \"updateAt\": \"2025-04-30T15:53:22-03:00\",\n            \"flow\": []\n        },\n        {\n            \"id\": 219,\n            \"assetId\": \"CD63AFB96225F411F0888606CAA23FBAE1\",\n            \"wallet\": 1,\n            \"order\": 211,\n            \"store\": null,\n            \"campaign\": 5,\n            \"client\": 643,\n            \"rewardType\": \"monetary\",\n            \"pointsDividend\": 1,\n            \"pointsDivisor\": 1,\n            \"cashBack\": 399,\n            \"cashBackAmount\": 399,\n            \"canceledAt\": null,\n            \"startsAt\": \"-0001-11-29T20:53:32-03:06\",\n            \"expiresAt\": \"2024-01-09T10:28:25-03:00\",\n            \"createAt\": \"2024-01-09T06:34:13-03:00\",\n            \"updateAt\": \"2025-04-30T15:53:22-03:00\",\n            \"flow\": []\n        },\n        {\n            \"id\": 220,\n            \"assetId\": \"CD63AFBA4A25F411F0888606CAA23FBAE1\",\n            \"wallet\": 1,\n            \"order\": 212,\n            \"store\": null,\n            \"campaign\": 5,\n            \"client\": 646,\n            \"rewardType\": \"monetary\",\n            \"pointsDividend\": 1,\n            \"pointsDivisor\": 1,\n            \"cashBack\": 9850,\n            \"cashBackAmount\": 9850,\n            \"canceledAt\": null,\n            \"startsAt\": \"-0001-11-29T20:53:32-03:06\",\n            \"expiresAt\": \"2024-10-19T11:37:27-03:00\",\n            \"createAt\": \"2024-01-09T11:37:52-03:00\",\n            \"updateAt\": \"2025-04-30T15:53:22-03:00\",\n            \"flow\": [\n                {\n                    \"tid\": \"0472a33cdff299aaed8ad96d2241f988539715b49e08bd48600a35bd0a9eec2d\",\n                    \"cashBackCard\": 220,\n                    \"operation\": \"debit\",\n                    \"value\": -320,\n                    \"order\": 213,\n                    \"coupon\": null,\n                    \"createAt\": \"2024-01-11T10:42:31-03:00\"\n                },\n                {\n                    \"tid\": \"0472a33cdff299aaed8ad96d2241f988539715b49e08bd48600a35bd0a9eec2d\",\n                    \"cashBackCard\": 220,\n                    \"operation\": \"credit\",\n                    \"value\": 320,\n                    \"order\": null,\n                    \"coupon\": null,\n                    \"createAt\": \"2024-10-09T15:02:38-03:00\"\n                }\n            ],\n            \"cardId\": 220,\n            \"storeId\": null,\n            \"operate\": \"credit\",\n            \"status\": \"expired\",\n            \"walletId\": 1,\n            \"orderId\": 212,\n            \"campaignId\": 5,\n            \"campaignName\": \"Cashback 10%\",\n            \"customerId\": 646,\n            \"initialBalance\": 9850,\n            \"availableBalance\": 9850,\n            \"availableAt\": \"-0001-11-29T20:53:32-03:06\",\n            \"updatedAt\": \"2025-04-30T15:53:22-03:00\",\n            \"redeemed_by_orderId\": null,\n            \"redeemed_by_couponId\": null,\n            \"redeemed_value\": null,\n            \"redeemedAt\": null,\n            \"redeemed_storeId\": null\n        },\n        {\n            \"id\": 221,\n            \"assetId\": \"CD63AFBBE125F411F0888606CAA23FBAE1\",\n            \"wallet\": 1,\n            \"order\": 213,\n            \"store\": null,\n            \"campaign\": 5,\n            \"client\": 646,\n            \"rewardType\": \"monetary\",\n            \"pointsDividend\": 1,\n            \"pointsDivisor\": 1,\n            \"cashBack\": 288,\n            \"cashBackAmount\": 288,\n            \"canceledAt\": null,\n            \"startsAt\": \"-0001-11-29T20:53:32-03:06\",\n            \"expiresAt\": \"2024-04-10T10:41:50-03:00\",\n            \"createAt\": \"2024-01-11T10:42:31-03:00\",\n            \"updateAt\": \"2025-04-30T15:53:22-03:00\",\n            \"flow\": []\n        },\n        {\n            \"id\": 1658,\n            \"assetId\": \"CD63B5BE2825F411F0888606CAA23FBAE1\",\n            \"wallet\": 1,\n            \"order\": null,\n            \"store\": null,\n            \"campaign\": null,\n            \"client\": 643,\n            \"rewardType\": \"monetary\",\n            \"pointsDividend\": 1,\n            \"pointsDivisor\": 1,\n            \"cashBack\": 2000,\n            \"cashBackAmount\": 2000,\n            \"canceledAt\": null,\n            \"startsAt\": \"2024-09-18T21:00:00-03:00\",\n            \"expiresAt\": \"2024-12-19T20:59:59-03:00\",\n            \"createAt\": \"2024-09-19T13:49:54-03:00\",\n            \"updateAt\": \"2025-04-30T15:53:22-03:00\",\n            \"flow\": [\n                {\n                    \"tid\": \"b1af05ffcd3011a8ee5bfe8407a61188b6a8253493925c12c465b4937a6028e3\",\n                    \"cashBackCard\": 1658,\n                    \"operation\": \"credit\",\n                    \"value\": 2000,\n                    \"order\": null,\n                    \"coupon\": null,\n                    \"createAt\": \"2024-09-19T13:49:54-03:00\"\n                }\n            ],\n            \"cardId\": 1658,\n            \"storeId\": null,\n            \"operate\": \"credit\",\n            \"status\": \"expired\",\n            \"walletId\": 1,\n            \"orderId\": null,\n            \"campaignId\": null,\n            \"campaignName\": null,\n            \"customerId\": 643,\n            \"initialBalance\": 2000,\n            \"availableBalance\": 2000,\n            \"availableAt\": \"2024-09-18T21:00:00-03:00\",\n            \"updatedAt\": \"2025-04-30T15:53:22-03:00\",\n            \"redeemed_by_orderId\": null,\n            \"redeemed_by_couponId\": null,\n            \"redeemed_value\": null,\n            \"redeemedAt\": null,\n            \"redeemed_storeId\": null\n        },\n        {\n            \"id\": 1818,\n            \"assetId\": \"CD63B6998925F411F0888606CAA23FBAE1\",\n            \"wallet\": 1,\n            \"order\": 1672040,\n            \"store\": 32,\n            \"campaign\": 5,\n            \"client\": 646,\n            \"rewardType\": \"monetary\",\n            \"pointsDividend\": 1,\n            \"pointsDivisor\": 1,\n            \"cashBack\": 9639,\n            \"cashBackAmount\": 9639,\n            \"canceledAt\": \"2024-10-09T18:34:59-03:00\",\n            \"startsAt\": \"2024-09-27T21:00:00-03:00\",\n            \"expiresAt\": \"2024-10-28T20:59:59-03:00\",\n            \"createAt\": \"2024-09-27T08:29:08-03:00\",\n            \"updateAt\": \"2025-04-30T15:53:22-03:00\",\n            \"flow\": [\n                {\n                    \"tid\": \"0472a33cdff299aaed8ad96d2241f988539715b49e08bd48600a35bd0a9eec2d\",\n                    \"cashBackCard\": 1818,\n                    \"operation\": \"credit\",\n                    \"value\": 9639,\n                    \"order\": 1672040,\n                    \"coupon\": null,\n                    \"createAt\": \"2024-09-27T08:29:08-03:00\"\n                }\n            ],\n            \"cardId\": 1818,\n            \"storeId\": 32,\n            \"operate\": \"credit\",\n            \"status\": \"canceled\",\n            \"walletId\": 1,\n            \"orderId\": 1672040,\n            \"campaignId\": 5,\n            \"campaignName\": \"Cashback 10%\",\n            \"customerId\": 646,\n            \"initialBalance\": 9639,\n            \"availableBalance\": 9639,\n            \"availableAt\": \"2024-09-27T21:00:00-03:00\",\n            \"updatedAt\": \"2025-04-30T15:53:22-03:00\",\n            \"redeemed_by_orderId\": null,\n            \"redeemed_by_couponId\": null,\n            \"redeemed_value\": null,\n            \"redeemedAt\": null,\n            \"redeemed_storeId\": null\n        },\n        {\n            \"id\": 1819,\n            \"assetId\": \"CD63B69A7825F411F0888606CAA23FBAE1\",\n            \"wallet\": 1,\n            \"order\": 1672041,\n            \"store\": 32,\n            \"campaign\": 5,\n            \"client\": 436276,\n            \"rewardType\": \"monetary\",\n            \"pointsDividend\": 1,\n            \"pointsDivisor\": 1,\n            \"cashBack\": 250,\n            \"cashBackAmount\": 250,\n            \"canceledAt\": null,\n            \"startsAt\": \"2024-09-27T21:00:00-03:00\",\n            \"expiresAt\": \"2024-10-28T20:59:59-03:00\",\n            \"createAt\": \"2024-09-27T08:29:40-03:00\",\n            \"updateAt\": \"2025-04-30T15:53:22-03:00\",\n            \"flow\": [\n                {\n                    \"tid\": \"d591cb10db161e7d28866bd486935e57ea59a09cef89cc3d8282fd424c7a8541\",\n                    \"cashBackCard\": 1819,\n                    \"operation\": \"credit\",\n                    \"value\": 250,\n                    \"order\": 1672041,\n                    \"coupon\": null,\n                    \"createAt\": \"2024-09-27T08:29:40-03:00\"\n                }\n            ],\n            \"cardId\": 1819,\n            \"storeId\": 32,\n            \"operate\": \"credit\",\n            \"status\": \"expired\",\n            \"walletId\": 1,\n            \"orderId\": 1672041,\n            \"campaignId\": 5,\n            \"campaignName\": \"Cashback 10%\",\n            \"customerId\": 436276,\n            \"initialBalance\": 250,\n            \"availableBalance\": 250,\n            \"availableAt\": \"2024-09-27T21:00:00-03:00\",\n            \"updatedAt\": \"2025-04-30T15:53:22-03:00\",\n            \"redeemed_by_orderId\": null,\n            \"redeemed_by_couponId\": null,\n            \"redeemed_value\": null,\n            \"redeemedAt\": null,\n            \"redeemed_storeId\": null\n        },\n        {\n            \"id\": 1820,\n            \"assetId\": \"CD63B69D1025F411F0888606CAA23FBAE1\",\n            \"wallet\": 1,\n            \"order\": 1672059,\n            \"store\": 32,\n            \"campaign\": 5,\n            \"client\": 431969,\n            \"rewardType\": \"monetary\",\n            \"pointsDividend\": 1,\n            \"pointsDivisor\": 1,\n            \"cashBack\": 9639,\n            \"cashBackAmount\": 9639,\n            \"canceledAt\": \"2024-12-02T11:25:46-03:00\",\n            \"startsAt\": \"2024-09-27T21:00:00-03:00\",\n            \"expiresAt\": \"2024-10-28T20:59:59-03:00\",\n            \"createAt\": \"2024-09-27T08:54:57-03:00\",\n            \"updateAt\": \"2025-04-30T15:53:22-03:00\",\n            \"flow\": [\n                {\n                    \"tid\": \"0f46d8952e2590be3eea54aad4465556384563ac14e8fd8570f28af4d7e490f8\",\n                    \"cashBackCard\": 1820,\n                    \"operation\": \"credit\",\n                    \"value\": 9639,\n                    \"order\": 1672059,\n                    \"coupon\": null,\n                    \"createAt\": \"2024-09-27T08:54:57-03:00\"\n                }\n            ],\n            \"cardId\": 1820,\n            \"storeId\": 32,\n            \"operate\": \"credit\",\n            \"status\": \"canceled\",\n            \"walletId\": 1,\n            \"orderId\": 1672059,\n            \"campaignId\": 5,\n            \"campaignName\": \"Cashback 10%\",\n            \"customerId\": 431969,\n            \"initialBalance\": 9639,\n            \"availableBalance\": 9639,\n            \"availableAt\": \"2024-09-27T21:00:00-03:00\",\n            \"updatedAt\": \"2025-04-30T15:53:22-03:00\",\n            \"redeemed_by_orderId\": null,\n            \"redeemed_by_couponId\": null,\n            \"redeemed_value\": null,\n            \"redeemedAt\": null,\n            \"redeemed_storeId\": null\n        },\n        {\n            \"id\": 1821,\n            \"assetId\": \"CD63B69E0625F411F0888606CAA23FBAE1\",\n            \"wallet\": 1,\n            \"order\": 1672061,\n            \"store\": 32,\n            \"campaign\": 5,\n            \"client\": 436295,\n            \"rewardType\": \"monetary\",\n            \"pointsDividend\": 1,\n            \"pointsDivisor\": 1,\n            \"cashBack\": 250,\n            \"cashBackAmount\": 250,\n            \"canceledAt\": null,\n            \"startsAt\": \"2024-09-27T21:00:00-03:00\",\n            \"expiresAt\": \"2024-10-28T20:59:59-03:00\",\n            \"createAt\": \"2024-09-27T09:05:28-03:00\",\n            \"updateAt\": \"2025-04-30T15:53:22-03:00\",\n            \"flow\": [\n                {\n                    \"tid\": \"610e12570e7afcded093804a0ada1f9112750bf936474f6558e4082a4419ee47\",\n                    \"cashBackCard\": 1821,\n                    \"operation\": \"credit\",\n                    \"value\": 250,\n                    \"order\": 1672061,\n                    \"coupon\": null,\n                    \"createAt\": \"2024-09-27T09:05:28-03:00\"\n                }\n            ],\n            \"cardId\": 1821,\n            \"storeId\": 32,\n            \"operate\": \"credit\",\n            \"status\": \"expired\",\n            \"walletId\": 1,\n            \"orderId\": 1672061,\n            \"campaignId\": 5,\n            \"campaignName\": \"Cashback 10%\",\n            \"customerId\": 436295,\n            \"initialBalance\": 250,\n            \"availableBalance\": 250,\n            \"availableAt\": \"2024-09-27T21:00:00-03:00\",\n            \"updatedAt\": \"2025-04-30T15:53:22-03:00\",\n            \"redeemed_by_orderId\": null,\n            \"redeemed_by_couponId\": null,\n            \"redeemed_value\": null,\n            \"redeemedAt\": null,\n            \"redeemed_storeId\": null\n        },\n        {\n            \"id\": 1822,\n            \"assetId\": \"CD63B69F4F25F411F0888606CAA23FBAE1\",\n            \"wallet\": 1,\n            \"order\": 1672063,\n            \"store\": 32,\n            \"campaign\": 5,\n            \"client\": 436295,\n            \"rewardType\": \"monetary\",\n            \"pointsDividend\": 1,\n            \"pointsDivisor\": 1,\n            \"cashBack\": 250,\n            \"cashBackAmount\": 250,\n            \"canceledAt\": null,\n            \"startsAt\": \"2024-09-27T21:00:00-03:00\",\n            \"expiresAt\": \"2024-10-28T20:59:59-03:00\",\n            \"createAt\": \"2024-09-27T09:10:21-03:00\",\n            \"updateAt\": \"2025-04-30T15:53:22-03:00\",\n            \"flow\": [\n                {\n                    \"tid\": \"486efb03f2273b9d94d0290605bc3310b9c737feceab476198c9557a7ae9a1a8\",\n                    \"cashBackCard\": 1822,\n                    \"operation\": \"credit\",\n                    \"value\": 250,\n                    \"order\": 1672063,\n                    \"coupon\": null,\n                    \"createAt\": \"2024-09-27T09:10:21-03:00\"\n                }\n            ],\n            \"cardId\": 1822,\n            \"storeId\": 32,\n            \"operate\": \"credit\",\n            \"status\": \"expired\",\n            \"walletId\": 1,\n            \"orderId\": 1672063,\n            \"campaignId\": 5,\n            \"campaignName\": \"Cashback 10%\",\n            \"customerId\": 436295,\n            \"initialBalance\": 250,\n            \"availableBalance\": 250,\n            \"availableAt\": \"2024-09-27T21:00:00-03:00\",\n            \"updatedAt\": \"2025-04-30T15:53:22-03:00\",\n            \"redeemed_by_orderId\": null,\n            \"redeemed_by_couponId\": null,\n            \"redeemed_value\": null,\n            \"redeemedAt\": null,\n            \"redeemed_storeId\": null\n        },\n        {\n            \"id\": 1823,\n            \"assetId\": \"CD63B6A02F25F411F0888606CAA23FBAE1\",\n            \"wallet\": 1,\n            \"order\": 1672064,\n            \"store\": 32,\n            \"campaign\": 5,\n            \"client\": 436295,\n            \"rewardType\": \"monetary\",\n            \"pointsDividend\": 1,\n            \"pointsDivisor\": 1,\n            \"cashBack\": 250,\n            \"cashBackAmount\": 250,\n            \"canceledAt\": null,\n            \"startsAt\": \"2024-09-27T21:00:00-03:00\",\n            \"expiresAt\": \"2024-10-28T20:59:59-03:00\",\n            \"createAt\": \"2024-09-27T09:14:13-03:00\",\n            \"updateAt\": \"2025-04-30T15:53:22-03:00\",\n            \"flow\": [\n                {\n                    \"tid\": \"fe56eddeff92398f02e9c21894d07798605e3b59fa16fbc85639bcf252145ff8\",\n                    \"cashBackCard\": 1823,\n                    \"operation\": \"credit\",\n                    \"value\": 250,\n                    \"order\": 1672064,\n                    \"coupon\": null,\n                    \"createAt\": \"2024-09-27T09:14:13-03:00\"\n                }\n            ],\n            \"cardId\": 1823,\n            \"storeId\": 32,\n            \"operate\": \"credit\",\n            \"status\": \"expired\",\n            \"walletId\": 1,\n            \"orderId\": 1672064,\n            \"campaignId\": 5,\n            \"campaignName\": \"Cashback 10%\",\n            \"customerId\": 436295,\n            \"initialBalance\": 250,\n            \"availableBalance\": 250,\n            \"availableAt\": \"2024-09-27T21:00:00-03:00\",\n            \"updatedAt\": \"2025-04-30T15:53:22-03:00\",\n            \"redeemed_by_orderId\": null,\n            \"redeemed_by_couponId\": null,\n            \"redeemed_value\": null,\n            \"redeemedAt\": null,\n            \"redeemed_storeId\": null\n        },\n        {\n            \"id\": 1824,\n            \"assetId\": \"CD63B6A17025F411F0888606CAA23FBAE1\",\n            \"wallet\": 1,\n            \"order\": 1672087,\n            \"store\": 32,\n            \"campaign\": 5,\n            \"client\": 436330,\n            \"rewardType\": \"monetary\",\n            \"pointsDividend\": 1,\n            \"pointsDivisor\": 1,\n            \"cashBack\": 2500,\n            \"cashBackAmount\": 2500,\n            \"canceledAt\": null,\n            \"startsAt\": \"2024-09-27T21:00:00-03:00\",\n            \"expiresAt\": \"2024-10-28T20:59:59-03:00\",\n            \"createAt\": \"2024-09-27T09:40:17-03:00\",\n            \"updateAt\": \"2025-04-30T15:53:22-03:00\",\n            \"flow\": [\n                {\n                    \"tid\": \"de400544ae2a1a75b1abd138cf85645c73760c71ae59f451788c9f276ea7ee1d\",\n                    \"cashBackCard\": 1824,\n                    \"operation\": \"credit\",\n                    \"value\": 2500,\n                    \"order\": 1672087,\n                    \"coupon\": null,\n                    \"createAt\": \"2024-09-27T09:40:17-03:00\"\n                }\n            ],\n            \"cardId\": 1824,\n            \"storeId\": 32,\n            \"operate\": \"credit\",\n            \"status\": \"expired\",\n            \"walletId\": 1,\n            \"orderId\": 1672087,\n            \"campaignId\": 5,\n            \"campaignName\": \"Cashback 10%\",\n            \"customerId\": 436330,\n            \"initialBalance\": 2500,\n            \"availableBalance\": 2500,\n            \"availableAt\": \"2024-09-27T21:00:00-03:00\",\n            \"updatedAt\": \"2025-04-30T15:53:22-03:00\",\n            \"redeemed_by_orderId\": null,\n            \"redeemed_by_couponId\": null,\n            \"redeemed_value\": null,\n            \"redeemedAt\": null,\n            \"redeemed_storeId\": null\n        },\n        {\n            \"id\": 1825,\n            \"assetId\": \"CD63B6A26325F411F0888606CAA23FBAE1\",\n            \"wallet\": 1,\n            \"order\": 1672118,\n            \"store\": 32,\n            \"campaign\": 5,\n            \"client\": 436359,\n            \"rewardType\": \"monetary\",\n            \"pointsDividend\": 1,\n            \"pointsDivisor\": 1,\n            \"cashBack\": 2500,\n            \"cashBackAmount\": 2500,\n            \"canceledAt\": \"2024-12-02T11:25:46-03:00\",\n            \"startsAt\": \"2024-09-27T21:00:00-03:00\",\n            \"expiresAt\": \"2024-10-28T20:59:59-03:00\",\n            \"createAt\": \"2024-09-27T10:35:06-03:00\",\n            \"updateAt\": \"2025-04-30T15:53:22-03:00\",\n            \"flow\": [\n                {\n                    \"tid\": \"d6a3a705899f474ba4f4b5ad5d5a50823a05f008c30a5958173da9a0386fd796\",\n                    \"cashBackCard\": 1825,\n                    \"operation\": \"credit\",\n                    \"value\": 2500,\n                    \"order\": 1672118,\n                    \"coupon\": null,\n                    \"createAt\": \"2024-09-27T10:35:06-03:00\"\n                }\n            ],\n            \"cardId\": 1825,\n            \"storeId\": 32,\n            \"operate\": \"credit\",\n            \"status\": \"canceled\",\n            \"walletId\": 1,\n            \"orderId\": 1672118,\n            \"campaignId\": 5,\n            \"campaignName\": \"Cashback 10%\",\n            \"customerId\": 436359,\n            \"initialBalance\": 2500,\n            \"availableBalance\": 2500,\n            \"availableAt\": \"2024-09-27T21:00:00-03:00\",\n            \"updatedAt\": \"2025-04-30T15:53:22-03:00\",\n            \"redeemed_by_orderId\": null,\n            \"redeemed_by_couponId\": null,\n            \"redeemed_value\": null,\n            \"redeemedAt\": null,\n            \"redeemed_storeId\": null\n        }\n    ],\n    \"total\": 13,\n    \"pagination\": {\n        \"entries\": 50,\n        \"order\": [],\n        \"totalPages\": 1,\n        \"currentPage\": 1,\n        \"isInitial\": true,\n        \"isEnd\": true,\n        \"totalPrevPages\": 0,\n        \"totalNextPages\": 0\n    }\n}"}],"_postman_id":"790ba88f-13cd-46bf-853a-6d1e26617ac7"}],"id":"5d11125a-a29a-4d6e-9400-a48cd0025229","_postman_id":"5d11125a-a29a-4d6e-9400-a48cd0025229","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Rule","item":[{"name":"List","id":"73bd898c-68f7-44b5-952d-f3f347d6fa58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/loyalty/rule","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","rule"],"host":["acme","myguper.com"],"query":[{"disabled":true,"key":"entries","value":"10"},{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"q[id]","value":"1"},{"disabled":true,"key":"q[name]","value":"My Rule"},{"disabled":true,"key":"q[%name%]","value":"My"}],"variable":[]}},"response":[{"id":"face72de-3cbc-4b31-8814-8c01c7b8f351","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"url":{"raw":"https://acme.myguper.com/api/loyalty/rule","protocol":"https","host":["acme","myguper.com"],"path":["api","loyalty","rule"],"query":[{"key":"entries","value":"10","type":"text","disabled":true},{"key":"page","value":"1","type":"text","disabled":true},{"key":"q[id]","value":"1","disabled":true},{"key":"q[name]","value":"My Wallet","type":"text","disabled":true},{"key":"q[%name%]","value":"My","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Aug 2023 17:09:59 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"491"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"list\": [\n        {\n            \"id\": 1,\n            \"name\": \"Compra de valor\",\n            \"class\": \"Rule\",\n            \"method\": \"value\",\n            \"priority\": 100\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Produto da categoria\",\n            \"class\": \"Rule\",\n            \"method\": \"categoryItems\",\n            \"priority\": 0\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Quantidade\",\n            \"class\": \"Rule\",\n            \"method\": \"quantityItems\",\n            \"priority\": 100\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Produto da marca\",\n            \"class\": \"Rule\",\n            \"method\": \"brandProduct\",\n            \"priority\": 0\n        }\n    ],\n    \"total\": 4,\n    \"pagination\": {\n        \"entries\": 20,\n        \"totalPages\": 1,\n        \"currentPage\": 1,\n        \"isInitial\": true,\n        \"isEnd\": true,\n        \"totalPrevPages\": 0,\n        \"totalNextPages\": 0\n    }\n}"}],"_postman_id":"73bd898c-68f7-44b5-952d-f3f347d6fa58"},{"name":"Read","id":"652b6536-036f-4a70-a915-ee4645f846e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/loyalty/rule/:id","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","rule",":id"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[{"id":"f04ec530-1bca-4119-9ed2-a68fe81d45bc","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"url":"https://acme.myguper.com/api/loyalty/rule/{{id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Aug 2023 17:13:39 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"80"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"Compra de valor\",\n    \"class\": \"Rule\",\n    \"method\": \"value\",\n    \"priority\": 100\n}"}],"_postman_id":"652b6536-036f-4a70-a915-ee4645f846e1"}],"id":"08b3f66a-d48e-417c-8b3c-6578b5b809fb","_postman_id":"08b3f66a-d48e-417c-8b3c-6578b5b809fb","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Coupons","item":[{"name":"Search","id":"a38b420c-50f6-4e4e-9675-c322ba6d1d31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"generic\",\r\n    \"storeId\": \"2\",\r\n    \"total_item\": 25000,\r\n    \"redeemableTotal\": 25000\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/coupon/search","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","coupon","search"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"de43d0d3-5174-4a75-ae13-fe76b84416c8","name":"200","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"generic\",\r\n    \"storeId\": \"2\",\r\n    \"total_item\": 96390\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/coupon/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 04 Nov 2024 19:08:37 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Access-Control-Max-Age","value":"10800"},{"key":"Content-Length","value":"68"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"cuponBatchId\": 2,\n    \"policy\": 14,\n    \"description\": \"Test\",\n    \"value\": 30000\n}"}],"_postman_id":"a38b420c-50f6-4e4e-9675-c322ba6d1d31"},{"name":"Reserve","id":"acd90883-bf66-440a-9db9-573a276ba16a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"couponBatchId\": 123,\r\n    \"interface\": \"generic\",\r\n    \"storeId\": \"2\",\r\n    \"clientId\": 123,\r\n    \"total_itens\": 96390\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/coupon/:transactionId/reserve","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","coupon",":transactionId","reserve"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"","key":"transactionId"}]}},"response":[],"_postman_id":"acd90883-bf66-440a-9db9-573a276ba16a"},{"name":"Settlement","id":"20797ca9-5bb7-4660-ad90-3a24a61b78d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"zoku\",\r\n    \"orderId\": \"1020-005540\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/coupon/:couponCode/settlement","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","coupon",":couponCode","settlement"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"COUGA1B3","key":"couponCode"}]}},"response":[],"_postman_id":"20797ca9-5bb7-4660-ad90-3a24a61b78d8"}],"id":"af4c5f05-6685-441b-ba2c-3e64f71e3015","_postman_id":"af4c5f05-6685-441b-ba2c-3e64f71e3015","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Reward","item":[{"name":"Direct","item":[{"name":"Create","id":"e6cf7190-f1e8-4ea8-b8e0-ca02da36ebe2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"l29\",\r\n    \"storeId\": \"546\",\r\n    \"client\": {\r\n        \"refId\": \"3143c4fb-af42-4a0d-8719-3d218937ded8\",\r\n        \"name\": \"Timtim\",\r\n        \"email\": \"timtim@gmail.com\"\r\n    },\r\n    \"value\": 5000,\r\n    \"expiresAt\": \"21-06-2024 23:59\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/reward","description":"<p><strong>Request body parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>interface *</td>\n<td>string</td>\n<td>interface of sale</td>\n</tr>\n<tr>\n<td>storeId *</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>client</td>\n<td>array / int / null</td>\n<td>In this field, you can enter an <code>id</code>(person ID, guper), leave it as <code>null</code> to represent an anonymous customer, or fill it with a complete customer's data, as shown in the example: <code>{\"id\": \"47\", \"name\": \"Trifólio Girassol\", \"</code>countryCallingCode\": 55 <code>\"cellphone\": \"19954264546\", \"email\": \"</code><a href=\"https://\"><code>trifolio@girassol.com</code></a><code>\"};</code>  <br />For already registered customers, it is necessary to provide at least <code>id</code> or <code>cellphone</code>. To register a new customer, you need to include <code>id</code>, <code>cellphone</code>, and <code>name</code>. Our API is responsible for handling customer registration and retrieval efficiently using this information.</td>\n</tr>\n<tr>\n<td>attendants</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>items *</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>total_order</td>\n<td>int</td>\n<td>total order amount</td>\n</tr>\n<tr>\n<td>total_item</td>\n<td>int</td>\n<td>total value of items only</td>\n</tr>\n<tr>\n<td>total_shipping</td>\n<td>int</td>\n<td>total amount of shipping fee only</td>\n</tr>\n<tr>\n<td>total_discounts</td>\n<td>int</td>\n<td>total amount of discounts; <em>Cashback values ​​should not be passed in this field</em></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","reward"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e6cf7190-f1e8-4ea8-b8e0-ca02da36ebe2"},{"name":"Consume","id":"bfc0dbc3-b40e-4503-a0d0-cfa357271431","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"generic\",\r\n    \"storeId\": \"1\",\r\n    \"client\": {\r\n        \"refId\": \"3143c4fb-af42-4a0d-8719-3d218937ded8\"\r\n    },\r\n    \"value\": 500\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/reward","description":"<p><strong>Request body parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>interface *</td>\n<td>string</td>\n<td>interface of sale</td>\n</tr>\n<tr>\n<td>storeId *</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>client</td>\n<td>array / int / null</td>\n<td>In this field, you can enter an <code>id</code>(person ID, guper), leave it as <code>null</code> to represent an anonymous customer, or fill it with a complete customer's data, as shown in the example: <code>{\"id\": \"47\", \"name\": \"Trifólio Girassol\", \"</code>countryCallingCode\": 55 <code>\"cellphone\": \"19954264546\", \"email\": \"</code><a href=\"https://\"><code>trifolio@girassol.com</code></a><code>\"};</code>  <br />For already registered customers, it is necessary to provide at least <code>id</code> or <code>cellphone</code>. To register a new customer, you need to include <code>id</code>, <code>cellphone</code>, and <code>name</code>. Our API is responsible for handling customer registration and retrieval efficiently using this information.</td>\n</tr>\n<tr>\n<td>attendants</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>items *</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>total_order</td>\n<td>int</td>\n<td>total order amount</td>\n</tr>\n<tr>\n<td>total_item</td>\n<td>int</td>\n<td>total value of items only</td>\n</tr>\n<tr>\n<td>total_shipping</td>\n<td>int</td>\n<td>total amount of shipping fee only</td>\n</tr>\n<tr>\n<td>total_discounts</td>\n<td>int</td>\n<td>total amount of discounts; <em>Cashback values ​​should not be passed in this field</em></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","reward"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bfc0dbc3-b40e-4503-a0d0-cfa357271431"},{"name":"Balance","id":"3dc5b1c9-996b-4f22-84a7-9440521e3827","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"generic\",\r\n    \"storeId\": \"1\",\r\n    \"client\": {\r\n        \"refId\": \"3143c4fb-af42-4a0d-8719-3d218937ded8\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/reward","description":"<p><strong>Request body parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>interface *</td>\n<td>string</td>\n<td>interface of sale</td>\n</tr>\n<tr>\n<td>storeId *</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>client</td>\n<td>array / int / null</td>\n<td>In this field, you can enter an <code>id</code>(person ID, guper), leave it as <code>null</code> to represent an anonymous customer, or fill it with a complete customer's data, as shown in the example: <code>{\"id\": \"47\", \"name\": \"Trifólio Girassol\", \"</code>countryCallingCode\": 55 <code>\"cellphone\": \"19954264546\", \"email\": \"</code><a href=\"https://\"><code>trifolio@girassol.com</code></a><code>\"};</code>  <br />For already registered customers, it is necessary to provide at least <code>id</code> or <code>cellphone</code>. To register a new customer, you need to include <code>id</code>, <code>cellphone</code>, and <code>name</code>. Our API is responsible for handling customer registration and retrieval efficiently using this information.</td>\n</tr>\n<tr>\n<td>attendants</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>items *</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>total_order</td>\n<td>int</td>\n<td>total order amount</td>\n</tr>\n<tr>\n<td>total_item</td>\n<td>int</td>\n<td>total value of items only</td>\n</tr>\n<tr>\n<td>total_shipping</td>\n<td>int</td>\n<td>total amount of shipping fee only</td>\n</tr>\n<tr>\n<td>total_discounts</td>\n<td>int</td>\n<td>total amount of discounts; <em>Cashback values ​​should not be passed in this field</em></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","reward"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"ced89cab-8b57-4a8b-921f-542e483eaa4e","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-guper-authorization","value":""}],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"generic\",\r\n    \"storeId\": \"1\",\r\n    \"client\": {\r\n        \"refId\": \"3143c4fb-af42-4a0d-8719-3d218937ded8\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/reward"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 25 Apr 2024 20:17:45 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Access-Control-Max-Age","value":"10800"},{"key":"Content-Length","value":"55"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"balance\": 6124,\n    \"dateTime\": \"2024-04-25T17:17:46-03:00\"\n}"}],"_postman_id":"3dc5b1c9-996b-4f22-84a7-9440521e3827"}],"id":"a65978b2-1d92-4265-88bb-7f61cc138668","_postman_id":"a65978b2-1d92-4265-88bb-7f61cc138668","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Finding","event":[{"listen":"test","script":{"id":"607b67b9-384b-4b1d-a29a-34c811613eb4","exec":["((pm) => {\r","\r","    // Extract the value of 'confirmToken' from the response body in JSON format\r","    const responseBody = pm.response.json();\r","\r","    // Check if 'confirmToken' is present in the response body\r","    if ('confirmToken' in responseBody) {\r","        // Get the value of 'confirmToken'\r","        const confirmTokenValue = responseBody.confirmToken;\r","\r","        // Set the value of 'confirmToken' in the environment variable with the same name\r","        pm.environment.set('confirmToken', confirmTokenValue);\r","\r","        // Log the confirmation of the process in the tests section\r","        console.log(`Value of 'confirmToken' set in the environment variable: ${confirmTokenValue}`);\r","    } else {\r","        // If 'confirmToken' is not present in the response, log a warning in the tests section\r","        console.log('The key \"confirmToken\" was not found in the response body.');\r","    }\r","\r","})(pm);"],"type":"text/javascript"}}],"id":"f4480c92-fb92-45f3-8445-a104abc93f23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"vtex\",\r\n    \"storeId\": \"vtex\",\r\n    \"client\": {\r\n        \"refId\": \"3143c4fb-af42-4a0d-8719-3d218937ded8\",\r\n        \"name\": \"Rodrigo Dechen\",\r\n        \"email\": \"mestri.rodrigo@gmail.com\",\r\n        \"document\": \"44613737\",\r\n        \"cellphone\": null,\r\n        \"id\": 652\r\n    },\r\n    \"items\": [\r\n        {\r\n            \"skuRefId\": \"1\",\r\n            \"name\": \"Smartphone Guper G1\",\r\n            \"categoryRefId\": 2,\r\n            \"brandRefId\": 2000000,\r\n            \"quantity\": 1,\r\n            \"productPrice\": 150000,\r\n            \"sellingPrice\": 91800,\r\n            \"categoryId\": null,\r\n            \"brandId\": null\r\n        }\r\n    ],\r\n    \"total_item\": 150000,\r\n    \"total_discounts\": 58200,\r\n    \"total_shipping\": 44160,\r\n    \"total_taxes\": 0,\r\n    \"total_order\": 145960\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/reward/:hash","description":"<p><strong>Request body parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>interface *</td>\n<td>string</td>\n<td>interface of sale</td>\n</tr>\n<tr>\n<td>storeId *</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>client</td>\n<td>array / int / null</td>\n<td>In this field, you can enter an <code>id</code>(person ID, guper), leave it as <code>null</code> to represent an anonymous customer, or fill it with a complete customer's data, as shown in the example: <code>{\"id\": \"47\", \"name\": \"Trifólio Girassol\", \"</code>countryCallingCode\": 55 <code>\"cellphone\": \"19954264546\", \"email\": \"</code><a href=\"https://\"><code>trifolio@girassol.com</code></a><code>\"};</code>  <br />For already registered customers, it is necessary to provide at least <code>id</code> or <code>cellphone</code>. To register a new customer, you need to include <code>id</code>, <code>cellphone</code>, and <code>name</code>. Our API is responsible for handling customer registration and retrieval efficiently using this information.</td>\n</tr>\n<tr>\n<td>attendants</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>items *</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>total_order</td>\n<td>int</td>\n<td>total order amount</td>\n</tr>\n<tr>\n<td>total_item</td>\n<td>int</td>\n<td>total value of items only</td>\n</tr>\n<tr>\n<td>total_shipping</td>\n<td>int</td>\n<td>total amount of shipping fee only</td>\n</tr>\n<tr>\n<td>total_discounts</td>\n<td>int</td>\n<td>total amount of discounts; <em>Cashback values ​​should not be passed in this field</em></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","reward",":hash"],"host":["acme","myguper.com"],"query":[],"variable":[{"id":"05f7597b-753c-4aed-aa35-55a2016f7410","type":"any","value":"7efbada7fda22920fd3eaf026c2ec6da13acf96e500f758ae4c774c76b36a7ca","key":"hash"}]}},"response":[],"_postman_id":"f4480c92-fb92-45f3-8445-a104abc93f23"},{"name":"Search","event":[{"listen":"test","script":{"id":"607b67b9-384b-4b1d-a29a-34c811613eb4","exec":["((pm) => {\r","\r","    // Extract the value of 'confirmToken' from the response body in JSON format\r","    const responseBody = pm.response.json();\r","\r","    // Check if 'confirmToken' is present in the response body\r","    if ('confirmToken' in responseBody) {\r","        // Get the value of 'confirmToken'\r","        const confirmTokenValue = responseBody.confirmToken;\r","\r","        // Set the value of 'confirmToken' in the environment variable with the same name\r","        pm.environment.set('confirmToken', confirmTokenValue);\r","\r","        // Log the confirmation of the process in the tests section\r","        console.log(`Value of 'confirmToken' set in the environment variable: ${confirmTokenValue}`);\r","    } else {\r","        // If 'confirmToken' is not present in the response, log a warning in the tests section\r","        console.log('The key \"confirmToken\" was not found in the response body.');\r","    }\r","\r","})(pm);"],"type":"text/javascript"}}],"id":"1886b053-39d0-4eae-a9e9-819a6e8baa14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"vtex\",\r\n    \"storeId\": \"vtex\",\r\n    \"client\": {\r\n        \"refId\": \"3143c4fb-af42-4a0d-8719-3d218937ded8\",\r\n        \"name\": \"Rodrigo Dechen\",\r\n        \"email\": \"mestri.rodrigo@gmail.com\",\r\n        \"document\": \"44613737\",\r\n        \"cellphone\": null,\r\n        \"id\": 652\r\n    },\r\n    \"items\": [\r\n        {\r\n            \"skuRefId\": \"1\",\r\n            \"name\": \"Smartphone Guper G1\",\r\n            \"categoryRefId\": 2,\r\n            \"brandRefId\": 2000000,\r\n            \"quantity\": 1,\r\n            \"productPrice\": 150000,\r\n            \"sellingPrice\": 91800,\r\n            \"categoryId\": null,\r\n            \"brandId\": null\r\n        }\r\n    ],\r\n    \"total_item\": 150000,\r\n    \"total_discounts\": 58200,\r\n    \"total_shipping\": 44160,\r\n    \"total_taxes\": 0,\r\n    \"total_order\": 145960\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/reward/search","description":"<p><strong>Request body parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>interface *</td>\n<td>string</td>\n<td>interface of sale</td>\n</tr>\n<tr>\n<td>storeId *</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>client</td>\n<td>array / int / null</td>\n<td>In this field, you can enter an <code>id</code>(person ID, guper), leave it as <code>null</code> to represent an anonymous customer, or fill it with a complete customer's data, as shown in the example: <code>{\"id\": \"47\", \"name\": \"Trifólio Girassol\", \"</code>countryCallingCode\": 55 <code>\"cellphone\": \"19954264546\", \"email\": \"</code><a href=\"https://\"><code>trifolio@girassol.com</code></a><code>\"};</code>  <br />For already registered customers, it is necessary to provide at least <code>id</code> or <code>cellphone</code>. To register a new customer, you need to include <code>id</code>, <code>cellphone</code>, and <code>name</code>. Our API is responsible for handling customer registration and retrieval efficiently using this information.</td>\n</tr>\n<tr>\n<td>attendants</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>items *</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>total_order</td>\n<td>int</td>\n<td>total order amount</td>\n</tr>\n<tr>\n<td>total_item</td>\n<td>int</td>\n<td>total value of items only</td>\n</tr>\n<tr>\n<td>total_shipping</td>\n<td>int</td>\n<td>total amount of shipping fee only</td>\n</tr>\n<tr>\n<td>total_discounts</td>\n<td>int</td>\n<td>total amount of discounts; <em>Cashback values ​​should not be passed in this field</em></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","reward","search"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"2bd7915c-115a-47aa-bb3b-6ef1d3bffbfb","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"x-guper-authorization","value":""}],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"l29\",\r\n    \"storeId\": {{storeId}},\r\n    \"client\":{\r\n        \"name\":\"Krista Sipes\",\"email\":\"Reinhold_Gibson@gmail.com\",\"cellphone\":\"+753775103327\"\r\n    },\r\n    \"attendants\": {\r\n        \"cashierId\": \"123\",\r\n        \"salespersonId\": \"342\"\r\n    },\r\n    \"status\": \"new\",\r\n    \"items\": [\r\n        {\r\n            \"SKUId\": 123,\r\n            \"name\": \"tshirt\",\r\n            \"categoryId\": 5,\r\n            \"brandId\": \"45\",\r\n            \"quantity\": 2,\r\n            \"price\": 10000\r\n        }\r\n    ],\r\n    \"total_order\": 20000,\r\n    \"total_item\": 20000,\r\n    \"total_shipping\": 0,\r\n    \"total_discounts\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/cashbackFromOrder"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 09 Oct 2023 17:37:06 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"528"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"organization\": \"acme\",\n    \"client\": {\n        \"name\": \"Krista Sipes\",\n        \"email\": \"Reinhold_Gibson@gmail.com\",\n        \"cellphone\": \"+753775103327\",\n        \"refId\": false,\n        \"id\": 605,\n        \"countryCallingCode\": null,\n        \"document\": null,\n        \"language\": null\n    },\n    \"cashback\": {\n        \"thisOrder\": {\n            \"accumulating\": {\n                \"total\": 2000\n            },\n            \"redeemable\": {\n                \"total\": 2000,\n                \"item\": [\n                    {\n                        \"sku\": 123,\n                        \"value\": 18000\n                    }\n                ]\n            }\n        },\n        \"userBalance\": {\n            \"total\": 0,\n            \"availableAmount\": 0\n        }\n    },\n    \"confirmToken\": \"a79ae20a79b7667286c2f6a566d0b7e6317ac7fdbec8daba823a1dd62d0c88b5\",\n    \"expiresAt\": \"2023-10-09T15:07:23-03:00\",\n    \"dateTime\": \"2023-10-09T14:37:23-03:00\"\n}"}],"_postman_id":"1886b053-39d0-4eae-a9e9-819a6e8baa14"},{"name":"Create by order","event":[{"listen":"test","script":{"id":"607b67b9-384b-4b1d-a29a-34c811613eb4","exec":["((pm) => {\r","\r","    // Extract the value of 'confirmToken' from the response body in JSON format\r","    const responseBody = pm.response.json();\r","\r","    // Check if 'confirmToken' is present in the response body\r","    if ('confirmToken' in responseBody) {\r","        // Get the value of 'confirmToken'\r","        const confirmTokenValue = responseBody.confirmToken;\r","\r","        // Set the value of 'confirmToken' in the environment variable with the same name\r","        pm.environment.set('confirmToken', confirmTokenValue);\r","\r","        // Log the confirmation of the process in the tests section\r","        console.log(`Value of 'confirmToken' set in the environment variable: ${confirmTokenValue}`);\r","    } else {\r","        // If 'confirmToken' is not present in the response, log a warning in the tests section\r","        console.log('The key \"confirmToken\" was not found in the response body.');\r","    }\r","\r","})(pm);"],"type":"text/javascript"}}],"id":"43b17daa-f09f-493f-a85c-cf4c4a60117f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"orderId\": 286,\r\n    \"interface\": \"vtex\",\r\n    \"storeRefId\": \"vtex\",\r\n    \"client\": {\r\n        \"refId\": \"3143c4fb-af42-4a0d-8719-3d218937ded8\",\r\n        \"name\": \"Rodrigo Dechen\",\r\n        \"email\": \"mestri.rodrigo@gmail.com\",\r\n        \"document\": \"44613737\",\r\n        \"cellphone\": \"+5491198112726\",\r\n        \"id\": 654\r\n    },\r\n    \"items\": [\r\n        {\r\n            \"skuRefId\": \"2\",\r\n            \"name\": \"Smartphone MK1 Preto\",\r\n            \"categoryRefId\": 2,\r\n            \"brandRefId\": \"2000000\",\r\n            \"quantity\": 1,\r\n            \"productPrice\": 360000,\r\n            \"sellingPrice\": 220320,\r\n            \"categoryId\": 637,\r\n            \"brandId\": 4382\r\n        }\r\n    ],\r\n    \"total_order\": 265673,\r\n    \"total_item\": 360000,\r\n    \"total_discounts\": 139680,\r\n    \"total_shipping\": 45353\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/card/byOrder","description":"<p><strong>Request body parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>interface *</td>\n<td>string</td>\n<td>interface of sale</td>\n</tr>\n<tr>\n<td>storeId *</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>client</td>\n<td>array / int / null</td>\n<td>In this field, you can enter an <code>id</code>(person ID, guper), leave it as <code>null</code> to represent an anonymous customer, or fill it with a complete customer's data, as shown in the example: <code>{\"id\": \"47\", \"name\": \"Trifólio Girassol\", \"</code>countryCallingCode\": 55 <code>\"cellphone\": \"19954264546\", \"email\": \"</code><a href=\"https://\"><code>trifolio@girassol.com</code></a><code>\"};</code>  <br />For already registered customers, it is necessary to provide at least <code>id</code> or <code>cellphone</code>. To register a new customer, you need to include <code>id</code>, <code>cellphone</code>, and <code>name</code>. Our API is responsible for handling customer registration and retrieval efficiently using this information.</td>\n</tr>\n<tr>\n<td>attendants</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>items *</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>total_order</td>\n<td>int</td>\n<td>total order amount</td>\n</tr>\n<tr>\n<td>total_item</td>\n<td>int</td>\n<td>total value of items only</td>\n</tr>\n<tr>\n<td>total_shipping</td>\n<td>int</td>\n<td>total amount of shipping fee only</td>\n</tr>\n<tr>\n<td>total_discounts</td>\n<td>int</td>\n<td>total amount of discounts; <em>Cashback values ​​should not be passed in this field</em></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","card","byOrder"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"c3371e2f-753d-45c8-811b-36eb8e676f0d","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"x-guper-authorization","value":""}],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"l29\",\r\n    \"storeId\": {{storeId}},\r\n    \"client\":{\r\n        \"name\":\"Krista Sipes\",\"email\":\"Reinhold_Gibson@gmail.com\",\"cellphone\":\"+753775103327\"\r\n    },\r\n    \"attendants\": {\r\n        \"cashierId\": \"123\",\r\n        \"salespersonId\": \"342\"\r\n    },\r\n    \"status\": \"new\",\r\n    \"items\": [\r\n        {\r\n            \"SKUId\": 123,\r\n            \"name\": \"tshirt\",\r\n            \"categoryId\": 5,\r\n            \"brandId\": \"45\",\r\n            \"quantity\": 2,\r\n            \"price\": 10000\r\n        }\r\n    ],\r\n    \"total_order\": 20000,\r\n    \"total_item\": 20000,\r\n    \"total_shipping\": 0,\r\n    \"total_discounts\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/cashbackFromOrder"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 09 Oct 2023 17:37:06 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"528"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"organization\": \"acme\",\n    \"client\": {\n        \"name\": \"Krista Sipes\",\n        \"email\": \"Reinhold_Gibson@gmail.com\",\n        \"cellphone\": \"+753775103327\",\n        \"refId\": false,\n        \"id\": 605,\n        \"countryCallingCode\": null,\n        \"document\": null,\n        \"language\": null\n    },\n    \"cashback\": {\n        \"thisOrder\": {\n            \"accumulating\": {\n                \"total\": 2000\n            },\n            \"redeemable\": {\n                \"total\": 2000,\n                \"item\": [\n                    {\n                        \"sku\": 123,\n                        \"value\": 18000\n                    }\n                ]\n            }\n        },\n        \"userBalance\": {\n            \"total\": 0,\n            \"availableAmount\": 0\n        }\n    },\n    \"confirmToken\": \"a79ae20a79b7667286c2f6a566d0b7e6317ac7fdbec8daba823a1dd62d0c88b5\",\n    \"expiresAt\": \"2023-10-09T15:07:23-03:00\",\n    \"dateTime\": \"2023-10-09T14:37:23-03:00\"\n}"}],"_postman_id":"43b17daa-f09f-493f-a85c-cf4c4a60117f"},{"name":"Settle","event":[{"listen":"test","script":{"id":"607b67b9-384b-4b1d-a29a-34c811613eb4","exec":["((pm) => {\r","\r","    // Extract the value of 'confirmToken' from the response body in JSON format\r","    const responseBody = pm.response.json();\r","\r","    // Check if 'confirmToken' is present in the response body\r","    if ('confirmToken' in responseBody) {\r","        // Get the value of 'confirmToken'\r","        const confirmTokenValue = responseBody.confirmToken;\r","\r","        // Set the value of 'confirmToken' in the environment variable with the same name\r","        pm.environment.set('confirmToken', confirmTokenValue);\r","\r","        // Log the confirmation of the process in the tests section\r","        console.log(`Value of 'confirmToken' set in the environment variable: ${confirmTokenValue}`);\r","    } else {\r","        // If 'confirmToken' is not present in the response, log a warning in the tests section\r","        console.log('The key \"confirmToken\" was not found in the response body.');\r","    }\r","\r","})(pm);"],"type":"text/javascript","packages":{}}}],"id":"32b7caf5-fb51-4fb4-847d-a2cc921d3dc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/loyalty/reward/settle/:hash","description":"<p><strong>Request body parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>interface *</td>\n<td>string</td>\n<td>interface of sale</td>\n</tr>\n<tr>\n<td>storeId *</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>client</td>\n<td>array / int / null</td>\n<td>In this field, you can enter an <code>id</code>(person ID, guper), leave it as <code>null</code> to represent an anonymous customer, or fill it with a complete customer's data, as shown in the example: <code>{\"id\": \"47\", \"name\": \"Trifólio Girassol\", \"</code>countryCallingCode\": 55 <code>\"cellphone\": \"19954264546\", \"email\": \"</code><a href=\"https://\"><code>trifolio@girassol.com</code></a><code>\"};</code>  <br />For already registered customers, it is necessary to provide at least <code>id</code> or <code>cellphone</code>. To register a new customer, you need to include <code>id</code>, <code>cellphone</code>, and <code>name</code>. Our API is responsible for handling customer registration and retrieval efficiently using this information.</td>\n</tr>\n<tr>\n<td>attendants</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>items *</td>\n<td>array</td>\n<td></td>\n</tr>\n<tr>\n<td>total_order</td>\n<td>int</td>\n<td>total order amount</td>\n</tr>\n<tr>\n<td>total_item</td>\n<td>int</td>\n<td>total value of items only</td>\n</tr>\n<tr>\n<td>total_shipping</td>\n<td>int</td>\n<td>total amount of shipping fee only</td>\n</tr>\n<tr>\n<td>total_discounts</td>\n<td>int</td>\n<td>total amount of discounts; <em>Cashback values ​​should not be passed in this field</em></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","reward","settle",":hash"],"host":["acme","myguper.com"],"query":[],"variable":[{"id":"9b3fca3c-6fca-4572-a02a-008969e06077","description":{"content":"<p>Confirm Token</p>\n","type":"text/plain"},"type":"any","value":"","key":"hash"}]}},"response":[],"_postman_id":"32b7caf5-fb51-4fb4-847d-a2cc921d3dc2"}],"id":"f1753f36-1e87-4cf7-8cc5-ffae0f4127fe","_postman_id":"f1753f36-1e87-4cf7-8cc5-ffae0f4127fe","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Policy","item":[{"name":"List","id":"ddda8c36-6e63-4de5-ac0f-267ea2a50cb1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/loyalty/wallet","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","wallet"],"host":["acme","myguper.com"],"query":[{"disabled":true,"key":"entries","value":"10"},{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"q[id]","value":"1"},{"disabled":true,"key":"q[name]","value":"My Wallet"},{"disabled":true,"key":"q[%name%]","value":"My"}],"variable":[]}},"response":[{"id":"342ea10b-e602-4283-a298-20798760ad04","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://acme.myguper.com/api/loyalty/wallet","protocol":"https","host":["acme","myguper.com"],"path":["api","loyalty","wallet"],"query":[{"key":"entries","value":"10","disabled":true},{"key":"page","value":"1","disabled":true},{"key":"q[id]","value":"1","disabled":true},{"key":"q[name]","value":"My Wallet","disabled":true},{"key":"q[%name%]","value":"My","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Mon, 08 Sep 2025 13:45:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.28.0"},{"key":"X-Powered-By","value":"PHP/8.1.33"},{"key":"Set-Cookie","value":"PHPSESSID=8a15b0a14e7a03bd0dd3ad8e68bc28afd7b4c120cad158cd80268687e84d8b60loyalty; expires=Mon, 08-Sep-2025 14:15:35 GMT; Max-Age=1800; path=/; secure; HttpOnly"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"list\": [\n        {\n            \"id\": 16,\n            \"name\": \"Ecommerce\",\n            \"rewardType\": \"monetary\",\n            \"pointsDividend\": null,\n            \"pointsDivisor\": null,\n            \"categoryIds\": null,\n            \"collectionIds\": null,\n            \"tagIds\": null,\n            \"storeBound\": 0,\n            \"minOrderTotal\": 0,\n            \"maxOrderRate\": 0.3\n        },\n        {\n            \"id\": 30,\n            \"name\": \"Franquias\",\n            \"rewardType\": \"monetary\",\n            \"pointsDividend\": null,\n            \"pointsDivisor\": null,\n            \"categoryIds\": null,\n            \"collectionIds\": null,\n            \"tagIds\": null,\n            \"storeBound\": 0,\n            \"minOrderTotal\": 0,\n            \"maxOrderRate\": 0.3\n        }\n    ],\n    \"total\": 2,\n    \"pagination\": {\n        \"entries\": 50,\n        \"order\": [],\n        \"totalPages\": 1,\n        \"currentPage\": 1,\n        \"isInitial\": true,\n        \"isEnd\": true,\n        \"totalPrevPages\": 0,\n        \"totalNextPages\": 0\n    }\n}"}],"_postman_id":"ddda8c36-6e63-4de5-ac0f-267ea2a50cb1"},{"name":"Read","id":"05d51f79-3721-4a12-928a-03d37adf7b0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/loyalty/wallet/:id","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","wallet",":id"],"host":["acme","myguper.com"],"query":[],"variable":[{"id":"52b30ed7-eb28-42f8-a8c3-5e30e9205d88","type":"any","value":"16","key":"id"}]}},"response":[{"id":"50237589-6ca4-42f5-af8e-2db521d75e0e","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://acme.myguper.com/api/loyalty/wallet/:id","protocol":"https","host":["acme","myguper.com"],"path":["api","loyalty","wallet",":id"],"variable":[{"key":"id","value":"16"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Mon, 08 Sep 2025 13:47:58 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.28.0"},{"key":"X-Powered-By","value":"PHP/8.1.33"},{"key":"Set-Cookie","value":"PHPSESSID=8a15b0a14e7a03bd0dd3ad8e68bc28afd7b4c120cad158cd80268687e84d8b60loyalty; expires=Mon, 08-Sep-2025 14:17:58 GMT; Max-Age=1800; path=/; secure; HttpOnly"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 16,\n    \"name\": \"Ecommerce\",\n    \"rewardType\": \"monetary\",\n    \"pointsDividend\": null,\n    \"pointsDivisor\": null,\n    \"categoryIds\": null,\n    \"collectionIds\": null,\n    \"tagIds\": null,\n    \"storeBound\": 0,\n    \"minOrderTotal\": 0,\n    \"maxOrderRate\": 0.3\n}"}],"_postman_id":"05d51f79-3721-4a12-928a-03d37adf7b0b"}],"id":"01418e57-7834-4a23-b2d3-f23ad67ca28c","_postman_id":"01418e57-7834-4a23-b2d3-f23ad67ca28c","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Ping","id":"138a92d7-545d-4013-a59d-45de3dc74d32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/loyalty/ping","description":"<p>Resource for checking service availability</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","loyalty","ping"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"b95a60e5-1894-4bd9-95a7-a2c70b83978a","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"url":"https://acme.myguper.com/api/loyalty/ping"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 11 Aug 2023 16:58:02 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"89"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"organization\": \"acme\",\n    \"response\": \"Server online\",\n    \"dateTime\": \"2023-08-11T13:58:07-03:00\"\n}"}],"_postman_id":"138a92d7-545d-4013-a59d-45de3dc74d32"}],"id":"dc693b4b-0133-408c-97a1-1d2a046a282e","_postman_id":"dc693b4b-0133-408c-97a1-1d2a046a282e","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Catalog","item":[{"name":"Category","item":[{"name":"List","id":"0812a63d-4f6a-43a2-98d6-4b3544664716","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/catalog/category","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","catalog","category"],"host":["acme","myguper.com"],"query":[{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"entries","value":"100"},{"disabled":true,"key":"q[category]","value":"Category name"}],"variable":[]}},"response":[],"_postman_id":"0812a63d-4f6a-43a2-98d6-4b3544664716"},{"name":"Read","id":"16c1b9c7-397d-4db1-bcaf-93af3f217385","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/catalog/category/:refId","description":"<h3 id=\"retrieve-category-details\">Retrieve Category Details</h3>\n<p>This endpoint retrieves the details of a specific category by providing the reference ID in the URL path.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>https://acme.myguper.com/api/catalog/category/:refId</code></p>\n</li>\n<li><p>Path Parameters:</p>\n<ul>\n<li><code>refId</code>: The reference ID of the category to retrieve.</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","catalog","category",":refId"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"","key":"refId"}]}},"response":[],"_postman_id":"16c1b9c7-397d-4db1-bcaf-93af3f217385"},{"name":"Create","id":"df378aa7-1fac-415b-950b-172785f39857","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"category\": \"Polos\",\r\n    \"parent\": \"133\",\r\n    \"refId\": \"139\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/catalog/category","description":"<h3 id=\"http-post-apicatalogcategory\">HTTP POST /api/catalog/category</h3>\n<p>Request for registering people</p>\n<ul>\n<li>Request body (raw) type: JSON</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>category</td>\n<td>Polos</td>\n</tr>\n<tr>\n<td>parent</td>\n<td>133</td>\n</tr>\n<tr>\n<td>refId</td>\n<td>139</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response\">Response</h4>\n<p>The response for this request can be represented as a JSON schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"category\": {\n      \"type\": \"string\"\n    },\n    \"parent\": {\n      \"type\": \"string\"\n    },\n    \"refId\": {\n      \"type\": \"string\"\n    },\n    \"organization\": {\n      \"type\": \"string\"\n    },\n    \"dateTime\": {\n      \"type\": \"string\"\n    }\n  }\n}\n\n</code></pre>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","catalog","category"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"db8ab4dd-bec2-4d10-ab20-add88ef66f14","name":"Success","originalRequest":{"method":"POST","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"category\": \"Shirts\",\r\n    \"refId\": \"133\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/catalog/category"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 23 Aug 2023 23:27:35 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"96"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"category\": \"Shirts\",\n    \"refId\": \"133\",\n    \"organization\": \"acme\",\n    \"dateTime\": \"2023-08-23T20:27:39-03:00\"\n}"},{"id":"a2ea3b18-fc7d-40b1-844e-cdb9592bc1fe","name":"Success with parent","originalRequest":{"method":"POST","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"category\": \"Polos\",\r\n    \"parent\": \"133\",\r\n    \"refId\": \"139\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/catalog/category"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 23 Aug 2023 23:31:54 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"110"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"category\": \"Polos\",\n    \"parent\": \"133\",\n    \"refId\": \"139\",\n    \"organization\": \"acme\",\n    \"dateTime\": \"2023-08-23T20:31:58-03:00\"\n}"}],"_postman_id":"df378aa7-1fac-415b-950b-172785f39857"},{"name":"Update","id":"58fc30db-e646-4b74-b1ac-0a1f96bb2809","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"category\": \"Polos\",\r\n    \"parent\": \"133\",\r\n    \"refId\": \"139\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/catalog/category","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","catalog","category"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"2e8b03ed-0144-4ac0-8bc0-80d87f5ee25a","name":"Success","originalRequest":{"method":"PUT","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"category\": \"Polos\",\r\n    \"parent\": \"133\",\r\n    \"refId\": \"139\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/catalog/category"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 23 Aug 2023 23:41:16 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"110"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"category\": \"Polos\",\n    \"parent\": \"133\",\n    \"refId\": \"139\",\n    \"organization\": \"acme\",\n    \"dateTime\": \"2023-08-23T20:41:20-03:00\"\n}"}],"_postman_id":"58fc30db-e646-4b74-b1ac-0a1f96bb2809"},{"name":"Remove","id":"a0730c37-540a-4f80-b37e-2fbb6c8ce0bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"refId\": 1329\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/catalog/category","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","catalog","category"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"82a91f5f-c848-4079-b63a-2bf4c135a975","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"refId\": 1329\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/catalog/category"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 23 Aug 2023 23:36:41 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"60"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": {\n        \"refId\": 1329\n    },\n    \"dateTime\": \"2023-08-23T20:36:45-03:00\"\n}"}],"_postman_id":"a0730c37-540a-4f80-b37e-2fbb6c8ce0bf"}],"id":"ed64db9f-e274-4223-97d9-2ea6a6771c1f","_postman_id":"ed64db9f-e274-4223-97d9-2ea6a6771c1f","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Brand","item":[{"name":"Create","id":"98a155e2-5741-48e6-b19d-02254fbb2801","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"PoloPlay\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/catalog/brand","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","catalog","brand"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"b35fb789-119a-47a0-aa1f-5649bf200403","name":"Success","originalRequest":{"method":"POST","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"brand\": \"Alfani\",\r\n    \"refId\": \"alfani\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/catalog/brand"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 23 Aug 2023 23:53:38 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"79"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"refId\": \"alfani\",\n    \"organization\": \"acme\",\n    \"dateTime\": \"2023-08-23T20:53:41-03:00\"\n}"}],"_postman_id":"98a155e2-5741-48e6-b19d-02254fbb2801"},{"name":"Update","id":"1c45efe1-5bbc-44e0-844a-9d44e24b082d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Alfani\",\r\n    \"refId\": \"alfani\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/catalog/category","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","catalog","category"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"0fdbcc7d-4ac3-4e2f-b3cb-fcdfc5757a3a","name":"Success","originalRequest":{"method":"PUT","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"brand\": \"Alfani\",\r\n    \"refId\": \"alfani\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/catalog/category"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 23 Aug 2023 23:54:19 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"79"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"refId\": \"alfani\",\n    \"organization\": \"acme\",\n    \"dateTime\": \"2023-08-23T20:54:23-03:00\"\n}"}],"_postman_id":"1c45efe1-5bbc-44e0-844a-9d44e24b082d"},{"name":"Remove","id":"5ee6bccd-a498-4459-a551-1f4a6fb66537","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"refId\": \"3566\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/catalog/category","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","catalog","category"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"38f857b2-132c-4ffd-b78c-8270bf87bd20","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"refId\": \"3566\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/catalog/category"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 23 Aug 2023 23:55:08 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"62"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": {\n        \"refId\": \"3566\"\n    },\n    \"dateTime\": \"2023-08-23T20:55:12-03:00\"\n}"}],"_postman_id":"5ee6bccd-a498-4459-a551-1f4a6fb66537"}],"id":"f2bc56e9-116f-4ebe-b1a5-c69c1699cda3","_postman_id":"f2bc56e9-116f-4ebe-b1a5-c69c1699cda3","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Collection","item":[{"name":"SKU","item":[{"name":"Map Skus to collections","id":"956d977a-9a4a-4fb7-8a87-753148268b4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n    21,10,1\r\n]","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/catalog/collection/query/by/:interface","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","catalog","collection","query","by",":interface"],"host":["acme","myguper.com"],"query":[],"variable":[{"id":"f236f2ed-41cd-450a-8f4a-a9d3cf4a4f9d","type":"any","value":"generic","key":"interface"}]}},"response":[{"id":"ad9ab7a6-fb17-46a3-ae9f-0773596e2374","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n    21,10,1\r\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://acme.myguper.com/api/catalog/collection/query/by/:interface","protocol":"https","host":["acme","myguper.com"],"path":["api","catalog","collection","query","by",":interface"],"variable":[{"key":"interface","value":"empty"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 21 Feb 2025 21:53:54 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"97"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"1\": {\n        \"id\": 1,\n        \"collection\": [\n            2,\n            1\n        ]\n    },\n    \"10\": {\n        \"id\": 10,\n        \"collection\": [\n            2\n        ]\n    },\n    \"21\": {\n        \"id\": 21,\n        \"collection\": [\n            2\n        ]\n    }\n}"}],"_postman_id":"956d977a-9a4a-4fb7-8a87-753148268b4e"}],"id":"d668eed1-0fb6-440f-8a60-aaba1a466b74","_postman_id":"d668eed1-0fb6-440f-8a60-aaba1a466b74","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}}],"id":"93bd3488-1849-484c-a428-febedc148fc9","_postman_id":"93bd3488-1849-484c-a428-febedc148fc9","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Ping","id":"55d2caee-28d8-466b-9481-d2fe3bd27096","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://acme.myguper.com/api/catalog/ping","description":"<p>Resource for checking service availability</p>\n","urlObject":{"protocol":"https","path":["api","catalog","ping"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"d30d1917-83ea-4eb7-a318-d4331bb5e110","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"url":"https://acme.myguper.com/api/register/ping"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 11 Aug 2023 16:48:47 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"84"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"account\": \"acme\",\n    \"response\": \"Server online\",\n    \"dateTime\": \"2023-08-11T13:48:50-03:00\"\n}"}],"_postman_id":"55d2caee-28d8-466b-9481-d2fe3bd27096"}],"id":"12e11211-9157-4eec-9dba-eaaa469675e8","event":[{"listen":"prerequest","script":{"id":"9ad43236-e9a3-4df8-8ef5-12e8d6e557c4","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"21e341aa-6015-43c2-900e-eda9126df538","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"12e11211-9157-4eec-9dba-eaaa469675e8","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Order API","item":[{"name":"Feed","item":[{"name":"Retrieve items","id":"57df9c7a-7317-4c78-83ec-2ed2e6066f52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/order/feed","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","order","feed"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"56e5c4da-b0a5-4ebb-9b62-a61e20274023","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/feed"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 19 Aug 2025 18:12:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.28.0"},{"key":"X-Powered-By","value":"PHP/8.1.33"},{"key":"Set-Cookie","value":"PHPSESSID=1a56540396116d90c1ec6e886b19bfc8bb43604923276fa7b20db79a33f72b11register; expires=Tue, 19-Aug-2025 18:42:21 GMT; Max-Age=1800; path=/; secure; HttpOnly"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"confirmToken\": \"2A0067C7FECB11EFAAC602B02E860C9532173\",\n        \"subscriber\": \"cloe-acme-TARQTDBN\",\n        \"module\": \"order\",\n        \"key\": 71918412,\n        \"confirmedAt\": null,\n        \"createdAt\": \"2025-03-11T16:50:00-03:00\"\n    },\n    {\n        \"confirmToken\": \"409FBC97FED111EFAAC602B02E860C9578560\",\n        \"subscriber\": \"cloe-acme-TARQTDBN\",\n        \"module\": \"order\",\n        \"key\": 71928432,\n        \"confirmedAt\": null,\n        \"createdAt\": \"2025-03-11T17:33:35-03:00\"\n    },\n    {\n        \"confirmToken\": \"65as4d6as85d49qd51q69we54q9w58de496sa\",\n        \"subscriber\": \"cloe-acme-TARQTDBN\",\n        \"module\": \"order\",\n        \"key\": 71896943,\n        \"confirmedAt\": null,\n        \"createdAt\": \"2025-03-11T14:41:14-03:00\"\n    },\n    {\n        \"confirmToken\": \"8374E01DFEC111EFAAC602B02E860C9555273\",\n        \"subscriber\": \"cloe-acme-TARQTDBN\",\n        \"module\": \"order\",\n        \"key\": 71906811,\n        \"confirmedAt\": null,\n        \"createdAt\": \"2025-03-11T15:40:55-03:00\"\n    }\n]"}],"_postman_id":"57df9c7a-7317-4c78-83ec-2ed2e6066f52"},{"name":"Commit items","id":"9a3d1274-b22e-4b98-a458-e97fab563325","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"tokens\": [\r\n        \"94d1499024f3d14a8d4376ecae6b20e09bf909e7\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/order/feed","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","order","feed"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9a3d1274-b22e-4b98-a458-e97fab563325"}],"id":"3b8ca0b9-d69e-437f-856c-02d001d64b8a","_postman_id":"3b8ca0b9-d69e-437f-856c-02d001d64b8a","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Order","item":[{"name":"Import","item":[{"name":"Batch Import","id":"82123cda-b992-43ec-8468-9454fe56a7fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"config\": {\r\n        \"mode\": \"upsert\" // append (default) | upsert | replace | skip-duplicates\r\n    },\r\n    \"purchases\": [\r\n        {\r\n            \"interface\": \"generic\",\r\n            \"storeId\": \"1\",\r\n            \"id\": \"693462157\",\r\n            \"creationDate\": \"2023-01-15 10:45:37\",\r\n            \"status\": \"completed\",\r\n            \"attendants\": { //optional\r\n                \"cashier\": { //optional\r\n                    \"id\": \"123123\", //optional\r\n                    \"name\": \"tintin\", //optional\r\n                    \"email\": \"tintin@gmail.com\", //optional\r\n                    \"cellphone\": \"11112356549\" //optional\r\n                },\r\n                \"salesperson\": { //optional\r\n                    \"id\": \"123123\", //optional\r\n                    \"name\": \"tintin\", //optional\r\n                    \"email\": \"tintin@gmail.com\", //optional\r\n                    \"cellphone\": \"11112356549\" //optional\r\n                }\r\n            },\r\n            \"client\": {\r\n                \"id\": \"123123\",\r\n                \"name\": \"tintin\",\r\n                \"email\": \"tintin@gmail.com\",\r\n                \"cellphone\": \"11112356549\"\r\n            },\r\n            \"items\": [\r\n                {\r\n                    \"skuId\": \"47142\",\r\n                    \"name\": \"Sandalia Salto Alto 38\",\r\n                    \"categoryId\": 1186,\r\n                    \"brandId\": 69367,\r\n                    \"quantity\": 1,\r\n                    \"price\": 4448,\r\n                    \"listPrice\": 4448,\r\n                    \"tax\": 0\r\n                }\r\n            ],\r\n            \"payments\": [ //optional\r\n                {\r\n                    \"paymentSystem\": \"4fa\",\r\n                    \"value\": 5447,\r\n                    \"paymentSystemName\": \"Mastercard\", //optional\r\n                    \"type\": \"creditCard\",\r\n                    \"installments\": 3, //optional\r\n                    \"firstDigits\": \"550209\", //optional\r\n                    \"lastDigits\": \"2569\" //optional\r\n                }\r\n            ],\r\n            \"shipping\": [ //optional\r\n                {\r\n                    \"id\": \"AA123456785BR\",\r\n                    \"courierId\": \"correios-br\",\r\n                    \"courierName\": \"Correios\",\r\n                    \"price\": 2000,\r\n                    \"listPrice\": 2000\r\n                }\r\n            ],\r\n            \"total_item\": 4448,\r\n            \"total_discounts\": 0,\r\n            \"total_shipping\": 999,\r\n            \"total_tax\": 0\r\n        } //, {}, ...\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/order/import","description":"<h1 id=\"order-import-api-documentation\"><strong>Order Import API Documentation</strong></h1>\n<p>This API enables the batch import of multiple purchase orders in a single request. It is designed to handle large datasets efficiently, processing multiple purchases simultaneously. Each purchase record should include all necessary details, such as items, prices, and other related information. This API is ideal for integrating multiple transactions at once.</p>\n<h2 id=\"fields\"><strong>Fields</strong></h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Represents the order status. Possible values: <code>registered</code>, <code>canceled</code>, <code>completed</code>.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","order","import"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"39c51c01-c7f0-48fe-b176-f1e421b98ff2","name":"Success","originalRequest":{"method":"POST","header":[{"key":"x-guper-authorization","value":""}],"body":{"mode":"raw","raw":"{\r\n    \"config\": {\r\n        \"mode\": \"upsert\" // append (default) | upsert | replace | skip-duplicates\r\n    },\r\n    \"purchases\": [\r\n        {\r\n            \"interface\": \"generic\",\r\n            \"storeId\": \"1\",\r\n            \"id\": \"87569027\",\r\n            \"creationDate\": \"2023-01-15 10:45:37\",\r\n            \"status\": \"completed\",\r\n            \"attendants\": { //optional\r\n                \"cashier\": { //optional\r\n                    \"id\": \"123123\", //optional\r\n                    \"name\": \"tintin\", //optional\r\n                    \"email\": \"tintin@gmail.com\", //optional\r\n                    \"cellphone\": \"11112356549\" //optional\r\n                },\r\n                \"salesperson\": { //optional\r\n                    \"id\": \"123123\", //optional\r\n                    \"name\": \"tintin\", //optional\r\n                    \"email\": \"tintin@gmail.com\", //optional\r\n                    \"cellphone\": \"11112356549\" //optional\r\n                }\r\n            },\r\n            \"client\": {\r\n                \"id\": \"123123\",\r\n                \"name\": \"tintin\",\r\n                \"email\": \"tintin@gmail.com\",\r\n                \"cellphone\": \"11112356549\"\r\n            },\r\n            \"items\": [\r\n                {\r\n                    \"skuId\": \"47142\",\r\n                    \"name\": \"Sandalia Salto Alto 38\",\r\n                    \"categoryId\": 1186,\r\n                    \"brandId\": 69367,\r\n                    \"quantity\": 1,\r\n                    \"price\": 4448,\r\n                    \"listPrice\": 4448,\r\n                    \"tax\": 0\r\n                }\r\n            ],\r\n            \"payments\": [ //optional\r\n                {\r\n                    \"paymentSystem\": \"4fa\",\r\n                    \"value\": 5447,\r\n                    \"paymentSystemName\": \"Mastercard\", //optional\r\n                    \"type\": \"creditCard\",\r\n                    \"installments\": 3, //optional\r\n                    \"firstDigits\": \"550209\", //optional\r\n                    \"lastDigits\": \"2569\" //optional\r\n                }\r\n            ],\r\n            \"shipping\": [ //optional\r\n                {\r\n                    \"id\": \"AA123456785BR\",\r\n                    \"courierId\": \"correios-br\",\r\n                    \"courierName\": \"Correios\",\r\n                    \"price\": 2000,\r\n                    \"listPrice\": 2000\r\n                }\r\n            ],\r\n            \"total_item\": 4448,\r\n            \"total_discounts\": 0,\r\n            \"total_shipping\": 999,\r\n            \"total_tax\": 0\r\n        } //, {}, ...\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/order/import"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 14 Aug 2024 18:39:02 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"705"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"refId\": \"908192165\",\n        \"interface\": \"generic\",\n        \"orderMirror\": [],\n        \"originalOrderMirror\": {\n            \"interface\": \"generic\",\n            \"checkoutId\": \"908192165\",\n            \"storeId\": \"1\",\n            \"id\": \"908192165\",\n            \"creationDate\": \"2023-01-15 10:45:37\",\n            \"attendants\": {\n                \"cashierId\": \"123\",\n                \"salespersonId\": \"123\"\n            },\n            \"client\": {\n                \"id\": \"123123\",\n                \"name\": \"tintin\",\n                \"email\": \"tintin@gmail.com\",\n                \"cellphone\": \"11112356549\"\n            },\n            \"items\": [\n                {\n                    \"skuRefId\": \"47142\",\n                    \"name\": \"Sandalia Salto Alto 38\",\n                    \"categoryId\": 1186,\n                    \"brandId\": 69367,\n                    \"quantity\": 1,\n                    \"productPrice\": 4448,\n                    \"sellingPrice\": 4448\n                }\n            ],\n            \"payments\": [\n                {\n                    \"paymentId\": \"125\",\n                    \"value\": 5447\n                }\n            ],\n            \"total_item\": 4448,\n            \"total_discounts\": 0,\n            \"total_shipping\": 999,\n            \"total_taxes\": 0,\n            \"total_order\": 5447\n        },\n        \"status\": \"original_order_mirror\",\n        \"organization\": \"acme\",\n        \"id\": 2138,\n        \"dateTime\": \"2024-08-14T15:39:02-03:00\"\n    }\n]"}],"_postman_id":"82123cda-b992-43ec-8468-9454fe56a7fd"},{"name":"Single Import","id":"7a9a0272-68b9-479b-99fa-c383a131a75f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"generic\",\r\n    \"storeId\": \"1\",\r\n    \"id\": \"989895832\",\r\n    \"creationDate\": \"2023-01-15 10:45:37\",\r\n    \"status\": \"completed\",\r\n    \"attendants\": { //optional\r\n        \"cashier\": { //optional\r\n            \"id\": \"123123\", //optional\r\n            \"name\": \"tintin\", //optional\r\n            \"email\": \"tintin@gmail.com\", //optional\r\n            \"cellphone\": \"11112356549\" //optional\r\n        },\r\n        \"salesperson\": { //optional\r\n            \"id\": \"123123\", //optional\r\n            \"name\": \"tintin\", //optional\r\n            \"email\": \"tintin@gmail.com\", //optional\r\n            \"cellphone\": \"11112356549\" //optional\r\n        }\r\n    },\r\n    \"client\": {\r\n        \"id\": \"123123\",\r\n        \"name\": \"tintin\",\r\n        \"email\": \"tintin@gmail.com\",\r\n        \"cellphone\": \"11112356549\"\r\n    },\r\n    \"items\": [\r\n        {\r\n            \"skuId\": \"47142\",\r\n            \"name\": \"Sandalia Salto Alto 38\",\r\n            \"categoryId\": 1186,\r\n            \"brandId\": 69367,\r\n            \"quantity\": 1,\r\n            \"price\": 4448,\r\n            \"listPrice\": 4448,\r\n            \"tax\": 0\r\n        }\r\n    ],\r\n    \"payments\": [ //optional\r\n        {\r\n            \"paymentSystem\": \"4fa\",\r\n            \"value\": 5447,\r\n            \"paymentSystemName\": \"Mastercard\", //optional\r\n            \"type\": \"creditCard\",\r\n            \"installments\": 3, //optional\r\n            \"firstDigits\": \"550209\", //optional\r\n            \"lastDigits\": \"2569\" //optional\r\n        }\r\n    ],\r\n    \"shipping\": [ //optional\r\n        {\r\n            \"id\": \"AA123456785BR\",\r\n            \"courierId\": \"correios-br\",\r\n            \"courierName\": \"Correios\",\r\n            \"price\": 2000,\r\n            \"listPrice\": 2000\r\n        }\r\n    ],\r\n    \"total_item\": 4448,\r\n    \"total_discounts\": 0,\r\n    \"total_shipping\": 999,\r\n    \"total_tax\": 0,\r\n    \"config\": {\r\n    \"mode\": \"upsert\" // append (default) | upsert | replace | skip-duplicates\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/order/import","description":"<p>This API allows the import of a single purchase into the system. The request submits all relevant purchase details, including items, prices, and other associated data. This API is designed for cases where only one purchase needs to be processed at a time.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","order","import"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"fe713ba0-3039-420b-945c-fb8af24067a1","name":"Success","originalRequest":{"method":"POST","header":[{"key":"x-guper-authorization","value":""}],"body":{"mode":"raw","raw":"{\r\n    \"interface\": \"generic\",\r\n    \"storeId\": \"1\",\r\n    \"id\": \"295555512\",\r\n    \"creationDate\": \"2023-01-15 10:45:37\",\r\n    \"status\": \"completed\",\r\n    \"attendants\": { //optional\r\n        \"cashier\": { //optional\r\n            \"id\": \"123123\", //optional\r\n            \"name\": \"tintin\", //optional\r\n            \"email\": \"tintin@gmail.com\", //optional\r\n            \"cellphone\": \"11112356549\" //optional\r\n        },\r\n        \"salesperson\": { //optional\r\n            \"id\": \"123123\", //optional\r\n            \"name\": \"tintin\", //optional\r\n            \"email\": \"tintin@gmail.com\", //optional\r\n            \"cellphone\": \"11112356549\" //optional\r\n        }\r\n    },\r\n    \"client\": {\r\n        \"id\": \"123123\",\r\n        \"name\": \"tintin\",\r\n        \"email\": \"tintin@gmail.com\",\r\n        \"cellphone\": \"11112356549\"\r\n    },\r\n    \"items\": [\r\n        {\r\n            \"skuId\": \"47142\",\r\n            \"name\": \"Sandalia Salto Alto 38\",\r\n            \"categoryId\": 1186,\r\n            \"brandId\": 69367,\r\n            \"quantity\": 1,\r\n            \"price\": 4448,\r\n            \"listPrice\": 4448,\r\n            \"tax\": 0\r\n        }\r\n    ],\r\n    \"payments\": [ //optional\r\n        {\r\n            \"paymentSystem\": \"4fa\",\r\n            \"value\": 5447,\r\n            \"paymentSystemName\": \"Mastercard\", //optional\r\n            \"type\": \"creditCard\",\r\n            \"installments\": 3, //optional\r\n            \"firstDigits\": \"550209\", //optional\r\n            \"lastDigits\": \"2569\" //optional\r\n        }\r\n    ],\r\n    \"shipping\": [ //optional\r\n        {\r\n            \"id\": \"AA123456785BR\",\r\n            \"courierId\": \"correios-br\",\r\n            \"courierName\": \"Correios\",\r\n            \"price\": 2000,\r\n            \"listPrice\": 2000\r\n        }\r\n    ],\r\n    \"total_item\": 4448,\r\n    \"total_discounts\": 0,\r\n    \"total_shipping\": 999,\r\n    \"total_tax\": 0,\r\n    \"config\": {\r\n    \"mode\": \"upsert\" // append (default) | upsert | replace | skip-duplicates\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/order/import"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 14 Aug 2024 18:36:36 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"705"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"refId\": \"767378586\",\n    \"interface\": \"generic\",\n    \"orderMirror\": [],\n    \"originalOrderMirror\": {\n        \"interface\": \"generic\",\n        \"checkoutId\": \"767378586\",\n        \"storeId\": \"1\",\n        \"id\": \"767378586\",\n        \"creationDate\": \"2023-01-15T10:45:37-03:00\",\n        \"attendants\": {\n            \"cashierId\": \"123\",\n            \"salespersonId\": \"123\"\n        },\n        \"client\": {\n            \"id\": \"123123\",\n            \"name\": \"tintin\",\n            \"email\": \"tintin@gmail.com\",\n            \"cellphone\": \"11112356549\"\n        },\n        \"items\": [\n            {\n                \"skuRefId\": \"47142\",\n                \"name\": \"Sandalia Salto Alto 38\",\n                \"categoryId\": 1186,\n                \"brandId\": 69367,\n                \"quantity\": 1,\n                \"productPrice\": 4448,\n                \"sellingPrice\": 4448\n            }\n        ],\n        \"payments\": [\n            {\n                \"paymentId\": \"125\",\n                \"value\": 5447\n            }\n        ],\n        \"total_item\": 4448,\n        \"total_discounts\": 0,\n        \"total_shipping\": 999,\n        \"total_taxes\": 0,\n        \"total_order\": 5447\n    },\n    \"status\": \"original_order_mirror\",\n    \"organization\": \"acme\",\n    \"id\": 2136,\n    \"dateTime\": \"2024-08-14T15:36:42-03:00\"\n}"}],"_postman_id":"7a9a0272-68b9-479b-99fa-c383a131a75f"}],"id":"b02b364b-7fd7-4cb2-9134-331628859bf6","_postman_id":"b02b364b-7fd7-4cb2-9134-331628859bf6","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Using interface","item":[{"name":"Read","id":"fa7301bf-7124-4ac7-bb40-48f0dc836fa9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/order/:interface/data/:idOrder","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","order",":interface","data",":idOrder"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"generic","key":"interface"},{"type":"any","value":"id-603","key":"idOrder"}]}},"response":[{"id":"8528b016-a219-40f4-aa6d-f406ae7af2a7","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://acme.myguper.com/api/order/:interface/data/:orderId","protocol":"https","host":["acme","myguper.com"],"path":["api","order",":interface","data",":orderId"],"variable":[{"key":"interface","value":"generic"},{"key":"orderId","value":"303030308"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 05 May 2025 21:16:55 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"1086"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"303030308\",\n    \"store\": {\n        \"id\": \"365-66\",\n        \"name\": \"mystore\"\n        },\n    \"cashier\": {\n            \"name\": \"Serafim Lampião\"\n        },\n    \"salesperson\": {\n            \"name\": \"Oliveira da Figueira\"\n        },\n    \"client\":  {\n            \"id\": \"69657\",\n            \"name\": \"Tintim\",\n            \"email\": \"tintim@tintim.com.br\",\n            \"countryCallingCode\": 55,\n            \"cellphone\": \"19966659986\",\n            \"document\": null\n        },\n    \"orderStatus\": \"canceled\",\n    \"paidValue\": 0,\n    \"customerTag\": [],\n    \"items\": [\n        {\n            \"id\": \"138876\",\n            \"productId\": null,\n            \"name\": \"Tênis Casual Feminino 34\",\n            \"categoryId\": \"210002\",    \n            \"brandId\": \"29300\",\n            \"quantity\": 1,\n            \"price\": 25000,\n            \"listPrice\": 26200,\n            \"redemption\":  1200 \n            \n        }\n    ],\n    \"payments\": [\n        {\n            \"value\": 25000,\n            \"type\": \"promissory\",\n            \"paymentSystem\": \"my-payment\",\n            \"paymentSystemName\": \"My Payment\",\n            \"installments\": 1,\n            \"firstDigits\": \"4569\",\n            \"lastDigits\": \"1236\"\n        }\n    ],\n    \"total_order\": 25000,\n    \"total_item\": 25000,\n    \"total_shipping\": 0,\n    \"total_taxes\": 0,\n    \"total_discounts\": 1200,\n    \"histories\": [\n        {\n            \"status\": \"order-create\",\n            \"reason\": \"Order Create\",\n            \"date\": \"2024-09-27T07:35:00-03:00\"\n        }\n    ],\n    \"createdAt\": \"2024-09-27T10:35:06-03:00\",\n    \"integratedAt\": \"2024-09-27T10:35:06-03:00\",\n    \"indexedAt\": \"2024-09-27T10:36:02-03:00\",\n    \"updatedAt\": \"2024-12-02T11:25:46-03:00\"\n}"}],"_postman_id":"fa7301bf-7124-4ac7-bb40-48f0dc836fa9"}],"id":"f362716d-2ab7-4520-b12a-a53fc0a09b39","_postman_id":"f362716d-2ab7-4520-b12a-a53fc0a09b39","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Read","id":"7efb0cc2-d102-4495-85ed-35502188277b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/order/data/:idOrder","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","order","data",":idOrder"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"1672118","key":"idOrder"}]}},"response":[{"id":"15361f83-ed06-4ded-a106-8f89e995eaff","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://acme.myguper.com/api/order/data/:idOrder","protocol":"https","host":["acme","myguper.com"],"path":["api","order","data",":idOrder"],"variable":[{"key":"idOrder","value":"1672118"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 05 May 2025 21:16:55 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"1086"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1672118,\n    \"store\": {\n        \"id\": 124,\n        \"name\": \"mystore\"\n        },\n    \"cashier\": {\n            \"id\": 6977,\n            \"name\": \"Serafim Lampião\"\n        },\n    \"salesperson\": {\n            \"id\": 2367,\n            \"name\": \"Oliveira da Figueira\"\n        },\n    \"client\":  {\n            \"id\": 6497,\n            \"name\": \"Tintim\",\n            \"email\": \"tintim@tintim.com.br\",\n            \"countryCallingCode\": 55,\n            \"cellphone\": \"19966659986\",\n            \"document\": null\n        },\n    \"orderStatus\": \"canceled\",\n    \"paidValue\": 0,\n    \"customerTag\": [],\n    \"items\": [\n        {\n            \"id\": \"138876\",\n            \"productId\": null,\n            \"name\": \"Tênis Casual Feminino 34\",\n            \"categoryId\": 659,    \n            \"brandId\": 987,\n            \"quantity\": 1,\n            \"price\": 25000,\n            \"listPrice\": 26200,\n            \"redemption\":  1200 \n            \n        }\n    ],\n    \"payments\": [\n        {\n            \"value\": 25000,\n            \"type\": \"promissory\",\n            \"paymentSystem\": \"my-payment\",\n            \"paymentSystemName\": \"My Payment\",\n            \"installments\": 1,\n            \"firstDigits\": \"4569\",\n            \"lastDigits\": \"1236\"\n        }\n    ],\n    \"total_order\": 25000,\n    \"total_item\": 25000,\n    \"total_shipping\": 0,\n    \"total_taxes\": 0,\n    \"total_discounts\": 1200,\n    \"histories\": [\n        {\n            \"status\": \"order-create\",\n            \"reason\": \"Order Create\",\n            \"date\": \"2024-09-27T07:35:00-03:00\"\n        }\n    ],\n    \"createdAt\": \"2024-09-27T10:35:06-03:00\",\n    \"integratedAt\": \"2024-09-27T10:35:06-03:00\",\n    \"indexedAt\": \"2024-09-27T10:36:02-03:00\",\n    \"updatedAt\": \"2024-12-02T11:25:46-03:00\"\n}"}],"_postman_id":"7efb0cc2-d102-4495-85ed-35502188277b"},{"name":"List","id":"1e9b92a0-b591-4a1c-8e79-44cfb1dccff0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/order/data","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","order","data"],"host":["acme","myguper.com"],"query":[{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"entries","value":"100"},{"disabled":true,"key":"q[refId]","value":"123"},{"disabled":true,"key":"q[id][]","value":"210"}],"variable":[]}},"response":[],"_postman_id":"1e9b92a0-b591-4a1c-8e79-44cfb1dccff0"}],"id":"751aec4c-5240-4aab-8770-e2e43bd240ce","_postman_id":"751aec4c-5240-4aab-8770-e2e43bd240ce","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"CSAT","item":[{"name":"Update by Order Id","id":"6268cf7a-edf1-400c-a61d-59fee9afd06a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"csat\": 5 // required integer\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/order/:orderId/csat","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","order",":orderId","csat"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"3833678","key":"orderId"}]}},"response":[{"id":"b0b4aba2-cdf4-4e9f-837d-f162b26bc6bb","name":"Success","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"csat\": 5 // required integer\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://acme.myguper.com/api/order/:orderId/csat","protocol":"https","host":["acme","myguper.com"],"path":["api","order",":orderId","csat"],"variable":[{"key":"orderId","value":"3833678"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 08 Sep 2025 21:28:49 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"68"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3833678,\n    \"organization\": \"xpto\",\n    \"interface\": \"generic\",\n    \"refId\": \"id-97.897.466\",\n    \"csat\": 5\n}"}],"_postman_id":"6268cf7a-edf1-400c-a61d-59fee9afd06a"},{"name":"Update by Interface and RefId","id":"afdfe76e-a7dc-4f64-8154-adcbed890b89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"csat\": 5\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/order/:interface/:refId/csat","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","order",":interface",":refId","csat"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"generic","key":"interface"},{"type":"any","value":"id-97.897.466","key":"refId"}]}},"response":[{"id":"82d4a224-db1f-4995-b0a9-cd81deeb356e","name":"Success","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"csat\": 5\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://acme.myguper.com/api/order/:interface/:refId/csat","protocol":"https","host":["acme","myguper.com"],"path":["api","order",":interface",":refId","csat"],"variable":[{"key":"interface","value":"generic"},{"key":"refId","value":"id-97.897.466"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 08 Sep 2025 21:32:58 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"92"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3833678,\n    \"organization\": \"xpto\",\n    \"interface\": \"generic\",\n    \"refId\": \"id-97.897.466\",\n    \"csat\": 5\n}"}],"_postman_id":"afdfe76e-a7dc-4f64-8154-adcbed890b89"}],"id":"60fa4801-0036-4c0f-8c07-2b948563f374","_postman_id":"60fa4801-0036-4c0f-8c07-2b948563f374","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Cancellation","id":"87990617-186b-4117-ab41-3f05eee63ccc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"https://acme.myguper.com/api/order/:orderId/cancellation","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","order",":orderId","cancellation"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"1672059","key":"orderId"}]}},"response":[{"id":"24bf7ae8-a293-4bc9-9979-8502521be324","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"url":{"raw":"https://acme.myguper.com/api/order/:orderId/cancellation","protocol":"https","host":["acme","myguper.com"],"path":["api","order",":orderId","cancellation"],"variable":[{"key":"orderId","value":"1672059"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 16 Oct 2024 22:10:23 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"546"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1672059,\n    \"interface\": \"generic\",\n    \"refId\": \"362\",\n    \"store\": 32,\n    \"cashier\": null,\n    \"salesperson\": null,\n    \"client\": 431969,\n    \"status\": \"cancelled\",\n    \"paidValue\": 0,\n    \"total_order\": 97390,\n    \"total_item\": 96390,\n    \"total_shipping\": 20000,\n    \"total_taxes\": 0,\n    \"total_discounts\": 1000,\n    \"order_date\": {\n        \"date\": \"2024-09-27 11:54:57.000000\",\n        \"timezone_type\": 3,\n        \"timezone\": \"America/Sao_Paulo\"\n    },\n    \"createAt\": {\n        \"date\": \"2024-09-27 11:55:02.000000\",\n        \"timezone_type\": 3,\n        \"timezone\": \"America/Sao_Paulo\"\n    },\n    \"updateAt\": {\n        \"date\": \"2024-09-27 11:55:02.000000\",\n        \"timezone_type\": 3,\n        \"timezone\": \"America/Sao_Paulo\"\n    }\n}"}],"_postman_id":"87990617-186b-4117-ab41-3f05eee63ccc"},{"name":"Complete","id":"334cdb31-ddd1-4615-991c-4917c7563f69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"https://acme.myguper.com/api/order/:orderId/complete","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","order",":orderId","complete"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"1672059","key":"orderId"}]}},"response":[],"_postman_id":"334cdb31-ddd1-4615-991c-4917c7563f69"},{"name":"Ping","id":"484e092f-1060-41d0-a802-181591c03569","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/order/ping","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","order","ping"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"b6dcddd0-75ec-4a7c-85cb-22c26d061e8c","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"url":"https://acme.myguper.com/api/order/ping"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 11 Aug 2023 16:50:05 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"89"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"organization\": \"acme\",\n    \"response\": \"Server online\",\n    \"dateTime\": \"2023-08-11T13:50:08-03:00\"\n}"}],"_postman_id":"484e092f-1060-41d0-a802-181591c03569"}],"id":"46831eb7-fe9c-4fd8-8c65-c7e58ef9e3e8","_postman_id":"46831eb7-fe9c-4fd8-8c65-c7e58ef9e3e8","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Register","item":[{"name":"Customer","item":[{"name":"Feed","item":[{"name":"Retrieve items","id":"955811f9-bae6-4062-a3e3-2f401e593bac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/feed","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","feed"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"1925d5f6-342a-4700-8fea-177b924080a7","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/feed"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 19 Aug 2025 18:12:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.28.0"},{"key":"X-Powered-By","value":"PHP/8.1.33"},{"key":"Set-Cookie","value":"PHPSESSID=1a56540396116d90c1ec6e886b19bfc8bb43604923276fa7b20db79a33f72b11register; expires=Tue, 19-Aug-2025 18:42:21 GMT; Max-Age=1800; path=/; secure; HttpOnly"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"confirmToken\": \"2A0067C7FECB11EFAAC602B02E860C9532173\",\n        \"subscriber\": \"cloe-acme-TARQTDBN\",\n        \"module\": \"person\",\n        \"key\": 71918412,\n        \"confirmedAt\": null,\n        \"createdAt\": \"2025-03-11T16:50:00-03:00\"\n    },\n    {\n        \"confirmToken\": \"409FBC97FED111EFAAC602B02E860C9578560\",\n        \"subscriber\": \"cloe-acme-TARQTDBN\",\n        \"module\": \"person\",\n        \"key\": 71928432,\n        \"confirmedAt\": null,\n        \"createdAt\": \"2025-03-11T17:33:35-03:00\"\n    },\n    {\n        \"confirmToken\": \"65as4d6as85d49qd51q69we54q9w58de496sa\",\n        \"subscriber\": \"cloe-acme-TARQTDBN\",\n        \"module\": \"person\",\n        \"key\": 71896943,\n        \"confirmedAt\": null,\n        \"createdAt\": \"2025-03-11T14:41:14-03:00\"\n    },\n    {\n        \"confirmToken\": \"8374E01DFEC111EFAAC602B02E860C9555273\",\n        \"subscriber\": \"cloe-acme-TARQTDBN\",\n        \"module\": \"person\",\n        \"key\": 71906811,\n        \"confirmedAt\": null,\n        \"createdAt\": \"2025-03-11T15:40:55-03:00\"\n    }\n]"},{"id":"b00d058c-92c7-4398-bc1c-50a0ba424427","name":"Empty","originalRequest":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/feed"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 19 Aug 2025 18:10:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.28.0"},{"key":"X-Powered-By","value":"PHP/8.1.33"},{"key":"Set-Cookie","value":"PHPSESSID=1a56540396116d90c1ec6e886b19bfc8bb43604923276fa7b20db79a33f72b11register; expires=Tue, 19-Aug-2025 18:40:20 GMT; Max-Age=1800; path=/; secure; HttpOnly"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"[]"}],"_postman_id":"955811f9-bae6-4062-a3e3-2f401e593bac"},{"name":"Commit items","id":"2372548b-c962-4d0c-8f54-f0bc5711477a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"tokens\": [\r\n        \"5BE6DABCFEC711EFAAC602B02E860C9523628\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/feed","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","feed"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2372548b-c962-4d0c-8f54-f0bc5711477a"}],"id":"ef9097be-65ac-4c08-af50-53c135a82060","_postman_id":"ef9097be-65ac-4c08-af50-53c135a82060","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"RFM","item":[{"name":"Get","id":"5a3a88f3-56e3-4d8a-a56f-4fbb0c847493","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/rfm/:person_id","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","rfm",":person_id"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"","key":"person_id"}]}},"response":[{"id":"74770cc0-fee4-4472-9564-186a924d39a2","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-guper-authorization","value":""}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://acme.myguper.com/api/register/customer/:person_id/rfm","protocol":"https","host":["acme","myguper.com"],"path":["api","register","customer",":person_id","rfm"],"variable":[{"key":"person_id","value":"643"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 23 Jul 2024 21:34:19 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"317"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"person\": 643,\n    \"firstPurchaseId\": 211,\n    \"lastPurchaseId\": 211,\n    \"firstPurchaseDate\":  \"2024-01-09 09:34:13-03:00\",\n    \"lastPurchaseDate\": \"2024-01-09 09:34:13.-03:00\",\n    \"totalPurchaseValue\": 3993,\n    \"totalPurchases\": 1\n}"}],"_postman_id":"5a3a88f3-56e3-4d8a-a56f-4fbb0c847493"},{"name":"List","id":"26123495-8d92-4392-856c-81d9cbadbd43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/customer/rfm","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","customer","rfm"],"host":["acme","myguper.com"],"query":[{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"entries","value":"100"},{"disabled":true,"key":"q[id][]","value":"1"}],"variable":[]}},"response":[],"_postman_id":"26123495-8d92-4392-856c-81d9cbadbd43"}],"id":"60497237-85ac-4888-9403-3ebc2d44c63e","_postman_id":"60497237-85ac-4888-9403-3ebc2d44c63e","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Tags","item":[{"name":"List","id":"d4623735-64e7-4e05-b357-9c3c2dc23feb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/customer/:id/tags","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","customer",":id","tags"],"host":["acme","myguper.com"],"query":[],"variable":[{"id":"676a57fb-2af1-427f-848d-eb40258084e5","type":"any","value":"516879","key":"id"}]}},"response":[],"_postman_id":"d4623735-64e7-4e05-b357-9c3c2dc23feb"},{"name":"Create","id":"5f3b5374-0647-4fac-b0ba-8f391b838ea5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n    1\r\n]","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/customer/:id/tags","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","customer",":id","tags"],"host":["acme","myguper.com"],"query":[],"variable":[{"id":"1419a548-a36c-4c28-a8e0-7650f8340102","type":"any","value":"516879","key":"id"}]}},"response":[],"_postman_id":"5f3b5374-0647-4fac-b0ba-8f391b838ea5"},{"name":"Delete","id":"c2f87056-3b0e-4d21-be84-6302a87f3118","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"[\r\n    101,\r\n    102\r\n]","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/customer/:id/tags","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","customer",":id","tags"],"host":["acme","myguper.com"],"query":[],"variable":[{"id":"1d1b98c6-5338-4f1a-910b-c6affa3e1149","type":"any","value":"516879","key":"id"}]}},"response":[],"_postman_id":"c2f87056-3b0e-4d21-be84-6302a87f3118"}],"id":"8bccd51c-4f2d-4f0f-bcb0-709e76e889ad","_postman_id":"8bccd51c-4f2d-4f0f-bcb0-709e76e889ad","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Referral","item":[{"name":"Create","id":"2b1a2e17-e2ff-49d4-a7e0-971fd33c68d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"person\": 620287,\r\n    \"referrer\": 609961,\r\n    \"expiredAt\": \"2025-03-30 12:00:00\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/customer/referral","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","customer","referral"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2b1a2e17-e2ff-49d4-a7e0-971fd33c68d9"},{"name":"List","id":"d959601b-6a6a-4cee-b1c3-f42a85b50ed5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/customer/referral","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","customer","referral"],"host":["acme","myguper.com"],"query":[{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"entries","value":"100"}],"variable":[]}},"response":[],"_postman_id":"d959601b-6a6a-4cee-b1c3-f42a85b50ed5"}],"id":"9dc44aac-84c6-4b79-bc1e-e8d152489ad9","_postman_id":"9dc44aac-84c6-4b79-bc1e-e8d152489ad9","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Pin","item":[{"name":"Generate","id":"ce09c54a-aa50-4df6-b7f7-94eab280cb3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/customer/:person/pin","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","customer",":person","pin"],"host":["acme","myguper.com"],"query":[],"variable":[{"id":"51a4d6ed-ab7a-44a7-b0f0-67d604427e4c","type":"any","value":"2157344","key":"person"}]}},"response":[],"_postman_id":"ce09c54a-aa50-4df6-b7f7-94eab280cb3b"},{"name":"Validate","id":"af1367c5-ec1a-4d4a-90e8-b5d203fe4c0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"pin\": \"9663\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/customer/:person/pin/validate","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","customer",":person","pin","validate"],"host":["acme","myguper.com"],"query":[],"variable":[{"id":"fb48e79b-2ea7-4b58-b368-4be3a189a8e8","type":"any","value":"2157344","key":"person"}]}},"response":[],"_postman_id":"af1367c5-ec1a-4d4a-90e8-b5d203fe4c0e"}],"id":"b6091ffe-00b5-4cce-9959-6dd29d6efe2e","_postman_id":"b6091ffe-00b5-4cce-9959-6dd29d6efe2e","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"OptIn","item":[{"name":"Get","id":"ef3abd04-0331-480f-a277-4a5058033ac2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/customer/:id/optin","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","customer",":id","optin"],"host":["acme","myguper.com"],"query":[],"variable":[{"id":"97c00e35-c6b4-4556-9511-47563fdab1bd","type":"any","value":"2157344","key":"id"}]}},"response":[{"id":"92596dfc-abc0-4ccb-b46e-96d10ec1a4e8","name":"Authorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://acme.myguper.com/api/register/customer/:id/optin","protocol":"https","host":["acme","myguper.com"],"path":["api","register","customer",":id","optin"],"variable":[{"key":"id","value":"2157344"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 04 Jul 2025 16:31:25 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Set-Cookie","value":"PHPSESSID=381d884b495398e8d45020d431fd12c0322332cc53ad36291fc53a695514cbf9register; expires=Fri, 04-Jul-2025 17:01:27 GMT; Max-Age=1800; path=/; secure; HttpOnly"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"75"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2157344,\n    \"authorized\": true,\n    \"authorizedAt\": \"2025-07-04T13:30:35-03:00\"\n}"},{"id":"c55df235-d2de-409c-a704-657dc8788644","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://acme.myguper.com/api/register/customer/:id/optin","protocol":"https","host":["acme","myguper.com"],"path":["api","register","customer",":id","optin"],"variable":[{"key":"id","value":"2157344"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 04 Jul 2025 16:29:44 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Set-Cookie","value":"PHPSESSID=381d884b495398e8d45020d431fd12c0322332cc53ad36291fc53a695514cbf9register; expires=Fri, 04-Jul-2025 16:59:46 GMT; Max-Age=1800; path=/; secure; HttpOnly"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"53"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2157344,\n    \"authorized\": false,\n    \"authorizedAt\": null\n}"}],"_postman_id":"ef3abd04-0331-480f-a277-4a5058033ac2"},{"name":"Authorize","id":"8428262d-556e-448c-ab6c-b620664a6371","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"https://acme.myguper.com/api/register/customer/:id/optin","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","customer",":id","optin"],"host":["acme","myguper.com"],"query":[],"variable":[{"id":"0387deb8-bfcd-4ab0-ac28-9457cd2bc3f3","type":"any","value":"2157344","key":"id"}]}},"response":[{"id":"cdb65e03-e3c2-45d3-ac0d-3be14c92c218","name":"Success","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"https://acme.myguper.com/api/register/customer/:id/optin","protocol":"https","host":["acme","myguper.com"],"path":["api","register","customer",":id","optin"],"variable":[{"key":"id","value":"2157344"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 04 Jul 2025 16:30:32 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Set-Cookie","value":"PHPSESSID=381d884b495398e8d45020d431fd12c0322332cc53ad36291fc53a695514cbf9register; expires=Fri, 04-Jul-2025 17:00:34 GMT; Max-Age=1800; path=/; secure; HttpOnly"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"75"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2157344,\n    \"authorized\": true,\n    \"authorizedAt\": \"2025-07-04T13:30:35-03:00\"\n}"}],"_postman_id":"8428262d-556e-448c-ab6c-b620664a6371"},{"name":"Revoke","id":"3e244f96-aa8f-46ce-ae12-a4de7294b9e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://acme.myguper.com/api/register/customer/:id/optin","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","customer",":id","optin"],"host":["acme","myguper.com"],"query":[],"variable":[{"id":"15649308-5e35-46b0-8a60-69cbd0f5b681","type":"any","value":"2157344","key":"id"}]}},"response":[{"id":"be0c727e-a1fe-4579-b02b-62596503a8dd","name":"Sccess","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://acme.myguper.com/api/register/customer/:id/optin","protocol":"https","host":["acme","myguper.com"],"path":["api","register","customer",":id","optin"],"variable":[{"key":"id","value":"2157344"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 04 Jul 2025 16:29:28 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Set-Cookie","value":"PHPSESSID=381d884b495398e8d45020d431fd12c0322332cc53ad36291fc53a695514cbf9register; expires=Fri, 04-Jul-2025 16:59:30 GMT; Max-Age=1800; path=/; secure; HttpOnly"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Length","value":"53"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2157344,\n    \"authorized\": false,\n    \"authorizedAt\": null\n}"}],"_postman_id":"3e244f96-aa8f-46ce-ae12-a4de7294b9e5"}],"id":"656c6a49-fa56-4229-8bec-29d2460e84e6","_postman_id":"656c6a49-fa56-4229-8bec-29d2460e84e6","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Get","id":"b0860ee8-ed08-4be3-919c-c6e6873b7a3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/customer/:person","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","customer",":person"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"709","key":"person"}]}},"response":[{"id":"8582daac-f520-480d-b217-5642d55b3733","name":"Successful Response","originalRequest":{"method":"GET","header":[{"key":"x-guper-authorization","value":""}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://acme.myguper.com/api/register/user/:person","protocol":"https","host":["acme","myguper.com"],"path":["api","register","user",":person"],"variable":[{"key":"person","value":"47"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Oct 2023 13:44:33 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"141"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 47,\n    \"name\": \"Tintim\",\n    \"email\": \"tintim@tintim.com.br\",\n    \"countryCallingCode\": 55,\n    \"cellphone\": \"19966659986\",\n    \"document\": null,\n    \"language\": \"pt_BR\"\n}"}],"_postman_id":"b0860ee8-ed08-4be3-919c-c6e6873b7a3e"},{"name":"List","id":"3230d885-1692-42ad-a08d-c511d1ff47aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/customer?q[cellphone]=5572856483","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","customer"],"host":["acme","myguper.com"],"query":[{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"entries","value":"100"},{"disabled":true,"key":"q[createdAt][BE]","value":"2025-02-26"},{"disabled":true,"key":"q[createdAt][AE]","value":"2025-02-25"},{"key":"q[cellphone]","value":"5572856483"}],"variable":[]}},"response":[],"_postman_id":"3230d885-1692-42ad-a08d-c511d1ff47aa"},{"name":"Create","event":[{"listen":"test","script":{"id":"984b5a40-31b5-4d89-9566-b5e7094448d4","exec":["var template = `\r","<style type=\"text/css\">\r","    .tftable {font-size:14px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}\r","    .tftable th {font-size:18px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}\r","    .tftable tr {background-color:#ffffff;}\r","    .tftable td {font-size:14px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}\r","    .tftable tr:hover {background-color:#e0ffff;}\r","</style>\r","\r","<table class=\"tftable\" border=\"1\">\r","    <tr>\r","        <th>Customer ID</th>\r","        <th>Name</th>\r","        <th>Email</th>\r","        <th>Registered On</th>\r","    </tr>\r","    \r","    {{#each response.customerData}}\r","        <tr>\r","            <td>{{customerID}}</td>\r","            <td>{{name}}</td>\r","            <td>{{email}}</td>\r","            <td>{{registeredOn}}</td>\r","        </tr>\r","    {{/each}}\r","</table>\r","`;\r","\r","function constructVisualizerPayload() {\r","    return {response: pm.response.json()}\r","}\r","\r","pm.visualizer.set(template, constructVisualizerPayload());"],"type":"text/javascript","packages":{}}}],"id":"b373ebfa-a447-46fc-9fe3-2cead5db4628","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Tintin\",\r\n    \"entityType\": \"individual\", //'individual', 'legal'\r\n    \"document\": \"32165987\",\r\n    \"email\": \"tintim@tintim.com.br\",\r\n    \"countryCallingCode\": \"+55\",\r\n    \"cellphone\": \"19982456598\",    \r\n    \"dateOfBirth\": \"1989-03-29\",\r\n    \"postalCode\": \"13450000\",\r\n    \"gender\": \"male\" //male, female, undefined\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/customer","description":"<h3 id=\"api-response-description\">API Response Description</h3>\n<p>The response to this request will include the relevant details of the customer registration process. The specific structure of the response will depend on the API implementation and the success or failure of the registration process.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>string/null</td>\n<td>Unique identifier for the customer.</td>\n</tr>\n<tr>\n<td>name *</td>\n<td>string</td>\n<td>Full name of the customer.</td>\n</tr>\n<tr>\n<td>entityType</td>\n<td>string</td>\n<td>The type of entity; should be \"individual\".</td>\n</tr>\n<tr>\n<td>document</td>\n<td>string</td>\n<td>Customer's identification document.</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>Customer's email address.</td>\n</tr>\n<tr>\n<td>countryCallingCode</td>\n<td>string</td>\n<td>Country calling code for the customer's phone number.</td>\n</tr>\n<tr>\n<td>cellphone *</td>\n<td>string</td>\n<td>Customer's cellphone number.</td>\n</tr>\n<tr>\n<td>dateOfBirth</td>\n<td>string</td>\n<td>Customer's date of birth in ISO 8601 format (YYYY-MM-DD).</td>\n</tr>\n<tr>\n<td>postalCode</td>\n<td>string</td>\n<td>Postal code of the customer's address.</td>\n</tr>\n<tr>\n<td>gender</td>\n<td>string</td>\n<td>Customer's gender.</td>\n</tr>\n<tr>\n<td>validated</td>\n<td>boolean</td>\n<td>Indicates whether the validation was requested.</td>\n</tr>\n</tbody>\n</table>\n</div><p>* Fields marked with an asterisk are essential and will always be present in a successful response.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","customer"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b373ebfa-a447-46fc-9fe3-2cead5db4628"},{"name":"Merge","event":[{"listen":"test","script":{"id":"984b5a40-31b5-4d89-9566-b5e7094448d4","exec":["var template = `\r","<style type=\"text/css\">\r","    .tftable {font-size:14px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}\r","    .tftable th {font-size:18px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}\r","    .tftable tr {background-color:#ffffff;}\r","    .tftable td {font-size:14px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}\r","    .tftable tr:hover {background-color:#e0ffff;}\r","</style>\r","\r","<table class=\"tftable\" border=\"1\">\r","    <tr>\r","        <th>Customer ID</th>\r","        <th>Name</th>\r","        <th>Email</th>\r","        <th>Registered On</th>\r","    </tr>\r","    \r","    {{#each response.customerData}}\r","        <tr>\r","            <td>{{customerID}}</td>\r","            <td>{{name}}</td>\r","            <td>{{email}}</td>\r","            <td>{{registeredOn}}</td>\r","        </tr>\r","    {{/each}}\r","</table>\r","`;\r","\r","function constructVisualizerPayload() {\r","    return {response: pm.response.json()}\r","}\r","\r","pm.visualizer.set(template, constructVisualizerPayload());"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"7f68c66b-f9d4-460d-bf5b-7b177a7053d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":" {\r\n    \"mainPersonId\": 123,\r\n    \"mergePersonIds\": [456, 789]\r\n  }\r\n","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/person/merge","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","person","merge"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7f68c66b-f9d4-460d-bf5b-7b177a7053d1"},{"name":"Update","id":"e686f0b8-bcfd-47ac-bcdf-67aa91cb109a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 683752,\r\n    \"name\": \"Tintin\",\r\n    \"entityType\": \"individual\", //'individual', 'legal'\r\n    \"document\": \"41236587422\",\r\n    \"email\": \"tintim@tintim.com.br\",\r\n    \"countryCallingCode\": 55,\r\n    \"cellphone\": \"19982456598\",    \r\n    \"dateOfBirth\": \"1989-03-29\",\r\n    \"postalCode\": \"13450000\",\r\n    \"gender\": \"male\", //male, female, undefined \r\n    \"validated\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/customer","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","customer"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e686f0b8-bcfd-47ac-bcdf-67aa91cb109a"},{"name":"Remove","id":"ed610e5c-4c17-417b-96a8-678b1cf0f3de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/customer","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","customer"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ed610e5c-4c17-417b-96a8-678b1cf0f3de"},{"name":"Get or Create","id":"68a17481-b72a-4185-a88a-3526cf30b5b7","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Tintin\",\r\n    \"email\": \"tintin@tintin.com.br\",\r\n    \"cellphone\": \"+55 19 9 8245-6598\",\r\n    \"id\": 23\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/customer/findOrCreate","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","customer","findOrCreate"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"customer","key":"personType"}]}},"response":[],"_postman_id":"68a17481-b72a-4185-a88a-3526cf30b5b7"}],"id":"a0e1643b-0daa-4873-9157-e106a23d575d","description":"<p>Person requests serve as the central registration for all individuals associated with the organization, whether they are customers or employees. If you are registering an employee, begin by creating their registration as a 'person.' Afterward, request an invite through the endpoint <code>/register/invite/{{idPerson}}</code>.</p>\n<p>For 'person' registration, the mandatory fields are <code>name</code> and <code>cellphone</code>.</p>\n","_postman_id":"a0e1643b-0daa-4873-9157-e106a23d575d","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Stores","item":[{"name":"Store","item":[{"name":"List","id":"93c46a63-bd5d-4c16-8300-3855fa690b53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/store","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","store"],"host":["acme","myguper.com"],"query":[{"disabled":true,"key":"page","value":"2"},{"disabled":true,"key":"entries","value":"2"},{"disabled":true,"key":"q[id][]","value":"1"},{"disabled":true,"key":"q[id][]","value":"10"}],"variable":[]}},"response":[],"_postman_id":"93c46a63-bd5d-4c16-8300-3855fa690b53"},{"name":"Load","id":"d506df8b-0c1f-40a3-98ad-923c875311db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/store/:id","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","store",":id"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"194","key":"id"}]}},"response":[{"id":"a55e1817-e736-4838-a782-f50b6608fec5","name":"Successful Response","originalRequest":{"method":"GET","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"url":{"raw":"https://acme.myguper.com/api/register/store/:id","protocol":"https","host":["acme","myguper.com"],"path":["api","register","store",":id"],"variable":[{"key":"id","value":"194"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Nov 2024 19:19:21 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"109"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 194,\n    \"refId\": \"2\",\n    \"name\": \"UNNAMED - 2\",\n    \"interface\": \"\",\n    \"policie\": [\n        14,\n        15\n    ],\n    \"policy\": [\n        14,\n        15\n    ],\n    \"channels\": [\n        23\n    ]\n}"}],"_postman_id":"d506df8b-0c1f-40a3-98ad-923c875311db"},{"name":"Create","id":"54e1893f-ef5d-49b6-a698-541dafea800e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Loja 3\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/store","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","store"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"54e1893f-ef5d-49b6-a698-541dafea800e"},{"name":"Update","id":"11f3d182-9be6-42a5-a5cc-e5107bfe86db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 22,\r\n    \"name\": \"Loja 1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/store","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","store"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"11f3d182-9be6-42a5-a5cc-e5107bfe86db"},{"name":"Remove","id":"a563884c-52eb-436e-b65f-6319976d0358","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/store","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","store"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a563884c-52eb-436e-b65f-6319976d0358"}],"id":"d69f4da3-c64d-4068-9a23-7339f0a033ab","_postman_id":"d69f4da3-c64d-4068-9a23-7339f0a033ab","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Store Group","item":[{"name":"List","id":"045e88dc-0f6b-4d44-ad33-c7c478e305cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/storeGroup?entries=0&q[%name%]=Sul","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","storeGroup"],"host":["acme","myguper.com"],"query":[{"disabled":true,"key":"page","value":"1"},{"key":"entries","value":"0"},{"key":"q[%name%]","value":"Sul"}],"variable":[]}},"response":[],"_postman_id":"045e88dc-0f6b-4d44-ad33-c7c478e305cc"},{"name":"Load","id":"14f61d72-944b-4b8c-9ee9-3d9363242bd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/storeGroup/:id","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","storeGroup",":id"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"14f61d72-944b-4b8c-9ee9-3d9363242bd0"},{"name":"Create","id":"80f19318-1951-48d0-b719-508ac8e2259b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Região sul\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/storeGroup","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","storeGroup"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"80f19318-1951-48d0-b719-508ac8e2259b"},{"name":"Update","id":"21c5d643-6d25-423f-892d-64482dc308ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1,\r\n    \"name\": \"Região Leste\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/storeGroup","description":"<p>Request for registering people</p>\n","urlObject":{"protocol":"https","path":["api","register","storeGroup"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"21c5d643-6d25-423f-892d-64482dc308ae"},{"name":"Remove","id":"7bf88db0-a596-4293-bcba-51a722464de8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/storeGroup","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","storeGroup"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7bf88db0-a596-4293-bcba-51a722464de8"}],"id":"1b194730-aafa-4389-b5a5-7aa1ccda7412","_postman_id":"1b194730-aafa-4389-b5a5-7aa1ccda7412","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Stores StoreGroups Link","item":[{"name":"List","id":"810adda6-1169-4bac-9dd6-c058c634be08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/linkStoreGroup","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","linkStoreGroup"],"host":["acme","myguper.com"],"query":[{"disabled":true,"description":{"content":"<p>Requested page</p>\n","type":"text/plain"},"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>Number of entry items on pagination pages</p>\n","type":"text/plain"},"key":"entries","value":"10"},{"disabled":true,"key":"q[store]","value":"1"},{"disabled":true,"key":"q[storeGroup]","value":"1"}],"variable":[]}},"response":[],"_postman_id":"810adda6-1169-4bac-9dd6-c058c634be08"},{"name":"Create","id":"91bad340-ad94-425d-9a3b-c59dfd7b2cf4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"store\": 1,\r\n    \"storeGroup\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/linkStoreGroup?page=1&entrari","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","linkStoreGroup"],"host":["acme","myguper.com"],"query":[{"key":"page","value":"1"},{"key":"entrari","value":null}],"variable":[]}},"response":[],"_postman_id":"91bad340-ad94-425d-9a3b-c59dfd7b2cf4"},{"name":"Delete","id":"0e1a509a-8c32-47cf-a2a3-ee961ec71820","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"store\": 1,\r\n    \"storeGroup\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/linkStoreGroup","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","linkStoreGroup"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0e1a509a-8c32-47cf-a2a3-ee961ec71820"}],"id":"c9e3e889-b2a3-49aa-9571-ab7f8528526a","_postman_id":"c9e3e889-b2a3-49aa-9571-ab7f8528526a","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Store Wallet Link","item":[{"name":"List","id":"abffce94-a158-4b63-a568-8fa13dc5a64a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/store/walletLink?q[store][]=1&q[store][]=10","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","store","walletLink"],"host":["acme","myguper.com"],"query":[{"disabled":true,"key":"q[store]","value":"10"},{"disabled":true,"key":"q[wallet]","value":"1"},{"disabled":true,"key":"entries","value":"10"},{"disabled":true,"key":"page","value":"2"},{"key":"q[store][]","value":"1"},{"key":"q[store][]","value":"10"}],"variable":[]}},"response":[{"id":"51d57075-43d7-40f6-9dbd-2f6bbe9afa3a","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"url":"https://acme.myguper.com/api/register/store/walletLink"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 13 Aug 2023 16:30:56 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"170"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"list\": [\n        {\n            \"store\": 1,\n            \"wallet\": 1\n        }\n    ],\n    \"total\": 1,\n    \"pagination\": {\n        \"entries\": 20,\n        \"totalPages\": 1,\n        \"currentPage\": 1,\n        \"isInitial\": true,\n        \"isEnd\": true,\n        \"totalPrevPages\": 0,\n        \"totalNextPages\": 0\n    }\n}"}],"_postman_id":"abffce94-a158-4b63-a568-8fa13dc5a64a"},{"name":"Create","id":"d0224895-57d0-4a5f-977d-15d61d705591","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"store\": 22,\r\n    \"wallet\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/store/walletLink","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","store","walletLink"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"e909cc43-425a-4a42-8511-25e2ff0e9132","name":"Success","originalRequest":{"method":"POST","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"store\": 22,\r\n    \"wallet\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/store/walletLink"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 11 Aug 2023 21:59:36 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"84"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"store\": 22,\n    \"wallet\": 1,\n    \"organization\": \"acme\",\n    \"dateTime\": \"2023-08-11T18:59:39-03:00\"\n}"}],"_postman_id":"d0224895-57d0-4a5f-977d-15d61d705591"},{"name":"Delete","id":"18b78792-86bd-43ff-8717-f29a4fc75abe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"store\": 1,\r\n    \"wallet\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/store/walletLink","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","store","walletLink"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"18b78792-86bd-43ff-8717-f29a4fc75abe"}],"id":"ff8fc3b2-37dd-484d-b045-f0e434c47091","_postman_id":"ff8fc3b2-37dd-484d-b045-f0e434c47091","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Store By","item":[{"name":"Interface And RefId","id":"e3e31a3c-7865-4608-a12b-78af92c9d287","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/store/by/interface/:interface/refId/:refId","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","store","by","interface",":interface","refId",":refId"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"","key":"interface"},{"type":"any","value":"","key":"refId"}]}},"response":[],"_postman_id":"e3e31a3c-7865-4608-a12b-78af92c9d287"}],"id":"02881856-bdc6-46d5-aba3-87b4a3196572","_postman_id":"02881856-bdc6-46d5-aba3-87b4a3196572","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}}],"id":"3822ccca-f22a-4e66-8f5b-ac052965da08","_postman_id":"3822ccca-f22a-4e66-8f5b-ac052965da08","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Payment","item":[{"name":"Create","id":"ba4e9ae0-d4b7-464b-a877-ca41633bbaaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"refPaymentSystem\": \"1\",\r\n    \"paymentSystem\": null,\r\n    \"value\": 189000\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/payment","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","payment"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ba4e9ae0-d4b7-464b-a877-ca41633bbaaf"}],"id":"26a7877c-ac18-45f4-b712-54fe265b177a","_postman_id":"26a7877c-ac18-45f4-b712-54fe265b177a","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Audience list","item":[{"name":"List","item":[{"name":"Fetch list","id":"62491974-7a28-488c-ab81-545d54efbae2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/audience-list?page=1&entries=100","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","audience-list"],"host":["acme","myguper.com"],"query":[{"key":"page","value":"1"},{"key":"entries","value":"100"},{"disabled":true,"key":"q[name]","value":""}],"variable":[]}},"response":[],"_postman_id":"62491974-7a28-488c-ab81-545d54efbae2"},{"name":"Create list","id":"358f421f-7700-464a-83f2-b2005ed7b9a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"my first list\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/audience-list","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","audience-list"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"358f421f-7700-464a-83f2-b2005ed7b9a7"},{"name":"Update list","id":"eb60d789-85c3-4694-a11a-7f425c8cae75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1,\r\n    \"name\": \"my first list\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/audience-list","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","audience-list"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"eb60d789-85c3-4694-a11a-7f425c8cae75"},{"name":"Remove list","id":"e80f51d6-4c64-4eb9-ad56-3182972ed6b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/audience-list","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","audience-list"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e80f51d6-4c64-4eb9-ad56-3182972ed6b8"}],"id":"d9d74be3-b0c2-44a1-b259-06bd405cdb3a","_postman_id":"d9d74be3-b0c2-44a1-b259-06bd405cdb3a","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}}],"id":"71d67b4d-9856-4069-84ab-f89386dc8d5d","description":"<p>StartFragmentThe <strong>Audience List</strong> is a resource designed to create and manage groups of people with shared characteristics or interests. Each list consists of two main components:</p>\n<p>1. <strong>List Definition</strong>: Contains information such as the name of the audience, helping to identify and organize different groups.<br />2. <strong>List of People</strong>: Represents the individuals included in the audience, allowing you to add, update, or remove participants.</p>\n<p>This resource is ideal for segmentation, personalized communication, and planning targeted actions.</p>\n","_postman_id":"71d67b4d-9856-4069-84ab-f89386dc8d5d","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"User","item":[{"name":"Get User","id":"fdf6a9e7-1e84-4aef-a921-08c8df808f39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/user/:idPerson","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","user",":idPerson"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"","key":"idPerson"}]}},"response":[{"id":"ddac1096-3671-4a61-88d5-c59dff7e8e2f","name":"Successful Response","originalRequest":{"method":"GET","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/user/{{person}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 05 Oct 2023 13:44:33 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"141"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 47,\n    \"name\": \"Tintim\",\n    \"email\": \"tintim@tintim.com.br\",\n    \"countryCallingCode\": 55,\n    \"cellphone\": \"19966659986\",\n    \"document\": null,\n    \"language\": \"pt_BR\"\n}"}],"_postman_id":"fdf6a9e7-1e84-4aef-a921-08c8df808f39"},{"name":"List User","id":"8d6b1799-1244-4d88-b4c2-5a104c124f01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/user?page=1&entries=100","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","user"],"host":["acme","myguper.com"],"query":[{"key":"page","value":"1"},{"key":"entries","value":"100"},{"disabled":true,"key":"q[name]","value":"User name"},{"disabled":true,"key":"q[email]","value":""},{"disabled":true,"key":"q[countryCallingCode]","value":"55"},{"disabled":true,"key":"q[cellphone]","value":"99999999"},{"disabled":true,"key":"q[document]","value":""},{"disabled":true,"key":"q[dateOfBirth]","value":"yyyy/mm/dd"}],"variable":[]}},"response":[{"id":"d07d8d24-221e-4155-a774-39711eb74a31","name":"Successful Response","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://acme.myguper.com/api/register/user?page=1&entries=100","protocol":"https","host":["acme","myguper.com"],"path":["api","register","user"],"query":[{"key":"page","value":"1"},{"key":"entries","value":"100"},{"key":"q[name]","value":"Customer name","disabled":true},{"key":"q[email]","value":"","disabled":true},{"key":"q[cellphone]","value":null,"disabled":true},{"key":"q[document]","value":"","disabled":true},{"key":"q[countryCallingCode]","value":null,"disabled":true},{"key":"q[dateOfBirth]","value":null,"disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 21 Jan 2025 21:44:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Apache/2.4.62 (Amazon Linux) OpenSSL/3.0.8"}],"cookie":[],"responseTime":null,"body":"{\n    \"list\": [\n        {\n            \"id\": 616,\n            \"entityType\": null,\n            \"name\": \"Renan\",\n            \"email\": null,\n            \"countryCallingCode\": null,\n            \"cellphone\": null,\n            \"document\": null,\n            \"gender\": null,\n            \"postalCode\": null,\n            \"dateOfBirth\": null,\n            \"language\": null,\n            \"flags\": null,\n            \"matchWith\": null,\n            \"isHomologation\": 0,\n            \"store\": null,\n            \"createdAt\": \"2023-10-17T14:32:53-03:00\",\n            \"updatedAt\": \"2024-01-09T14:40:28-03:00\"\n        },\n        {\n            \"id\": 661,\n            \"entityType\": null,\n            \"name\": \"Felipe\",\n            \"email\": \"felipe.brasil@gmail.com\",\n            \"countryCallingCode\": null,\n            \"cellphone\": null,\n            \"document\": null,\n            \"gender\": null,\n            \"postalCode\": null,\n            \"dateOfBirth\": null,\n            \"language\": null,\n            \"flags\": null,\n            \"matchWith\": null,\n            \"isHomologation\": 0,\n            \"store\": null,\n            \"createdAt\": \"2024-03-19T09:19:23-03:00\",\n            \"updatedAt\": \"2024-03-19T09:19:23-03:00\"\n        },\n        {\n            \"id\": 187670,\n            \"entityType\": null,\n            \"name\": \"Guper Teste\",\n            \"email\": \"teste@guper.co\",\n            \"countryCallingCode\": 55,\n            \"cellphone\": null,\n            \"document\": null,\n            \"gender\": null,\n            \"postalCode\": null,\n            \"dateOfBirth\": null,\n            \"language\": null,\n            \"flags\": null,\n            \"matchWith\": null,\n            \"isHomologation\": 0,\n            \"store\": null,\n            \"createdAt\": \"2024-08-26T13:25:28-03:00\",\n            \"updatedAt\": \"2024-08-26T13:25:28-03:00\"\n        },\n        {\n            \"id\": 619,\n            \"entityType\": null,\n            \"name\": \"Carlos\",\n            \"email\": \"carlos@gmail.com\",\n            \"countryCallingCode\": 55,\n            \"cellphone\": \"196654985465\",\n            \"document\": null,\n            \"gender\": null,\n            \"postalCode\": null,\n            \"dateOfBirth\": null,\n            \"language\": null,\n            \"flags\": null,\n            \"matchWith\": null,\n            \"isHomologation\": 0,\n            \"store\": null,\n            \"createdAt\": \"2023-10-17T15:43:26-03:00\",\n            \"updatedAt\": \"2023-10-17T19:09:35-03:00\"\n        },\n        {\n            \"id\": 622,\n            \"entityType\": null,\n            \"name\": \"Daniel Arbelaez\",\n            \"email\": \"daniel.arbelaez@guper.co\",\n            \"countryCallingCode\": 55,\n            \"cellphone\": \"3015315043\",\n            \"document\": null,\n            \"gender\": null,\n            \"postalCode\": null,\n            \"dateOfBirth\": null,\n            \"language\": null,\n            \"flags\": null,\n            \"matchWith\": null,\n            \"isHomologation\": 0,\n            \"store\": null,\n            \"createdAt\": \"2023-10-30T21:59:25-03:00\",\n            \"updatedAt\": \"2023-10-30T21:59:25-03:00\"\n        },\n        {\n            \"id\": 623,\n            \"entityType\": null,\n            \"name\": \"Ingrid Almeida\",\n            \"email\": \"ingrid@guper.co\",\n            \"countryCallingCode\": 55,\n            \"cellphone\": \"5548531717\",\n            \"document\": null,\n            \"gender\": null,\n            \"postalCode\": null,\n            \"dateOfBirth\": null,\n            \"language\": null,\n            \"flags\": null,\n            \"matchWith\": null,\n            \"isHomologation\": 0,\n            \"store\": null,\n            \"createdAt\": \"2023-10-31T23:32:48-03:00\",\n            \"updatedAt\": \"2023-10-31T23:33:28-03:00\"\n        }\n    ],\n    \"total\": 6,\n    \"pagination\": {\n        \"entries\": 100,\n        \"order\": [],\n        \"totalPages\": 1,\n        \"currentPage\": 1,\n        \"isInitial\": true,\n        \"isEnd\": true,\n        \"totalPrevPages\": 0,\n        \"totalNextPages\": 0\n    }\n}"}],"_postman_id":"8d6b1799-1244-4d88-b4c2-5a104c124f01"},{"name":"Create User","id":"23b9cb86-4f7d-4674-875c-863b784b8a53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Tintin\",\r\n    \"email\": \"tintim@tintim.com.br\",\r\n    \"countryCallingCode\": 55,\r\n    \"cellphone\": \"19 9 8245-6598\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/user","description":"<p><strong>Request body parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>refId</td>\n<td>string/null</td>\n<td>User reference code</td>\n</tr>\n<tr>\n<td>celphone *</td>\n<td>string</td>\n<td>Persons celphone</td>\n</tr>\n<tr>\n<td>name *</td>\n<td>string</td>\n<td>Persons name</td>\n</tr>\n<tr>\n<td>document</td>\n<td>string</td>\n<td>Persons document</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>Persons email</td>\n</tr>\n<tr>\n<td>validated</td>\n<td>Bollean</td>\n<td>validation requests</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","user"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"23b9cb86-4f7d-4674-875c-863b784b8a53"},{"name":"Update  User","id":"2b7f803e-ca0a-4dd0-9112-c3adb19118a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1,\r\n    \"name\": \"Tintin\",\r\n    \"email\": \"tintin@tintin.com.br\",\r\n    \"celphone\": \"+55 19 9 8245-6598\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/user","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","user"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2b7f803e-ca0a-4dd0-9112-c3adb19118a4"},{"name":"Remove  User","id":"31205f7e-1a40-4a9c-b1df-3bfd6e613beb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/user","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","user"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"31205f7e-1a40-4a9c-b1df-3bfd6e613beb"},{"name":"Create invite user","id":"3dca004c-001c-46cd-8ebc-d938e6f4fbda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/user/invite/:idPerson","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","user","invite",":idPerson"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"","key":"idPerson"}]}},"response":[{"id":"83d37597-ebc9-4b88-9ba1-c970ce857d44","name":"Successful Response","originalRequest":{"method":"GET","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/invite/60"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 28 Aug 2023 18:24:31 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"241"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"inviteToken\": \"MAjLGiKVeKFG97TaYTDwmcEgOvrICbdAgo7t%2BytNC%2FV6hJ3fSBKbLh%2F7Oju3wHli4ELaOUH0AsyWlEs%2B4hzccAZmhnG0mmLmayN2VZCQmLZbLSYVwOfW14xJ9nof5LWmHWLeazwby%2BJuYkei8Poh04Eune00pIHAvWU6Vlr3Rbk%3D\",\n    \"dateTime\": \"2023-08-28T15:24:34-03:00\"\n}"}],"_postman_id":"3dca004c-001c-46cd-8ebc-d938e6f4fbda"}],"id":"91d695ab-93a3-4d7e-938c-cf5c0f723a6e","description":"<p>Person requests serve as the central registration for all individuals associated with the organization, whether they are customers or employees. If you are registering an employee, begin by creating their registration as a 'person.' Afterward, request an invite through the endpoint <code>/register/invite/{{idPerson}}</code>.</p>\n<p>For 'person' registration, the mandatory fields are <code>name</code> and <code>cellphone</code>.</p>\n","_postman_id":"91d695ab-93a3-4d7e-938c-cf5c0f723a6e","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Segmentation","item":[{"name":"Tags","item":[{"name":"create","id":"245b4ef7-4b5a-46d5-900a-3d4e011840fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Tag name\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/tags","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","tags"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"245b4ef7-4b5a-46d5-900a-3d4e011840fb"},{"name":"Get","id":"750ce3b8-a681-4b65-915a-fefb1e211e20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/tags","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","tags"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"750ce3b8-a681-4b65-915a-fefb1e211e20"},{"name":"List","id":"77f01f48-3ae0-4f52-a439-9fb9699091d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/tags","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","tags"],"host":["acme","myguper.com"],"query":[{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"entries","value":"100"},{"disabled":true,"key":"q[name]","value":"User name"}],"variable":[]}},"response":[],"_postman_id":"77f01f48-3ae0-4f52-a439-9fb9699091d1"}],"id":"ed80676a-f3d8-44d5-82e1-d812cf14fcf9","_postman_id":"ed80676a-f3d8-44d5-82e1-d812cf14fcf9","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}}],"id":"eb2b7757-7aac-46a3-a95f-4393b707d16d","_postman_id":"eb2b7757-7aac-46a3-a95f-4393b707d16d","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Datacapture","item":[{"name":"Source","item":[{"name":"Get","id":"af198abb-af6c-4f33-a9a7-1b263f080eb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/datacapture/sid/:id","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","datacapture","sid",":id"],"host":["acme","myguper.com"],"query":[],"variable":[{"id":"43676de6-9dfe-4924-a72f-232dbc3a8cd0","type":"any","value":"1","key":"id"}]}},"response":[],"_postman_id":"af198abb-af6c-4f33-a9a7-1b263f080eb2"},{"name":"List","id":"902f1374-a131-47c9-9ff5-2d8ec79ce7fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/datacapture/sid?p=1&e=100","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","datacapture","sid"],"host":["acme","myguper.com"],"query":[{"key":"p","value":"1"},{"key":"e","value":"100"},{"disabled":true,"key":"q[name]","value":"User name"}],"variable":[]}},"response":[],"_postman_id":"902f1374-a131-47c9-9ff5-2d8ec79ce7fa"},{"name":"Create","id":"dca051df-55a1-4151-a785-735b5a10ec8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"alias\": \"outdoor\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/datacapture/sid","description":"<p><strong>Request body parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>refId</td>\n<td>string/null</td>\n<td>User reference code</td>\n</tr>\n<tr>\n<td>celphone *</td>\n<td>string</td>\n<td>Persons celphone</td>\n</tr>\n<tr>\n<td>name *</td>\n<td>string</td>\n<td>Persons name</td>\n</tr>\n<tr>\n<td>document</td>\n<td>string</td>\n<td>Persons document</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>Persons email</td>\n</tr>\n<tr>\n<td>validated</td>\n<td>Bollean</td>\n<td>validation requests</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","datacapture","sid"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"dca051df-55a1-4151-a785-735b5a10ec8d"},{"name":"Update","id":"fb1ad781-055c-4ba4-9e4f-979ed97c28b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1,\r\n    \"alias\": \"outdoor\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/datacapture/sid","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","datacapture","sid"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fb1ad781-055c-4ba4-9e4f-979ed97c28b3"},{"name":"Remove","id":"fa4f302b-d339-4a27-842a-5964ddef15a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/datacapture/sid","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","datacapture","sid"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fa4f302b-d339-4a27-842a-5964ddef15a6"}],"id":"72252a09-bff9-4b82-9f53-f4f04e2962b9","_postman_id":"72252a09-bff9-4b82-9f53-f4f04e2962b9","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Form","item":[{"name":"Get","id":"ca4ef5d3-240c-4cd9-a0ad-3e4f8dc1b890","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/datacapture/form/:id","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","datacapture","form",":id"],"host":["acme","myguper.com"],"query":[],"variable":[{"id":"d2c31e12-71e6-4a75-b30e-e15a104cd504","type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"ca4ef5d3-240c-4cd9-a0ad-3e4f8dc1b890"},{"name":"List","id":"1ba9b208-afb7-4b5e-b28b-b415eb2fd6e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/datacapture/form?p=1&e=100","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","datacapture","form"],"host":["acme","myguper.com"],"query":[{"key":"p","value":"1"},{"key":"e","value":"100"},{"disabled":true,"key":"q[name]","value":"User name"}],"variable":[]}},"response":[],"_postman_id":"1ba9b208-afb7-4b5e-b28b-b415eb2fd6e6"},{"name":"Create","id":"a6e4bd1e-7d63-44fa-b2a6-91d323c6b053","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"optin\",\r\n    \"fields\": [\r\n        {\r\n            \"name\": \"name\",\r\n            \"label\": \"Nome\",\r\n            \"type\": \"text\",\r\n            \"required\": true\r\n        },\r\n        {\r\n            \"name\": \"email\",\r\n            \"label\": \"E-mail\",\r\n            \"type\": \"email\",\r\n            \"required\": true\r\n        },\r\n        {\r\n            \"name\": \"cellphone\",\r\n            \"label\": \"Telefone\",\r\n            \"type\": \"text\",\r\n            \"required\": false\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/datacapture/form","description":"<p><strong>Request body parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>refId</td>\n<td>string/null</td>\n<td>User reference code</td>\n</tr>\n<tr>\n<td>celphone *</td>\n<td>string</td>\n<td>Persons celphone</td>\n</tr>\n<tr>\n<td>name *</td>\n<td>string</td>\n<td>Persons name</td>\n</tr>\n<tr>\n<td>document</td>\n<td>string</td>\n<td>Persons document</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>Persons email</td>\n</tr>\n<tr>\n<td>validated</td>\n<td>Bollean</td>\n<td>validation requests</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","datacapture","form"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a6e4bd1e-7d63-44fa-b2a6-91d323c6b053"},{"name":"Update","id":"3c5ae6fd-d51b-42d8-8f4a-7b3c5341c184","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1,\r\n    \"name\": \"optin\",\r\n    \"fields\": [\r\n        {\r\n            \"name\": \"name\",\r\n            \"label\": \"Nome\",\r\n            \"type\": \"text\",\r\n            \"required\": true\r\n        },\r\n        {\r\n            \"name\": \"email\",\r\n            \"label\": \"E-mail\",\r\n            \"type\": \"email\",\r\n            \"required\": true\r\n        },\r\n        {\r\n            \"name\": \"phone\",\r\n            \"label\": \"Telefone\",\r\n            \"type\": \"text\",\r\n            \"required\": false\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/datacapture/form","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","datacapture","form"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3c5ae6fd-d51b-42d8-8f4a-7b3c5341c184"},{"name":"Remove","id":"4f74c3d9-e610-42ba-98cf-def2b2c5befe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/datacapture/form","description":"<p>Request for registering people</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","datacapture","form"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4f74c3d9-e610-42ba-98cf-def2b2c5befe"}],"id":"bfd0be1f-ada3-4113-a5fc-73ac224ec7d3","_postman_id":"bfd0be1f-ada3-4113-a5fc-73ac224ec7d3","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Render Form","id":"94216c9e-b9cc-4562-a3d2-00e89c7800ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/datacapture/:formID/render/:sID","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","datacapture",":formID","render",":sID"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"","key":"formID"},{"type":"any","value":"","key":"sID"}]}},"response":[{"id":"45dc9ef6-0f34-47c9-9071-0f8ab89f72db","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://acme.myguper.com/api/register/datacapture/:formID/render/:SID","protocol":"https","host":["acme","myguper.com"],"path":["api","register","datacapture",":formID","render",":SID"],"variable":[{"key":"formID","value":""},{"key":"SID","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 12 May 2025 19:19:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Apache/2.4.62 (Amazon Linux) OpenSSL/3.0.8"}],"cookie":[],"responseTime":null,"body":"{\n  \"submissionKey\": \"xyz987654\",\n  \"fields\": [\n    { \n        \"name\": \"name\", \n        \"label\": \"Nome\", \n        \"type\": \"text\", \n        \"required\": true\n    },\n    { \n        \"name\": \"email\", \n        \"label\": \"E-mail\", \n        \"type\": \"email\", \n        \"required\": true\n    },\n    { \n        \"name\": \"phone\", \n        \"label\": \"Telefone\", \n        \"type\": \"text\", \n        \"required\": false\n    }\n  ]\n}"}],"_postman_id":"94216c9e-b9cc-4562-a3d2-00e89c7800ab"},{"name":"Submit","id":"a337dec4-b6fd-4175-9c5c-2d379fb056f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Maria Oliveira\",\r\n  \"email\": \"maria@exemplo.com\",\r\n  \"phone\": \"+5511999999999\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/register/datacapture/submit/:submissionKey","urlObject":{"protocol":"https","path":["api","register","datacapture","submit",":submissionKey"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"","key":"submissionKey"}]}},"response":[],"_postman_id":"a337dec4-b6fd-4175-9c5c-2d379fb056f6"}],"id":"716cc02e-9eb9-409c-b5a5-3619db3e3775","_postman_id":"716cc02e-9eb9-409c-b5a5-3619db3e3775","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Ping","id":"3fd7b6dc-5bfe-4f72-9696-1873215293f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/register/ping","description":"<p>Resource for checking service availability</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","register","ping"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"9f7dabfe-23e0-4301-b6f6-ef433576a089","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-guper-authorization","value":"","type":"text"}],"url":"https://acme.myguper.com/api/register/ping"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 11 Aug 2023 16:48:47 GMT"},{"key":"Server","value":"Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6"},{"key":"X-Powered-By","value":"PHP/8.1.6"},{"key":"Content-Length","value":"84"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"account\": \"acme\",\n    \"response\": \"Server online\",\n    \"dateTime\": \"2023-08-11T13:48:50-03:00\"\n}"}],"_postman_id":"3fd7b6dc-5bfe-4f72-9696-1873215293f1"}],"id":"bbfaf76c-80e0-4d6d-a06c-0474e9988663","description":"<p>The <strong>Register</strong> service plays a pivotal role in our application, as it serves as the central repository for recording all types of records, including those associated with individuals and stores.</p>\n","event":[{"listen":"prerequest","script":{"id":"b471337c-07ca-41f6-81f6-adbec7a795b0","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"1c7ee48a-d0b4-4b28-9e79-9310af248ef3","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"bbfaf76c-80e0-4d6d-a06c-0474e9988663","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Sender","item":[{"name":"Queue","item":[{"name":"Find","id":"89334ba5-230e-43fe-887c-def769383f95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/sender/queue/:id","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sender","queue",":id"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"89334ba5-230e-43fe-887c-def769383f95"},{"name":"List","id":"788a627b-2bd2-4c88-9fa3-3ae563b18d6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/sender/queue","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sender","queue"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"788a627b-2bd2-4c88-9fa3-3ae563b18d6b"}],"id":"781764f6-6634-48b0-ba07-fee0ce84e990","_postman_id":"781764f6-6634-48b0-ba07-fee0ce84e990","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"ProviderSettings","item":[{"name":"Find","id":"48f0968f-1437-449c-952c-19f2136710b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/sender/provider-settings/:id","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sender","provider-settings",":id"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"48f0968f-1437-449c-952c-19f2136710b4"},{"name":"List","id":"15abed27-e10e-49aa-9d26-e9bece7268ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/sender/provider-settings","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sender","provider-settings"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"15abed27-e10e-49aa-9d26-e9bece7268ae"},{"name":"Create","id":"0e3b095d-3bc1-4cd2-b262-e1d7ffa642fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-guper-authorization","value":""}],"body":{"mode":"raw","raw":"{\r\n    \"provider\": \"provider_id\",\r\n    \"data\": [\"field1\", \"field2\", \"field3\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/sender/provider-settings","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sender","provider-settings"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0e3b095d-3bc1-4cd2-b262-e1d7ffa642fe"},{"name":"Update","id":"c9e6d556-4407-41f0-8330-efbaf9e98bae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-guper-authorization","value":""}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"{{id}}\",\r\n    \"provider\": \"provider_id\",\r\n    \"data\": [\"field1\", \"field2\", \"field3\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/sender/provider-settings","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sender","provider-settings"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c9e6d556-4407-41f0-8330-efbaf9e98bae"},{"name":"Delete","id":"846024ef-1a02-4cdf-b15f-a3e82909353d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-guper-authorization","value":""}],"body":{"mode":"raw","raw":"{\r\n    \"id\": {{id}}\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/sender/provider-settings","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sender","provider-settings"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"846024ef-1a02-4cdf-b15f-a3e82909353d"}],"id":"da713440-0456-4a28-9485-b8f9b098b4c6","_postman_id":"da713440-0456-4a28-9485-b8f9b098b4c6","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"TemplatesCustom","item":[{"name":"Find","id":"cd62c0f2-7187-4959-bd0e-384b99b4de6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/sender/template-custom/:id","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sender","template-custom",":id"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"cd62c0f2-7187-4959-bd0e-384b99b4de6a"},{"name":"List","id":"752022d2-a35b-4931-bbee-2137a11bee25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-guper-authorization","value":""}],"url":"https://acme.myguper.com/api/sender/template-custom","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sender","template-custom"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"752022d2-a35b-4931-bbee-2137a11bee25"},{"name":"Create","id":"8a7c4f94-daf4-4e14-98f6-2a4acf9fe2a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"slug\": \"slug\",\r\n    \"subject\": \"subject\",\r\n    \"text\": \"text\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/sender/template-custom","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sender","template-custom"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8a7c4f94-daf4-4e14-98f6-2a4acf9fe2a7"},{"name":"Update","id":"c7fbac1e-5205-42cf-8678-c027f9e3213d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"{{id}}\",\r\n    \"slug\": \"slug\",\r\n    \"subject\": \"subject\",\r\n    \"text\": \"text\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/sender/template-custom","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sender","template-custom"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c7fbac1e-5205-42cf-8678-c027f9e3213d"},{"name":"Delete","id":"8d99f95a-270f-48e2-9656-7f3c2dbd0bab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": {{id}}\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/sender/template-custom","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sender","template-custom"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8d99f95a-270f-48e2-9656-7f3c2dbd0bab"}],"id":"daf56ee2-a583-49f3-a406-43ee5558cbb8","_postman_id":"daf56ee2-a583-49f3-a406-43ee5558cbb8","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"TemplateOrganizationConfig","item":[{"name":"Find","id":"e58d0384-0ae9-4010-8296-0d371826ac8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/sender/template-organization-config/:id","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sender","template-organization-config",":id"],"host":["acme","myguper.com"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"e58d0384-0ae9-4010-8296-0d371826ac8c"},{"name":"List","id":"e08eed8f-7392-4403-8412-c938fab82a1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/sender/template-organization-config","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sender","template-organization-config"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e08eed8f-7392-4403-8412-c938fab82a1b"},{"name":"Create","id":"2b1303ba-6aec-4da3-998e-e48b85cdaa00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"slug\": \"slug\",\r\n    \"provider\": \"provider|null\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/sender/template-organization-config","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sender","template-organization-config"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2b1303ba-6aec-4da3-998e-e48b85cdaa00"},{"name":"Update","id":"48ddcdf6-ed6f-415d-829f-7831787f91bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"{{id}}\",\r\n    \"slug\": \"slug\",\r\n    \"provider\": \"provider\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/sender/template-organization-config","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sender","template-organization-config"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"48ddcdf6-ed6f-415d-829f-7831787f91bf"},{"name":"Delete","id":"df9d7b94-1af2-45be-a7f7-cc64b8416a57","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": {{id}}\r\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/sender/template-organization-config","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sender","template-organization-config"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"df9d7b94-1af2-45be-a7f7-cc64b8416a57"}],"id":"aba3a218-5428-438b-baf2-919ef85f9d65","_postman_id":"aba3a218-5428-438b-baf2-919ef85f9d65","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"External provider","item":[{"name":"Setup","item":[{"name":"Create","event":[{"listen":"test","script":{"exec":["((pm) => {","    if (pm.response.code === 201) {","        const json = pm.response.json();","        pm.collectionVariables.set('providerSettingId', json.id);","        console.log('providerSettingId set:', json.id);","    }","})(pm);"],"type":"text/javascript","packages":{},"id":"c9f1868d-acbd-43cb-ae7c-4bf968b894b7"}}],"id":"6494819d-b3ab-4254-b9be-48230ed7647a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"provider\": {{externalProviderSourceId}},\n    \"name\": \"Meu Webhook CRM\",\n    \"default\": false,\n    \"data\": {\n        \"url\": \"https://api.meucrm.com/webhooks/messages\",\n        \"authMethod\": \"bearer\",\n        \"authToken\": \"sk-abc123...\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/sender/external-provider","description":"<p>Cria um External Provider (webhook) para a organizacao.</p>\n<h2 id=\"campos\">Campos</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Obrigatorio</th>\n<th>Descricao</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>provider</code></td>\n<td>int</td>\n<td>Sim</td>\n<td>ID do provider_source tipo external</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Sim</td>\n<td>Nome descritivo</td>\n</tr>\n<tr>\n<td><code>default</code></td>\n<td>bool</td>\n<td>Nao</td>\n<td>Provider padrao para o tipo (default: false)</td>\n</tr>\n<tr>\n<td><code>data.url</code></td>\n<td>string</td>\n<td>Sim</td>\n<td>URL do webhook (HTTPS recomendado)</td>\n</tr>\n<tr>\n<td><code>data.authMethod</code></td>\n<td>enum</td>\n<td>Sim</td>\n<td><code>none</code>, <code>bearer</code>, <code>basic</code>, <code>apikey</code></td>\n</tr>\n<tr>\n<td><code>data.authToken</code></td>\n<td>string</td>\n<td>Condicional</td>\n<td>Token para <code>bearer</code> ou <code>apikey</code></td>\n</tr>\n<tr>\n<td><code>data.authUsername</code></td>\n<td>string</td>\n<td>Condicional</td>\n<td>Username para <code>basic</code></td>\n</tr>\n<tr>\n<td><code>data.authPassword</code></td>\n<td>string</td>\n<td>Condicional</td>\n<td>Password para <code>basic</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"auth-methods\">Auth Methods</h2>\n<p><strong>bearer</strong> → Header: <code>Authorization: Bearer {token}</code></p>\n<p><strong>basic</strong> → Header: <code>Authorization: Basic {base64(user:pass)}</code></p>\n<p><strong>apikey</strong> → Header: <code>X-API-Key: {token}</code></p>\n<p><strong>none</strong> → Sem header de auth</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sender","external-provider"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"7cad464b-1155-4903-bb0d-6761e2206142","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"provider\": 7,\n    \"name\": \"Meu Webhook CRM\",\n    \"default\": false,\n    \"data\": {\n        \"url\": \"https://api.meucrm.com/webhooks/messages\",\n        \"authMethod\": \"bearer\",\n        \"authToken\": \"sk-abc123...\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/sender/provider-settings"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 42,\n    \"organization\": \"xpto\",\n    \"provider\": 7,\n    \"name\": \"Meu Webhook CRM\",\n    \"default\": false,\n    \"data\": {\n        \"url\": \"https://api.meucrm.com/webhooks/messages\",\n        \"authMethod\": \"bearer\",\n        \"authToken\": \"sk-abc123...\"\n    }\n}"}],"_postman_id":"6494819d-b3ab-4254-b9be-48230ed7647a"},{"name":"Delete","id":"2467b09c-612c-49c9-80f3-03196b8b3653","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://acme.myguper.com/api/sender/external-provider/{{providerSettingId}}","description":"<p>Remove um External Provider.</p>\n<p>Templates associados a este provider passarao a usar o default da org (se existir).</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sender","external-provider","{{providerSettingId}}"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"39fe876e-65a7-4f5e-9b95-591b6ceaf7ec","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":"https://acme.myguper.com/api/sender/provider-settings/{{providerSettingId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"2467b09c-612c-49c9-80f3-03196b8b3653"},{"name":"List","id":"82d99a84-3660-4440-89c8-ddb569a6ea53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/sender/external-provider","description":"<p>Lista todos os provider settings da organizacao.</p>\n<p>Retorna todos os tipos (SMTP, Twilio, External, etc). Cada item inclui os dados de configuracao completos.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sender","external-provider"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"92ba8774-76e3-4f61-9a08-448fe8b4326d","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/sender/provider-settings"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 42,\n        \"organization\": \"xpto\",\n        \"provider\": 7,\n        \"name\": \"Meu Webhook CRM\",\n        \"default\": false,\n        \"data\": {\n            \"url\": \"https://api.meucrm.com/webhooks/messages\",\n            \"authMethod\": \"bearer\",\n            \"authToken\": \"sk-abc123...\"\n        }\n    },\n    {\n        \"id\": 10,\n        \"organization\": \"xpto\",\n        \"provider\": 1,\n        \"name\": \"SMTP Principal\",\n        \"default\": true,\n        \"data\": {\n            \"host\": \"smtp.example.com\",\n            \"username\": \"sender@example.com\"\n        }\n    }\n]"}],"_postman_id":"82d99a84-3660-4440-89c8-ddb569a6ea53"},{"name":"Update","id":"d1bcc66c-695f-4410-a69d-bae73ea0f959","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Webhook CRM v2\",\n    \"data\": {\n        \"url\": \"https://api.meucrm.com/v2/webhooks/messages\",\n        \"authMethod\": \"bearer\",\n        \"authToken\": \"sk-new-token-456...\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/sender/external-provider/{{providerSettingId}}","description":"<p>Atualiza um External Provider existente.</p>\n<p>Enviar apenas os campos que deseja alterar.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sender","external-provider","{{providerSettingId}}"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[{"id":"e88b39af-81c2-414d-a2d3-b281d5c83598","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Webhook CRM v2\",\n    \"data\": {\n        \"url\": \"https://api.meucrm.com/v2/webhooks/messages\",\n        \"authMethod\": \"bearer\",\n        \"authToken\": \"sk-new-token-456...\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/sender/provider-settings/{{providerSettingId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 42,\n    \"organization\": \"xpto\",\n    \"provider\": 7,\n    \"name\": \"Webhook CRM v2\",\n    \"default\": false,\n    \"data\": {\n        \"url\": \"https://api.meucrm.com/v2/webhooks/messages\",\n        \"authMethod\": \"bearer\",\n        \"authToken\": \"sk-new-token-456...\"\n    }\n}"}],"_postman_id":"d1bcc66c-695f-4410-a69d-bae73ea0f959"}],"id":"4d9c5c95-768f-44a0-9e66-3183a04d53ee","_postman_id":"4d9c5c95-768f-44a0-9e66-3183a04d53ee","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Webhook Payload — Exemplo Completo","id":"8306a910-350e-424c-886f-e999c027b054","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer sk-abc123...","description":"<p>Header de auth conforme authMethod configurado no provider_settings</p>\n"},{"key":"User-Agent","value":"Guper-Sender/1.0"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"message.send\",\n  \"timestamp\": \"2026-02-26T14:30:00Z\",\n  \"organization\": \"xpto\",\n  \"message\": {\n    \"id\": \"12345\",\n    \"sequence\": \"welcome\",\n    \"slug\": \"welcome_email\",\n    \"subject\": \"Ola Joao, bem-vindo!\",\n    \"body\": \"Seu cadastro foi confirmado. Aproveite seu cashback de R$ 50,00.\",\n    \"destination\": {\n      \"name\": \"Joao Silva\",\n      \"email\": \"joao@email.com\",\n      \"cellphone\": \"+5511999999999\",\n      \"countryCallingCode\": \"55\"\n    }\n  },\n  \"variables\": {\n    \"client\": {\n      \"name\": \"Joao Silva\",\n      \"email\": \"joao@email.com\",\n      \"cellphone\": \"11999999999\"\n    },\n    \"order\": {\n      \"id\": 123,\n      \"total\": 5000,\n      \"date\": \"2026-02-26 14:30:00\"\n    },\n    \"reward\": {\n      \"name\": \"Cashback\",\n      \"value\": 5000\n    },\n    \"organization\": {\n      \"name\": \"Loja XYZ\",\n      \"currency\": \"BRL\",\n      \"language\": \"pt_BR\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.meucrm.com/webhooks/messages","description":"<p><strong>Este request e apenas referencia</strong> — representa o que o Sender envia ao webhook.</p>\n<h2 id=\"campos\">Campos</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descricao</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>event</code></td>\n<td>string</td>\n<td>Sempre <code>message.send</code></td>\n</tr>\n<tr>\n<td><code>timestamp</code></td>\n<td>string</td>\n<td>ISO 8601</td>\n</tr>\n<tr>\n<td><code>organization</code></td>\n<td>string</td>\n<td>Slug da org</td>\n</tr>\n<tr>\n<td><code>message.id</code></td>\n<td>string</td>\n<td>ID na dispatcher_queue</td>\n</tr>\n<tr>\n<td><code>message.sequence</code></td>\n<td>string</td>\n<td>Sequence da mensagem</td>\n</tr>\n<tr>\n<td><code>message.slug</code></td>\n<td>string</td>\n<td>Slug do template</td>\n</tr>\n<tr>\n<td><code>message.subject</code></td>\n<td>string</td>\n<td>Subject <strong>renderizado</strong></td>\n</tr>\n<tr>\n<td><code>message.body</code></td>\n<td>string</td>\n<td>Body <strong>renderizado</strong></td>\n</tr>\n<tr>\n<td><code>message.destination</code></td>\n<td>object</td>\n<td>Dados do destinatario</td>\n</tr>\n<tr>\n<td><code>variables</code></td>\n<td>object</td>\n<td>Dados brutos originais</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-esperada\">Response Esperada</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status HTTP</th>\n<th>Comportamento</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>2xx</strong></td>\n<td>Sucesso — mensagem <code>done</code></td>\n</tr>\n<tr>\n<td><strong>4xx</strong></td>\n<td>Erro permanente — nao retenta</td>\n</tr>\n<tr>\n<td><strong>5xx</strong></td>\n<td>Erro temporario — retenta</td>\n</tr>\n<tr>\n<td><strong>Timeout</strong></td>\n<td>Erro temporario — retenta</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["webhooks","messages"],"host":["api","meucrm","com"],"query":[],"variable":[]}},"response":[{"id":"eb1b50cb-475c-465f-b8aa-165972385015","name":"Webhook Response — Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer sk-abc123...","description":"Header de auth conforme authMethod configurado no provider_settings"},{"key":"User-Agent","value":"Guper-Sender/1.0"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"message.send\",\n  \"timestamp\": \"2026-02-26T14:30:00Z\",\n  \"organization\": \"xpto\",\n  \"message\": {\n    \"id\": \"12345\",\n    \"sequence\": \"welcome\",\n    \"slug\": \"welcome_email\",\n    \"subject\": \"Ola Joao, bem-vindo!\",\n    \"body\": \"Seu cadastro foi confirmado. Aproveite seu cashback de R$ 50,00.\",\n    \"destination\": {\n      \"name\": \"Joao Silva\",\n      \"email\": \"joao@email.com\",\n      \"cellphone\": \"+5511999999999\",\n      \"countryCallingCode\": \"55\"\n    }\n  },\n  \"variables\": {\n    \"client\": {\n      \"name\": \"Joao Silva\",\n      \"email\": \"joao@email.com\",\n      \"cellphone\": \"11999999999\"\n    },\n    \"order\": {\n      \"id\": 123,\n      \"total\": 5000,\n      \"date\": \"2026-02-26 14:30:00\"\n    },\n    \"reward\": {\n      \"name\": \"Cashback\",\n      \"value\": 5000\n    },\n    \"organization\": {\n      \"name\": \"Loja XYZ\",\n      \"currency\": \"BRL\",\n      \"language\": \"pt_BR\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.meucrm.com/webhooks/messages","description":"**Este request e apenas referencia** — representa o que o Sender envia ao webhook.\n\n## Campos\n\n| Campo | Tipo | Descricao |\n|-------|------|----------|\n| `event` | string | Sempre `message.send` |\n| `timestamp` | string | ISO 8601 |\n| `organization` | string | Slug da org |\n| `message.id` | string | ID na dispatcher_queue |\n| `message.sequence` | string | Sequence da mensagem |\n| `message.slug` | string | Slug do template |\n| `message.subject` | string | Subject **renderizado** |\n| `message.body` | string | Body **renderizado** |\n| `message.destination` | object | Dados do destinatario |\n| `variables` | object | Dados brutos originais |\n\n## Response Esperada\n\n| Status HTTP | Comportamento |\n|-------------|---------------|\n| **2xx** | Sucesso — mensagem `done` |\n| **4xx** | Erro permanente — nao retenta |\n| **5xx** | Erro temporario — retenta |\n| **Timeout** | Erro temporario — retenta |"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"received\": true\n}"},{"id":"3ea62bdb-4210-4d77-9e1c-0b3491a13291","name":"Webhook Response — Client Error (no retry)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer sk-abc123...","description":"Header de auth conforme authMethod configurado no provider_settings"},{"key":"User-Agent","value":"Guper-Sender/1.0"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"message.send\",\n  \"timestamp\": \"2026-02-26T14:30:00Z\",\n  \"organization\": \"xpto\",\n  \"message\": {\n    \"id\": \"12345\",\n    \"sequence\": \"welcome\",\n    \"slug\": \"welcome_email\",\n    \"subject\": \"Ola Joao, bem-vindo!\",\n    \"body\": \"Seu cadastro foi confirmado. Aproveite seu cashback de R$ 50,00.\",\n    \"destination\": {\n      \"name\": \"Joao Silva\",\n      \"email\": \"joao@email.com\",\n      \"cellphone\": \"+5511999999999\",\n      \"countryCallingCode\": \"55\"\n    }\n  },\n  \"variables\": {\n    \"client\": {\n      \"name\": \"Joao Silva\",\n      \"email\": \"joao@email.com\",\n      \"cellphone\": \"11999999999\"\n    },\n    \"order\": {\n      \"id\": 123,\n      \"total\": 5000,\n      \"date\": \"2026-02-26 14:30:00\"\n    },\n    \"reward\": {\n      \"name\": \"Cashback\",\n      \"value\": 5000\n    },\n    \"organization\": {\n      \"name\": \"Loja XYZ\",\n      \"currency\": \"BRL\",\n      \"language\": \"pt_BR\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.meucrm.com/webhooks/messages","description":"**Este request e apenas referencia** — representa o que o Sender envia ao webhook.\n\n## Campos\n\n| Campo | Tipo | Descricao |\n|-------|------|----------|\n| `event` | string | Sempre `message.send` |\n| `timestamp` | string | ISO 8601 |\n| `organization` | string | Slug da org |\n| `message.id` | string | ID na dispatcher_queue |\n| `message.sequence` | string | Sequence da mensagem |\n| `message.slug` | string | Slug do template |\n| `message.subject` | string | Subject **renderizado** |\n| `message.body` | string | Body **renderizado** |\n| `message.destination` | object | Dados do destinatario |\n| `variables` | object | Dados brutos originais |\n\n## Response Esperada\n\n| Status HTTP | Comportamento |\n|-------------|---------------|\n| **2xx** | Sucesso — mensagem `done` |\n| **4xx** | Erro permanente — nao retenta |\n| **5xx** | Erro temporario — retenta |\n| **Timeout** | Erro temporario — retenta |"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Invalid payload\"\n}"},{"id":"ed51820d-6280-457e-b77a-b8f3ad6f0e32","name":"Webhook Response — Server Error (retry)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer sk-abc123...","description":"Header de auth conforme authMethod configurado no provider_settings"},{"key":"User-Agent","value":"Guper-Sender/1.0"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"message.send\",\n  \"timestamp\": \"2026-02-26T14:30:00Z\",\n  \"organization\": \"xpto\",\n  \"message\": {\n    \"id\": \"12345\",\n    \"sequence\": \"welcome\",\n    \"slug\": \"welcome_email\",\n    \"subject\": \"Ola Joao, bem-vindo!\",\n    \"body\": \"Seu cadastro foi confirmado. Aproveite seu cashback de R$ 50,00.\",\n    \"destination\": {\n      \"name\": \"Joao Silva\",\n      \"email\": \"joao@email.com\",\n      \"cellphone\": \"+5511999999999\",\n      \"countryCallingCode\": \"55\"\n    }\n  },\n  \"variables\": {\n    \"client\": {\n      \"name\": \"Joao Silva\",\n      \"email\": \"joao@email.com\",\n      \"cellphone\": \"11999999999\"\n    },\n    \"order\": {\n      \"id\": 123,\n      \"total\": 5000,\n      \"date\": \"2026-02-26 14:30:00\"\n    },\n    \"reward\": {\n      \"name\": \"Cashback\",\n      \"value\": 5000\n    },\n    \"organization\": {\n      \"name\": \"Loja XYZ\",\n      \"currency\": \"BRL\",\n      \"language\": \"pt_BR\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.meucrm.com/webhooks/messages","description":"**Este request e apenas referencia** — representa o que o Sender envia ao webhook.\n\n## Campos\n\n| Campo | Tipo | Descricao |\n|-------|------|----------|\n| `event` | string | Sempre `message.send` |\n| `timestamp` | string | ISO 8601 |\n| `organization` | string | Slug da org |\n| `message.id` | string | ID na dispatcher_queue |\n| `message.sequence` | string | Sequence da mensagem |\n| `message.slug` | string | Slug do template |\n| `message.subject` | string | Subject **renderizado** |\n| `message.body` | string | Body **renderizado** |\n| `message.destination` | object | Dados do destinatario |\n| `variables` | object | Dados brutos originais |\n\n## Response Esperada\n\n| Status HTTP | Comportamento |\n|-------------|---------------|\n| **2xx** | Sucesso — mensagem `done` |\n| **4xx** | Erro permanente — nao retenta |\n| **5xx** | Erro temporario — retenta |\n| **Timeout** | Erro temporario — retenta |"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Internal server error\"\n}"}],"_postman_id":"8306a910-350e-424c-886f-e999c027b054"}],"id":"ef025570-fa09-4e00-b0a6-4c6107e03067","_postman_id":"ef025570-fa09-4e00-b0a6-4c6107e03067","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Ping","id":"df0dbe2a-39b1-4855-ace1-dce4f572527b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://acme.myguper.com/api/sender/ping","description":"<p>Resource for checking service availability</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sender","ping"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"df0dbe2a-39b1-4855-ace1-dce4f572527b"}],"id":"7f291d04-4192-4b47-800e-cae46dac1099","_postman_id":"7f291d04-4192-4b47-800e-cae46dac1099","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}},{"name":"Organization","item":[{"name":"Ping","id":"f4272ab0-95ec-4410-a284-b5786c4cdecb","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"GET","header":[{"key":"User-Agent","value":"connect"}],"url":"https://acme.myguper.com/api/account/ping","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","account","ping"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f4272ab0-95ec-4410-a284-b5786c4cdecb"},{"name":"Get Account","id":"35b8bcae-611a-476c-b384-f937683fd89d","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"GET","header":[{"key":"User-Agent","value":"myaccount"},{"key":"signature","value":"nk3oeEY9CuY9fyBMth99o0aujtzZsRFomtAa3jj/cDZT62RjJHu0o4KqFRCkMN+RcSG4ZHFIs68R4m8WWBjmf577OdH3BmO8FTskVQs6mZW3tZ4ZyW+03qbucBRVqDUpkv+yX7PkIey/0oqWPIk3BqN4ObiUiVPSKX6cOfxDTtQ="}],"url":"https://acme.myguper.com/api/account","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","account"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"35b8bcae-611a-476c-b384-f937683fd89d"},{"name":"List Account","id":"e75985cc-10e0-4489-a04e-37a3a9dfa88e","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"GET","header":[{"key":"User-Agent","value":"myaccount"},{"key":"signature","value":"nk3oeEY9CuY9fyBMth99o0aujtzZsRFomtAa3jj/cDZT62RjJHu0o4KqFRCkMN+RcSG4ZHFIs68R4m8WWBjmf577OdH3BmO8FTskVQs6mZW3tZ4ZyW+03qbucBRVqDUpkv+yX7PkIey/0oqWPIk3BqN4ObiUiVPSKX6cOfxDTtQ="}],"url":"https://acme.myguper.com/api/account/list?e=0","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","account","list"],"host":["acme","myguper.com"],"query":[{"key":"e","value":"0"}],"variable":[]}},"response":[],"_postman_id":"e75985cc-10e0-4489-a04e-37a3a9dfa88e"},{"name":"Account Activate","id":"5ae5310d-ec0b-4024-a788-e2114fe4ea12","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"signature","value":"FTPgR6n3xma13BpI08KgspbDfay3sc/86QzAuY2mfZeYIAxchlkQNOzzqfpVKsrfisS5LGsHhWl4fhJC+xUJDstdn36ll5mpERTujJjTB7k0Z4mqOpNUreOSQcUAPTlmrB2YG7KjPGCjgLdbUkoOG8OOKsufatr6Cd4zIf/cRI0="},{"key":"User-Agent","value":"connect"}],"url":"https://acme.myguper.com/api/account/activate","urlObject":{"protocol":"https","path":["api","account","activate"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5ae5310d-ec0b-4024-a788-e2114fe4ea12"},{"name":"Account Deactivate","id":"0819abc1-120e-467e-8240-5d8cc37ec93c","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"signature","value":"FTPgR6n3xma13BpI08KgspbDfay3sc/86QzAuY2mfZeYIAxchlkQNOzzqfpVKsrfisS5LGsHhWl4fhJC+xUJDstdn36ll5mpERTujJjTB7k0Z4mqOpNUreOSQcUAPTlmrB2YG7KjPGCjgLdbUkoOG8OOKsufatr6Cd4zIf/cRI0="},{"key":"User-Agent","value":"connect"}],"url":"https://acme.myguper.com/api/account/deactivate","urlObject":{"protocol":"https","path":["api","account","deactivate"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0819abc1-120e-467e-8240-5d8cc37ec93c"},{"name":"Has account service","id":"7d0de41f-17b0-4140-9d85-6564f418639c","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"GET","header":[{"key":"signature","value":"QP+lWh2/ycM18yGuNNWlVJgtbnbKKR6xJLH9Ile1uTah6L/gay5sss/h0tHA3oSUQ+6o7GPl0kl8FqbXm7HHBVM4yjlIO1qWWbCWD0Z8hex9CYwR+Ed84hneuMba9om4apM4l0siRZz3Y22eT/ZizDQREONpxLxphsHRMLywWJo="},{"key":"User-Agent","value":"connect"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/account/hasService?service=account","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","account","hasService"],"host":["acme","myguper.com"],"query":[{"key":"service","value":"account"}],"variable":[]}},"response":[],"_postman_id":"7d0de41f-17b0-4140-9d85-6564f418639c"},{"name":"Get account service scope","id":"3057f89d-7e7d-425c-9b15-dc06eba9e799","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"signature","value":"QP+lWh2/ycM18yGuNNWlVJgtbnbKKR6xJLH9Ile1uTah6L/gay5sss/h0tHA3oSUQ+6o7GPl0kl8FqbXm7HHBVM4yjlIO1qWWbCWD0Z8hex9CYwR+Ed84hneuMba9om4apM4l0siRZz3Y22eT/ZizDQREONpxLxphsHRMLywWJo="},{"key":"User-Agent","value":"connect"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/account/service/scope","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","account","service","scope"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3057f89d-7e7d-425c-9b15-dc06eba9e799"},{"name":"Create Account","id":"abace0fb-590a-4790-aa1b-341bd5ace158","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-guper-authorization","value":"{{tokenGuper}}"}],"body":{"mode":"raw","raw":"{\r\n    \"account\": \"acme\",\r\n    \"name\": \"Acme\",\r\n    \"language\": \"en_US\",\r\n    \"currency\": \"USD\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://guper.myguper.com/api/account/createAccount","urlObject":{"protocol":"https","path":["api","account","createAccount"],"host":["guper","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"abace0fb-590a-4790-aa1b-341bd5ace158"},{"name":"Grant services","id":"3750fbc5-1a8d-4525-a52f-557d41590938","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-guper-authorization","value":""}],"body":{"mode":"raw","raw":"[\r\n    \"register\",\r\n    \"loyalty\",\r\n    \"connect\",\r\n    \"order\",\r\n    \"sender\"\r\n]","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/account/services","description":"<p>Make sure to use a token generated from a <strong>developer</strong> account to grant access to an organization's services.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","account","services"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3750fbc5-1a8d-4525-a52f-557d41590938"},{"name":"Revoke services","id":"7021ce7d-d98c-4d6d-90de-eeffed61c23e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-guper-authorization","value":"{{tokenGuper}}"}],"body":{"mode":"raw","raw":"[\r\n    \"register\"\r\n]","options":{"raw":{"language":"json"}}},"url":"https://acme.myguper.com/api/account/services","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}},"urlObject":{"protocol":"https","path":["api","account","services"],"host":["acme","myguper.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7021ce7d-d98c-4d6d-90de-eeffed61c23e"}],"id":"830da1fc-f62c-4511-b56a-bd802706d310","_postman_id":"830da1fc-f62c-4511-b56a-bd802706d310","description":"","auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"b7996912-fccb-4091-8821-89e464400101","id":"b7996912-fccb-4091-8821-89e464400101","name":"Guper","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"value":"{{x-guper-authorization}}","key":"<key>"}},"event":[{"listen":"prerequest","script":{"id":"43dad07c-1c6f-42f5-a9c0-a85898d7ad1b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"28e2a961-e94b-40a8-94d1-6679f3b42fd2","type":"text/javascript","exec":[""]}}],"variable":[{"key":"token","value":"","type":"string"},{"key":"scheme","value":"https","type":"string"},{"key":"account","value":"acme","type":"string"},{"key":"environment","value":"myguper.com","type":"string"}]}