{"info":{"_postman_id":"277437fc-d44d-49e5-9cfc-41c0f434dcb0","name":"Smartie API","description":"<html><head></head><body><p>La siguiente documentación es para desarrolladores. Smartie es una solución desarrollada para integrar:</p>\n<ul>\n<li><p>Pedidos</p>\n</li>\n<li><p>Devoluciones</p>\n</li>\n<li><p>RMA</p>\n</li>\n<li><p>Catálogo</p>\n</li>\n<li><p>Precios</p>\n</li>\n<li><p>...</p>\n</li>\n</ul>\n<h2 id=\"objetivo-principal\">Objetivo principal</h2>\n<p>Permitir la integración de diferentes orígenes con distintos destinos a través de una aplicación SaaS desarrollada por Onestic.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"11173955","collectionId":"277437fc-d44d-49e5-9cfc-41c0f434dcb0","publishedId":"TzCQcnNT","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-02-18T08:11:12.000Z"},"item":[{"name":"General notes","item":[{"name":"Autenticación","item":[{"name":"Registro","item":[],"id":"39c49c64-5978-42dd-a2ec-76d863765549","description":"<p>El equipo de Smartie proporcionará las credenciales necesarias para el acceso. Dada la naturaleza de la aplicación no se permite el registro desde el exterior de la misma.</p>\n<p>Una vez existe un usuario, si los permiso asignados lo permiten, se pueden crear más usuarios.</p>\n","_postman_id":"39c49c64-5978-42dd-a2ec-76d863765549"}],"id":"3e62cfaf-c309-48af-b000-4a71f4353a6e","description":"<p>Todas las peticiones a la API deben ir autenticadas con el token que se obtiene al hacer el login.</p>\n<p>Por tanto, lo primero es obtener un token para poder hacer peticiones a la API:</p>\n<p><a href=\"https://apidocs.smartie.io/#bfd77541-6dd3-4158-867b-6062410f2ce7\">https://apidocs.smartie.io/#bfd77541-6dd3-4158-867b-6062410f2ce7</a></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"username\":\"{{user}}\",\n    \"password\":\"{{password}}\"\n}\n\n</code></pre>\n<p>En la respuesta obtendremos el token en el campo access:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"access\":\"XXXXXX\", \n    \"refresh\":\"YYYYYY\"\n}\n\n</code></pre>\n<p><strong>Nota: es un token de ejemplo no válido.</strong></p>\n<p>En los ejemplos de cualquier sección de la documentación este token access reemplazará a {KEY-HASH-PASSWORD} en nuestras llamadas.</p>\n<p>Debe incluirse en la cabecera <em>Authorization</em> de la petición, siendo el valor la palabra \"Bearer\" y un espacio antes del token obtenido:</p>\n<p><code>Bearer XXXXXX</code></p>\n","_postman_id":"3e62cfaf-c309-48af-b000-4a71f4353a6e"},{"name":"User - Agent","item":[],"id":"4b7efecb-bf12-4be8-a401-b0c1f799dfb0","description":"<p>Smartie ha incorporado algunos mecanismos de protección para DoS, Flooding y consultas de motores de búsqueda.</p>\n<p>Para prevenir ciertos ataques será obligatorio especificar un User-Agent con tal de garantizar la estabilidad y seguridad de las comunicaciones.</p>\n<h1 id=\"¿que-es-un-user-agent\">¿Que es un User Agent?</h1>\n<p><a href=\"https://en.wikipedia.org/wiki/User_agent\">https://en.wikipedia.org/wiki/User_agent</a></p>\n<p>En el contexto de una API, un \"user-agent\" es una cadena de texto que los clientes HTTP envían a los servidores para identificar el tipo de dispositivo, sistema operativo, navegador y aplicaciones que están utilizando para acceder a la API. Esencialmente, el user-agent actúa como un identificador de la aplicación o el entorno desde el cual se realiza la solicitud a la API.</p>\n<h1 id=\"requisitos\">Requisitos</h1>\n<ul>\n<li>Identificar toda petición API con un User-Agent que no sea genérico.Cualquier petición con un User-Agent inválido devolverá el <a href=\"https://www.rfc-editor.org/rfc/rfc9110.html#name-406-not-acceptable\">código HTTP 406</a></li>\n</ul>\n<h1 id=\"que-peticiones-que-devuelven-un-406\">Que peticiones que devuelven un 406</h1>\n<ul>\n<li>Las que tengan un User-Agent no definido o tenga un valor demasiado genérico.<ul>\n<li>Ciertas librerías de python, PHP, Linux o Windows utilizan los siguientes:</li>\n</ul>\n</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Ejemplos de User-Agent no permitidos</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>python-requests/2.27.1  <br />python-requests/2.31.0  <br />okhttp/4.12.0  <br />curl/7.68.0  <br />Wget/1.20.3  <br />axios/0.18.1  <br />Iframely/1.3.1  <br />Mozilla/5.0  <br />Amazonbot/0.1</td>\n</tr>\n</tbody>\n</table>\n</div><p>Nota: Estos son sólo algunos ejemplos, otras versiones de librerías como python-requests o okhttp por ejemplo también serán bloqueadas.</p>\n<h1 id=\"cómo-especificar-un-user-agent-erp-y-otras-aplicaciones\">Cómo especificar un User-Agent (ERP y otras aplicaciones)</h1>\n<p>En función de la librería, framework y lenguaje de programación el mecanismo puede variar, pero el resultado siempre debe ser una cabecera en la petición que se envíe a Smartie que contenga la cabecera \"User-Agent\".</p>\n<p>Para aplicaciones que siempre utilizan un agente de usuario fijo, es suficiente que el agente de usuario esté compuesto por una combinación del nombre de la empresa (nombre de la empresa que desarrolló la aplicación), el nombre de la aplicación y la versión de la aplicación.</p>\n<p>p.ej. Empresa desarrolladora – Nombre de la aplicación – Versión de la aplicación</p>\n<h3 id=\"ejemplo-con-curl\">Ejemplo con Curl</h3>\n<blockquote>\n<p>\"User-Agent\":\"Empresarrolladora-ERP-v3.45.2\" </p>\n</blockquote>\n<p>Por ejemplo, en una llamada mediante Curl se especifica con el parámetro \"-A\"</p>\n<blockquote>\n<p>curl https://{URL} -A \"Empresarrolladora-ERP-v3.45.2\" </p>\n</blockquote>\n<h3 id=\"ejemplo-con-python\">Ejemplo con python</h3>\n<blockquote>\n<p>import requests<br />url = \"https://...\"<br />headers = {<br />'User-Agent': 'Empresarrolladora-ERP-v3.45.2'<br />}<br />response = requests.get(url, headers=headers)</p>\n</blockquote>\n","_postman_id":"4b7efecb-bf12-4be8-a401-b0c1f799dfb0"},{"name":"Content-Type","item":[],"id":"a1d594dd-6960-4776-b906-b3ee129dbfd5","description":"<p>Sólo se aceptan peticiones en formato JSON</p>\n<p>La API siempre devolverá los datos en formato JSON</p>\n","_postman_id":"a1d594dd-6960-4776-b906-b3ee129dbfd5"},{"name":"SSL","item":[],"id":"9e3c6889-4982-4da0-a841-080c83f368d3","description":"<p>Todas las peticiones deberían usar el protocolo SSL.</p>\n","_postman_id":"9e3c6889-4982-4da0-a841-080c83f368d3"},{"name":"Codificación UTF-8","item":[],"id":"6f76da4f-eb4a-49c4-9392-350a25122c81","description":"<p>Todos los datos son codificados en UTF-8</p>\n","_postman_id":"6f76da4f-eb4a-49c4-9392-350a25122c81"},{"name":"Formato de las fechas","item":[],"id":"d3655bc3-9855-4698-8fd7-b84bdeae546b","description":"<p>Las fechas siempre se construyen con el patrón<code>YYYY-MM-DDThh:mm:ss±hh:mm</code>.</p>\n<p>Tenga en cuenta que en este patrón se interpreta:</p>\n<ul>\n<li><code>YYYY</code> Refiere al año en 4 dígitos</li>\n<li><code>MM</code> Refiere al mes, en 2 dígitos (01-12)</li>\n<li><code>DD</code>Refiere al día, en 2 dígitos (01-31)</li>\n<li><code>T</code> Es el delimitador entre la fecha y la hora</li>\n<li><code>hh</code> Refiere la hora en 2 dígitos (00-23)</li>\n<li><code>mm</code> Refiere a los minutos, en 2 dígitos (00-59)</li>\n<li><code>ss</code> Refiere a los segundos, en 2 dígitos (00-59)</li>\n<li><code>±hh:mm</code> Refiere al offset desde UTC según la zona horaria (+01:00)</li>\n</ul>\n","_postman_id":"d3655bc3-9855-4698-8fd7-b84bdeae546b"},{"name":"Idiomas","item":[],"id":"c89c13b3-2c86-486f-9727-ba6b082238ca","description":"<p>Se puede especficar el idioma en el que se desea que el API devuelva algunos datos. Si los datos están traducidos, serán devueltos en dicho idioma.</p>\n<p>El formato del idioma es usualmente ISO-3166 / ISO-639. Por ejemplo \"en_us\".</p>\n<p>En algunas situaciones donde el formato del idioma puede ser ISO-639, se puede utilizar también. Por ejemplo \"en\".</p>\n<p>Para usarlo hay que enviar en cualquier petición la cabecera:</p>\n<p><strong><code>Accept-Language:</code></strong><code>LOCALE</code></p>\n<p>Ejemplos:</p>\n<ul>\n<li><p><strong>Accept-Language:</strong> en</p>\n</li>\n<li><p><strong>Accept-Language:</strong> es</p>\n</li>\n</ul>\n","_postman_id":"c89c13b3-2c86-486f-9727-ba6b082238ca"},{"name":"Paginación y ordenación","item":[],"id":"9ce979f6-bd69-4b1a-b2c1-13f2fd0cbdae","description":"<p>Es recomendable paginar siempre la respuesta.</p>\n<h2 id=\"peticiones-get\"><strong>PETICIONES GET</strong></h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parámetro</strong></th>\n<th><strong>Uso</strong></th>\n<th><strong>Ejemplo</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>page</td>\n<td>Especifica la página de resultados a devolver.</td>\n<td>?page=2</td>\n</tr>\n<tr>\n<td>page_size</td>\n<td>Determina el número de elementos devueltos por página.</td>\n<td>?page_size=10</td>\n</tr>\n<tr>\n<td>sort</td>\n<td>Ordena mediante uno o más campos, separados por comas, de forma ascendente o descendente.  <br />  <br />* Para ordenar de forma descendente se indicará con el signo negativo - delante del atributo</td>\n<td>?sort=attribute_id,product_id  <br />?sort=-attribute_id,product_id</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Ejemplos:</strong></p>\n<ul>\n<li>Primera petición:</li>\n</ul>\n<p><code>https://demo.smartie.io/api/ui/list-values/?page_size=10</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"count\": null,\n    \"next\": \"http://localhost:8000/ui/list-values/?page=2&amp;page_size=10\",\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 957,\n            \"translations\": [],\n            \"attribute\": {\n                \"id\": 24,\n        },...\n    ]\n}\n\n</code></pre>\n<ul>\n<li>Segunda petición:</li>\n</ul>\n<p><code>https://demo.smartie.io/api/ui/list-values/?page=2</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"count\": null,\n    \"next\": \"http://localhost:8000/ui/list-values/?page=3&amp;page_size=10\",\n    \"previous\": \"http://localhost:8000/ui/list-values/?page_size=10\",\n    \"results\": [\n        {\n            \"id\": 957,\n            \"translations\": [],\n            \"attribute\": {\n                \"id\": 24,\n        },...\n    ]\n}\n\n</code></pre>\n<p>En la respuesta viene incluido el número total de elementos y las url a las que pedir la página siguiente o anterior.</p>\n<h2 id=\"peticiones-post\"><strong>PETICIONES POST</strong></h2>\n<p>En caso de peticiones POST a un endpoint que soporte búsquedas vía la acción <em>/search</em> la estructura a enviar en la petición es la siguiente:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"pagination\": {\n    \"page\": 1,\n    \"page_size\": 100\n  },\n  \"sort\": [\"-attribute_id\", \"product_id\"],\n  \"filters\": {}\n}\n\n</code></pre>\n<h2 id=\"contadores\"><strong>CONTADORES</strong></h2>\n<p>Este endpoint permite obtener la cantidad total de entidades que cumplen con un criterio de búsqueda específico.</p>\n<p><em>URL:</em><br /><code>https://demo.smartie.io/api/api/v1/products/count</code></p>\n<p><em>Método:</em><br />POST</p>\n<p><em>Cuerpo de la petición:</em></p>\n<p>El cuerpo debe contener los filtros para realizar la búsqueda. Por ejemplo, para contar productos cuyo SKU contenga \"1234\":</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"sku__icontains\": \"1234\"\n}\n</code></pre>\n<p>Respuesta esperada:</p>\n<p>La respuesta es un objeto JSON que incluye el número total de productos que cumplen con el filtro.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"detail\": 42\n}\n</code></pre>\n","_postman_id":"9ce979f6-bd69-4b1a-b2c1-13f2fd0cbdae"},{"name":"Filtrado","item":[],"id":"acaf832d-0b30-454b-b76b-a7a7929a523f","description":"<p>Por convenio en función del endpoint se enviarán los filtros de búsqueda vía GET o POST. Esto no quiere decir que en la mayoría de endpoints no se encuentren ambos métodos habilitados.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><br />  <br /><strong>Entidad</strong>  <br />  <br /></th>\n<th><br />  <br /><strong>Tipo</strong>  <br />  <br /></th>\n<th><br />  <br /><strong>Particularidades</strong>  <br />  <br /></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><br />  <br />Process  <br />  <br /></td>\n<td><br />  <br />POST  <br />  <br /></td>\n<td><br />  <br />/ui/processes/search/  <br />  <br /></td>\n</tr>\n<tr>\n<td><br />  <br />Product  <br />  <br /></td>\n<td><br />  <br />POST  <br />  <br /></td>\n<td><br />  <br />/ui/views/1/product-views/search/  <br />  <br /></td>\n</tr>\n<tr>\n<td><br />  <br />El resto de entidades  <br />  <br /></td>\n<td><br />  <br />GET  <br />  <br /></td>\n<td><br />  <br /></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"post\"><strong>POST</strong></h2>\n<p>Se enviarán como un diccionario dentro del campo <strong>filters</strong> del payload de la petición:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"pagination\": {\n    \"page\": 1,\n    \"page_size\": 100\n  },\n  \"sort\": [\n    \"-attribute_id\",\n    \"product_id\"\n  ],\n  \"filters\": {\n    \"NOMBRE_CAMPO__OPERADOR\": \"VALOR\",\n    \"ENTIDAD_RELACIONADA__NOMBRE_CAMPO__OPERADOR\": \"VALOR\",\n    \"NOMBRE_CAMPO_JSONB__KEY_JSON__OPERADOR\": \"VALOR\"\n  }\n}\n\n</code></pre>\n<p>Para operadores aplicables a múltiples valores que comparar se seguirá esta estructura en forma de lista:</p>\n<p><code>\"NOMBRE_CAMPO__IN\": [\"VALOR_1\", \"VALOR_2\"]</code><br /><code>\"NOMBRE_CAMPO__RANGE\": [\"VALOR_1\", \"VALOR_2\"]</code></p>\n<h2 id=\"get\"><strong>GET</strong></h2>\n<p>Se enviarán como campos extras dentro de la URL de la petición:</p>\n<p><code>/api/product-views/search?page=1&amp;page_size=100&amp;sort=nombre_campo1,nombre_campo2,id&amp;nombre_campo1=valor1&amp;nombre_campo2=valor2&amp;nonombre_campo3__in=1,2,3</code></p>\n<p>Para operadores aplicables a múltiples valores que comparar se enviarán separados por comas:</p>\n<p><code>{NOMBRE_CAMPO}__IN={VALOR_1},{VALOR_2},{VALOR_3}&amp;{NOMBRE_CAMPO}__RANGE={VALOR_1},{VALOR_2}</code></p>\n","_postman_id":"acaf832d-0b30-454b-b76b-a7a7929a523f"},{"name":"Operadores","item":[],"id":"bf775279-cf49-4ab8-b559-2b617540ca7c","description":"<h2 id=\"operadores-de-cadena-string\"><strong>Operadores de cadena: string</strong></h2>\n<p>\"i\" como prefijo para case insensitive. Se recomienda utilizar siempre insensitive.*</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Operador</strong></th>\n<th><strong>Comentario</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>iexact  <br />exact</td>\n<td>Igual</td>\n</tr>\n<tr>\n<td>icontains  <br />contains</td>\n<td>Contiene</td>\n</tr>\n<tr>\n<td>startswith  <br />istartswith</td>\n<td>Comienza por</td>\n</tr>\n<tr>\n<td>endswith  <br />iendswith</td>\n<td>Termina en</td>\n</tr>\n<tr>\n<td>in</td>\n<td>El valor está en uno de lista</td>\n</tr>\n<tr>\n<td>is_empty</td>\n<td>Es vacío</td>\n</tr>\n<tr>\n<td>regex  <br />iregex</td>\n<td>Expresión regular</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>Los operadores que actualmente admiten not para excluir son:</em><br /><code>'not_contains', 'not_exact', 'not_iexact', 'not_in', 'not_startswith', 'not_endswith'</code></p>\n<h2 id=\"operadores-numéricos-integer-float-decimal\"><strong>Operadores numéricos: integer, float, decimal</strong></h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Operador</strong></th>\n<th><strong>Comentario</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>'exact'</strong></td>\n<td>Igual a</td>\n</tr>\n<tr>\n<td><strong>'not_exact'</strong></td>\n<td>No igual a</td>\n</tr>\n<tr>\n<td><strong>'gt'</strong></td>\n<td>Mayor que</td>\n</tr>\n<tr>\n<td><strong>'gte'</strong></td>\n<td>Mayor o igual que</td>\n</tr>\n<tr>\n<td><strong>'lt'</strong></td>\n<td>Menos que</td>\n</tr>\n<tr>\n<td><strong>'lte'</strong></td>\n<td>Menor o igual que</td>\n</tr>\n<tr>\n<td><strong>'in'</strong></td>\n<td>El valor es igual a alguno de la lista</td>\n</tr>\n<tr>\n<td><strong>'not_in'</strong></td>\n<td>El valor NO es igual a alguno de la lista</td>\n</tr>\n<tr>\n<td><strong>'range'</strong></td>\n<td>El valor está dentro de un rango</td>\n</tr>\n<tr>\n<td>*\"not_\" como prefijo en el nombre del operador para excluir.*</td>\n<td>Ejemplos:  <br />not_exact  <br />not_in  <br />not_gt</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"operadores-booleano-nulos-y-vacíos\"><strong>Operadores booleano, nulos y vacíos</strong></h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Operador</strong></th>\n<th><strong>Comentario</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>NOMBRE_CAMPO__isnull: false</strong></td>\n<td>No es nulo</td>\n</tr>\n<tr>\n<td><strong>NOMBRE_CAMPO__isnull: true</strong></td>\n<td>Es nulo</td>\n</tr>\n<tr>\n<td><strong>NOMBRE_CAMPO__is_empty: false</strong></td>\n<td>No es un valor vacío: nulo, '', [], {}</td>\n</tr>\n<tr>\n<td><strong>NOMBRE_CAMPO__is_empty: true</strong></td>\n<td>Es un valor vacío: nulo, '', [], {}</td>\n</tr>\n<tr>\n<td><strong>NOMBRE_CAMPO__exact: true</strong></td>\n<td>Es un boolean True</td>\n</tr>\n<tr>\n<td><strong>NOMBRE_CAMPO__not_exact: true</strong></td>\n<td>Es diferente a un boolean True</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"operadores-fechas\"><strong>Operadores fechas</strong></h2>\n<p>Igual a: <strong>'exact'</strong></p>\n<p>El campo exact no es recomendable para realizar una búsqueda pues nos obliga a insertar la fecha, hora y timezone exacta para obtener el resultado. Usaremos <strong>contains.</strong></p>\n<p><strong>NOMBRE_CAMPO_FECHA__contains:</strong> <code>2019-05-24</code></p>\n<p>Menor o igual que: <strong>‘date_lte’</strong></p>\n<p>El operador date_lte ignora la hora de la fecha y devuelve todos los registros del día en concreto y anteriores.</p>\n<p><strong>NOMBRE_CAMPO_FECHA__date_lte:</strong> <code>2019-05-24</code></p>\n<p>Días que han pasado desde la fecha: <strong>‘days_from_now’, ‘hours_from_now’, ‘minutes_from_now’</strong></p>\n<p>El operador days_from_now devuelve el numero entero de días que han pasado desde la fecha hasta el momento actual. <strong>No admite los operadores numéricos listados anteriormente.</strong></p>\n<p><strong>NOMBRE_CAMPO_FECHA__days_from_now:</strong> <code>30</code></p>\n<p><strong>NOMBRE_CAMPO_FECHA__hours_from_now:</strong> <code>30</code><br /><strong>NOMBRE_CAMPO_FECHA__minutes_from_now</strong>: <code>30</code></p>\n<h2 id=\"otros-filtros-y-operadores-extendidos\"><strong>Otros filtros y operadores extendidos</strong></h2>\n<p>Filtra si un producto está asociado a alguna categoría: <strong>‘has_any_categories’</strong></p>\n<p><strong>has_any_categories:</strong> True</p>\n<p>Filtra si un producto tiene imagen principal asociada: <strong>‘main_image’</strong></p>\n<p><strong>main_image:</strong> True</p>\n<h2 id=\"filtros-or\"><strong>Filtros OR</strong></h2>\n<p>Comprueba si el dato comienza por cualquier valor de una lista: <strong>‘in-istartswith’</strong></p>\n<p><strong>NOMBRE_CAMPO__in-istartswith:</strong> ['a','b','c']</p>\n<p>Comprueba si el dato contiene cualquier valor de una lista: <strong>‘in-icontains’</strong></p>\n<p><strong>NOMBRE_CAMPO__in-icontains:</strong> ['a','b','c']</p>\n<p>Se puede construir un filtro con N grupos OR de N condiciones AND para aplicar ciertas condiciones u otras en la búsqueda. Se construye con una lista de diccionarios:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">\"filters\": {\n  \"or_filters\": [\n    {'NOMBRE_CAMPO1': 1, 'NOMBRE_CAMPO2__in': [2, 3]},\n    {'NOMBRE_CAMPO1: 2, 'NOMBRE_CAMPO3__key__in': [5, 6]},\n    {'NOMBRE_CAMPO1': 3}\n  ]\n}\n\n</code></pre>\n<h2 id=\"ejemplos-reales\"><strong>Ejemplos reales</strong></h2>\n<p>Llamada GET</p>\n<p><code>/api/product-views/search?page=1&amp;page_size=100&amp;sort=information__color,id&amp;active_exact=true&amp;information__color__contains=rojo&amp;information__size__in=35,36,37</code></p>\n<p>Llamada POST</p>\n<p><code>'/api/product-views/search'</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"pagination\": {\n    \"page\": 1,\n    \"page_size\": 100\n  },\n  \"sort\": [\"information__color\", \"id\"],\n  \"filters\": {\n    \"active__exact”: \"true\",\n    \"information__color__contains\": \"rojo\",\n    \"information__size__in\": [35, 36, 37],\n    \"information__price__is_empty\": false,\n    \"information__name__is_empty\": false,\n    \"sku__is_empty\": false,\n    \"created_at__range\": \"2011-01-01,2011-01-31\"\n  }\n}\n\n</code></pre>\n","_postman_id":"bf775279-cf49-4ab8-b559-2b617540ca7c"},{"name":"Códigos de respuesta HTTP","item":[],"id":"dcd5bcde-0243-4c44-bce2-0b16145091ca","description":"<p>Smartie usa códigos estándar de respuesta HTTP</p>\n<h3 id=\"códigos-válidos\">Códigos válidos</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Código</strong></th>\n<th><strong>Significado</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200 OK</td>\n<td>La petición se ha realizado correctamente. Puede devolver resultados si procede.</td>\n</tr>\n<tr>\n<td>201 Created</td>\n<td>La petición de crear un registro se ha realizado correctamente. Puede devolver el registro recien creado.</td>\n</tr>\n<tr>\n<td>204 No Content</td>\n<td>La petición se ha completado sin necesidad de devolver una respuesta: una eliminación, una actualización parcial, etc...</td>\n</tr>\n<tr>\n<td>207 Multi Status</td>\n<td>La petición que afecta a varios elementos se ha completado y devuelve una respuesta por cada uno de los elementos afectados, sea correcta o con errores en cada caso.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"códigos-de-error\">Códigos de error</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Código</strong></th>\n<th><strong>Significado</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400 Bad Request</td>\n<td>Error en la petición. Mal uso de un recurso. Por ejemplo un parámetro requerido es necesario, un parámetro con un mal formato o una petición filtrando datos por un valor inexistente.</td>\n</tr>\n<tr>\n<td>401 Unauthorized</td>\n<td>Llamada a la API sin autenticación correcta. Añade la información de autenticación o usa un token válido.</td>\n</tr>\n<tr>\n<td>403 Forbidden</td>\n<td>Aceso denegado al recurso.</td>\n</tr>\n<tr>\n<td>404 Not Found</td>\n<td>El recurso no existe.</td>\n</tr>\n<tr>\n<td>405 Method Not Allowed</td>\n<td>El método HTTP no está disponible para este recurso.</td>\n</tr>\n<tr>\n<td>406 Not Acceptable</td>\n<td>El contenido de la respuesta no está disponible para este recurso.</td>\n</tr>\n<tr>\n<td>415 Unsupported Media Type</td>\n<td>El tipo de contenido no está soportado</td>\n</tr>\n<tr>\n<td>429 Too many requests</td>\n<td>Límite de peticiones excedido.</td>\n</tr>\n<tr>\n<td>500 Internal Server Error</td>\n<td>El servidor ha encontrado un error no esperado</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"dcd5bcde-0243-4c44-bce2-0b16145091ca"},{"name":"Recuperando archivos","item":[],"id":"c49eb525-33f1-4225-a6bd-749546ac08ad","description":"<p>Al recuperar un archivo, en función del tipo puede ser que se devuelva el PATH al recurso o su contenido en base64</p>\n","_postman_id":"c49eb525-33f1-4225-a6bd-749546ac08ad"},{"name":"Atributos no documentados","item":[],"id":"50046f09-c76f-4b8c-9ae7-4a19fbc9d45d","description":"<p>Algunos endpoints pueden devolver más datos de los documentados que han sido rellenados por sistemas externos.</p>\n","_postman_id":"50046f09-c76f-4b8c-9ae7-4a19fbc9d45d"}],"id":"77cc8655-e92d-488b-8e7a-0439d39bd271","description":"<p>La API de Smartie sigue las convenciones <a href=\"https://www.ibm.com/es-es/cloud/learn/rest-apis\">REST</a>.</p>\n<p>A nivel de seguridad todas las peticiones, excepto la de login, deben ir autorizadas con un token Bearer. El token se obtiene tras identificarse correctamente con los credenciales proporcionados. Ese token Bearer debe ser enviado en la cabecera del resto de peticiones que se realicen, siempre por medio del protocolo HTTPS.</p>\n<p>Todos los datos enviados o devueltos por la API son tratados en formato JSON, siguiendo la estructura definida en cada caso.</p>\n<p>La API de Smartie en definitiva es un conjunto de recursos que permiten interactuar desde sistemas externos.</p>\n<ul>\n<li>Para usar la colección de postman, se necesitan las siguientes variables de entorno:<ul>\n<li><p>user → Cualquier usuario válido.</p>\n</li>\n<li><p>password → La contraseña del usuario.</p>\n</li>\n<li><p>api_url → La URL de la API proporcionada.</p>\n</li>\n</ul>\n</li>\n</ul>\n","_postman_id":"77cc8655-e92d-488b-8e7a-0439d39bd271"},{"name":"Postman Collection","item":[{"name":"Inventory","item":[{"name":"Stocks","item":[{"name":"S01 - Get stocks","event":[{"listen":"test","script":{"id":"0693051e-b3c6-420d-9ae6-f82648d15dca","exec":["var jsonData = pm.response.json();","pm.environment.set(\"access_token\", jsonData.access_token);"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"3e75a485-e524-4e33-a8b4-20219c26970b","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"30682a43-778e-474f-a9cd-81e3e7b832ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/stocks/","urlObject":{"path":["v1","stocks",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"55d1442c-eafb-469f-8198-8a1b9cc6a55c","name":"S01 - Get stocks","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://demo.smartie.io/api/v1/stocks/?page=1&page_size=20","host":["https://demo.smartie.io/api"],"path":["v1","stocks",""],"query":[{"key":"page","value":"1"},{"key":"page_size","value":"20"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 2,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 2,\n            \"warehouse\": {\n                \"id\": 1,\n                \"active\": true,\n                \"created_at\": \"2021-09-01T12:20:39.771894+02:00\",\n                \"updated_at\": \"2021-09-01T12:20:39.771914+02:00\",\n                \"name\": \"default\"\n            },\n            \"product\": {\n                \"id\": 10,\n                \"active\": true,\n                \"created_at\": \"2021-09-29T13:11:49.591966+02:00\",\n                \"updated_at\": \"2021-09-29T13:11:49.592002+02:00\",\n                \"sku\": \"123456\",\n                \"type\": \"SIMPLE\"\n            },\n            \"created_at\": \"2021-09-29T13:21:40.080571+02:00\",\n            \"updated_at\": \"2021-09-29T13:21:40.080593+02:00\",\n            \"quantity\": 7,\n            \"is_unlimited\": false\n        },\n        {\n            \"id\": 1,\n            \"warehouse\": {\n                \"id\": 1,\n                \"active\": true,\n                \"created_at\": \"2021-09-01T12:20:39.771894+02:00\",\n                \"updated_at\": \"2021-09-01T12:20:39.771914+02:00\",\n                \"name\": \"default\"\n            },\n            \"product\": {\n                \"id\": 5,\n                \"active\": true,\n                \"created_at\": \"2021-09-01T13:37:09.351306+02:00\",\n                \"updated_at\": \"2021-09-01T13:37:09.351328+02:00\",\n                \"sku\": \"sku1\",\n                \"type\": \"SIMPLE\"\n            },\n            \"created_at\": \"2021-09-02T15:19:32.212773+02:00\",\n            \"updated_at\": \"2021-09-29T13:26:28.117112+02:00\",\n            \"quantity\": 25,\n            \"is_unlimited\": false\n        }\n    ]\n}"},{"id":"fef84426-d505-4b82-894c-9051eaa5c27d","name":"S01 - Get stocks filtering by sku","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://demo.smartie.io/api/v1/stocks/?product__sku=sku1","host":["https://demo.smartie.io/api"],"path":["v1","stocks",""],"query":[{"key":"product__sku","value":"sku1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 2,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 1,\n            \"warehouse\": {\n                \"id\": 1,\n                \"active\": true,\n                \"created_at\": \"2021-09-01T12:20:39.771894+02:00\",\n                \"updated_at\": \"2021-09-01T12:20:39.771914+02:00\",\n                \"name\": \"default\"\n            },\n            \"product\": {\n                \"id\": 5,\n                \"active\": true,\n                \"created_at\": \"2021-09-01T13:37:09.351306+02:00\",\n                \"updated_at\": \"2021-09-01T13:37:09.351328+02:00\",\n                \"sku\": \"sku1\",\n                \"type\": \"SIMPLE\"\n            },\n            \"created_at\": \"2021-09-02T15:19:32.212773+02:00\",\n            \"updated_at\": \"2021-09-29T13:26:28.117112+02:00\",\n            \"quantity\": 25,\n            \"is_unlimited\": false\n        }\n    ]\n}"}],"_postman_id":"30682a43-778e-474f-a9cd-81e3e7b832ee"},{"name":"S01.1 - Get stocks Search","event":[{"listen":"test","script":{"id":"0693051e-b3c6-420d-9ae6-f82648d15dca","exec":["var jsonData = pm.response.json();","pm.environment.set(\"access_token\", jsonData.access_token);"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"3e75a485-e524-4e33-a8b4-20219c26970b","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"bc43d941-41af-4d0c-ab5d-b69fa691ed8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"pagination\": {\n    \"page\": 1,\n    \"page_size\": 20,\n    \"startRow\": 1,\n    \"endRow\": 20\n  },\n  \"filters\": {},\n  \"sort\": []\n}"},"url":"https://demo.smartie.io/api/v1/stocks/search","urlObject":{"path":["v1","stocks","search"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"09acef24-9412-4de0-b234-4136af9d6ff9","name":"S01.1 - Get stocks Search","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"pagination\": {\n    \"page\": 1,\n    \"page_size\": 20,\n    \"startRow\": 1,\n    \"endRow\": 20\n  },\n  \"filters\": {\n    \"warehouse__name__in\": [\n      \"Default\"\n    ]\n  },\n  \"sort\": [],\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/stocks/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 15011,\n    \"next\": \"https://api.smartie.io/ekseption-dev/api/v1/stocks/search?page=2\",\n    \"previous\": \"\",\n    \"results\": [\n        {\n            \"id\": 74391,\n            \"warehouse\": {\n                \"id\": 1,\n                \"views\": [\n                    4,\n                    10,\n                    13\n                ],\n                \"created_at\": \"2024-02-01T12:27:46.828148+01:00\",\n                \"updated_at\": \"2024-07-05T12:37:08.645818+02:00\",\n                \"icon_code\": \"\",\n                \"name\": \"Default\"\n            },\n            \"product\": {\n                \"id\": 32943,\n                \"created_at\": \"2024-02-08T00:39:45.012813+01:00\",\n                \"updated_at\": \"2024-07-05T12:56:50.517422+02:00\",\n                \"sku\": \"309601\",\n                \"type\": \"SIMPLE\",\n                \"information\": {\n                    \"tax\": 0.0,\n                    \"size\": \"031 103\",\n                    \"brand\": \"144\",\n                    \"color\": \"M24\",\n                    \"title\": \"Top de tirantes \"\n                }\n            },\n            \"created_at\": \"2024-02-08T11:09:47.942001+01:00\",\n            \"updated_at\": \"2024-02-08T11:09:47.942025+01:00\",\n            \"quantity\": 0,\n            \"is_locked\": false\n        }        \n    ]\n}"}],"_postman_id":"bc43d941-41af-4d0c-ab5d-b69fa691ed8f"},{"name":"S02 - Get stock","event":[{"listen":"test","script":{"id":"5ecc6bd8-3dcd-455b-8c1a-4be650b8942b","exec":["var jsonData = pm.response.json();","pm.environment.set(\"access_token\", jsonData.access_token);"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"dcbe2d7d-3fbd-4eac-a4a2-71c9d6a8f5cd","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"5a16cbb1-3617-41ae-ab31-01697c679266","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/stocks/{{stock_id}}","urlObject":{"path":["v1","stocks","{{stock_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a16cbb1-3617-41ae-ab31-01697c679266"},{"name":"S03 - Get stocks with filter by POST","event":[{"listen":"test","script":{"id":"6d97d13e-f501-4e71-8cfa-8bb69b66a1b7","exec":["var jsonData = pm.response.json();","pm.environment.set(\"access_token\", jsonData.access_token);"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"8d14d11f-51d3-4421-89af-501d1db7d744","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"0782a158-913b-4e35-ae15-9dd5dcdd2359","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"page\": {{page number}},\n        \"page_size\": {{page size}},\n    },\n    \"sort\": [],\n    \"filters\": {\n        \"product__sku\": \"{{sku}}\" // this is an example, can be filtered by any field\n    }\n}"},"url":"https://demo.smartie.io/api/v1/stocks/search","urlObject":{"path":["v1","stocks","search"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"64dbc91d-2f99-41f2-a6ab-64dbde31e7b1","name":"S03 - Get stocks with filter by POST","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"page\": 1,\n        \"page_size\": 20\n    },\n    \"sort\": [],\n    \"filters\": {\n        \"product__sku__startswith\": \"sku\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/stocks/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 2,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 1,\n            \"warehouse\": {\n                \"id\": 1,\n                \"active\": true,\n                \"created_at\": \"2021-09-01T12:20:39.771894+02:00\",\n                \"updated_at\": \"2021-09-01T12:20:39.771914+02:00\",\n                \"name\": \"default\"\n            },\n            \"product\": {\n                \"id\": 5,\n                \"active\": true,\n                \"created_at\": \"2021-09-01T13:37:09.351306+02:00\",\n                \"updated_at\": \"2021-09-01T13:37:09.351328+02:00\",\n                \"sku\": \"sku1\",\n                \"type\": \"SIMPLE\"\n            },\n            \"created_at\": \"2021-09-02T15:19:32.212773+02:00\",\n            \"updated_at\": \"2021-09-29T13:26:28.117112+02:00\",\n            \"quantity\": 25,\n            \"is_unlimited\": false\n        },\n        {\n            \"id\": 2,\n            \"warehouse\": {\n                \"id\": 1,\n                \"active\": true,\n                \"created_at\": \"2021-09-01T12:20:39.771894+02:00\",\n                \"updated_at\": \"2021-09-01T12:20:39.771914+02:00\",\n                \"name\": \"default\"\n            },\n            \"product\": {\n                \"id\": 6,\n                \"active\": true,\n                \"created_at\": \"2021-09-01T13:37:09.351306+02:00\",\n                \"updated_at\": \"2021-09-01T13:37:09.351328+02:00\",\n                \"sku\": \"sku2\",\n                \"type\": \"SIMPLE\"\n            },\n            \"created_at\": \"2021-09-02T15:19:32.212773+02:00\",\n            \"updated_at\": \"2021-09-29T13:26:28.117112+02:00\",\n            \"quantity\": 25,\n            \"is_unlimited\": false\n        }\n    ]\n}"}],"_postman_id":"0782a158-913b-4e35-ae15-9dd5dcdd2359"},{"name":"S04 - Update warehouse","event":[{"listen":"prerequest","script":{"id":"b46a735b-67fe-40fc-98c2-89286cbb8f8c","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"b82cfa51-aa95-4198-87f6-7a5a3899d944","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"testing\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/warehouses/1/","urlObject":{"path":["v1","warehouses","1",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b82cfa51-aa95-4198-87f6-7a5a3899d944"},{"name":"S05 - Update stock","event":[{"listen":"test","script":{"id":"397d3cf1-931a-4e89-ae1b-63b838e2ea2d","exec":["var jsonData = pm.response.json();","pm.environment.set(\"access_token\", jsonData.access_token);"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"621cbe37-7613-426e-bbc5-5a07155f6d9a","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"538259e7-4185-4265-b418-ee0e4e8a3191","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"quantity\":7\n}"},"url":"https://demo.smartie.io/api/v1/stocks/{{stock_id}}","urlObject":{"path":["v1","stocks","{{stock_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"538259e7-4185-4265-b418-ee0e4e8a3191"},{"name":"S05.1 - Update stock with sku","event":[{"listen":"test","script":{"id":"15f442ac-8edb-4ce5-a96b-690ad2ec2d36","exec":["var jsonData = pm.response.json();","pm.environment.set(\"access_token\", jsonData.access_token);"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"3b475476-752a-481d-97f5-e28cb94b9ab5","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"35783723-ca60-493e-97b4-28e452099649","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"quantity\":{{quantity}},\n    \"sku\": {{product_sku}},\n    \"warehouse\": {{warehouse_id}}\n}"},"url":"https://demo.smartie.io/api/v1/stocks/update_stock_sku","urlObject":{"path":["v1","stocks","update_stock_sku"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"ead0760c-57c6-4ba7-97e4-41409561326d","name":"S05.1 - Update stock with sku","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"quantity\": 10,\n    \"sku\": \"2000011\",\n    \"warehouse\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/stocks/update_stock_sku"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"warehouse\": {\n        \"id\": 1,\n        \"active\": true,\n        \"created_at\": \"2021-09-01T12:20:39.771894+02:00\",\n        \"updated_at\": \"2021-09-01T12:20:39.771914+02:00\",\n        \"name\": \"default\"\n    },\n    \"product\": {\n        \"id\": 5,\n        \"active\": true,\n        \"created_at\": \"2021-09-01T13:37:09.351306+02:00\",\n        \"updated_at\": \"2021-09-01T13:37:09.351328+02:00\",\n        \"sku\": \"2000011\",\n        \"type\": \"SIMPLE\"\n    },\n    \"created_at\": \"2021-09-02T15:19:32.212773+02:00\",\n    \"updated_at\": \"2021-09-29T13:26:28.117112+02:00\",\n    \"quantity\": 10,\n    \"is_unlimited\": false\n}"}],"_postman_id":"35783723-ca60-493e-97b4-28e452099649"},{"name":"S06 - Create stock","event":[{"listen":"test","script":{"id":"cd8b360c-7987-4d22-9f37-74ef01e24835","exec":["var jsonData = pm.response.json();","pm.environment.set(\"access_token\", jsonData.access_token);"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"87ce58c6-eb2a-4e56-a135-0866ec2b8a9b","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"2fa0db47-c637-441f-b4f6-8d4f328ee4ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product\":{{product_id}},\n    \"warehouse\":{{warehouse_id}},\n    \"quantity\":{{quantity}}\n}"},"url":"https://demo.smartie.io/api/v1/stocks/","urlObject":{"path":["v1","stocks",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"0a24f174-d3ba-4945-aa1b-301eb33232c5","name":"S06 - Create stock","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sku\": \"2000011\",\n    \"warehouse\": 1,\n    \"quantity\":25\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/stocks/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"warehouse\": {\n        \"id\": 1,\n        \"active\": true,\n        \"created_at\": \"2021-09-01T12:20:39.771894+02:00\",\n        \"updated_at\": \"2021-09-01T12:20:39.771914+02:00\",\n        \"name\": \"default\"\n    },\n    \"product\": {\n        \"id\": 5,\n        \"active\": true,\n        \"created_at\": \"2021-09-01T13:37:09.351306+02:00\",\n        \"updated_at\": \"2021-09-01T13:37:09.351328+02:00\",\n        \"sku\": \"2000011\",\n        \"type\": \"SIMPLE\"\n    },\n    \"created_at\": \"2021-09-02T15:19:32.212773+02:00\",\n    \"updated_at\": \"2021-09-29T13:26:28.117112+02:00\",\n    \"quantity\": 25,\n    \"is_unlimited\": false\n}"}],"_postman_id":"2fa0db47-c637-441f-b4f6-8d4f328ee4ad"},{"name":"S06.1 - Create stock with sku","event":[{"listen":"test","script":{"id":"c282b022-6470-4f99-a26a-7ab27a565283","exec":["var jsonData = pm.response.json();","pm.environment.set(\"access_token\", jsonData.access_token);"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"f47971aa-683e-45f0-87db-1a733119ffc1","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"73eaeebc-f740-4fae-a6c1-bece014c3878","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"quantity\":{{quantity}},\n    \"sku\": {{product_sku}},\n    \"warehouse\": {{warehouse_id}}\n}"},"url":"https://demo.smartie.io/api/v1/stocks/create_stock_sku","urlObject":{"path":["v1","stocks","create_stock_sku"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"cf89a819-3465-418c-a268-4ff18513cd31","name":"S06.1 - Create stock with sku","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"quantity\": 25,\n    \"sku\": \"2000011\",\n    \"warehouse\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/api/stocks/create_stock_sku"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"warehouse\": {\n        \"id\": 1,\n        \"active\": true,\n        \"created_at\": \"2021-09-01T12:20:39.771894+02:00\",\n        \"updated_at\": \"2021-09-01T12:20:39.771914+02:00\",\n        \"name\": \"default\"\n    },\n    \"product\": {\n        \"id\": 5,\n        \"active\": true,\n        \"created_at\": \"2021-09-01T13:37:09.351306+02:00\",\n        \"updated_at\": \"2021-09-01T13:37:09.351328+02:00\",\n        \"sku\": \"2000011\",\n        \"type\": \"SIMPLE\"\n    },\n    \"created_at\": \"2021-09-02T15:19:32.212773+02:00\",\n    \"updated_at\": \"2021-09-29T13:26:28.117112+02:00\",\n    \"quantity\": 25,\n    \"is_unlimited\": false\n}"}],"_postman_id":"73eaeebc-f740-4fae-a6c1-bece014c3878"},{"name":"S06.2 - Create/Update stock in bulk","event":[{"listen":"test","script":{"id":"f83a4e8f-9a7b-43fa-b312-cfb1b0efea16","exec":["var jsonData = pm.response.json();","pm.environment.set(\"access_token\", jsonData.access_token);"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"3ea55004-a215-44d1-9711-5d649aa5d577","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"f689af92-ba25-41bf-8f73-24ff6dbff1ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"quantity\": {{quantity}},\n        \"sku\": \"{{product_sku}}\",\n        \"warehouse\": \"{{warehouse_name}}\"\n    },\n    {\n        \"quantity\": {{quantity}},\n        \"sku\": \"{{product_sku}}\",\n        \"warehouse\": \"{{warehouse_name}}\"\n    }\n]"},"url":"https://demo.smartie.io/api/v1/stocks/bulk_import_stock","urlObject":{"path":["v1","stocks","bulk_import_stock"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"53ecba1c-6c31-46ed-9ed7-35c401638131","name":"S06.2 - Create/Update stock in bulk","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"quantity\": 25,\n        \"sku\": \"2000011\",\n        \"warehouse\": \"warehouse-1\"\n    },\n    {\n        \"quantity\": 1,\n        \"sku\": \"2000011\",\n        \"warehouse\": \"warehouse-2\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/stocks/bulk_import_stock"},"status":"Multi-Status (WebDAV) (RFC 4918)","code":207,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"sku\": \"2000011\",\n        \"warehouse\": \"warehouse-1\",\n        \"result\": true\n    },\n    {\n        \"sku\": \"2000011\",\n        \"warehouse\": \"warehouse-2\",\n        \"result\": false,\n        \"error\": \"Warehouse matching query does not exist.\"\n    }\n]"}],"_postman_id":"f689af92-ba25-41bf-8f73-24ff6dbff1ed"},{"name":"S07 - Lock stocks","event":[{"listen":"prerequest","script":{"id":"4864b8fe-1489-407b-99e2-c5bbbd80fb32","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"62792b89-0cb5-45da-a169-40354df6599e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"is_locked\": true, \n    \"item_ids\": [1, 3]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/stocks/lock-bulk","urlObject":{"path":["v1","stocks","lock-bulk"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"62792b89-0cb5-45da-a169-40354df6599e"},{"name":"S08 - Lock stock","event":[{"listen":"prerequest","script":{"id":"9836f671-45cf-4252-86d5-d93ca26ba8aa","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"03255e12-6e7a-49f3-9284-01f08dddcfd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"is_locked","value":"True","type":"text"}]},"url":"https://demo.smartie.io/api/v1/stocks/{{stock_id}}/lock","urlObject":{"path":["v1","stocks","{{stock_id}}","lock"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"03255e12-6e7a-49f3-9284-01f08dddcfd1"},{"name":"S09 - V2 - Create/Update stock with sku","event":[{"listen":"test","script":{"id":"c282b022-6470-4f99-a26a-7ab27a565283","exec":["var jsonData = pm.response.json();","pm.environment.set(\"access_token\", jsonData.access_token);"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"f47971aa-683e-45f0-87db-1a733119ffc1","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"0e8df054-c2d6-4c2d-b730-a38ec1869076","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"quantity\":{{quantity}},\n    \"sku\": {{product_sku}},\n    \"warehouse\": {{warehouse_name}}\n}"},"url":"https://demo.smartie.io/api/v1/stocks/import_stock_sku","description":"<p>This endpoint creates or updates the stock for a product. You need an existing product sku, the warehouse name in Smartie and the quantity.</p>\n","urlObject":{"path":["v1","stocks","import_stock_sku"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"b352e3b4-51fc-493c-bc60-299ee72abdc6","name":"S09 -V2 - Create/Update stock with sku","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"quantity\": 25,\n    \"sku\": \"2000011\",\n    \"warehouse\": \"Default warehouse\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/api/stocks/import_stock_sku"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"warehouse\": {\n        \"id\": 1,\n        \"active\": true,\n        \"created_at\": \"2021-09-01T12:20:39.771894+02:00\",\n        \"updated_at\": \"2021-09-01T12:20:39.771914+02:00\",\n        \"name\": \"default\"\n    },\n    \"product\": {\n        \"id\": 5,\n        \"active\": true,\n        \"created_at\": \"2021-09-01T13:37:09.351306+02:00\",\n        \"updated_at\": \"2021-09-01T13:37:09.351328+02:00\",\n        \"sku\": \"2000011\",\n        \"type\": \"SIMPLE\"\n    },\n    \"created_at\": \"2021-09-02T15:19:32.212773+02:00\",\n    \"updated_at\": \"2021-09-29T13:26:28.117112+02:00\",\n    \"quantity\": 25,\n    \"is_unlimited\": false\n}"}],"_postman_id":"0e8df054-c2d6-4c2d-b730-a38ec1869076"}],"id":"95737a10-630d-4d6c-b7db-d43273a42e43","_postman_id":"95737a10-630d-4d6c-b7db-d43273a42e43","description":""},{"name":"Warehouses","item":[{"name":"W01 - Get warehouses","event":[{"listen":"prerequest","script":{"id":"4b34ff4f-4cc0-4ea0-9189-44d369bfb17e","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"6dbd37ee-6213-4319-976c-faab71870b1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/warehouses/","urlObject":{"path":["v1","warehouses",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6dbd37ee-6213-4319-976c-faab71870b1b"},{"name":"W02 - Get warehouses","event":[{"listen":"prerequest","script":{"id":"280d78be-7373-4317-8a17-f30caf818199","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"3e098025-b571-47c1-b67c-c31a3faf1de4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/warehouses/{{warehouse_id}}/","urlObject":{"path":["v1","warehouses","{{warehouse_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3e098025-b571-47c1-b67c-c31a3faf1de4"},{"name":"W03 - Create warehouse","event":[{"listen":"prerequest","script":{"id":"c9472c30-26e1-48ce-82ac-5b8ce944b0c9","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"b7f7cea4-719c-4404-9aaa-112f57822d7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"test\",\n    \"views\":[]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/warehouses/","urlObject":{"path":["v1","warehouses",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b7f7cea4-719c-4404-9aaa-112f57822d7b"},{"name":"W04 - Update warehouses","event":[{"listen":"prerequest","script":{"id":"3ac46b93-6d4a-4e1c-8f5d-0e5a57d4d658","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"ef767e1d-9bf2-4406-ac2f-b0ed38161564","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"testing\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/warehouses/{{warehouse_id}}/","urlObject":{"path":["v1","warehouses","{{warehouse_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"ef767e1d-9bf2-4406-ac2f-b0ed38161564"},{"name":"W05 - Delete warehouses","event":[{"listen":"prerequest","script":{"id":"9848c8d5-5525-46ea-b920-444d2fb9eebf","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"6c5b2660-381b-427a-b572-ee71f0a81db7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/warehouses/{{warehouse_id}}/","urlObject":{"path":["v1","warehouses","{{warehouse_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6c5b2660-381b-427a-b572-ee71f0a81db7"},{"name":"W06 - Duplicate warehouse","event":[{"listen":"prerequest","script":{"id":"c9472c30-26e1-48ce-82ac-5b8ce944b0c9","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"7be28168-5137-4719-8edb-8126d95c1015","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"https://demo.smartie.io/api/v1/warehouses/{{warehouse_id}}/duplicate","urlObject":{"path":["v1","warehouses","{{warehouse_id}}","duplicate"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"7be28168-5137-4719-8edb-8126d95c1015"}],"id":"fa3cfc2a-9ee5-420f-bcfb-c6b6328107f4","_postman_id":"fa3cfc2a-9ee5-420f-bcfb-c6b6328107f4","description":""}],"id":"d32eeb5c-278d-4ff9-98c2-83105752b1bb","_postman_id":"d32eeb5c-278d-4ff9-98c2-83105752b1bb","description":""},{"name":"Settings","item":[{"name":"General","item":[{"name":"Locales","item":[{"name":"L01 - Get locales","event":[{"listen":"prerequest","script":{"id":"fd872308-2277-481a-ad34-d4cbb4f35f31","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"49627491-5444-42e9-8d4b-acfb3a02b166","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/locales/","urlObject":{"path":["v1","locales",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"49627491-5444-42e9-8d4b-acfb3a02b166"},{"name":"L02 - Get locale","event":[{"listen":"prerequest","script":{"id":"7ddc06fa-5932-4711-9dc9-964f4783b20d","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"a7b256c0-2f4e-4a08-8973-742001d16ab6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/locales/{{locale_id}}","urlObject":{"path":["v1","locales","{{locale_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a7b256c0-2f4e-4a08-8973-742001d16ab6"},{"name":"L03 - Create locale","event":[{"listen":"prerequest","script":{"id":"1c359d75-5d86-4bbb-bdde-6780603be270","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"61b83767-32e5-4469-b06e-7807d59550bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Francés\",\n    \"code\": \"FR\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/locales/","urlObject":{"path":["v1","locales",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"61b83767-32e5-4469-b06e-7807d59550bb"},{"name":"L04 - Update locale","event":[{"listen":"prerequest","script":{"id":"2d00e765-c9f5-4fc3-988d-3613d1cf5c36","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"022638d9-5465-4315-94bc-29902ea08f48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Italiano\",\n    \"code\": \"IT\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/locales/{{locale_id}}/","urlObject":{"path":["v1","locales","{{locale_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"022638d9-5465-4315-94bc-29902ea08f48"},{"name":"L05 - Delete locale","event":[{"listen":"prerequest","script":{"id":"35009606-c784-4e1d-9531-b063a83acd5f","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"633c625b-2735-40f9-95b6-84f6a9b92cda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/locales/{{locale_id}}/","urlObject":{"path":["v1","locales","{{locale_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"633c625b-2735-40f9-95b6-84f6a9b92cda"},{"name":"L06 - Duplicate locale","event":[{"listen":"prerequest","script":{"id":"1c359d75-5d86-4bbb-bdde-6780603be270","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"0f2d2bd6-1e9a-43ad-a195-a20132d5a92c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"https://demo.smartie.io/api/api/v1/locales/1/duplicate/","urlObject":{"path":["api","v1","locales","1","duplicate",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f2d2bd6-1e9a-43ad-a195-a20132d5a92c"}],"id":"b4ad51b2-a9a8-4e84-9194-b0e21226ee8f","_postman_id":"b4ad51b2-a9a8-4e84-9194-b0e21226ee8f","description":""},{"name":"Channels","item":[{"name":"CH02 - List channels","event":[{"listen":"prerequest","script":{"id":"fe0a80ed-0393-4d77-beb9-102d58c64de5","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"cf8c7b0c-9aa9-45b1-a1a3-6bfb78489082","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/channels","urlObject":{"path":["v1","channels"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"91dc0bf5-3283-4283-a545-319f66775eed","name":"CH02 - List channels","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/channels"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 2,\n    \"next\": \"\",\n    \"previous\": \"\",\n    \"results\": [\n        {\n            \"id\": 1,\n            \"created_at\": \"2025-01-29T11:38:50.165253+01:00\",\n            \"updated_at\": \"2025-01-29T12:53:56.426762+01:00\",\n            \"position\": 1,\n            \"icon_code\": \"example\",\n            \"name\": \"Channel 1\",\n            \"type\": \"CUSTOMER\",\n            \"is_origin\": false,\n            \"config\": {},\n            \"is_visible\": true\n        },\n        {\n            \"id\": 2,\n            \"created_at\": \"2025-01-29T11:38:50.165253+01:00\",\n            \"updated_at\": \"2025-01-29T12:53:56.426762+01:00\",\n            \"position\": 1,\n            \"icon_code\": \"example\",\n            \"name\": \"Channel 2\",\n            \"type\": \"CUSTOMER\",\n            \"is_origin\": false,\n            \"config\": {},\n            \"is_visible\": true\n        },\n    ]\n}"}],"_postman_id":"cf8c7b0c-9aa9-45b1-a1a3-6bfb78489082"},{"name":"CH03 - Get channel","event":[{"listen":"prerequest","script":{"id":"9e407321-73a9-4659-bd14-2d0134f67ad2","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"3e8bbebc-ce82-4ade-b8de-a2d3f33f0ec7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/channels/{{channel_id}}","urlObject":{"path":["v1","channels","{{channel_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3e8bbebc-ce82-4ade-b8de-a2d3f33f0ec7"},{"name":"CH04 - Create channel","event":[{"listen":"prerequest","script":{"id":"006baef6-facd-4f93-9de4-0b73f09c0ec3","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"267b9b4e-615e-4fd2-a193-394b6165cae9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"testing\",\n    \"type\": \"MAGENTO2\",\n    \"is_visible\": true,\n    \"is_origin\": true\n}"},"url":"https://demo.smartie.io/api/v1/channels","urlObject":{"path":["v1","channels"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"267b9b4e-615e-4fd2-a193-394b6165cae9"},{"name":"CH05 - Update channel","event":[{"listen":"prerequest","script":{"id":"eb1be2ec-6bdc-4398-825b-48ecd4e901bb","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"0641a225-a8c5-489e-b03d-0baa287de3e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"testing\",\n    \"type\": \"MAGENTO2\",\n    \"config\": {},\n    \"is_visible\": true,\n    \"is_origin\": false\n}"},"url":"https://demo.smartie.io/api/v1/channels/{{channel_id}}/","urlObject":{"path":["v1","channels","{{channel_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"0641a225-a8c5-489e-b03d-0baa287de3e1"},{"name":"CH06 - Delete channel","event":[{"listen":"prerequest","script":{"id":"8c769b2b-7891-48c5-895d-528362e15f5b","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"99bab6ce-44c6-46e9-9d3b-2890205fc431","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/channels/{{channel_id}}/","urlObject":{"path":["v1","channels","{{channel_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"99bab6ce-44c6-46e9-9d3b-2890205fc431"},{"name":"CH07 - Duplicate channel","event":[{"listen":"prerequest","script":{"id":"eb1be2ec-6bdc-4398-825b-48ecd4e901bb","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"7f061226-9910-4d86-9e72-a09f5959df93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"https://demo.smartie.io/api/v1/channels/{{channel_id}}/duplicate/","urlObject":{"path":["v1","channels","{{channel_id}}","duplicate",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"7f061226-9910-4d86-9e72-a09f5959df93"}],"id":"5f65a0bd-9858-4847-ba6c-3021b9aa0c86","_postman_id":"5f65a0bd-9858-4847-ba6c-3021b9aa0c86","description":""},{"name":"Channel configurations","item":[{"name":"CH01 - List channel configuration","event":[{"listen":"prerequest","script":{"id":"0c794beb-14f7-4246-854b-dfc4c85984f4","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"352d09af-f782-4dc4-bd2f-93d2f643de87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/channel-configurations/","urlObject":{"path":["v1","channel-configurations",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"352d09af-f782-4dc4-bd2f-93d2f643de87"},{"name":"CH02 - Get channel configuration","event":[{"listen":"prerequest","script":{"id":"c2827a64-a5e4-4bb1-b656-3e734df77344","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"6cd0930a-61b0-4491-91a2-91a91d2f8bb3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/channel-configurations/{{channel_configuration_id}}","urlObject":{"path":["v1","channel-configurations","{{channel_configuration_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6cd0930a-61b0-4491-91a2-91a91d2f8bb3"},{"name":"CH03 - Create channel configuration","event":[{"listen":"prerequest","script":{"id":"a546e048-45ba-40fd-8abb-892f9a85a766","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"06fd7671-8c82-4660-a311-432ee1535d21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"code\": \"my code\",\n    \"value\": \"value\",\n    \"description\": \"my description\",\n    \"group\": \"my group\",\n    \"channel\": {{channel_id}}\n}"},"url":"https://demo.smartie.io/api/v1/channel-configurations/","urlObject":{"path":["v1","channel-configurations",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"06fd7671-8c82-4660-a311-432ee1535d21"},{"name":"CH04 - Update channel configuration","event":[{"listen":"prerequest","script":{"id":"9ab97f2f-ebe6-49ac-b4c9-84be480aed53","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"dabb0d5a-0a8b-4935-a8bb-6e32061f5997","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"code\": \"code\",\n    \"value\": \"my value\",\n    \"description\": \"my description updated\",\n    \"group\": \"my group\",\n    \"channel\": {{channel_id}}\n}"},"url":"https://demo.smartie.io/api/v1/channel-configurations/{{channel_configuration_id}}","urlObject":{"path":["v1","channel-configurations","{{channel_configuration_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"dabb0d5a-0a8b-4935-a8bb-6e32061f5997"},{"name":"CH05 - Delete channel configuration","event":[{"listen":"prerequest","script":{"id":"a802f52a-6d0e-47bf-a5cb-d6b2d4ffbb33","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"9c2de57f-4c3d-4c84-9a02-be6128aacb8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/channel-configurations/{{channel_configuration_id}}","urlObject":{"path":["v1","channel-configurations","{{channel_configuration_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9c2de57f-4c3d-4c84-9a02-be6128aacb8a"},{"name":"CH06 - Duplicate channel configuration","event":[{"listen":"prerequest","script":{"id":"a546e048-45ba-40fd-8abb-892f9a85a766","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"16efb815-c7c8-46c5-b8f3-392e86cf204f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"https://demo.smartie.io/api/v1/channel-configurations/{{channel_configuration_id}}/duplicate/","urlObject":{"path":["v1","channel-configurations","{{channel_configuration_id}}","duplicate",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"16efb815-c7c8-46c5-b8f3-392e86cf204f"}],"id":"e26bf496-3a9a-4e7c-a287-c1bb58ea0ef0","_postman_id":"e26bf496-3a9a-4e7c-a287-c1bb58ea0ef0","description":""},{"name":"Channel views","item":[{"name":"CHV01 - List channel views","event":[{"listen":"prerequest","script":{"id":"200d8a42-ff53-4055-b028-d557908c86ea","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"91d7d228-c260-4381-a73e-b33b4318fc0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/views/","urlObject":{"path":["v1","views",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"6b3703ca-0592-42d3-8715-498899697fe6","name":"CHV01 - List channel views","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://demo.smartie.io/api/v1/views/?channel_id=1","host":["https://demo.smartie.io/api"],"path":["v1","views",""],"query":[{"key":"channel_id","value":"1","type":"text"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 2,\n    \"next\": \"\",\n    \"previous\": \"\",\n    \"results\": [\n        {\n            \"id\": 1,\n            \"warehouses\": [],\n            \"created_at\": \"2025-01-29T12:09:33.847785+01:00\",\n            \"updated_at\": \"2025-01-29T12:09:33.847810+01:00\",\n            \"position\": null,\n            \"icon_code\": \"example\",\n            \"name\": \"View 1 channel 1\",\n            \"is_master\": false,\n            \"is_visible\": true,\n            \"locale\": 2,\n            \"channel\": 1\n        },\n        {\n            \"id\": 2,\n            \"warehouses\": [],\n            \"created_at\": \"2025-01-29T12:09:33.835683+01:00\",\n            \"updated_at\": \"2025-01-29T12:09:33.835705+01:00\",\n            \"position\": null,\n            \"icon_code\": \"example\",\n            \"name\": \"View 2 channel 1\",\n            \"is_master\": false,\n            \"is_visible\": true,\n            \"locale\": 6,\n            \"channel\": 1\n        }\n    ]\n}"}],"_postman_id":"91d7d228-c260-4381-a73e-b33b4318fc0d"},{"name":"CHV02 - Get channel view","event":[{"listen":"prerequest","script":{"id":"82a112c2-17a9-4237-806f-d597ea62a540","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"956ed864-aacb-45aa-8771-14f6b889ef92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/views/4","urlObject":{"path":["v1","views","4"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"956ed864-aacb-45aa-8771-14f6b889ef92"},{"name":"CHV03 - Create channel view","event":[{"listen":"prerequest","script":{"id":"623f6278-9865-42c3-a463-52dbca2e0d6d","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"4051d45e-05d2-46d1-b851-a87c0bdbfc38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"testING\",\n    \"locale\": {{locale_id}},\n    \"channel\": {{channel_id}},\n    \"is_master\": true,\n    \"is_visible\": true\n}"},"url":"https://demo.smartie.io/api/v1/views/","urlObject":{"path":["v1","views",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"4051d45e-05d2-46d1-b851-a87c0bdbfc38"},{"name":"CHV04 - Update channel view","event":[{"listen":"prerequest","script":{"id":"5d8feb3f-65f7-4cf1-a7b8-26fd3caedac2","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"3181c96c-c9c7-4fab-af43-f3d7d31582f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"test\",\n    \"locale\": {{locale_id}},\n    \"channel\": {{channel_id}},\n    \"is_master\": true,\n    \"is_visible\": true\n}"},"url":"https://demo.smartie.io/api/v1/views/4","urlObject":{"path":["v1","views","4"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3181c96c-c9c7-4fab-af43-f3d7d31582f7"},{"name":"CHV05 - Delete channel view","event":[{"listen":"prerequest","script":{"id":"80d69d3e-f8cc-44f3-8d79-b0d452b7c0ea","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"6121eee5-d9b3-4646-a0e2-2ad180c8be6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/views/4","urlObject":{"path":["v1","views","4"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6121eee5-d9b3-4646-a0e2-2ad180c8be6d"},{"name":"CHV06 - Duplicate channel view","event":[{"listen":"prerequest","script":{"id":"5d8feb3f-65f7-4cf1-a7b8-26fd3caedac2","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"12c63703-41b9-4328-9cee-7a592979c270","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"https://demo.smartie.io/api/v1/views/4/duplicate/","urlObject":{"path":["v1","views","4","duplicate",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"12c63703-41b9-4328-9cee-7a592979c270"}],"id":"37cf7d4a-7d86-46ad-88ec-7974c396d69a","_postman_id":"37cf7d4a-7d86-46ad-88ec-7974c396d69a","description":""},{"name":"Grid profiles","item":[{"name":"GP01 - Get all grid profiles","event":[{"listen":"test","script":{"id":"0db26bb4-9d17-417a-82ce-95a23251f4ee","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"e4d686a1-8010-44dc-a5db-7982779d8198","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"1806f968-b9ed-465c-9a5a-c7486adbbeff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/grid-profiles","urlObject":{"path":["v1","grid-profiles"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"1806f968-b9ed-465c-9a5a-c7486adbbeff"},{"name":"GP02 - Create grid profile","event":[{"listen":"test","script":{"id":"5cc1e70c-d9f4-4113-a6f5-f6866633be32","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"214a5470-ceba-4770-9b0a-f37510f19984","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"2920291c-5b76-40fa-8455-e8d1ca928408","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"active\": true,\n  \"extra\": {\n    \"view\": 4,\n    \"channel\": {{channel_id}},\n    \"rowHeight\": 48\n  },\n  \"name\": \"products-1-6\",\n  \"type\": \"products\",\n  \"columns\": [\n    {\n      \"colId\": \"product.sku\",\n      \"hide\": false,\n      \"aggFunc\": null,\n      \"width\": 200,\n      \"pivotIndex\": null,\n      \"pinned\": \"left\",\n      \"rowGroupIndex\": null\n    }\n  ],\n  \"filters\": {},\n  \"sorting\": [\n    \"product_view_categories__position\"\n  ],\n  \"user\": {{user_id}}\n}"},"url":"https://demo.smartie.io/api/v1/grid-profiles","urlObject":{"path":["v1","grid-profiles"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"2920291c-5b76-40fa-8455-e8d1ca928408"},{"name":"GP03 - Update grid profile","event":[{"listen":"test","script":{"id":"2f6946b2-beea-45d7-bb1c-a2512fa878b4","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"d76156ab-a102-47d5-bfcf-6786e695878a","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"9f067486-734f-4da0-93f3-21a8af46c7c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"active\": true,\n  \"extra\": {\n    \"view\": 4,\n    \"channel\": {{channel_id}},\n    \"rowHeight\": 48\n  },\n  \"name\": \"products-1-6\",\n  \"type\": \"products\",\n  \"columns\": [\n    {\n      \"colId\": \"product.sku\",\n      \"hide\": false,\n      \"aggFunc\": null,\n      \"width\": 200,\n      \"pivotIndex\": null,\n      \"pinned\": \"left\",\n      \"rowGroupIndex\": null\n    }\n  ],\n  \"filters\": {},\n  \"sorting\": [\n    \"product_view_categories__position\"\n  ],\n  \"user\": {{user_id}}\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/grid-profiles/{{grid_profile_id}}","urlObject":{"path":["v1","grid-profiles","{{grid_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9f067486-734f-4da0-93f3-21a8af46c7c2"},{"name":"GP04 - Delete bulk","event":[{"listen":"test","script":{"id":"6506533d-3566-42e5-9f22-0e10c913a66e","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"d4c63e23-fbe3-4291-91b8-a11aed524614","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"a6b05452-683e-4a26-b785-c6e2841da8ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"ids\": [{{grid_profile_ids}}]}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/grid-profiles/delete-bulk","urlObject":{"path":["v1","grid-profiles","delete-bulk"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a6b05452-683e-4a26-b785-c6e2841da8ba"},{"name":"GP05 - Duplicate grid profile","event":[{"listen":"test","script":{"id":"2f6946b2-beea-45d7-bb1c-a2512fa878b4","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"d76156ab-a102-47d5-bfcf-6786e695878a","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"95a23588-3433-4d8e-b07b-0c5b99987bc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":"https://demo.smartie.io/api/v1/grid-profiles/{{grid_profile_id}}/duplicate/","urlObject":{"path":["v1","grid-profiles","{{grid_profile_id}}","duplicate",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"95a23588-3433-4d8e-b07b-0c5b99987bc2"}],"id":"39f04be6-96bb-40cc-bd28-1d36ce19919d","_postman_id":"39f04be6-96bb-40cc-bd28-1d36ce19919d","description":""},{"name":"Import/Export profile","item":[{"name":"IEP01 - List import/export profiles","event":[{"listen":"prerequest","script":{"id":"de6c3ccd-3354-44db-86e1-7b4d46368104","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"9fe94a2e-2416-4fbe-838c-25e4b2800811","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/import-export-profiles/","urlObject":{"path":["v1","import-export-profiles",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9fe94a2e-2416-4fbe-838c-25e4b2800811"},{"name":"IEP02 - Get import/export profile","event":[{"listen":"prerequest","script":{"id":"0ef08aa1-c40a-4976-a9b7-0035d86c482c","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"be36b1ac-4904-4f66-b773-001676ad17bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Accept-Language","value":"es-es","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/import-export-profiles/{{import_export_profile_id}}","urlObject":{"path":["v1","import-export-profiles","{{import_export_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"be36b1ac-4904-4f66-b773-001676ad17bd"},{"name":"IEP3 - Create import/export profiles","event":[{"listen":"prerequest","script":{"id":"ca84b098-61e8-48a6-9df3-52d6e779bcfc","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"82d71caf-857a-4609-bf4b-64cadec475db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"my profile\",\n    \"description\": \"my profile description\",\n    \"type\": \"IMPORT\",\n    \"channel\": {{channel_id}}\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/import-export-profiles/","urlObject":{"path":["v1","import-export-profiles",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"82d71caf-857a-4609-bf4b-64cadec475db"},{"name":"IEP04 - Update import/export profile","event":[{"listen":"prerequest","script":{"id":"40a3eda0-d621-4ebd-94ef-f302b25f7544","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"83c7ced7-d422-4e46-a052-cdfb56f48fee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"my profile\",\n    \"description\": \"my profile description\",\n    \"type\": \"IMPORT\",\n    \"channel\": {{channel_id}}\n}"},"url":"https://demo.smartie.io/api/v1/import-export-profiles/{{import_export_profile_id}}","urlObject":{"path":["v1","import-export-profiles","{{import_export_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"83c7ced7-d422-4e46-a052-cdfb56f48fee"},{"name":"IEP05 - Delete import/export profile","event":[{"listen":"prerequest","script":{"id":"779ac83f-e677-44e1-9cc5-fd06d4a63783","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"17ce570f-fdcc-4559-9430-ea4245e4e6bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/api/import-export-profiles/{{import_export_profile_id}}","urlObject":{"path":["api","import-export-profiles","{{import_export_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"17ce570f-fdcc-4559-9430-ea4245e4e6bf"},{"name":"IEP06 - Duplicate import/export profile","event":[{"listen":"prerequest","script":{"id":"40a3eda0-d621-4ebd-94ef-f302b25f7544","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"458abcb5-a016-437c-8d3b-164809940dd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"https://demo.smartie.io/api/v1/import-export-profiles/{{import_export_profile_id}}/duplicate/","urlObject":{"path":["v1","import-export-profiles","{{import_export_profile_id}}","duplicate",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"458abcb5-a016-437c-8d3b-164809940dd2"}],"id":"3ac7a6e2-127a-44c5-a6ab-034d25bbf3e8","_postman_id":"3ac7a6e2-127a-44c5-a6ab-034d25bbf3e8","description":""},{"name":"Import/Export profile configuration","item":[{"name":"IEPC3 - Create import/export profile configuration","event":[{"listen":"prerequest","script":{"id":"bf7ab949-4be5-4c66-ab5f-c728b4908975","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"c1334319-6435-4183-91c9-a3401ebd970e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"code\": \"my new code\",\n    \"value\": \"value\",\n    \"description\": \"description\",\n    \"group\": \"group\",\n    \"profile\": {{import_export_profile_id}}\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/import-export-profile-configurations/","urlObject":{"path":["v1","import-export-profile-configurations",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c1334319-6435-4183-91c9-a3401ebd970e"},{"name":"IEPC04 - Update import/export profile configuration","event":[{"listen":"prerequest","script":{"id":"c3c5598d-76f3-472d-98ba-deefa03c56a5","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"1f710b84-5357-4275-a0e8-87f5c64fb988","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"code\": \"my old old code\",\n    \"value\": \"value\",\n    \"description\": \"description\",\n    \"group\": \"my group\",\n    \"profile\": {{import_export_profile_id}}\n}"},"url":"https://demo.smartie.io/api/v1/import-export-profile-configurations/{{import_export_profile_configuration_id}}/","urlObject":{"path":["v1","import-export-profile-configurations","{{import_export_profile_configuration_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"1f710b84-5357-4275-a0e8-87f5c64fb988"},{"name":"IEPC05 - Delete import/export profile","event":[{"listen":"prerequest","script":{"id":"0f5dce66-8cfa-4d8d-8a69-35da6290bebf","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"1a194a68-10ec-49db-b543-24e59b3a0802","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/api/import-export-profile-configurations/{{import_export_profile_configuration_id}}/","urlObject":{"path":["api","import-export-profile-configurations","{{import_export_profile_configuration_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"1a194a68-10ec-49db-b543-24e59b3a0802"},{"name":"IEPC06 - Duplicate import/export profile configuration","event":[{"listen":"prerequest","script":{"id":"c3c5598d-76f3-472d-98ba-deefa03c56a5","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"5dbd30bb-b048-4cfe-83b9-b16179040ff6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"https://demo.smartie.io/api/v1/import-export-profile-configurations/{{import_export_profile_configuration_id}}/duplicate/","urlObject":{"path":["v1","import-export-profile-configurations","{{import_export_profile_configuration_id}}","duplicate",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"5dbd30bb-b048-4cfe-83b9-b16179040ff6"}],"id":"5593961b-f8a9-4652-bb14-ad6ea369db31","_postman_id":"5593961b-f8a9-4652-bb14-ad6ea369db31","description":""}],"id":"4665e873-14c9-4940-a828-76b4bd2773d3","_postman_id":"4665e873-14c9-4940-a828-76b4bd2773d3","description":""},{"name":"Catalog","item":[{"name":"Attributes","item":[{"name":"A01 - Get attributes","event":[{"listen":"prerequest","script":{"id":"b022044f-e3aa-40e2-afe8-7b65e47c1d30","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"12d6dead-ed2d-45e6-b900-c34588852220","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/attributes/","urlObject":{"path":["v1","attributes",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"cb3b0354-c44f-450e-8dba-ece84c663d10","name":"A01 - Get attributes","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/attributes/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"count\": 2,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 1,\n            \"active\": true,\n            \"created_at\": \"2021-09-27T14:08:03.285615+02:00\",\n            \"updated_at\": \"2021-09-27T14:08:03.285798+02:00\",\n            \"name\": \"sst\",\n            \"code\": \"sst\",\n            \"type\": \"TEXT\",\n            \"options\": null,\n            \"default\": \"\",\n            \"scope\": \"LOCAL\",\n            \"localized_by\": \"\",\n            \"is_unique\": false,\n            \"is_editable\": true,\n            \"tooltip_message\": \"\",\n            \"show_translation\": false,\n            \"validations\": [],\n            \"validation_profiles\": []\n        },\n        {\n            \"id\": 2,\n            \"active\": true,\n            \"created_at\": \"2021-09-27T14:08:03.234767+02:00\",\n            \"updated_at\": \"2021-09-27T14:08:03.234925+02:00\",\n            \"name\": \"Atributo Rubs\",\n            \"code\": \"Atributo Rub\",\n            \"type\": \"SELECT\",\n            \"options\": {\n                \"with_search\": false\n            },\n            \"default\": \"false\",\n            \"scope\": \"GLOBAL\",\n            \"localized_by\": \"\",\n            \"is_unique\": false,\n            \"is_editable\": true,\n            \"tooltip_message\": \"\",\n            \"show_translation\": false,\n            \"validations\": [],\n            \"validation_profiles\": []\n        }\n    ]\n}"}],"_postman_id":"12d6dead-ed2d-45e6-b900-c34588852220"},{"name":"A02 - Get attribute","event":[{"listen":"prerequest","script":{"id":"c695bed9-61fc-48e3-853e-d8a756023fad","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"86b3e1c5-474b-415a-baa2-e845f20d0edd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/attributes/{{attribute_id}}","urlObject":{"path":["v1","attributes","{{attribute_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"df85c161-6696-4e7d-bbda-16919468ac74","name":"A02 - Get attribute","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/attributes/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"active\": true,\n    \"created_at\": \"2021-09-27T14:08:03.285615+02:00\",\n    \"updated_at\": \"2021-09-27T14:08:03.285798+02:00\",\n    \"name\": \"sst\",\n    \"code\": \"sst\",\n    \"type\": \"TEXT\",\n    \"options\": null,\n    \"default\": \"\",\n    \"scope\": \"GLOBAL\",\n    \"localized_by\": \"\",\n    \"is_unique\": false,\n    \"is_editable\": true,\n    \"tooltip_message\": \"\",\n    \"show_translation\": false,\n    \"validations\": [],\n    \"validation_profiles\": []\n}"}],"_postman_id":"86b3e1c5-474b-415a-baa2-e845f20d0edd"},{"name":"A02.4 - Get templates","event":[{"listen":"prerequest","script":{"id":"39a4c2c6-3814-44bd-9aa3-058b743ce6cd","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"a1ff9cb4-03ad-4dba-9cae-47f66861aa76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/templates/","urlObject":{"path":["v1","templates",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"b069a334-c9f7-413b-96f3-acfbac523df2","name":"A02.4 - Get templates","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/templates/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 3,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 3,\n            \"created_at\": \"2021-05-24T13:06:30.100732+02:00\",\n            \"updated_at\": \"2021-05-24T13:06:30.100754+02:00\",\n            \"name\": \"Media template\",\n            \"type\": \"MEDIA\",\n            \"is_default\": true,\n            \"channel\": 1,\n            \"validations\": []\n        },\n        {\n            \"id\": 2,\n            \"created_at\": \"2021-05-24T13:06:05.954599+02:00\",\n            \"updated_at\": \"2021-05-24T13:06:05.954647+02:00\",\n            \"name\": \"Category template\",\n            \"type\": \"CATEGORY\",\n            \"is_default\": true,\n            \"channel\": 1,\n            \"validations\": []\n        },\n        {\n            \"id\": 1,\n            \"created_at\": \"2021-05-24T13:04:29.192268+02:00\",\n            \"updated_at\": \"2021-05-24T13:04:29.192294+02:00\",\n            \"name\": \"Product template\",\n            \"type\": \"PRODUCT\",\n            \"is_default\": true,\n            \"channel\": 1,\n            \"validations\": []\n        }\n    ]\n}"}],"_postman_id":"a1ff9cb4-03ad-4dba-9cae-47f66861aa76"},{"name":"A02.5 - Get validations","event":[{"listen":"prerequest","script":{"id":"0e790353-b265-4e60-8d4a-1e7a7eca675f","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"63053e37-e066-45b2-872b-c49185d82c9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/validations/","urlObject":{"path":["v1","validations",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"94574625-8b0d-46e2-95f9-90f9c48c1f02","name":"A02.5 - Get validations","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/validations/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"count\": 7,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 7,\n            \"name\": \"Has at least N images\",\n            \"validator\": \"domain.common.validators.has_n_images_validator.HasNImagesValidator\",\n            \"config\": {\n                \"min_number_images\": 1\n            },\n            \"description\": \"Product must have at least N images.\"\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Has Category Validator\",\n            \"validator\": \"domain.common.validators.has_category_validator.HasCategoryValidator\",\n            \"config\": {},\n            \"description\": \"Product must have at least one category.\"\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Has Main Image Validator\",\n            \"validator\": \"domain.common.validators.has_image_validator.HasImageValidator\",\n            \"config\": {},\n            \"description\": \"Product must have a main image.\"\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Multi length validator\",\n            \"validator\": \"domain.common.validators.multi_length_validator.MultiLengthValidator\",\n            \"config\": {\n                \"empty_allowed\": false,\n                \"min_length\": \"\",\n                \"eq_length\": \"\",\n                \"max_length\": \"\"\n            },\n            \"description\": \"String length min, string length max, string length equal and empty allowed\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"String starts-ends-contains value\",\n            \"validator\": \"domain.common.validators.string_contains_validator.StringContainsValidator\",\n            \"config\": {\n                \"starts_with\": \"\",\n                \"contains\": \"\",\n                \"ends_with\": \"\"\n            },\n            \"description\": \"String starts with, ends with or contains value\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Range validator for numbers\",\n            \"validator\": \"domain.common.validators.number_range_validator.NumberRangeValidator\",\n            \"config\": {\n                \"max\": 0,\n                \"min\": 0\n            },\n            \"description\": \"Number must be between min and max value\"\n        },\n        {\n            \"id\": 1,\n            \"name\": \"Empty or positive number\",\n            \"validator\": \"domain.common.validators.empty_or_positive_number_validator.EmptyOrPositiveNumberValidator\",\n            \"config\": {},\n            \"description\": \"Value must be empty or greater than zero\"\n        }\n    ]\n}"}],"_postman_id":"63053e37-e066-45b2-872b-c49185d82c9e"},{"name":"A03 - Create attribute","event":[{"listen":"prerequest","script":{"id":"963a5991-6c21-412c-81b2-e717fba81ba3","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript","packages":{}}}],"id":"d1a95a7e-34a3-47ed-9537-5a146bb78b1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"active\": true,\n    \"code\": {{atribute code}},\n    \"default\": \"{{default value}}\",\n    \"is_editable\": true,\n    \"name\": \"{{attribute name}}\",\n    \"tooltip_message\": \"{{tooltip message}}\",\n    \"type\": \"{{attribute type}}\",\n    \"options\": null,\n    \"validations\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/attributes/","urlObject":{"path":["v1","attributes",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"e4638361-3cf1-486c-b106-566cb4474a1c","name":"A03 - Create attribute","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"active\": true,\n    \"code\": \"testing\",\n    \"data_type\": \"STRING\",\n    \"data_ui_type\": \"STRING\",\n    \"default\": \"testing\",\n    \"is_editable\": true,\n    \"list_values\": [],\n    \"multiple\": null,\n    \"name\": \"testing\",\n    \"tooltip_message\": \"testing\",\n    \"type\": \"SINGLE\",\n    \"validations\": [5]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/attributes/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": 207,\n    \"active\": true,\n    \"created_at\": \"2022-02-10T15:29:49.864914+01:00\",\n    \"updated_at\": \"2022-02-10T15:29:49.864962+01:00\",\n    \"name\": \"testing\",\n    \"code\": \"testing\",\n    \"type\": \"TEXT\",\n    \"options\": null,\n    \"default\": \"testing\",\n    \"is_editable\": true,\n    \"tooltip_message\": \"testing\",\n    \"show_in_filters\": true,\n    \"validations\": [\n        5\n    ]\n}"}],"_postman_id":"d1a95a7e-34a3-47ed-9537-5a146bb78b1d"},{"name":"A04 - Update attribute","event":[{"listen":"prerequest","script":{"id":"0617f4f2-34f8-49ac-8fea-ee05a65de3b9","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript","packages":{}}}],"id":"e57aba2d-36a1-4d88-b69e-076d4d7caf1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"active\": true,\n    \"code\": {{atribute code}},\n    \"default\": \"{{default value}}\",\n    \"is_editable\": true,\n    \"name\": \"{{attribute name}}\",\n    \"tooltip_message\": \"{{tooltip message}}\",\n    \"type\": \"{{attribute type}}\",\n    \"options\": null,\n    \"validations\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/attributes/{{attribute_id}}/","urlObject":{"path":["v1","attributes","{{attribute_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"cbc3470f-5cf3-4b0e-baa5-9d86cacba119","name":"A04 - Update attribute","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"active\": true,\n    \"code\": \"testing\",\n    \"data_type\": \"STRING\",\n    \"data_ui_type\": \"STRING\",\n    \"default\": \"testing\",\n    \"is_editable\": true,\n    \"name\": \"testing update\",\n    \"tooltip_message\": \"testing\",\n    \"type\": \"SINGLE\",\n    \"validations\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/attributes/207/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": 207,\n    \"active\": true,\n    \"created_at\": \"2022-02-10T15:29:49.864914+01:00\",\n    \"updated_at\": \"2022-02-10T15:29:49.864962+01:00\",\n    \"name\": \"testing update\",\n    \"code\": \"testing\",\n    \"type\": \"TEXT\",\n    \"options\": null,\n    \"default\": \"testing\",\n    \"is_editable\": true,\n    \"tooltip_message\": \"testing\",\n    \"show_in_filters\": true,\n    \"validations\": []\n}"}],"_postman_id":"e57aba2d-36a1-4d88-b69e-076d4d7caf1d"},{"name":"A04.1 - Add template attributes","event":[{"listen":"prerequest","script":{"id":"f6f59522-df6c-49cd-9a33-ab22e4228716","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"180a6170-db19-452c-a158-c0990ed66961","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"position\": {{position}},\n    \"group\": \"{{tab name}}\",\n    \"template\": {{template_id}},\n    \"attribute\": {{atribute_id}}\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/template-attributes/add/","urlObject":{"path":["v1","template-attributes","add",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"e9b5c4ae-541a-423c-b254-6dc0aa59829b","name":"A04.1 - Add template attributes","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"position\": null,\n    \"group\": \"test\",\n    \"template\": 2,\n    \"attribute\": 27\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/template-attributes/add/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": 15,\n    \"created_at\": \"2022-02-10T15:36:17.134279+01:00\",\n    \"updated_at\": \"2022-02-10T15:36:17.134306+01:00\",\n    \"position\": 1,\n    \"group\": \"test\",\n    \"template\": 2,\n    \"attribute\": 27\n}"}],"_postman_id":"180a6170-db19-452c-a158-c0990ed66961"},{"name":"A05 - Delete attribute","event":[{"listen":"prerequest","script":{"id":"3e91d8c7-031d-42ce-b54c-d13033a33cc3","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"feede24b-7c2f-4a7e-bfe3-452ebff93f44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/attributes/{{attribute_id}}/","urlObject":{"path":["v1","attributes","{{attribute_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"418c757c-354e-4a59-92e3-bda01114caa4","name":"A05 - Delete attribute","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text","disabled":true}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/attributes/28/"},"status":"No Content","code":204,"_postman_previewlanguage":"","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":""}],"_postman_id":"feede24b-7c2f-4a7e-bfe3-452ebff93f44"}],"id":"f0b2c525-26a3-47ef-aa45-bdce4e80b20e","description":"<p><a href=\"https://onestic.atlassian.net/wiki/spaces/MANSMAR/pages/1887600641/Atributos+y+opciones+de+atributo+-+API\">Guía de integración: Atributos</a></p>\n","_postman_id":"f0b2c525-26a3-47ef-aa45-bdce4e80b20e"},{"name":"Attributes options","item":[{"name":"AO01 - Get attribute options","event":[{"listen":"prerequest","script":{"id":"409fd283-a505-4545-aadb-2fd744700836","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"17e14796-9e39-43ac-8afb-397114c66338","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/list-values/","urlObject":{"path":["v1","list-values",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"3eb2e962-cd46-4d3f-9386-693e1ad333f1","name":"AO01 - Get attribute option with filters by attribute ID","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://demo.smartie.io/api/v1/list-values/?attribute_id=24","host":["https://demo.smartie.io/api"],"path":["v1","list-values",""],"query":[{"key":"attribute_id","value":"24"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 8,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 957,\n            \"active\": true,\n            \"created_at\": \"2021-12-14T15:46:27.674079+01:00\",\n            \"updated_at\": \"2021-12-14T15:46:27.674155+01:00\",\n            \"position\": 3,\n            \"code\": \"blue6\",\n            \"attribute\": 24,\n            \"validations\": []\n        },\n        {\n            \"id\": 956,\n            \"active\": true,\n            \"created_at\": \"2021-12-14T15:33:43.070851+01:00\",\n            \"updated_at\": \"2021-12-14T15:45:55.626163+01:00\",\n            \"position\": 5,\n            \"code\": \"blue5\",\n            \"attribute\": 24,\n            \"validations\": []\n        },\n        {\n            \"id\": 953,\n            \"active\": true,\n            \"created_at\": \"2021-12-14T15:15:54.480507+01:00\",\n            \"updated_at\": \"2021-12-14T15:15:54.480561+01:00\",\n            \"position\": 3,\n            \"code\": \"blue4\",\n            \"attribute\": 24,\n            \"validations\": []\n        },\n        {\n            \"id\": 951,\n            \"active\": true,\n            \"created_at\": \"2021-12-14T15:14:29.775485+01:00\",\n            \"updated_at\": \"2021-12-14T15:14:29.775584+01:00\",\n            \"position\": 3,\n            \"code\": \"blue3\",\n            \"attribute\": 24,\n            \"validations\": []\n        },\n        {\n            \"id\": 949,\n            \"active\": true,\n            \"created_at\": \"2021-12-14T14:45:24.750906+01:00\",\n            \"updated_at\": \"2021-12-14T15:25:43.158057+01:00\",\n            \"position\": 5,\n            \"code\": \"blue2\",\n            \"attribute\": 24,\n            \"validations\": []\n        },\n        {\n            \"id\": 948,\n            \"active\": true,\n            \"created_at\": \"2021-12-14T14:38:27.181072+01:00\",\n            \"updated_at\": \"2021-12-14T14:43:00.736117+01:00\",\n            \"position\": 5,\n            \"code\": \"blue\",\n            \"attribute\": 24,\n            \"validations\": []\n        },\n        {\n            \"id\": 91,\n            \"active\": true,\n            \"created_at\": \"2021-06-04T10:41:25.118596+02:00\",\n            \"updated_at\": \"2021-08-05T16:02:24.430716+02:00\",\n            \"position\": 2,\n            \"code\": \"bormioli-rocco\",\n            \"attribute\": 24,\n            \"validations\": []\n        },\n        {\n            \"id\": 1,\n            \"active\": true,\n            \"created_at\": \"2021-06-01T14:10:01.327079+02:00\",\n            \"updated_at\": \"2021-08-05T16:02:06.745108+02:00\",\n            \"position\": 1,\n            \"code\": \"bra\",\n            \"attribute\": 24,\n            \"validations\": []\n        }\n    ]\n}"},{"id":"aa33b004-25e4-4b51-8533-161c603d204e","name":"AO01 - Get attribute option with filters by attribute code","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://demo.smartie.io/api/v1/list-values/?attribute__code=color","host":["https://demo.smartie.io/api"],"path":["v1","list-values",""],"query":[{"key":"attribute__code","value":"color"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 8,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 957,\n            \"active\": true,\n            \"created_at\": \"2021-12-14T15:46:27.674079+01:00\",\n            \"updated_at\": \"2021-12-14T15:46:27.674155+01:00\",\n            \"position\": 3,\n            \"code\": \"blue6\",\n            \"attribute\": 24,\n            \"validations\": []\n        },\n        {\n            \"id\": 956,\n            \"active\": true,\n            \"created_at\": \"2021-12-14T15:33:43.070851+01:00\",\n            \"updated_at\": \"2021-12-14T15:45:55.626163+01:00\",\n            \"position\": 5,\n            \"code\": \"blue5\",\n            \"attribute\": 24,\n            \"validations\": []\n        },\n        {\n            \"id\": 953,\n            \"active\": true,\n            \"created_at\": \"2021-12-14T15:15:54.480507+01:00\",\n            \"updated_at\": \"2021-12-14T15:15:54.480561+01:00\",\n            \"position\": 3,\n            \"code\": \"blue4\",\n            \"attribute\": 24,\n            \"validations\": []\n        },\n        {\n            \"id\": 951,\n            \"active\": true,\n            \"created_at\": \"2021-12-14T15:14:29.775485+01:00\",\n            \"updated_at\": \"2021-12-14T15:14:29.775584+01:00\",\n            \"position\": 3,\n            \"code\": \"blue3\",\n            \"attribute\": 24,\n            \"validations\": []\n        },\n        {\n            \"id\": 949,\n            \"active\": true,\n            \"created_at\": \"2021-12-14T14:45:24.750906+01:00\",\n            \"updated_at\": \"2021-12-14T15:25:43.158057+01:00\",\n            \"position\": 5,\n            \"code\": \"blue2\",\n            \"attribute\": 24,\n            \"validations\": []\n        },\n        {\n            \"id\": 948,\n            \"active\": true,\n            \"created_at\": \"2021-12-14T14:38:27.181072+01:00\",\n            \"updated_at\": \"2021-12-14T14:43:00.736117+01:00\",\n            \"position\": 5,\n            \"code\": \"blue\",\n            \"attribute\": 24,\n            \"validations\": []\n        },\n        {\n            \"id\": 91,\n            \"active\": true,\n            \"created_at\": \"2021-06-04T10:41:25.118596+02:00\",\n            \"updated_at\": \"2021-08-05T16:02:24.430716+02:00\",\n            \"position\": 2,\n            \"code\": \"bormioli-rocco\",\n            \"attribute\": 24,\n            \"validations\": []\n        },\n        {\n            \"id\": 1,\n            \"active\": true,\n            \"created_at\": \"2021-06-01T14:10:01.327079+02:00\",\n            \"updated_at\": \"2021-08-05T16:02:06.745108+02:00\",\n            \"position\": 1,\n            \"code\": \"bra\",\n            \"attribute\": 24,\n            \"validations\": []\n        }\n    ]\n}"}],"_postman_id":"17e14796-9e39-43ac-8afb-397114c66338"},{"name":"AO02 - Get attribute option","event":[{"listen":"prerequest","script":{"id":"409fd283-a505-4545-aadb-2fd744700836","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"68d0a7f4-c326-4030-91c6-2ebce7a6afb5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/list-values/{{list_value_id}}","urlObject":{"path":["v1","list-values","{{list_value_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"cf58e802-2db2-4bd4-8b98-18668cea2d73","name":"AO02 - Get attribute option","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/list-values/12"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 12,\n    \"active\": true,\n    \"created_at\": \"2021-06-01T14:36:34.725345+02:00\",\n    \"updated_at\": \"2021-06-01T14:38:58.561855+02:00\",\n    \"position\": 11,\n    \"code\": \"urban\",\n    \"attribute\": 25,\n    \"validations\": []\n}"}],"_postman_id":"68d0a7f4-c326-4030-91c6-2ebce7a6afb5"},{"name":"AO03 - Update attribute option","event":[{"listen":"prerequest","script":{"id":"ba7904e1-ff7e-4804-993b-2af128edae40","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"616e1c98-752f-4366-a327-9dddc3b86b5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"active\": true,\n    \"attribute\": {{attribute id}},\n    \"code\": \"{{list value code}}\",\n    \"position\": {{position}},\n    \"swatch_values\": [], //not mandatory\n    \"translations\": [ //not mandatory\n        {\n            \"locale\": {{locale_id}},\n            \"label\": \"{{label}}\",\n            \"list_value\": {{list value id}}\n        },\n        {\n            \"locale\": {{locale_id}},\n            \"label\": \"{{label}}\",\n            \"list_value\": {{list value id}}\n        }\n    ],\n    \"validations\": [] //not mandatory\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/list-values/{{list_value_id}}","urlObject":{"path":["v1","list-values","{{list_value_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"66da8962-700d-4fe5-9d13-c6a2478fc95e","name":"AO03 - Update attribute option","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"active\": true,\n    \"attribute\": 10,\n    \"code\": \"blue\",\n    \"position\": 3,\n    \"swatch_values\": [],\n    \"translations\": [\n        {\n            \"locale\": 2,\n            \"label\": \"azul\",\n            \"list_value\": 12\n        },\n        {\n            \"locale\": 1,\n            \"label\": \"blue\",\n            \"list_value\": 12\n        }\n    ],\n    \"validations\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/list-values/12"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"active\": true,\n    \"attribute\": 10,\n    \"code\": \"blue\",\n    \"id\": 12,\n    \"position\": 3,\n    \"swatch_values\": [],\n    \"translations\": [\n        {\n            \"locale\": 2,\n            \"label\": \"azul\",\n            \"list_value\": 12\n        },\n        {\n            \"locale\": 1,\n            \"label\": \"blue\",\n            \"list_value\": 12\n        }\n    ],\n    \"validations\": []\n}"}],"_postman_id":"616e1c98-752f-4366-a327-9dddc3b86b5d"},{"name":"AO03.1 - Get locales","event":[{"listen":"prerequest","script":{"id":"a35e4955-9176-4e2d-b641-15e23c4c44fe","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"beaf9ac9-3b79-42bc-bf7d-a203037e793b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/locales/","urlObject":{"path":["v1","locales",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"fff99e71-d0df-421a-8391-6a311af98bbf","name":"AO03.1 - Get locales","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/locales/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 1,\n            \"created_at\": \"2021-05-24T12:45:20.213871+02:00\",\n            \"updated_at\": \"2021-08-05T12:59:04.455585+02:00\",\n            \"name\": \"es\",\n            \"code\": \"es-ES\"\n        }\n    ]\n}"}],"_postman_id":"beaf9ac9-3b79-42bc-bf7d-a203037e793b"},{"name":"A05 - Delete attribute","event":[{"listen":"prerequest","script":{"id":"264ead19-eb0b-463b-99e2-5a66722714e1","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"a799a376-3789-420e-b539-1d09d92d17a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/list-values/{{list_value_id}}","urlObject":{"path":["v1","list-values","{{list_value_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"1012bf6a-06f9-4000-899c-0f3121f5074f","name":"A05 - Delete attribute","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text","disabled":true}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/list-values/12"},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"a799a376-3789-420e-b539-1d09d92d17a1"},{"name":"AO06 - Update attribute option with attribute code or attribute_id","event":[{"listen":"prerequest","script":{"id":"575b716f-afcd-4594-93e1-4351977374d0","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"eb3c0ebd-d000-4435-b379-76dacd31171a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"attribute_code\": {{attribute_code}}, // use attribute_code or attribute\n    \"attribute\": {{attribute_id}}, // use attribute_code or attribute\n    \"code\": \"{{list value code}}\",\n    \"position\": {{position}},\n    \"translations\": [\n        {\n            \"locale\": {{locale id}},\n            \"label\": \"{{label}}\"\n        },\n        {\n            \"locale\": {{locale id}},\n            \"label\": \"{{label}}\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/list-values/update_attribute_code","urlObject":{"path":["v1","list-values","update_attribute_code"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"34ebc61a-aa88-4555-9ed5-ec4f46363f44","name":"AO06 - Update attribute option with attribute code","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"attribute_code\": \"Marca\",\n    \"code\": \"blue\",\n    \"position\": 5,\n    \"translations\": [\n        {\n            \"locale\": 1,\n            \"label\": \"blue12\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/list-values/update_attribute_code"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 948,\n    \"swatch_values\": [],\n    \"translations\": [\n        {\n            \"id\": 764,\n            \"created_at\": \"2022-02-10T16:24:05.587787+01:00\",\n            \"updated_at\": \"2022-02-10T16:24:05.587819+01:00\",\n            \"label\": \"blue12\",\n            \"list_value\": 948,\n            \"locale\": 1\n        }\n    ],\n    \"active\": true,\n    \"created_at\": \"2021-12-14T14:38:27.181072+01:00\",\n    \"updated_at\": \"2022-02-10T16:24:05.578226+01:00\",\n    \"position\": 5,\n    \"code\": \"blue\",\n    \"attribute\": 24,\n    \"validations\": []\n}"},{"id":"ee8ff847-eef2-4094-b9f2-12321bd05e05","name":"AO06 - Update attribute option with attribute id","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"attribute\": 24,\n    \"code\": \"blue\",\n    \"position\": 5,\n    \"translations\": [\n        {\n            \"locale\": 1,\n            \"label\": \"blue12\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/list-values/update_attribute_code"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 948,\n    \"swatch_values\": [],\n    \"translations\": [\n        {\n            \"id\": 764,\n            \"created_at\": \"2022-02-10T16:24:05.587787+01:00\",\n            \"updated_at\": \"2022-02-10T16:24:05.587819+01:00\",\n            \"label\": \"blue12\",\n            \"list_value\": 948,\n            \"locale\": 1\n        }\n    ],\n    \"active\": true,\n    \"created_at\": \"2021-12-14T14:38:27.181072+01:00\",\n    \"updated_at\": \"2022-02-10T16:24:05.578226+01:00\",\n    \"position\": 5,\n    \"code\": \"blue\",\n    \"attribute\": 24,\n    \"validations\": []\n}"}],"_postman_id":"eb3c0ebd-d000-4435-b379-76dacd31171a"}],"id":"44a08095-28cf-4bd4-b4dc-75b6c78bf9f3","description":"<p><a href=\"https://onestic.atlassian.net/wiki/spaces/MANSMAR/pages/1887600641/Atributos+y+opciones+de+atributo+-+API\">Guía de integración: Opciones de atributo</a></p>\n","_postman_id":"44a08095-28cf-4bd4-b4dc-75b6c78bf9f3"},{"name":"Marketing relations","item":[{"name":"MRT01 - List marketing relations types","event":[{"listen":"prerequest","script":{"id":"b783296f-3439-4ffe-a9e5-bd28be9f29a5","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"4f164add-4470-48f8-8253-16f745536ec7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/marketing-relation-types/","urlObject":{"path":["v1","marketing-relation-types",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"4f164add-4470-48f8-8253-16f745536ec7"},{"name":"MRT02 - Get marketing relation type","event":[{"listen":"prerequest","script":{"id":"324738aa-35fd-41ca-bea4-c2325da2b9b0","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"be0a7141-7b52-4999-8942-96edb0942218","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/marketing-relation-types/{{marteking_relation_type_id}}","urlObject":{"path":["v1","marketing-relation-types","{{marteking_relation_type_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"be0a7141-7b52-4999-8942-96edb0942218"},{"name":"MRT03 - Create marketing relation type","event":[{"listen":"prerequest","script":{"id":"f76057ba-3fc0-4c70-a63e-3961e6fc6906","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"3868fed4-9d05-4a3b-b9e3-03c814f1bb34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": {{marketing_relation_name}}\n}"},"url":"https://demo.smartie.io/api/v1/marketing-relation-types/","urlObject":{"path":["v1","marketing-relation-types",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3868fed4-9d05-4a3b-b9e3-03c814f1bb34"},{"name":"MRT04 - Update marketing relation type","event":[{"listen":"prerequest","script":{"id":"db00fdeb-6398-46e0-98a3-807680faa8d7","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"3f1176ec-19da-4e0c-bd7a-a66a21dc3171","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": {{marketing_relation_name}}\n}"},"url":"https://demo.smartie.io/api/v1/marketing-relation-types/{{marteking_relation_type_id}}","urlObject":{"path":["v1","marketing-relation-types","{{marteking_relation_type_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3f1176ec-19da-4e0c-bd7a-a66a21dc3171"},{"name":"MRT05 - Delete marketing relation type","event":[{"listen":"prerequest","script":{"id":"b3f10c5f-78c8-4ec7-9586-e7c05bda5fdc","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"946e9756-d965-4922-8e36-918c9b70848e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/marketing-relation-types/{{marteking_relation_type_id}}","urlObject":{"path":["v1","marketing-relation-types","{{marteking_relation_type_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"946e9756-d965-4922-8e36-918c9b70848e"},{"name":"MR01 - List marketing relations","event":[{"listen":"prerequest","script":{"id":"b783296f-3439-4ffe-a9e5-bd28be9f29a5","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"8e229fab-b711-4019-adb5-0cc29f536672","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/marketing-relations/","urlObject":{"path":["v1","marketing-relations",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"8e229fab-b711-4019-adb5-0cc29f536672"},{"name":"MR02 - Get marketing relation","event":[{"listen":"prerequest","script":{"id":"b783296f-3439-4ffe-a9e5-bd28be9f29a5","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"55405e9e-03f0-448c-8599-a114aee41421","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/marketing-relations/{{marketing_relation_id}}","urlObject":{"path":["v1","marketing-relations","{{marketing_relation_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"55405e9e-03f0-448c-8599-a114aee41421"},{"name":"MR03 - Create marketing relation","id":"18addc88-37f2-40d1-bc0a-953d45536a22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"content-type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"origin_product\": {{origin_product_id}},\n    \"target_product\": {{target_product_id}},\n    \"type\": {{marketing_relation_type}},\n    \"position\": {{position}}\n}"},"url":"https://demo.smartie.io/api/v1/marketing-relations/","urlObject":{"path":["v1","marketing-relations",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"c7691676-202c-44fc-a985-e0f040d54f99","name":"MR03 - Create marketing relation","originalRequest":{"method":"POST","header":[{"key":"content-type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"origin_product\": 12500,\n    \"target_product\": 12700,\n    \"type\": 1,\n    \"position\": 1\n}"},"url":"https://demo.smartie.io/api/v1/marketing-relations/"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3257,\n    \"origin_product_sku\": \"SKU-1\",\n    \"target_product_sku\": \"SKU-2\",\n    \"created_at\": \"2024-01-31T12:07:42.217579+02:00\",\n    \"updated_at\": \"2024-01-31T12:07:42.217598+02:00\",\n    \"position\": 1,\n    \"origin_product\": 12500,\n    \"target_product\": 12700,\n    \"type\": 1\n}"}],"_postman_id":"18addc88-37f2-40d1-bc0a-953d45536a22"},{"name":"MR04 - Update marketing relation","id":"d9284a53-e0aa-4e97-b0a0-9c7772c7c085","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"content-type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"origin_product\": {{origin_product_id}},\n    \"target_product\": {{target_product_id}},\n    \"type\": {{marketing_relation_type}},\n    \"position\": {{position}}\n}"},"url":"https://demo.smartie.io/api/v1/marketing-relations/{{marketing_relation_id}}","urlObject":{"path":["v1","marketing-relations","{{marketing_relation_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"0ab8d15b-b894-4ba3-8e82-4c125079c925","name":"MR04 - Update marketing relation","originalRequest":{"method":"POST","header":[{"key":"content-type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"origin_product\": 12500,\n    \"target_product\": 12700,\n    \"type\": 1,\n    \"position\": 2\n}"},"url":"https://demo.smartie.io/api/v1/marketing-relations/3257"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3257,\n    \"origin_product_sku\": \"SKU-1\",\n    \"target_product_sku\": \"SKU-2\",\n    \"created_at\": \"2024-01-31T12:07:42.217579+02:00\",\n    \"updated_at\": \"2024-01-31T12:07:42.217598+02:00\",\n    \"position\": 2,\n    \"origin_product\": 12500,\n    \"target_product\": 12700,\n    \"type\": 1\n}"}],"_postman_id":"d9284a53-e0aa-4e97-b0a0-9c7772c7c085"},{"name":"MR05 - Delete marketing relation","id":"61c41c86-c07a-4b6b-bbc1-c1c9ab3ea28c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"content-type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/marketing-relations/{{marketing_relation_id}}","urlObject":{"path":["v1","marketing-relations","{{marketing_relation_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"7d57f73e-be61-4919-aa10-d343ee6738da","name":"MR05 - Delete marketing relation","originalRequest":{"method":"DELETE","header":[{"key":"content-type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/marketing-relations/3257"},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":""}],"_postman_id":"61c41c86-c07a-4b6b-bbc1-c1c9ab3ea28c"}],"id":"6ed6a685-2742-4dd1-8bbc-440b0f35f057","_postman_id":"6ed6a685-2742-4dd1-8bbc-440b0f35f057","description":""},{"name":"Propagation rules","item":[{"name":"PR03 - Create propagation rule","event":[{"listen":"prerequest","script":{"id":"029be5fe-370b-4e51-bcbd-6f27d630e601","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"626af7a3-419e-4a80-946a-54f18bb08ade","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"is_mandatory\": true,\n    \"name\": \"From information.{{origin_attribute_code}}:{{origin_view_name}} to information.{{target_attribute_code}}:{{target_view_name}}\",\n    \"origin_attribute\": {{origin_attribute_id}},\n    \"origin_view\": {{origin_view_id}},\n    \"priority\": \"1\",\n    \"target_attribute\": {{target_attribute_id}},\n    \"target_view\": {{target_view_id}},\n    \"transformations\": [\n        {{transformation_id if necessary}}\n    ],\n    \"apply_all_products\": true,\n    \"filters\": {}\n}"},"url":"https://demo.smartie.io/api/v1/propagation-rules/","urlObject":{"path":["v1","propagation-rules",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"626af7a3-419e-4a80-946a-54f18bb08ade"},{"name":"PR03.1 - Get transformations","event":[{"listen":"prerequest","script":{"id":"dead75a6-6734-4b72-90d3-60b8ff33bcb0","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"baecd9af-f8ca-484e-9109-dba69af2554e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/transformations/","urlObject":{"path":["v1","transformations",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"baecd9af-f8ca-484e-9109-dba69af2554e"},{"name":"PR04 - Update propagation rule","event":[{"listen":"prerequest","script":{"id":"0e18b969-c59b-42dc-bec9-1abf3d1ef1c8","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"546ce8f4-b4ff-47ed-89c7-6a971a50f910","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"is_mandatory\": true,\n    \"name\": \"From information.{{origin_attribute_code}}:{{origin_view_name}} to information.{{target_attribute_code}}:{{target_view_name}}\",\n    \"origin_attribute\": {{origin_attribute_id}},\n    \"origin_view\": {{origin_view_id}},\n    \"priority\": \"1\",\n    \"target_attribute\": {{target_attribute_id}},\n    \"target_view\": {{target_view_id}},\n    \"transformations\": [\n        {{transformation_id if necessary}}\n    ],\n    \"apply_all_products\": true,\n    \"filters\": {}\n}"},"url":"https://demo.smartie.io/api/v1/propagation-rules/{{propagation_rule_id}}/","urlObject":{"path":["v1","propagation-rules","{{propagation_rule_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"546ce8f4-b4ff-47ed-89c7-6a971a50f910"},{"name":"PR05 - Delete propagation rule","event":[{"listen":"prerequest","script":{"id":"ba5d8aa4-e299-4584-9369-8c62a62bf6e6","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"eee4981b-19b6-4cd1-a648-2a5de90b7167","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/propagation-rules/{{propagation_rule_id}}/","urlObject":{"path":["v1","propagation-rules","{{propagation_rule_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"eee4981b-19b6-4cd1-a648-2a5de90b7167"}],"id":"1977ef83-3bf8-417a-9772-9389a8848ffe","_postman_id":"1977ef83-3bf8-417a-9772-9389a8848ffe","description":""},{"name":"Product relations","item":[{"name":"PRL01 - Create product relations","event":[{"listen":"prerequest","script":{"id":"029be5fe-370b-4e51-bcbd-6f27d630e601","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"cc84bf1a-29ca-43c8-a35b-a1be1efa173e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"origin_product\": {{origin_product_id}},\n    \"target_product\": {{target_product_id}},\n    \"type\": {{variation_type}},\n    \"variation_criterias\": [],\n    \"position\": {{position}}\n}"},"url":"https://demo.smartie.io/api/v1/product-relations/","urlObject":{"path":["v1","product-relations",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"6c798bd2-eba4-4f1a-ac34-db37b63613b4","name":"PRL01 - Create product relations with variation criteria","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"origin_product\": 239051,\n    \"target_product\": 245599,\n    \"type\": \"VARIATION\",\n    \"variation_criterias\": [12],\n    \"position\": 1\n}"},"url":"https://demo.smartie.io/api/v1/product-relations/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 230905,\n    \"created_at\": \"2025-05-06T12:22:25.259042+02:00\",\n    \"updated_at\": \"2025-05-06T12:22:26.151785+02:00\",\n    \"position\": 1,\n    \"type\": \"VARIATION\",\n    \"origin_product\": 239051,\n    \"target_product\": 245599,\n    \"variation_criterias\": [\n        12\n    ]\n}"},{"id":"b3db0478-f17e-4199-8c5f-1a312b90e126","name":"PRL01 - Create product relations with group type","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"origin_product\": 239051,\n    \"target_product\": 245599,\n    \"type\": \"GROUP\",\n    \"variation_criterias\": [],\n    \"position\": 1\n}"},"url":"https://demo.smartie.io/api/v1/product-relations/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 230905,\n    \"created_at\": \"2025-05-06T12:22:25.259042+02:00\",\n    \"updated_at\": \"2025-05-06T12:22:26.151785+02:00\",\n    \"position\": 1,\n    \"type\": \"GROUP\",\n    \"origin_product\": 239051,\n    \"target_product\": 245599,\n    \"variation_criterias\": []\n}"},{"id":"4656d65c-56aa-48e9-91a5-845b490170c7","name":"PRL01 - Create product relations with bundle type","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"origin_product\": 239051,\n    \"target_product\": 245599,\n    \"type\": \"BUNDLE\",\n    \"variation_criterias\": [],\n    \"position\": 1\n}"},"url":"https://demo.smartie.io/api/v1/product-relations/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 230905,\n    \"created_at\": \"2025-05-06T12:22:25.259042+02:00\",\n    \"updated_at\": \"2025-05-06T12:22:26.151785+02:00\",\n    \"position\": 1,\n    \"type\": \"BUNDLE\",\n    \"origin_product\": 239051,\n    \"target_product\": 245599,\n    \"variation_criterias\": []\n}"}],"_postman_id":"cc84bf1a-29ca-43c8-a35b-a1be1efa173e"},{"name":"PRL02- Get product relations","event":[{"listen":"prerequest","script":{"id":"dead75a6-6734-4b72-90d3-60b8ff33bcb0","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"ac1be5ff-542e-4273-9ba2-58286ff1e465","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/product-relations/","urlObject":{"path":["v1","product-relations",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"4d489585-dc5d-49ed-afa4-bed30cea42d2","name":"PRL02 - Get product relations","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://demo.smartie.io/api/v1/product-relations/?origin_product__sku=test-sku-origin&target_product__sku=test-sku-target","host":["https://demo.smartie.io/api"],"path":["v1","product-relations",""],"query":[{"key":"origin_product__sku","value":"test-sku-origin"},{"key":"target_product__sku","value":"test-sku-target"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 6,\n    \"next\": \"\",\n    \"previous\": \"\",\n    \"results\": [\n        {\n            \"id\": 230902,\n            \"created_at\": \"2024-10-14T12:57:38.628722+02:00\",\n            \"updated_at\": \"2024-10-14T12:57:38.628752+02:00\",\n            \"position\": 6,\n            \"type\": \"VARIATION\",\n            \"origin_product\": 239051,\n            \"target_product\": 245599,\n            \"variation_criterias\": [\n                12\n            ]\n        },\n        {\n            \"id\": 229621,\n            \"created_at\": \"2024-10-14T12:56:44.630296+02:00\",\n            \"updated_at\": \"2024-10-14T12:56:44.630326+02:00\",\n            \"position\": 5,\n            \"type\": \"VARIATION\",\n            \"origin_product\": 239051,\n            \"target_product\": 244318,\n            \"variation_criterias\": [\n                12\n            ]\n        },\n        {\n            \"id\": 229620,\n            \"created_at\": \"2024-10-14T12:56:44.608725+02:00\",\n            \"updated_at\": \"2024-10-14T12:56:44.608753+02:00\",\n            \"position\": 4,\n            \"type\": \"VARIATION\",\n            \"origin_product\": 239051,\n            \"target_product\": 244317,\n            \"variation_criterias\": [\n                12\n            ]\n        },\n        {\n            \"id\": 225982,\n            \"created_at\": \"2024-10-14T12:54:04.174291+02:00\",\n            \"updated_at\": \"2024-10-14T12:54:04.174315+02:00\",\n            \"position\": 3,\n            \"type\": \"VARIATION\",\n            \"origin_product\": 239051,\n            \"target_product\": 240679,\n            \"variation_criterias\": [\n                12\n            ]\n        },\n        {\n            \"id\": 225981,\n            \"created_at\": \"2024-10-14T12:54:04.157956+02:00\",\n            \"updated_at\": \"2024-10-14T12:54:04.157982+02:00\",\n            \"position\": 2,\n            \"type\": \"VARIATION\",\n            \"origin_product\": 239051,\n            \"target_product\": 240678,\n            \"variation_criterias\": [\n                12\n            ]\n        },\n        {\n            \"id\": 225980,\n            \"created_at\": \"2024-10-14T12:54:04.137185+02:00\",\n            \"updated_at\": \"2024-10-14T12:54:04.137211+02:00\",\n            \"position\": 1,\n            \"type\": \"VARIATION\",\n            \"origin_product\": 239051,\n            \"target_product\": 240677,\n            \"variation_criterias\": [\n                12\n            ]\n        }\n    ]\n}"},{"id":"d033e715-e539-4045-bf7b-97649677bf2c","name":"PRL02- Get product relations with variation criteria filter","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://demo.smartie.io/api/v1/product-relations/?origin_product__sku=test-sku-origin&target_product__sku=test-sku-target&variation_criterias=12","host":["https://demo.smartie.io/api"],"path":["v1","product-relations",""],"query":[{"key":"origin_product__sku","value":"test-sku-origin"},{"key":"target_product__sku","value":"test-sku-target"},{"key":"variation_criterias","value":"12","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 6,\n    \"next\": \"\",\n    \"previous\": \"\",\n    \"results\": [\n        {\n            \"id\": 230902,\n            \"created_at\": \"2024-10-14T12:57:38.628722+02:00\",\n            \"updated_at\": \"2024-10-14T12:57:38.628752+02:00\",\n            \"position\": 6,\n            \"type\": \"VARIATION\",\n            \"origin_product\": 239051,\n            \"target_product\": 245599,\n            \"variation_criterias\": [\n                12\n            ]\n        },\n        {\n            \"id\": 229621,\n            \"created_at\": \"2024-10-14T12:56:44.630296+02:00\",\n            \"updated_at\": \"2024-10-14T12:56:44.630326+02:00\",\n            \"position\": 5,\n            \"type\": \"VARIATION\",\n            \"origin_product\": 239051,\n            \"target_product\": 244318,\n            \"variation_criterias\": [\n                12\n            ]\n        },\n        {\n            \"id\": 229620,\n            \"created_at\": \"2024-10-14T12:56:44.608725+02:00\",\n            \"updated_at\": \"2024-10-14T12:56:44.608753+02:00\",\n            \"position\": 4,\n            \"type\": \"VARIATION\",\n            \"origin_product\": 239051,\n            \"target_product\": 244317,\n            \"variation_criterias\": [\n                12\n            ]\n        },\n        {\n            \"id\": 225982,\n            \"created_at\": \"2024-10-14T12:54:04.174291+02:00\",\n            \"updated_at\": \"2024-10-14T12:54:04.174315+02:00\",\n            \"position\": 3,\n            \"type\": \"VARIATION\",\n            \"origin_product\": 239051,\n            \"target_product\": 240679,\n            \"variation_criterias\": [\n                12\n            ]\n        },\n        {\n            \"id\": 225981,\n            \"created_at\": \"2024-10-14T12:54:04.157956+02:00\",\n            \"updated_at\": \"2024-10-14T12:54:04.157982+02:00\",\n            \"position\": 2,\n            \"type\": \"VARIATION\",\n            \"origin_product\": 239051,\n            \"target_product\": 240678,\n            \"variation_criterias\": [\n                12\n            ]\n        },\n        {\n            \"id\": 225980,\n            \"created_at\": \"2024-10-14T12:54:04.137185+02:00\",\n            \"updated_at\": \"2024-10-14T12:54:04.137211+02:00\",\n            \"position\": 1,\n            \"type\": \"VARIATION\",\n            \"origin_product\": 239051,\n            \"target_product\": 240677,\n            \"variation_criterias\": [\n                12\n            ]\n        }\n    ]\n}"}],"_postman_id":"ac1be5ff-542e-4273-9ba2-58286ff1e465"},{"name":"PRL03 - Delete product relation","event":[{"listen":"prerequest","script":{"id":"ba5d8aa4-e299-4584-9369-8c62a62bf6e6","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"e6d9891b-5ccd-427e-9f15-d368a7931fe6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/product-relations/{product_relation_id}}/","urlObject":{"path":["v1","product-relations","{product_relation_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e6d9891b-5ccd-427e-9f15-d368a7931fe6"}],"id":"308c9ac3-8739-44fe-8002-beab42ea5c0d","_postman_id":"308c9ac3-8739-44fe-8002-beab42ea5c0d","description":""},{"name":"Templates","item":[{"name":"T02 - List templates","event":[{"listen":"prerequest","script":{"id":"1e8601a1-4c30-4025-9c14-bd894278fb76","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"18f0a7a6-a582-4cdc-bfb3-416a2547083b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Accept-Language","value":"es-es","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/templates/","urlObject":{"path":["v1","templates",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"18f0a7a6-a582-4cdc-bfb3-416a2547083b"},{"name":"T02 - Get template","event":[{"listen":"prerequest","script":{"id":"1e8601a1-4c30-4025-9c14-bd894278fb76","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"63882ec7-2968-4278-acc6-da64494d72a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Accept-Language","value":"es-es","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/templates/{{template_id}}/","urlObject":{"path":["v1","templates","{{template_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"63882ec7-2968-4278-acc6-da64494d72a1"},{"name":"T03 - Create template","event":[{"listen":"prerequest","script":{"id":"78325967-4861-4533-bc3a-c63c603749c0","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"aac7bb55-1bcf-4cc1-ac84-a42ced3a27d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"{{channel_name}}_template_{{PRODUCT|CATEGORY|MEDIA}}\",\n    \"type\": {{PRODUCT|CATEGORY|MEDIA}},\n    \"channel\": {{channel_id}},\n    \"is_default\": {{true|false}}\n}"},"url":"https://demo.smartie.io/api/v1/templates/","urlObject":{"path":["v1","templates",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"aac7bb55-1bcf-4cc1-ac84-a42ced3a27d2"},{"name":"T03.3 - Get template attributes by template id","event":[{"listen":"prerequest","script":{"id":"16b47c5f-d44f-4ab0-a8b9-933f2f0af228","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"d0532050-60bc-419d-b4c0-6e7698fdf9d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/template-attributes/?template={{template_id}}","urlObject":{"path":["v1","template-attributes",""],"host":["https://demo.smartie.io/api"],"query":[{"key":"template","value":"{{template_id}}"}],"variable":[]}},"response":[],"_postman_id":"d0532050-60bc-419d-b4c0-6e7698fdf9d8"},{"name":"T03.5 - Add template attributes","event":[{"listen":"prerequest","script":{"id":"66e52bc4-b982-4d3c-ba22-65a7553e6d80","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"9d5469ed-c8bb-4da0-817f-93c84ce6202f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"position\": {{position can be null}},\n    \"group\": {{tab name}},\n    \"template\": {{template_id}},\n    \"attribute\": {{atribute_id}}\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/template-attributes/add/","urlObject":{"path":["v1","template-attributes","add",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9d5469ed-c8bb-4da0-817f-93c84ce6202f"},{"name":"T03.6 - Bulk update of template attributes","event":[{"listen":"prerequest","script":{"id":"33cc180d-1aa8-4871-b581-656752bb563b","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript","packages":{}}}],"id":"5912ef81-b32e-4342-b2fa-7319cd9ada9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": {{id}},\n            \"attribute\": {\n                \"id\": {{attribute_id}},\n                \"active\": true,\n                \"created_at\": \"2021-06-28T16:27:14.358569+02:00\",\n                \"updated_at\": \"2021-06-28T16:27:14.358590+02:00\",\n                \"name\": \"TEST\",\n                \"code\": \"status\",\n                \"type\": \"TEXT\",\n                \"options\": null,,\n                \"default\": null,\n                \"is_editable\": true,\n                \"tooltip_message\": \" \",\n                \"show_in_filters\": true,\n                \"validations\": []\n            },\n            \"created_at\": \"2021-06-28T16:27:24.131291+02:00\",\n            \"updated_at\": \"2021-08-13T15:20:40.983067+02:00\",\n            \"position\": {{position}},\n            \"group\": \"{{tab name}}\",\n            \"template\": {{tempalte_id}}\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/template-attributes/update-bulk","urlObject":{"path":["v1","template-attributes","update-bulk"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"5912ef81-b32e-4342-b2fa-7319cd9ada9f"},{"name":"T04 - Update template","event":[{"listen":"prerequest","script":{"id":"61186283-fde1-428f-8fba-d9418a8bfe7f","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"676fd61f-7621-423c-8170-f869e4cdde21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"{{channel_name}}_template_{{PRODUCT|CATEGORY|MEDIA}}\",\n    \"type\": {{PRODUCT|CATEGORY|MEDIA}},\n    \"channel\": {{channel_id}},\n    \"is_default\": {{true|false}}\n}"},"url":"https://demo.smartie.io/api/v1/templates/{{template_id}}/","urlObject":{"path":["v1","templates","{{template_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"676fd61f-7621-423c-8170-f869e4cdde21"},{"name":"T05 - Delete template","event":[{"listen":"prerequest","script":{"id":"830d00eb-3eed-4498-b473-a7782b01ceb2","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"fe9f11e2-2888-41db-8410-1a96ca7d8517","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/templates/{{template_id}}","urlObject":{"path":["v1","templates","{{template_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"fe9f11e2-2888-41db-8410-1a96ca7d8517"}],"id":"1fda8e9b-c017-4ba9-bca4-04e401ce29fe","_postman_id":"1fda8e9b-c017-4ba9-bca4-04e401ce29fe","description":""},{"name":"Transformations","item":[{"name":"TR01 - List transformations","event":[{"listen":"prerequest","script":{"id":"4e6c328c-b3b7-46b8-adb6-c4f2dddb705c","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"077d2612-21a3-411d-bb33-4e7205bdd47b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/transformations/","urlObject":{"path":["v1","transformations",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"077d2612-21a3-411d-bb33-4e7205bdd47b"},{"name":"TR02 - Get transformation","event":[{"listen":"prerequest","script":{"id":"6cf8dd0f-65e8-4163-b189-21c3c629fd6d","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"601abdb7-5384-442d-8310-d033598f1e9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Accept-Language","value":"es-es","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/transformations/{{transformation_id}}","urlObject":{"path":["v1","transformations","{{transformation_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"601abdb7-5384-442d-8310-d033598f1e9b"},{"name":"TR03 - Create transformation","event":[{"listen":"prerequest","script":{"id":"59293904-32b4-444e-990c-c262f42e8503","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"62db126e-49c5-4f89-9f64-809f34079a74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": {{transformation_name}},\n    \"transformation\": {{transformation_path}},\n    \"config\":{ \n        {{transformation_configuration}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/transformations/","urlObject":{"path":["v1","transformations",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"62db126e-49c5-4f89-9f64-809f34079a74"},{"name":"TR04 - Update transformations","event":[{"listen":"prerequest","script":{"id":"a35cfa08-cbdd-45a9-9a10-1c0d6f616cae","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"566ec2af-3e0f-45e6-8eaa-d746fecba611","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": {{transformation_name}},\n    \"transformation\": {{transformation_path}},\n    \"config\":{ \n        {{transformation_configuration}}\n    }\n}"},"url":"https://demo.smartie.io/api/v1/transformations/{{transformation_id}}","urlObject":{"path":["v1","transformations","{{transformation_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"566ec2af-3e0f-45e6-8eaa-d746fecba611"},{"name":"TR05 - Delete integration system","event":[{"listen":"prerequest","script":{"id":"3d5511a7-0a8b-46f8-aa83-a1399a234a3a","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"47bd9967-48e5-498b-888d-280d024d0461","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/transformations/{{transformation_id}}","urlObject":{"path":["v1","transformations","{{transformation_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"47bd9967-48e5-498b-888d-280d024d0461"}],"id":"402b961a-2a5a-472e-bd73-20d6a62330b8","_postman_id":"402b961a-2a5a-472e-bd73-20d6a62330b8","description":""},{"name":"Validations","item":[{"name":"V01 - List validations","event":[{"listen":"prerequest","script":{"id":"8dfe2a8f-70c3-4ef0-87aa-6f6145a00db8","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"b4e98cac-9bd7-47ff-b91b-54a8ab6ec9cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/validations/","urlObject":{"path":["v1","validations",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b4e98cac-9bd7-47ff-b91b-54a8ab6ec9cc"},{"name":"V02 - Get validation","event":[{"listen":"prerequest","script":{"id":"a9529b09-c017-4101-abf1-95bcf920fed1","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"c2942bc9-d195-4679-99ad-f29320aecefe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Accept-Language","value":"es-es","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/validations/{{validation_id}}","urlObject":{"path":["v1","validations","{{validation_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c2942bc9-d195-4679-99ad-f29320aecefe"},{"name":"V03 - Create validation","event":[{"listen":"prerequest","script":{"id":"eacb0818-1558-4ee9-878c-e5e824d5b79f","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"62f53a85-2b23-44d3-996a-3d4d4829f1d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": {{validator_name}},\n    \"description\": {{validator_description}},\n    \"validator\": {{validator_path}},\n    \"config\":{ \n        {{validator_configuration}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/validations/","urlObject":{"path":["v1","validations",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"62f53a85-2b23-44d3-996a-3d4d4829f1d8"},{"name":"V04 - Update validation","event":[{"listen":"prerequest","script":{"id":"5fa0477c-6545-4d0b-9f80-01972e708c34","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"a88704b8-51d6-4f18-b752-4c3ed099d704","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": {{validator_name}},\n    \"description\": {{validator_description}},\n    \"validator\": {{validator_path}},\n    \"config\":{ \n        {{validator_configuration}}\n    }\n}"},"url":"https://demo.smartie.io/api/v1/validations/{{validation_id}}","urlObject":{"path":["v1","validations","{{validation_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a88704b8-51d6-4f18-b752-4c3ed099d704"},{"name":"V05 - Delete validation","event":[{"listen":"prerequest","script":{"id":"90f01fd4-3c8c-4323-acbb-e3decd9801a3","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"b73afa5f-2205-4e5b-a543-2f7a3b3baf41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/validations/{{validation_id}}","urlObject":{"path":["v1","validations","{{validation_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b73afa5f-2205-4e5b-a543-2f7a3b3baf41"}],"id":"e9a58920-05ac-4418-87e9-632ced34b827","_postman_id":"e9a58920-05ac-4418-87e9-632ced34b827","description":""},{"name":"Variation criteria","item":[{"name":"VC01 - V2 - List variation criteria","event":[{"listen":"prerequest","script":{"id":"8dfe2a8f-70c3-4ef0-87aa-6f6145a00db8","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"8fc495f7-e1c0-42b7-8b90-be72262b3127","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v2/variation-criterias/","urlObject":{"path":["v2","variation-criterias",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"05a52a0e-3f03-4b51-aa78-36b8b4d131e0","name":"VC01 - V2 - List variation criteria","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v2/variation-criterias/"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 2,\n    \"next\": \"\",\n    \"previous\": \"\",\n    \"results\": [\n        {\n            \"id\": 12,\n            \"created_at\": \"2020-06-15T12:50:16.408571+02:00\",\n            \"updated_at\": \"2020-06-15T12:50:16.408590+02:00\",\n            \"name\": \"color_size_variant\",\n            \"template\": 1,\n            \"attributes\": [\n                117,\n                119\n            ]\n        },\n        {\n            \"id\": 10,\n            \"created_at\": \"2020-06-15T12:50:16.402455+02:00\",\n            \"updated_at\": \"2020-06-18T10:49:12.704388+02:00\",\n            \"name\": \"color_variant\",\n            \"template\": 1,\n            \"attributes\": [\n                117\n            ]\n        }\n    ]\n}"}],"_postman_id":"8fc495f7-e1c0-42b7-8b90-be72262b3127"},{"name":"VC02 - V2 - Get variation criteria","event":[{"listen":"prerequest","script":{"id":"8dfe2a8f-70c3-4ef0-87aa-6f6145a00db8","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"d32ac479-10ba-487c-b99c-6c0779033269","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v2/variation-criterias/{{variation_criteria_id}}","urlObject":{"path":["v2","variation-criterias","{{variation_criteria_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"9dc9b258-3225-481d-a7ec-fb3835eba0f5","name":"VC02 - V2 - Get variation criteria","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v2/variation-criterias/12"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 12,\n    \"created_at\": \"2020-06-15T12:50:16.408571+02:00\",\n    \"updated_at\": \"2020-06-15T12:50:16.408590+02:00\",\n    \"name\": \"color_size_variant\",\n    \"template\": 22,\n    \"attributes\": [\n        117,\n        119\n    ]\n}"}],"_postman_id":"d32ac479-10ba-487c-b99c-6c0779033269"},{"name":"VC02.1 - V2 - Get variation criteria attributes by variation criteria id","event":[{"listen":"prerequest","script":{"id":"8dfe2a8f-70c3-4ef0-87aa-6f6145a00db8","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"b7d63caa-b53c-4f02-b42e-67cb464f79c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v2/variation-criteria-attributes/?variation_criteria_id={{variation_criteria_id}}","urlObject":{"path":["v2","variation-criteria-attributes",""],"host":["https://demo.smartie.io/api"],"query":[{"key":"variation_criteria_id","value":"{{variation_criteria_id}}"}],"variable":[]}},"response":[{"id":"44bebcf4-43f7-421c-a930-531301d3e4e4","name":"VC02.1 - V2 - Get variation criteria attributes by variation criteria id","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://demo.smartie.io/api/v2/variation-criteria-attributes/?variation_criteria_id=1","host":["https://demo.smartie.io/api"],"path":["v2","variation-criteria-attributes",""],"query":[{"key":"variation_criteria_id","value":"1"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 2,\n    \"next\": \"\",\n    \"previous\": \"\",\n    \"results\": [\n        {\n            \"id\": 20,\n            \"created_at\": \"2020-06-15T12:50:16.410801+02:00\",\n            \"updated_at\": \"2020-06-15T12:50:16.410820+02:00\",\n            \"position\": 2,\n            \"variation_criteria\": 1,\n            \"attribute\": 10\n        },\n        {\n            \"id\": 19,\n            \"created_at\": \"2020-06-15T12:50:16.409690+02:00\",\n            \"updated_at\": \"2020-06-15T12:50:16.409709+02:00\",\n            \"position\": 1,\n            \"variation_criteria\": 1,\n            \"attribute\": 11\n        }\n    ]\n}"}],"_postman_id":"b7d63caa-b53c-4f02-b42e-67cb464f79c8"},{"name":"VC03 - V2 - Create variation criteria","event":[{"listen":"prerequest","script":{"id":"a363b794-792e-46e4-9277-0fc101b010c3","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"0292e64f-b430-450d-a69c-3bc4df02b665","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"variation_criteria_attributes\": [\n        {\n            \"id\": {{attribute_id}},\n            \"position\": 1\n        },\n        {\n            \"id\": {{attribute_id}},\n            \"position\": 2\n        }\n    ],\n    \"name\": \"{{variation_criteria_name}}\",\n    \"template\": {{template_id}}\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/variation-criterias/","urlObject":{"path":["v2","variation-criterias",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"feef9bc8-6b2f-4be9-bd87-e0c75e2acab9","name":"VC03 - V2 - Create variation criteria","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"variation_criteria_attributes\": [\n        {\n            \"id\": 249,\n            \"position\": 1\n        },\n        {\n            \"id\": 247,\n            \"position\": 2\n        }\n    ],\n    \"name\": \"TEST5\",\n    \"template\": 35\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/variation-criterias/"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"0292e64f-b430-450d-a69c-3bc4df02b665"},{"name":"VC04 - V2 - Update variation criteria","event":[{"listen":"prerequest","script":{"id":"a363b794-792e-46e4-9277-0fc101b010c3","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"35f832bb-4ec1-4333-9cb6-f8add61efc08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"variation_criteria_attributes\": [\n        {\n            \"id\": {{attribute_id}},\n            \"position\": 1\n        },\n        {\n            \"id\": {{attribute_id}},\n            \"position\": 2\n        }\n    ],\n    \"name\": \"{{variation_criteria_name}}\",\n    \"template\": {{template_id}}\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/variation-criterias/{{variation_criteria_id}}","urlObject":{"path":["v2","variation-criterias","{{variation_criteria_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"904769da-2f6e-46b0-9fe1-46078b7fa288","name":"VC04 - V2 - Update variation criteria","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"variation_criteria_attributes\": [\n        {\n            \"id\": 249,\n            \"position\": 1\n        },\n        {\n            \"id\": 247,\n            \"position\": 2\n        }\n    ],\n    \"name\": \"TEST5\",\n    \"template\": 35\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/variation-criterias/13"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"35f832bb-4ec1-4333-9cb6-f8add61efc08"}],"id":"201257e0-cb1a-4bfe-89e5-9f4479d18d71","_postman_id":"201257e0-cb1a-4bfe-89e5-9f4479d18d71","description":""}],"id":"bd014cae-ebfe-454c-9609-e63fdce97280","description":"<p><a href=\"https://onestic.atlassian.net/wiki/spaces/MANSMAR/pages/1887502420/Cat+logo+-+API\">Guía de integración: Catálogo</a></p>\n","_postman_id":"bd014cae-ebfe-454c-9609-e63fdce97280"},{"name":"Tasks","item":[{"name":"Tasks","item":[{"name":"T02 - Get task","event":[{"listen":"prerequest","script":{"id":"1de50595-da89-430d-a3ce-e5155c95b00d","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"2da5eef4-7511-40df-9ca7-a4f0ae8fbf2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/api/action-buttons/{{action_button_id}}","urlObject":{"path":["api","action-buttons","{{action_button_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"2da5eef4-7511-40df-9ca7-a4f0ae8fbf2b"},{"name":"T03 - Create task","event":[{"listen":"prerequest","script":{"id":"fb00dee1-3dea-42fa-948b-62ee445f7595","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"c85a195f-1372-44c1-9c07-d4bae43cefb5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"action_type\": \"{{job_profile|customer task name|channel task name}}\",\n    \"channel\": {{channel_id}},\n    \"description\": \"description\",\n    \"is_cronable\": true,\n    \"is_schedulable\": true,\n    \"name\": \"name\",\n    \"section\": \"SMARTIE\",\n    \"parameters\": {\n        {{actin button parameters or job profile steps}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/action-buttons/","urlObject":{"path":["v1","action-buttons",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c85a195f-1372-44c1-9c07-d4bae43cefb5"},{"name":"T04 - Update task","event":[{"listen":"prerequest","script":{"id":"8b117852-1785-4bcf-94b6-d77225847186","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"bd3d7f1f-cba8-49ce-9d59-8decd5e18bc0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"action_type\": \"{{job_profile|customer task name|channel task name}}\",\n    \"channel\": {{channel_id}},\n    \"description\": \"description\",\n    \"is_cronable\": true,\n    \"is_schedulable\": true,\n    \"name\": \"name\",\n    \"section\": \"SMARTIE\",\n    \"parameters\": {\n        {{actin button parameters or job profile steps}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/action-buttons/{{action_button_id}}/","urlObject":{"path":["v1","action-buttons","{{action_button_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"bd3d7f1f-cba8-49ce-9d59-8decd5e18bc0"},{"name":"T05 - Delete task","event":[{"listen":"prerequest","script":{"id":"d0b5fc5a-bcfa-4fe4-a9f7-f17c58e8823d","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"5017a9d2-9a65-43b9-8f9e-9d6cc383d2dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/action-buttons/{{action_button_id}}/","urlObject":{"path":["v1","action-buttons","{{action_button_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"5017a9d2-9a65-43b9-8f9e-9d6cc383d2dc"},{"name":"T08 - Duplicate task","event":[{"listen":"prerequest","script":{"id":"8b117852-1785-4bcf-94b6-d77225847186","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"026465a0-fa26-4279-9d38-0f5dc92485ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"https://demo.smartie.io/api/v1/action-buttons/{{action_button_id}}/duplicate/","urlObject":{"path":["v1","action-buttons","{{action_button_id}}","duplicate",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"026465a0-fa26-4279-9d38-0f5dc92485ee"}],"id":"d4957597-ea79-4dac-bd01-a01ec3107284","_postman_id":"d4957597-ea79-4dac-bd01-a01ec3107284","description":""},{"name":"Profile templates","item":[{"name":"v2","item":[{"name":"P01 - Get profiles templates","event":[{"listen":"prerequest","script":{"id":"1fc295a8-ddf7-4c58-b4a1-f750d93863ee","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"5880c898-6e88-4c62-b442-6901dfcc6205","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/profile-templates/{{profile_template_id}}","urlObject":{"path":["v2","profile-templates","{{profile_template_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"5880c898-6e88-4c62-b442-6901dfcc6205"},{"name":"P02 - Get job profiles templates","event":[{"listen":"prerequest","script":{"id":"0901b5e3-f5f8-49e5-a74e-302706974e6f","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"00caa32b-1644-4749-8014-94fa9ae9cac3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://demo.smartie.io/api/v2/profile-templates?type=JOB","urlObject":{"path":["v2","profile-templates"],"host":["https://demo.smartie.io/api"],"query":[{"key":"type","value":"JOB"}],"variable":[]}},"response":[],"_postman_id":"00caa32b-1644-4749-8014-94fa9ae9cac3"},{"name":"P03 - Get connection profiles templates","event":[{"listen":"prerequest","script":{"id":"f463bb3f-306d-4903-b400-ac36242df42d","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"abb046ee-5b99-43f8-bb1b-212fcebbbbe7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://demo.smartie.io/api/v2/profile-templates?type=CONNECTION","urlObject":{"path":["v2","profile-templates"],"host":["https://demo.smartie.io/api"],"query":[{"key":"type","value":"CONNECTION"}],"variable":[]}},"response":[],"_postman_id":"abb046ee-5b99-43f8-bb1b-212fcebbbbe7"},{"name":"P04 - Create profile template","event":[{"listen":"prerequest","script":{"id":"33e889a0-44cd-4ac5-aaf1-840af253afac","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"625c8d1d-ad37-4538-9458-3cb3390ee48c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"code\": \"{{profile template code}}\",\n    \"name\": \"{{profile template name}}\",\n    \"label\": \"{{profile template label}}\",\n    \"path\": {{profile path}},\n    \"type\": \"{{JOB|CONNECTION|VALIDATION|TRANSFORMATION|NOTIFIER}}\",\n    \"template\": {{{template schema}}},\n    \"position\": {{position}}\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/profile-templates","urlObject":{"path":["v2","profile-templates"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"625c8d1d-ad37-4538-9458-3cb3390ee48c"},{"name":"P05 - Update profile template","event":[{"listen":"prerequest","script":{"id":"a027f562-1cab-45ea-ac34-37b586333934","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"7b14ac39-4057-4657-a4e3-5640c7c36efa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"code\": \"{{profile template code}}\",\n    \"name\": \"{{profile template name}}\",\n    \"label\": \"{{profile template label}}\",\n    \"path\": {{profile path}},\n    \"type\": \"{{JOB|CONNECTION|VALIDATION|TRANSFORMATION|NOTIFIER}}\",\n    \"template\": {{{template schema}}},\n    \"position\": {{position}}\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/profile-templates/{{profile_template_id}}","urlObject":{"path":["v2","profile-templates","{{profile_template_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"7b14ac39-4057-4657-a4e3-5640c7c36efa"},{"name":"TP01 - Get transformation profiles","event":[{"listen":"prerequest","script":{"id":"47fb404e-b11d-41bb-9261-f064f841db8a","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"da8da691-6be5-4430-8d59-6525e22db139","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://demo.smartie.io/api/v2/transformation-profiles/{{transformation_profile_id}}","urlObject":{"path":["v2","transformation-profiles","{{transformation_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"da8da691-6be5-4430-8d59-6525e22db139"},{"name":"VP01 - Get validation profiles","event":[{"listen":"prerequest","script":{"id":"dc0735d8-21c6-4d87-b043-b6c976589ca2","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"cf569697-d6de-4696-9e9e-77cc9da51b1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://demo.smartie.io/api/v2/validation-profiles/{{validation_profile_id}}","urlObject":{"path":["v2","validation-profiles","{{validation_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf569697-d6de-4696-9e9e-77cc9da51b1e"}],"id":"660dbcfb-0403-4a43-a18d-30ed60229bfe","_postman_id":"660dbcfb-0403-4a43-a18d-30ed60229bfe","description":""},{"name":"P01 - Get profiles templates","event":[{"listen":"prerequest","script":{"id":"1fc295a8-ddf7-4c58-b4a1-f750d93863ee","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"92b7f6b8-336c-4290-9efd-b64e909fe5a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/profile-templates/{{profile_template_id}}","urlObject":{"path":["v1","profile-templates","{{profile_template_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"92b7f6b8-336c-4290-9efd-b64e909fe5a6"},{"name":"P02 - Get job profiles templates","event":[{"listen":"prerequest","script":{"id":"0901b5e3-f5f8-49e5-a74e-302706974e6f","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"40ccd6f6-ac82-4e18-aaa6-8f5527dcfa90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://demo.smartie.io/api/v1/profile-templates?type=JOB","urlObject":{"path":["v1","profile-templates"],"host":["https://demo.smartie.io/api"],"query":[{"key":"type","value":"JOB"}],"variable":[]}},"response":[],"_postman_id":"40ccd6f6-ac82-4e18-aaa6-8f5527dcfa90"},{"name":"P03 - Get connection profiles templates","event":[{"listen":"prerequest","script":{"id":"f463bb3f-306d-4903-b400-ac36242df42d","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"e5f4f84e-0ae0-421d-8d35-24f2aaed9e57","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://demo.smartie.io/api/v1/profile-templates?type=CONNECTION","urlObject":{"path":["v1","profile-templates"],"host":["https://demo.smartie.io/api"],"query":[{"key":"type","value":"CONNECTION"}],"variable":[]}},"response":[],"_postman_id":"e5f4f84e-0ae0-421d-8d35-24f2aaed9e57"},{"name":"P04 - Create profile template","event":[{"listen":"prerequest","script":{"id":"33e889a0-44cd-4ac5-aaf1-840af253afac","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"7c1fea83-cba0-4b58-9fe2-73529ffbf15d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"code\": \"{{profile template code}}\",\n    \"name\": \"{{profile template name}}\",\n    \"label\": \"{{profile template label}}\",\n    \"path\": {{profile path}},\n    \"type\": \"{{JOB|CONNECTION|VALIDATION|TRANSFORMATION|NOTIFIER}}\",\n    \"template\": {{{template schema}}},\n    \"position\": {{position}}\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/profile-templates","urlObject":{"path":["v1","profile-templates"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"7c1fea83-cba0-4b58-9fe2-73529ffbf15d"},{"name":"P05 - Update profile template","event":[{"listen":"prerequest","script":{"id":"a027f562-1cab-45ea-ac34-37b586333934","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"eecf725f-269e-4f7a-9581-90d16bfdce1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"code\": \"{{profile template code}}\",\n    \"name\": \"{{profile template name}}\",\n    \"label\": \"{{profile template label}}\",\n    \"path\": {{profile path}},\n    \"type\": \"{{JOB|CONNECTION|VALIDATION|TRANSFORMATION|NOTIFIER}}\",\n    \"template\": {{{template schema}}},\n    \"position\": {{position}}\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/profile-templates/{{profile_template_id}}","urlObject":{"path":["v1","profile-templates","{{profile_template_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"eecf725f-269e-4f7a-9581-90d16bfdce1e"},{"name":"TP01 - Get transformation profiles","event":[{"listen":"prerequest","script":{"id":"47fb404e-b11d-41bb-9261-f064f841db8a","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"ce2a531e-9cdd-4506-884a-0f2a55318bc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://demo.smartie.io/api/v1/transformation-profiles/{{transformation_profile_id}}","urlObject":{"path":["v1","transformation-profiles","{{transformation_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce2a531e-9cdd-4506-884a-0f2a55318bc2"},{"name":"VP01 - Get validation profiles","event":[{"listen":"prerequest","script":{"id":"dc0735d8-21c6-4d87-b043-b6c976589ca2","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"fe079143-0bd1-4c87-b671-4e9ee30813e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://demo.smartie.io/api/v1/validation-profiles/{{validation_profile_id}}","urlObject":{"path":["v1","validation-profiles","{{validation_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"fe079143-0bd1-4c87-b671-4e9ee30813e7"}],"id":"3fe3f6b1-cf38-45f0-8d86-ba1633ecf733","_postman_id":"3fe3f6b1-cf38-45f0-8d86-ba1633ecf733","description":""},{"name":"Job profiles","item":[{"name":"v2","item":[{"name":"JP01 - Get job profiles","event":[{"listen":"prerequest","script":{"id":"6cca0ae4-b6e6-43d8-8e3d-285affa65416","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"d1d7e749-8f97-40b8-908a-b711c3c60f3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://demo.smartie.io/api/v2/job-profiles","urlObject":{"path":["v2","job-profiles"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d1d7e749-8f97-40b8-908a-b711c3c60f3c"},{"name":"JP02 - Update job profile","event":[{"listen":"prerequest","script":{"id":"2f41993f-dc6a-4196-b6f4-886b59ad14ef","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"5d5a7fb1-6f38-4e7a-9e74-67f24b14ffce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"{{job profile name}}\",\n    \"profile_template\":{{profile_template_code}},\n    \"config\": {\n        {{job profile configuration according to the schema}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/job-profiles/{{job_profile_id}}","urlObject":{"path":["v2","job-profiles","{{job_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"5d5a7fb1-6f38-4e7a-9e74-67f24b14ffce"},{"name":"JP03 - Create job profile","event":[{"listen":"prerequest","script":{"id":"ca8f2192-fa1f-402e-b26b-b39744ad6967","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"cdad3e88-7111-4f18-8983-00a8da862cfd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"{{job profile name}}\",\n    \"profile_template\":{{profile_template_code}},\n    \"config\": {\n        {{job profile configuration according to the schema}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/job-profiles","urlObject":{"path":["v2","job-profiles"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"cdad3e88-7111-4f18-8983-00a8da862cfd"},{"name":"JP04 - Delete job profile","event":[{"listen":"prerequest","script":{"id":"878e04a2-2cb7-48fc-8c4a-0f6bb6036ed8","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"4998d3b8-e315-4fab-b665-5251b07ef6ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://demo.smartie.io/api/v2/job-profiles/{{job_profile_id}}","urlObject":{"path":["v2","job-profiles","{{job_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"4998d3b8-e315-4fab-b665-5251b07ef6ab"},{"name":"JP06 - Duplicate job profile Copy","event":[{"listen":"prerequest","script":{"id":"2f41993f-dc6a-4196-b6f4-886b59ad14ef","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"73496445-e6aa-4e86-8a41-500c555545e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"https://demo.smartie.io/api/v2/job-profiles/{{job_profile_id}}/duplicate/","urlObject":{"path":["v2","job-profiles","{{job_profile_id}}","duplicate",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"73496445-e6aa-4e86-8a41-500c555545e6"}],"id":"1e092d74-3db3-4ae3-915f-d51f229a3557","_postman_id":"1e092d74-3db3-4ae3-915f-d51f229a3557","description":""},{"name":"JP01 - Get job profiles","event":[{"listen":"prerequest","script":{"id":"6cca0ae4-b6e6-43d8-8e3d-285affa65416","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"a793496f-bf5c-4945-b6d8-0b20272c129a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://demo.smartie.io/api/v1/job-profiles","urlObject":{"path":["v1","job-profiles"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a793496f-bf5c-4945-b6d8-0b20272c129a"},{"name":"JP02 - Update job profile","event":[{"listen":"prerequest","script":{"id":"2f41993f-dc6a-4196-b6f4-886b59ad14ef","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"6a45186b-5031-42c7-8518-cd882a8cee21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"{{job profile name}}\",\n    \"profile_template\":{{profile_template_id}},\n    \"config\": {\n        {{job profile configuration according to the schema}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/job-profiles/{{job_profile_id}}","urlObject":{"path":["v1","job-profiles","{{job_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a45186b-5031-42c7-8518-cd882a8cee21"},{"name":"JP03 - Create job profile","event":[{"listen":"prerequest","script":{"id":"ca8f2192-fa1f-402e-b26b-b39744ad6967","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"b82144b2-5d14-4cc7-ad13-d546cf05c9e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"{{job profile name}}\",\n    \"config\": {\n        {{job profile configuration according to the schema}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/job-profiles","urlObject":{"path":["v1","job-profiles"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b82144b2-5d14-4cc7-ad13-d546cf05c9e4"},{"name":"JP04 - Delete job profile","event":[{"listen":"prerequest","script":{"id":"878e04a2-2cb7-48fc-8c4a-0f6bb6036ed8","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"b8f0a2b0-7e99-4585-a74f-b51db7a8f763","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://demo.smartie.io/api/v1/job-profiles/{{job_profile_id}}","urlObject":{"path":["v1","job-profiles","{{job_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b8f0a2b0-7e99-4585-a74f-b51db7a8f763"},{"name":"JP06 - Duplicate job profile","event":[{"listen":"prerequest","script":{"id":"2f41993f-dc6a-4196-b6f4-886b59ad14ef","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"cfd563d9-5436-4184-a5ac-b601de24130b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"https://demo.smartie.io/api/v1/job-profiles/{{job_profile_id}}/duplicate/","urlObject":{"path":["v1","job-profiles","{{job_profile_id}}","duplicate",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"cfd563d9-5436-4184-a5ac-b601de24130b"}],"id":"01500712-8704-4fc6-862d-4ae12e35a3f1","_postman_id":"01500712-8704-4fc6-862d-4ae12e35a3f1","description":""},{"name":"Connection profiles","item":[{"name":"v2","item":[{"name":"CP01 - Get connection profiles","event":[{"listen":"prerequest","script":{"id":"8ccf9c8c-51a7-4e93-90ae-64b3f86398c4","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"12dda388-df00-41c9-9381-256ca802ff74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://demo.smartie.io/api/v2/connection-profiles/","urlObject":{"path":["v2","connection-profiles",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"12dda388-df00-41c9-9381-256ca802ff74"},{"name":"CP02 - Get connection profile","event":[{"listen":"prerequest","script":{"id":"8ccf9c8c-51a7-4e93-90ae-64b3f86398c4","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"9b923565-1043-4f62-88ea-fbb41f99a0a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://demo.smartie.io/api/v2/connection-profiles/{{connection_profile_id}}","urlObject":{"path":["v2","connection-profiles","{{connection_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9b923565-1043-4f62-88ea-fbb41f99a0a3"},{"name":"CP03 - Update connection profile","event":[{"listen":"prerequest","script":{"id":"e6d88f84-4530-46ee-99b1-2ebbe1e1bd72","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"0e762df6-9a44-4d1d-b303-8a6548e12d0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"{{connection profile name}}\",\n    \"profile_template\":{{profile_template_code}},\n    \"config\": {\n        {{connection profile configuration according to the schema}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/connection-profiles/{{connection_profile_id}}","urlObject":{"path":["v2","connection-profiles","{{connection_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"0e762df6-9a44-4d1d-b303-8a6548e12d0d"},{"name":"CP04 - Create connection profile","event":[{"listen":"prerequest","script":{"id":"664f006c-8864-4fe7-8f98-62407dafec0c","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"b0f10339-463b-4b85-bdeb-a74b162b089f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"{{connection profile name}}\",\n    \"profile_template\":{{profile_template_code}},\n    \"config\": {\n        {{connection profile configuration according to the schema}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/connection-profiles","urlObject":{"path":["v2","connection-profiles"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b0f10339-463b-4b85-bdeb-a74b162b089f"},{"name":"CP05 - Delete connection profile","event":[{"listen":"prerequest","script":{"id":"d396d452-836a-4661-b755-a75b98f314a1","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"3c02bc5e-260c-4891-9068-6387a7bde3e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://demo.smartie.io/api/v2/connection-profiles/{{connection_profile_id}}","urlObject":{"path":["v2","connection-profiles","{{connection_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3c02bc5e-260c-4891-9068-6387a7bde3e2"},{"name":"CP07 - Check connection profile","event":[{"listen":"prerequest","script":{"id":"d8807259-c45e-4a33-993d-54d2126162cc","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"fcf4ad0e-473a-433b-8876-5bafef3a0489","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"https://demo.smartie.io/api/v2/connection-profiles/{{connection_profile_id}}/check","urlObject":{"path":["v2","connection-profiles","{{connection_profile_id}}","check"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"fcf4ad0e-473a-433b-8876-5bafef3a0489"},{"name":"CP08 - Duplicate connection profile","event":[{"listen":"prerequest","script":{"id":"e6d88f84-4530-46ee-99b1-2ebbe1e1bd72","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"be2603cc-91ea-417f-873f-196360c154e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"https://demo.smartie.io/api/v2/connection-profiles/{{connection_profile_id}}/duplicate/","urlObject":{"path":["v2","connection-profiles","{{connection_profile_id}}","duplicate",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"be2603cc-91ea-417f-873f-196360c154e4"}],"id":"ec511847-6622-4abb-a6de-8e0ddde804b0","_postman_id":"ec511847-6622-4abb-a6de-8e0ddde804b0","description":""},{"name":"CP01 - Get connection profiles","event":[{"listen":"prerequest","script":{"id":"8ccf9c8c-51a7-4e93-90ae-64b3f86398c4","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"7dac4174-32ab-4d14-b169-7fb84dbcc70c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://demo.smartie.io/api/v1/connection-profiles/","urlObject":{"path":["v1","connection-profiles",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"7dac4174-32ab-4d14-b169-7fb84dbcc70c"},{"name":"CP02 - Get connection profile","event":[{"listen":"prerequest","script":{"id":"8ccf9c8c-51a7-4e93-90ae-64b3f86398c4","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"837ef70a-6933-413c-97ed-dcc25e3c91e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://demo.smartie.io/api/v1/connection-profiles/{{connection_profile_id}}","urlObject":{"path":["v1","connection-profiles","{{connection_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"837ef70a-6933-413c-97ed-dcc25e3c91e7"},{"name":"CP03 - Update connection profile","event":[{"listen":"prerequest","script":{"id":"e6d88f84-4530-46ee-99b1-2ebbe1e1bd72","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"706a786d-9f29-46af-9a48-c96de9ca85a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"{{connection profile name}}\",\n    \"profile_template\":{{profile_template_id}},\n    \"config\": {\n        {{connection profile configuration according to the schema}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/connection-profiles/{{connection_profile_id}}","urlObject":{"path":["v1","connection-profiles","{{connection_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"706a786d-9f29-46af-9a48-c96de9ca85a1"},{"name":"CP04 - Create connection profile","event":[{"listen":"prerequest","script":{"id":"664f006c-8864-4fe7-8f98-62407dafec0c","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"a7aab2c1-58c8-4247-9b42-9149ece5686e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"{{connection profile name}}\",\n    \"profile_template\":{{profile_template_id}},\n    \"config\": {\n        {{connection profile configuration according to the schema}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/connection-profiles","urlObject":{"path":["v1","connection-profiles"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a7aab2c1-58c8-4247-9b42-9149ece5686e"},{"name":"CP05 - Delete connection profile","event":[{"listen":"prerequest","script":{"id":"d396d452-836a-4661-b755-a75b98f314a1","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"3a3dff7d-3376-43e5-9330-5dc28698c608","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://demo.smartie.io/api/v1/connection-profiles/{{connection_profile_id}}","urlObject":{"path":["v1","connection-profiles","{{connection_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3a3dff7d-3376-43e5-9330-5dc28698c608"},{"name":"CP07 - Check connection profile","event":[{"listen":"prerequest","script":{"id":"d8807259-c45e-4a33-993d-54d2126162cc","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"6af8bdad-c533-4a69-97e8-b80d4d849724","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"https://demo.smartie.io/api/v1/connection-profiles/{{connection_profile_id}}/check","urlObject":{"path":["v1","connection-profiles","{{connection_profile_id}}","check"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6af8bdad-c533-4a69-97e8-b80d4d849724"},{"name":"CP08 - Duplicate connection profile","event":[{"listen":"prerequest","script":{"id":"e6d88f84-4530-46ee-99b1-2ebbe1e1bd72","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"17b6aec3-81d9-4d66-99af-63b81c720c76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"https://demo.smartie.io/api/v1/connection-profiles/{{connection_profile_id}}/duplicate/","urlObject":{"path":["v1","connection-profiles","{{connection_profile_id}}","duplicate",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"17b6aec3-81d9-4d66-99af-63b81c720c76"}],"id":"007e8d3d-9d31-476a-96a7-11ec87108dd3","_postman_id":"007e8d3d-9d31-476a-96a7-11ec87108dd3","description":""},{"name":"Notifier profiles","item":[{"name":"v2","item":[{"name":"NP01 - Get notifier profiles","event":[{"listen":"prerequest","script":{"id":"9e0c2361-2181-4006-9cf0-41080820ab6f","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"dc513e19-261d-4663-b9c3-288ac564b5b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://demo.smartie.io/api/v2/notifier-profiles/","urlObject":{"path":["v2","notifier-profiles",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"dc513e19-261d-4663-b9c3-288ac564b5b4"},{"name":"NP02 - Get notifier profile","event":[{"listen":"prerequest","script":{"id":"9e0c2361-2181-4006-9cf0-41080820ab6f","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"343eaf6b-f881-4747-9fce-1a7a3be0dae2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://demo.smartie.io/api/v2/notifier-profiles/{{notifier_profile_id}}","urlObject":{"path":["v2","notifier-profiles","{{notifier_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"343eaf6b-f881-4747-9fce-1a7a3be0dae2"},{"name":"NP03 - Update notifier profile","event":[{"listen":"prerequest","script":{"id":"c86108be-5b9c-41a3-8d1e-6dd7abdd719c","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"d9b15e15-68cf-44b1-b9e4-fbfd59396410","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"email\",\n    \"config\": {\n        \"level\": 40,\n        \"subject\": \"grupojuinsa\",\n        \"emails\": \"armando.muria@onestic.com\"\n    },\n    \"profile_template\": {{profile_template_code}}\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/notifier-profiles/{{notifier_profile_id}}","urlObject":{"path":["v2","notifier-profiles","{{notifier_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d9b15e15-68cf-44b1-b9e4-fbfd59396410"},{"name":"NP04 - Create notifier profile","event":[{"listen":"prerequest","script":{"id":"9e77e1c3-0f98-4a92-b1a1-307ef4d3d722","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"9751b956-5abc-482c-83d9-0044761b4e5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"{{notifier profile name}}\",\n    \"profile_template\":{{profile_template_code}},\n    \"config\": {\n        {{notifier profile configuration according to the schema}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/notifier-profiles","urlObject":{"path":["v2","notifier-profiles"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9751b956-5abc-482c-83d9-0044761b4e5b"},{"name":"NP06 - Delete notifier profile","event":[{"listen":"prerequest","script":{"id":"3a9be910-b7b8-43c4-967b-f73a0965dc27","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"41ce3b31-4f15-4306-85a6-f75bbc4f2682","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://demo.smartie.io/api/v2/notifier-profiles/{{notifier_profile_id}}","urlObject":{"path":["v2","notifier-profiles","{{notifier_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"41ce3b31-4f15-4306-85a6-f75bbc4f2682"},{"name":"NP07 - Duplicate notifier profile","event":[{"listen":"prerequest","script":{"id":"c86108be-5b9c-41a3-8d1e-6dd7abdd719c","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"4e2c777f-b8f6-42f3-8c61-21bf1e67cf41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"https://demo.smartie.io/api/v2/notifier-profiles/{{notifier_profile_id}}/duplicate/","urlObject":{"path":["v2","notifier-profiles","{{notifier_profile_id}}","duplicate",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"4e2c777f-b8f6-42f3-8c61-21bf1e67cf41"}],"id":"5c59e09d-fbcd-4f04-80e7-42328f475bea","_postman_id":"5c59e09d-fbcd-4f04-80e7-42328f475bea","description":""},{"name":"NP01 - Get notifier profiles","event":[{"listen":"prerequest","script":{"id":"9e0c2361-2181-4006-9cf0-41080820ab6f","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"49a06139-4cca-47a6-b9d5-3099859098a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://demo.smartie.io/api/v1/notifier-profiles/","urlObject":{"path":["v1","notifier-profiles",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"49a06139-4cca-47a6-b9d5-3099859098a2"},{"name":"NP02 - Get notifier profile","event":[{"listen":"prerequest","script":{"id":"9e0c2361-2181-4006-9cf0-41080820ab6f","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"8321b7b9-2907-429e-923f-2adadb936168","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://demo.smartie.io/api/v1/notifier-profiles/{{notifier_profile_id}}","urlObject":{"path":["v1","notifier-profiles","{{notifier_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"8321b7b9-2907-429e-923f-2adadb936168"},{"name":"NP03 - Update notifier profile","event":[{"listen":"prerequest","script":{"id":"c86108be-5b9c-41a3-8d1e-6dd7abdd719c","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"ee49005e-9827-4baa-a9cf-57ea09318cc7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"email\",\n    \"config\": {\n        \"level\": 40,\n        \"subject\": \"grupojuinsa\",\n        \"emails\": \"armando.muria@onestic.com\"\n    },\n    \"profile_template\": 51\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/api/notifier-profiles/{{notifier_profile_id}}","urlObject":{"path":["api","notifier-profiles","{{notifier_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"ee49005e-9827-4baa-a9cf-57ea09318cc7"},{"name":"NP04 - Create notifier profile","event":[{"listen":"prerequest","script":{"id":"9e77e1c3-0f98-4a92-b1a1-307ef4d3d722","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"456f2cb8-aa3e-4627-b2bb-d7ca983e0899","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"{{notifier profile name}}\",\n    \"profile_template\":{{profile_template_id}},\n    \"config\": {\n        {{notifier profile configuration according to the schema}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/notifier-profiles","urlObject":{"path":["v1","notifier-profiles"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"456f2cb8-aa3e-4627-b2bb-d7ca983e0899"},{"name":"NP06 - Delete notifier profile","event":[{"listen":"prerequest","script":{"id":"3a9be910-b7b8-43c4-967b-f73a0965dc27","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"b808a0ab-83d0-4db2-9673-56e299876690","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://demo.smartie.io/api/v1/notifier-profiles/{{notifier_profile_id}}","urlObject":{"path":["v1","notifier-profiles","{{notifier_profile_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b808a0ab-83d0-4db2-9673-56e299876690"},{"name":"NP07 - Duplicate notifier profile","event":[{"listen":"prerequest","script":{"id":"c86108be-5b9c-41a3-8d1e-6dd7abdd719c","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"702ac74a-305c-4250-bdca-76f9b5731322","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"https://demo.smartie.io/api/api/notifier-profiles/{{notifier_profile_id}}/duplicate/","urlObject":{"path":["api","notifier-profiles","{{notifier_profile_id}}","duplicate",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"702ac74a-305c-4250-bdca-76f9b5731322"}],"id":"17bbfab6-6226-4112-a039-cacbca1ae285","_postman_id":"17bbfab6-6226-4112-a039-cacbca1ae285","description":""},{"name":"Tasks actions","item":[{"name":"TA02 - Get task action","event":[{"listen":"prerequest","script":{"id":"b60dacbe-2ca8-41a2-8a92-1ed607983871","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"eb2653d9-b28f-42fc-ab40-f1624d1f451c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/actions/{{action_id}}","urlObject":{"path":["v1","actions","{{action_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"eb2653d9-b28f-42fc-ab40-f1624d1f451c"},{"name":"TA03 - Create task action","event":[{"listen":"prerequest","script":{"id":"f5f46226-f273-475a-b428-27bcfc5734ab","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"951869ff-aeb6-4d8c-8c7e-48087c269c4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"channel\": {{channel_id}},\n    \"description\": \"description\",\n    \"name\": \"name\",\n    \"notifiers\": null,\n    \"steps\": null\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/actions/","urlObject":{"path":["v1","actions",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"951869ff-aeb6-4d8c-8c7e-48087c269c4b"},{"name":"TA03.1 - List channels","event":[{"listen":"prerequest","script":{"id":"e4124727-a586-4758-9a88-a4a861cecf44","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"1a9f1fbb-a050-4990-ab75-32858a55169f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/api/channels","urlObject":{"path":["api","channels"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"1a9f1fbb-a050-4990-ab75-32858a55169f"},{"name":"TA04 - Update task action","event":[{"listen":"prerequest","script":{"id":"152d7b54-960b-43d0-a924-1bf41932aeaa","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"e29380ba-d842-42b3-a285-92c0121f70c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"channel\": {{channel_id}},\n    \"description\": \"description\",\n    \"name\": \"name\",\n    \"notifiers\": null,\n    \"steps\": null\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/actions/{{action_id}}/","urlObject":{"path":["v1","actions","{{action_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e29380ba-d842-42b3-a285-92c0121f70c0"},{"name":"TA05 - Delete task action","event":[{"listen":"prerequest","script":{"id":"7056ddb4-fcd1-49e7-b86d-76199f6fea1a","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"9b5087e5-d40a-4f51-96f6-ff671ca0ec79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/actions/{{action_id}}/","urlObject":{"path":["v1","actions","{{action_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9b5087e5-d40a-4f51-96f6-ff671ca0ec79"},{"name":"TA06 - Duplicate task action","event":[{"listen":"prerequest","script":{"id":"152d7b54-960b-43d0-a924-1bf41932aeaa","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"f98598f3-c05e-4124-8b95-7f4b5387b3c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"https://demo.smartie.io/api/v1/actions/{{action_id}}/duplicate/","urlObject":{"path":["v1","actions","{{action_id}}","duplicate",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f98598f3-c05e-4124-8b95-7f4b5387b3c4"}],"id":"a8af0245-23c2-46f9-853d-ad85c1d41d0c","_postman_id":"a8af0245-23c2-46f9-853d-ad85c1d41d0c","description":""}],"id":"e90163f2-5dae-4ad8-b260-fdc3af7522dc","_postman_id":"e90163f2-5dae-4ad8-b260-fdc3af7522dc","description":""},{"name":"Currencies","item":[{"name":"C01 - Get currencies","event":[{"listen":"test","script":{"id":"b4ed5686-fbc8-44ae-90cb-a6348b5a2d5f","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"3959a1e9-3097-4ad8-bcdb-dfccb1429ac0","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"23a14ce4-8b79-4e5c-b7d2-e687db7a55c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/currencies/","urlObject":{"path":["v1","currencies",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"3543a5fc-0414-4311-8407-1c72b72fdf8b","name":"C01 - Get currencies","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/currencies"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 179,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 179,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.166949+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.166964+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"JMD\",\n            \"label\": \"Jamaican dollar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 178,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.166496+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.166512+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"GIP\",\n            \"label\": \"Gibraltar pound\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 177,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.165993+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.166009+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"LSL\",\n            \"label\": \"Lesotho loti\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 176,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.165484+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.165499+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"PLN\",\n            \"label\": \"Polish złoty\",\n            \"symbol\": \"zł\"\n        },\n        {\n            \"id\": 175,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.165030+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.165046+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"SDG\",\n            \"label\": \"Sudanese pound\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 174,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.164587+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.164602+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"BYN\",\n            \"label\": \"Belarusian ruble\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 173,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.164128+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.164143+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"MDL\",\n            \"label\": \"Moldovan leu\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 172,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.163672+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.163688+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"MMK\",\n            \"label\": \"Myanmar kyat\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 171,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.163221+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.163236+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"HNL\",\n            \"label\": \"Honduran lempira\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 170,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.162777+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.162792+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"PKR\",\n            \"label\": \"Pakistani rupee\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 169,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.162308+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.162324+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"TRY\",\n            \"label\": \"Turkish lira\",\n            \"symbol\": \"₺\"\n        },\n        {\n            \"id\": 168,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.161841+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.161857+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"TOP\",\n            \"label\": \"Tongan paʻanga\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 167,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.161391+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.161406+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"SRD\",\n            \"label\": \"Surinamese dollar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 166,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.160910+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.160926+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"USN\",\n            \"label\": \"United States dollar (next day) (funds code)\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 165,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.160423+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.160439+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"MGA\",\n            \"label\": \"Malagasy ariary\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 164,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.159910+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.159935+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"SLL\",\n            \"label\": \"Sierra Leonean leone\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 163,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.159442+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.159457+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"BGN\",\n            \"label\": \"Bulgarian lev\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 162,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.158968+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.158983+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"CHE\",\n            \"label\": \"WIR euro (complementary currency)\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 161,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.158525+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.158540+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"PYG\",\n            \"label\": \"Paraguayan guaraní\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 160,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.158077+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.158092+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"KGS\",\n            \"label\": \"Kyrgyzstani som\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 159,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.157611+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.157626+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"MUR\",\n            \"label\": \"Mauritian rupee\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 158,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.157170+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.157185+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"BBD\",\n            \"label\": \"Barbados dollar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 157,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.156698+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.156713+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"KZT\",\n            \"label\": \"Kazakhstani tenge\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 156,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.156190+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.156206+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"SBD\",\n            \"label\": \"Solomon Islands dollar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 155,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.155729+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.155745+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"ARS\",\n            \"label\": \"Argentine peso\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 154,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.155263+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.155278+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"HRK\",\n            \"label\": \"Croatian kuna\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 153,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.154802+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.154817+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"KPW\",\n            \"label\": \"North Korean won\",\n            \"symbol\": \"₩\"\n        },\n        {\n            \"id\": 152,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.154345+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.154360+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"OMR\",\n            \"label\": \"Omani rial\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 151,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.153875+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.153890+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"QAR\",\n            \"label\": \"Qatari riyal\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 150,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.153430+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.153446+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"EGP\",\n            \"label\": \"Egyptian pound\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 149,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.152946+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.152961+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"PHP\",\n            \"label\": \"Philippine peso[12]\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 148,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.152502+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.152517+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"IQD\",\n            \"label\": \"Iraqi dinar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 147,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.152017+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.152032+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"UGX\",\n            \"label\": \"Ugandan shilling\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 146,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.151574+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.151589+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"UYU\",\n            \"label\": \"Uruguayan peso\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 145,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.151105+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.151121+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"CUP\",\n            \"label\": \"Cuban peso\",\n            \"symbol\": \"₱\"\n        },\n        {\n            \"id\": 144,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.150399+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.150426+01:00\",\n            \"is_enabled\": true,\n            \"code\": \"EUR\",\n            \"label\": \"Euro\",\n            \"symbol\": \"€\"\n        },\n        {\n            \"id\": 143,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.149818+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.149843+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"SYP\",\n            \"label\": \"Syrian pound\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 142,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.149241+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.149257+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"RSD\",\n            \"label\": \"Serbian dinar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 141,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.148636+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.148652+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"WST\",\n            \"label\": \"Samoan tala\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 140,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.148032+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.148056+01:00\",\n            \"is_enabled\": true,\n            \"code\": \"USD\",\n            \"label\": \"United States dollar\",\n            \"symbol\": \"$\"\n        },\n        {\n            \"id\": 139,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.147565+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.147580+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"BAM\",\n            \"label\": \"Bosnia and Herzegovina convertible mark\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 138,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.147106+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.147122+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"XOF\",\n            \"label\": \"CFA franc BCEAO\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 137,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.146621+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.146636+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"VND\",\n            \"label\": \"Vietnamese đồng\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 136,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.146040+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.146065+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"CUC\",\n            \"label\": \"Cuban convertible peso\",\n            \"symbol\": \"$\"\n        },\n        {\n            \"id\": 135,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.145498+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.145514+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"SAR\",\n            \"label\": \"Saudi riyal\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 134,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.144952+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.144977+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"NOK\",\n            \"label\": \"Norwegian krone\",\n            \"symbol\": \"kr\"\n        },\n        {\n            \"id\": 133,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.144350+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.144365+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"MKD\",\n            \"label\": \"Macedonian denar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 132,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.143882+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.143906+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"BSD\",\n            \"label\": \"Bahamian dollar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 131,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.143378+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.143394+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"XBB\",\n            \"label\": \"European Monetary Unit (E.M.U.-6) (bond market unit)\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 130,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.142864+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.142886+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"SVC\",\n            \"label\": \"Salvadoran colón\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 129,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.142269+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.142284+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"TWD\",\n            \"label\": \"New Taiwan dollar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 128,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.141820+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.141835+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"MOP\",\n            \"label\": \"Macanese pataca\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 127,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.141372+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.141387+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"LAK\",\n            \"label\": \"Lao kip\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 126,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.140918+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.140933+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"ILS\",\n            \"label\": \"Israeli new shekel\",\n            \"symbol\": \"₪\"\n        },\n        {\n            \"id\": 125,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.140459+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.140474+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"DOP\",\n            \"label\": \"Dominican peso\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 124,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.139955+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.139970+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"DKK\",\n            \"label\": \"Danish krone\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 123,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.139515+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.139529+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"MVR\",\n            \"label\": \"Maldivian rufiyaa\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 122,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.139067+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.139083+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"BIF\",\n            \"label\": \"Burundian franc\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 121,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.138615+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.138630+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"GEL\",\n            \"label\": \"Georgian lari\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 120,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.138158+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.138173+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"XPF\",\n            \"label\": \"CFP franc (franc Pacifique)\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 119,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.137717+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.137732+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"LYD\",\n            \"label\": \"Libyan dinar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 118,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.137273+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.137289+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"THB\",\n            \"label\": \"Thai baht\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 117,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.136777+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.136793+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"XAG\",\n            \"label\": \"Silver (one troy ounce)\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 116,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.136272+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.136288+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"FJD\",\n            \"label\": \"Fiji dollar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 115,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.135807+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.135822+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"DZD\",\n            \"label\": \"Algerian dinar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 114,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.135341+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.135365+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"AUD\",\n            \"label\": \"Australian dollar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 113,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.134876+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.134891+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"ISK\",\n            \"label\": \"Icelandic króna\",\n            \"symbol\": \"kr\"\n        },\n        {\n            \"id\": 112,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.134437+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.134452+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"GYD\",\n            \"label\": \"Guyanese dollar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 111,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.133973+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.133998+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"TJS\",\n            \"label\": \"Tajikistani somoni\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 110,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.133525+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.133540+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"LKR\",\n            \"label\": \"Sri Lankan rupee\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 109,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.133086+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.133101+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"SOS\",\n            \"label\": \"Somali shilling\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 108,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.132624+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.132640+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"AWG\",\n            \"label\": \"Aruban florin\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 107,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.130709+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.130724+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"ZWL\",\n            \"label\": \"Zimbabwean dollar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 106,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.130262+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.130278+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"AED\",\n            \"label\": \"United Arab Emirates dirham\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 105,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.129806+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.129822+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"CZK\",\n            \"label\": \"Czech koruna\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 104,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.129338+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.129354+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"PAB\",\n            \"label\": \"Panamanian balboa\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 103,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.128708+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.128723+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"MRU\",\n            \"label\": \"Mauritanian ouguiya\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 102,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.128192+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.128207+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"SSP\",\n            \"label\": \"South Sudanese pound\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 101,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.127748+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.127764+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"TZS\",\n            \"label\": \"Tanzanian shilling\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 100,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.127272+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.127295+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"MXN\",\n            \"label\": \"Mexican peso\",\n            \"symbol\": \"$\"\n        },\n        {\n            \"id\": 99,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.126809+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.126824+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"AZN\",\n            \"label\": \"Azerbaijani manat\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 98,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.126330+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.126346+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"NIO\",\n            \"label\": \"Nicaraguan córdoba\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 97,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.125880+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.125895+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"MXV\",\n            \"label\": \"Mexican Unidad de Inversion (UDI) (funds code)\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 96,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.125421+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.125436+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"BOV\",\n            \"label\": \"Bolivian Mvdol (funds code)\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 95,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.124962+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.124978+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"SEK\",\n            \"label\": \"Swedish krona/kronor\",\n            \"symbol\": \"kr\"\n        },\n        {\n            \"id\": 94,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.124498+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.124514+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"XBA\",\n            \"label\": \"European Composite Unit (EURCO) (bond market unit)\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 93,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.124000+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.124031+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"ALL\",\n            \"label\": \"Albanian lek\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 92,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.123491+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.123514+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"SHP\",\n            \"label\": \"Saint Helena pound\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 91,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.122968+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.122983+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"SZL\",\n            \"label\": \"Swazi lilangeni\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 90,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.122510+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.122525+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"BZD\",\n            \"label\": \"Belize dollar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 89,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.122028+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.122044+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"AOA\",\n            \"label\": \"Angolan kwanza\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 88,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.121590+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.121606+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"ANG\",\n            \"label\": \"Netherlands Antillean guilder\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 87,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.121128+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.121143+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"CLF\",\n            \"label\": \"Unidad de Fomento (funds code)\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 86,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.120675+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.120691+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"NZD\",\n            \"label\": \"New Zealand dollar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 85,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.120174+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.120196+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"XAU\",\n            \"label\": \"Gold (one troy ounce)\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 84,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.119676+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.119697+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"DJF\",\n            \"label\": \"Djiboutian franc\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 83,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.119184+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.119199+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"COP\",\n            \"label\": \"Colombian peso\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 82,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.118728+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.118751+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"ZAR\",\n            \"label\": \"South African rand\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 81,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.118284+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.118299+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"CHW\",\n            \"label\": \"WIR franc (complementary currency)\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 80,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.117826+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.117841+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"ERN\",\n            \"label\": \"Eritrean nakfa\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 79,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.117364+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.117379+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"HKD\",\n            \"label\": \"Hong Kong dollar\",\n            \"symbol\": \"$\"\n        },\n        {\n            \"id\": 78,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.116899+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.116914+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"AFN\",\n            \"label\": \"Afghan afghani\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 77,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.116442+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.116458+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"MWK\",\n            \"label\": \"Malawian kwacha\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 76,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.115961+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.115977+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"CDF\",\n            \"label\": \"Congolese franc\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 75,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.115484+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.115499+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"TTD\",\n            \"label\": \"Trinidad and Tobago dollar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 74,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.115013+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.115031+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"KYD\",\n            \"label\": \"Cayman Islands dollar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 73,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.114555+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.114571+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"CLP\",\n            \"label\": \"Chilean peso\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 72,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.114117+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.114132+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"STN\",\n            \"label\": \"São Tomé and Príncipe dobra\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 71,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.113669+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.113684+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"GTQ\",\n            \"label\": \"Guatemalan quetzal\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 70,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.113225+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.113240+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"CNY\",\n            \"label\": \"Chinese yuan[8]\",\n            \"symbol\": \"¥\"\n        },\n        {\n            \"id\": 69,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.112768+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.112783+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"MZN\",\n            \"label\": \"Mozambican metical\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 68,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.112314+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.112329+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"TND\",\n            \"label\": \"Tunisian dinar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 67,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.111857+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.111872+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"RWF\",\n            \"label\": \"Rwandan franc\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 66,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.111403+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.111418+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"COU\",\n            \"label\": \"Unidad de Valor Real (UVR) (funds code)[9]\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 65,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.110969+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.110984+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"NAD\",\n            \"label\": \"Namibian dollar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 64,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.110531+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.110546+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"SCR\",\n            \"label\": \"Seychelles rupee\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 63,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.110094+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.110109+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"PEN\",\n            \"label\": \"Peruvian sol\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 62,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.109643+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.109659+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"CVE\",\n            \"label\": \"Cape Verdean escudo\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 61,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.109163+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.109178+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"NGN\",\n            \"label\": \"Nigerian naira\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 60,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.108712+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.108727+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"JOD\",\n            \"label\": \"Jordanian dinar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 59,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.108236+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.108252+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"ETB\",\n            \"label\": \"Ethiopian birr\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 58,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.107787+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.107802+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"RON\",\n            \"label\": \"Romanian leu\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 57,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.107350+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.107365+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"IRR\",\n            \"label\": \"Iranian rial\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 56,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.106905+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.106919+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"XCD\",\n            \"label\": \"East Caribbean dollar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 55,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.106467+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.106482+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"IDR\",\n            \"label\": \"Indonesian rupiah\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 54,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.106028+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.106043+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"UYW\",\n            \"label\": \"Unidad previsional\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 53,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.105589+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.105604+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"XBD\",\n            \"label\": \"European Unit of Account 17 (E.U.A.-17) (bond market unit)\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 52,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.105143+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.105159+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"VES\",\n            \"label\": \"Venezuelan bolívar soberano\",\n            \"symbol\": \"Bs\"\n        },\n        {\n            \"id\": 51,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.104682+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.104698+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"YER\",\n            \"label\": \"Yemeni rial\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 50,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.104208+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.104223+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"KWD\",\n            \"label\": \"Kuwaiti dinar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 49,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.103759+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.103773+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"XPT\",\n            \"label\": \"Platinum (one troy ounce)\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 48,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.103320+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.103335+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"PGK\",\n            \"label\": \"Papua New Guinean kina\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 47,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.102879+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.102894+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"MNT\",\n            \"label\": \"Mongolian tögrög\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 46,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.102424+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.102440+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"HTG\",\n            \"label\": \"Haitian gourde\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 45,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.101748+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.101774+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"MAD\",\n            \"label\": \"Moroccan dirham\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 44,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.101014+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.101040+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"KHR\",\n            \"label\": \"Cambodian riel\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 43,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.100317+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.100343+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"BDT\",\n            \"label\": \"Bangladeshi taka\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 42,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.099631+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.099656+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"RUB\",\n            \"label\": \"Russian ruble\",\n            \"symbol\": \"₽\"\n        },\n        {\n            \"id\": 41,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.098939+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.098963+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"BHD\",\n            \"label\": \"Bahraini dinar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 40,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.098252+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.098277+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"XDR\",\n            \"label\": \"Special drawing rights\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 39,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.097580+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.097596+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"BWP\",\n            \"label\": \"Botswana pula\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 38,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.097098+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.097118+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"CAD\",\n            \"label\": \"Canadian dollar\",\n            \"symbol\": \"$\"\n        },\n        {\n            \"id\": 37,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.096618+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.096633+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"KRW\",\n            \"label\": \"South Korean won\",\n            \"symbol\": \"₩\"\n        },\n        {\n            \"id\": 36,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.096137+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.096153+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"KES\",\n            \"label\": \"Kenyan shilling\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 35,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.095698+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.095713+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"GMD\",\n            \"label\": \"Gambian dalasi\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 34,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.095228+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.095243+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"XBC\",\n            \"label\": \"European Unit of Account 9 (E.U.A.-9) (bond market unit)\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 33,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.094787+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.094802+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"UYI\",\n            \"label\": \"Uruguay Peso en Unidades Indexadas (URUIURUI) (funds code)\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 32,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.094329+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.094344+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"XTS\",\n            \"label\": \"Code reserved for testing\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 31,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.093858+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.093873+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"GHS\",\n            \"label\": \"Ghanaian cedi\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 30,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.093397+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.093412+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"UAH\",\n            \"label\": \"Ukrainian hryvnia\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 29,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.092924+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.092939+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"XUA\",\n            \"label\": \"ADB Unit of Account\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 28,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.092340+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.092355+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"BMD\",\n            \"label\": \"Bermudian dollar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 27,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.091901+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.091916+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"VUV\",\n            \"label\": \"Vanuatu vatu\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 26,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.091462+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.091477+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"KMF\",\n            \"label\": \"Comoro franc\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 25,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.091024+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.091039+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"AMD\",\n            \"label\": \"Armenian dram\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 24,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.090586+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.090601+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"INR\",\n            \"label\": \"Indian rupee\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 23,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.090131+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.090153+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"NPR\",\n            \"label\": \"Nepalese rupee\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 22,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.089648+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.089663+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"TMT\",\n            \"label\": \"Turkmenistan manat\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 21,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.089206+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.089221+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"GNF\",\n            \"label\": \"Guinean franc\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 20,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.088744+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.088759+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"XSU\",\n            \"label\": \"SUCRE\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 19,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.088274+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.088290+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"XAF\",\n            \"label\": \"CFA franc BEAC\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 18,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.087814+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.087830+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"XPD\",\n            \"label\": \"Palladium (one troy ounce)\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 17,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.087324+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.087340+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"XXX\",\n            \"label\": \"No currency\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 16,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.086837+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.086852+01:00\",\n            \"is_enabled\": true,\n            \"code\": \"GBP\",\n            \"label\": \"Pound sterling\",\n            \"symbol\": \"£\"\n        },\n        {\n            \"id\": 15,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.086394+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.086410+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"LRD\",\n            \"label\": \"Liberian dollar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 14,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.085936+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.085951+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"BOB\",\n            \"label\": \"Boliviano\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 13,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.085500+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.085514+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"CRC\",\n            \"label\": \"Costa Rican colon\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 12,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.085047+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.085062+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"BTN\",\n            \"label\": \"Bhutanese ngultrum\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 11,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.084609+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.084624+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"FKP\",\n            \"label\": \"Falkland Islands pound\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 10,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.084135+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.084159+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"BRL\",\n            \"label\": \"Brazilian real\",\n            \"symbol\": \"R$\"\n        },\n        {\n            \"id\": 9,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.083644+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.083659+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"CHF\",\n            \"label\": \"Swiss franc\",\n            \"symbol\": \"₣\"\n        },\n        {\n            \"id\": 8,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.083184+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.083199+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"ZMW\",\n            \"label\": \"Zambian kwacha\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 7,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.082717+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.082732+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"UZS\",\n            \"label\": \"Uzbekistan som\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 6,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.082230+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.082252+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"HUF\",\n            \"label\": \"Hungarian forint\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 5,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.081737+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.081752+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"LBP\",\n            \"label\": \"Lebanese pound\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 4,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.081298+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.081314+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"MYR\",\n            \"label\": \"Malaysian ringgit\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 3,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.080830+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.080846+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"BND\",\n            \"label\": \"Brunei dollar\",\n            \"symbol\": null\n        },\n        {\n            \"id\": 2,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.080316+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.080335+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"JPY\",\n            \"label\": \"Japanese yen\",\n            \"symbol\": \"¥\"\n        },\n        {\n            \"id\": 1,\n            \"active\": true,\n            \"created_at\": \"2020-12-10T10:40:22.078951+01:00\",\n            \"updated_at\": \"2020-12-10T10:40:22.078979+01:00\",\n            \"is_enabled\": false,\n            \"code\": \"SGD\",\n            \"label\": \"Singapore dollar\",\n            \"symbol\": null\n        }\n    ]\n}"},{"id":"2220e7e1-d8d2-4890-a5ec-c3e2fed80c6b","name":"C01 - Get currency","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/currencies/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"active\": true,\n    \"created_at\": \"2020-12-10T10:40:22.078951+01:00\",\n    \"updated_at\": \"2020-12-10T10:40:22.078979+01:00\",\n    \"is_enabled\": false,\n    \"code\": \"SGD\",\n    \"label\": \"Singapore dollar\",\n    \"symbol\": null\n}"}],"_postman_id":"23a14ce4-8b79-4e5c-b7d2-e687db7a55c4"},{"name":"C02 - Create currency","event":[{"listen":"test","script":{"id":"4c55df63-7d55-4e37-8098-8b2578a083aa","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"d94040a8-c20a-4cdb-89ae-e3ce02034d4c","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"3207303e-2fe0-4fcc-ac76-18c7620b08b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"{{label/name}}\",\n    \"code\": \"{{currency code}}\",\n    \"symbol\": \"{{symbol}}\"\n}"},"url":"https://demo.smartie.io/api/v1/currencies","urlObject":{"path":["v1","currencies"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"932c8cb6-4e4d-45c2-9a94-4a106a5158c0","name":"C02 - Create currency","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"Euro\",\n    \"code\": \"EUR\",\n    \"symbol\": \"€\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/currencies"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"active\": true,\n    \"created_at\": \"2020-12-10T10:40:22.078951+01:00\",\n    \"updated_at\": \"2020-12-10T10:40:22.078979+01:00\",\n    \"is_enabled\": false,\n    \"code\": \"EUR\",\n    \"label\": \"EURO\",\n    \"symbol\": \"€\"\n}"}],"_postman_id":"3207303e-2fe0-4fcc-ac76-18c7620b08b0"},{"name":"C03 - Update currency with PATCH","event":[{"listen":"test","script":{"id":"ff587cf9-6f0d-41bf-ab05-a84bed8c7471","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"3d77cf39-4b38-429b-bc33-a99741065b5f","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"dce3f5b1-a177-4e06-b20d-a0348922ac6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"{{label/name}}\",\n    \"code\": \"{{currency code}}\",\n    \"symbol\": \"{{symbol}}\"\n}"},"url":"https://demo.smartie.io/api/v1/currencies/{{currency_id}}","urlObject":{"path":["v1","currencies","{{currency_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"013fca3e-3bb0-48d9-86bd-955110174b8b","name":"C03 - Update currency with PATCH","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"code\": \"SGD\",\n    \"label\": \"Singapore dollar\",\n    \"symbol\": null\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/currencies/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"active\": true,\n    \"created_at\": \"2020-12-10T10:40:22.078951+01:00\",\n    \"updated_at\": \"2022-04-06T12:36:42.318664+02:00\",\n    \"is_enabled\": false,\n    \"code\": \"SGD\",\n    \"label\": \"Singapore dollar\",\n    \"symbol\": null\n}"}],"_postman_id":"dce3f5b1-a177-4e06-b20d-a0348922ac6b"},{"name":"C05 - Delete currency","event":[{"listen":"test","script":{"id":"408036ed-3a95-4127-8072-8ac0c3b426e4","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"21224a17-2f6e-45c4-af56-41c1c4b5781c","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"1468d7d1-f7e1-48ea-ae10-8079237e5857","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/currencies/{{currency_id}}","urlObject":{"path":["v1","currencies","{{currency_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"9ec48eaa-0c89-44ee-894e-cb86da309810","name":"C05 - Delete currency","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/currencies/180"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 06 Apr 2022 10:38:19 GMT"},{"key":"Content-Length","value":"0"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=15"},{"key":"Content-Language","value":"en"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"Vary","value":"Accept, Accept-Language, Cookie"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"1468d7d1-f7e1-48ea-ae10-8079237e5857"}],"id":"ab0a0034-f783-44e4-9d08-d7c25bcfd717","description":"<p>Currencies are used in price books integrations</p>\n","_postman_id":"ab0a0034-f783-44e4-9d08-d7c25bcfd717"}],"id":"e5cd5f01-3958-4aef-8ae3-c4d0aa3b25e9","_postman_id":"e5cd5f01-3958-4aef-8ae3-c4d0aa3b25e9","description":""},{"name":"Sales","item":[{"name":"Order","item":[{"name":"O01 - List orders","event":[{"listen":"prerequest","script":{"id":"f13bc794-0c55-43a7-890c-fa3a344b1dc9","exec":[""],"type":"text/javascript","packages":{}}}],"id":"b72e6fa7-234e-4368-ba73-3b3030f634e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/orders","urlObject":{"path":["v1","orders"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"37b061bf-1f0f-4b31-9120-749bd9544fd6","name":"O01 - List orders in PENDING","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://demo.smartie.io/api/v1/orders/?local_status=PENDING","host":["https://demo.smartie.io/api"],"path":["v1","orders",""],"query":[{"key":"local_status","value":"PENDING"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 4856,\n            \"order_lines\": [\n                {\n                    \"id\": 11244,\n                    \"created_at\": \"2022-01-10T13:30:03.540352+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:03.540378+01:00\",\n                    \"reference\": \"sku1\",\n                    \"quantity\": 1,\n                    \"currency\": \"EUR\",\n                    \"regular_unit_price_without_tax\": \"7.20\",\n                    \"unit_price_with_tax\": \"8.72\",\n                    \"unit_price_without_tax\": \"7.20\",\n                    \"unit_price_tax_type\": \"0.00\",\n                    \"regular_unit_price_tax\": \"10.90\",\n                    \"regular_unit_price_with_tax\": \"10.90\",\n                    \"discount\": \"15.00\",\n                    \"total_without_tax\": \"5.90\",\n                    \"total_tax\": \"1.29\",\n                    \"total\": \"7.42\",\n                    \"coupons\": null,\n                    \"comments\": null,\n                    \"extra\": {\n                        \"magento2\": {\n                            \"price\": 7.2,\n                            \"original_price\": 10.9,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.23,\n                            \"base_price_incl_tax\": 8.72,\n                            \"discount_amount\": 1.3,\n                            \"tax_amount\": 1.29,\n                            \"discount_invoiced\": 1.3,\n                            \"row_total\": 5.9,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 7.2,\n                            \"price_incl_tax\": 8.72,\n                            \"discount_tax_compensation_amount\": 0.23,\n                            \"base_discount_invoiced\": 1.3,\n                            \"product_id\": 3911,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 1.29,\n                            \"base_tax_amount\": 1.29,\n                            \"base_discount_tax_compensation_invoiced\": 0.23,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku1\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 7.2,\n                            \"row_invoiced\": 7.2,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 7.42,\n                            \"base_discount_amount\": 1.3,\n                            \"row_total_incl_tax\": 7.42,\n                            \"item_id\": 891118,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 62,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 5.9,\n                            \"tax_invoiced\": 1.29,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74806,\n                            \"base_discount_tax_compensation_amount\": 0.23,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 10.9,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        }\n                    },\n                    \"product_snapshot\": {},\n                    \"product_view\": null\n                },\n                {\n                    \"id\": 11243,\n                    \"created_at\": \"2022-01-10T13:30:03.538355+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:03.538382+01:00\",\n                    \"reference\": \"sku2\",\n                    \"quantity\": 1,\n                    \"currency\": \"EUR\",\n                    \"regular_unit_price_without_tax\": \"16.45\",\n                    \"unit_price_with_tax\": \"19.90\",\n                    \"unit_price_without_tax\": \"16.45\",\n                    \"unit_price_tax_type\": \"0.00\",\n                    \"regular_unit_price_tax\": \"32.50\",\n                    \"regular_unit_price_with_tax\": \"32.50\",\n                    \"discount\": \"15.00\",\n                    \"total_without_tax\": \"13.46\",\n                    \"total_tax\": \"2.93\",\n                    \"total\": \"16.91\",\n                    \"coupons\": null,\n                    \"comments\": null,\n                    \"extra\": {\n                        \"magento2\": {\n                            \"price\": 16.45,\n                            \"original_price\": 32.5,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku2\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.52,\n                            \"base_price_incl_tax\": 19.9,\n                            \"discount_amount\": 2.99,\n                            \"tax_amount\": 2.93,\n                            \"discount_invoiced\": 2.99,\n                            \"row_total\": 13.46,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 16.45,\n                            \"price_incl_tax\": 19.9,\n                            \"discount_tax_compensation_amount\": 0.52,\n                            \"base_discount_invoiced\": 2.99,\n                            \"product_id\": 4070,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 2.93,\n                            \"base_tax_amount\": 2.93,\n                            \"base_discount_tax_compensation_invoiced\": 0.52,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku2\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 16.45,\n                            \"row_invoiced\": 16.45,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 16.91,\n                            \"base_discount_amount\": 2.99,\n                            \"row_total_incl_tax\": 16.91,\n                            \"item_id\": 891116,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 47,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 13.46,\n                            \"tax_invoiced\": 2.93,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74798,\n                            \"base_discount_tax_compensation_amount\": 0.52,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 32.5,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        }\n                    },\n                    \"product_snapshot\": {},\n                    \"product_view\": null\n                }\n            ],\n            \"customer\": {\n                \"id\": 4856,\n                \"created_at\": \"2022-01-10T13:30:03.533504+01:00\",\n                \"updated_at\": \"2022-01-10T13:30:03.533531+01:00\",\n                \"reference\": \"183667\",\n                \"email\": \"test@email.com\",\n                \"first_name\": \"test\",\n                \"last_name\": \"name\",\n                \"nif\": null,\n                \"telephone\": null,\n                \"gender\": null,\n                \"comments\": null,\n                \"extra\": {}\n            },\n            \"shipping_address\": {\n                \"id\": 58981,\n                \"created_at\": \"2022-01-10T13:30:03.530969+01:00\",\n                \"updated_at\": \"2022-01-10T13:30:03.530993+01:00\",\n                \"email\": \"test@email.com\",\n                \"first_name\": \"test\",\n                \"last_name\": \"name\",\n                \"nif\": null,\n                \"telephone\": \"666666666\",\n                \"country\": \"ES\",\n                \"region\": \"Barcelona\",\n                \"city\": \"HOSPITALET DE LLOBREGAT\",\n                \"postal_code\": \"08906\",\n                \"address\": \"calle test 1\",\n                \"comments\": null,\n                \"extra\": {\n                    \"magento2\": {\n                        \"email\": \"test@email.com\",\n                        \"telephone\": \"666666666\",\n                        \"customer_address_id\": 180815,\n                        \"firstname\": \"test\",\n                        \"street\": [\n                            \"calle test 1\"\n                        ],\n                        \"parent_id\": 187040,\n                        \"postcode\": \"08906\",\n                        \"entity_id\": 374050,\n                        \"address_type\": \"shipping\",\n                        \"country_id\": \"ES\",\n                        \"region_id\": 139,\n                        \"region_code\": \"Barcelona\",\n                        \"lastname\": \"name\",\n                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                        \"region\": \"Barcelona\"\n                    }\n                }\n            },\n            \"billing_address\": {\n                \"id\": 58982,\n                \"created_at\": \"2022-01-10T13:30:03.532469+01:00\",\n                \"updated_at\": \"2022-01-10T13:30:03.532493+01:00\",\n                \"email\": \"test@email.com\",\n                \"first_name\": \"test\",\n                \"last_name\": \"name\",\n                \"nif\": null,\n                \"telephone\": \"666666666\",\n                \"country\": \"ES\",\n                \"region\": \"Barcelona\",\n                \"city\": \"HOSPITALET DE LLOBREGAT\",\n                \"postal_code\": \"08906\",\n                \"address\": \"calle test 1\",\n                \"comments\": null,\n                \"extra\": {\n                    \"magento2\": {\n                        \"email\": \"test@email.com\",\n                        \"telephone\": \"666666666\",\n                        \"customer_address_id\": 180815,\n                        \"firstname\": \"test\",\n                        \"street\": [\n                            \"calle test 1\"\n                        ],\n                        \"parent_id\": 187040,\n                        \"postcode\": \"08906\",\n                        \"entity_id\": 374051,\n                        \"address_type\": \"billing\",\n                        \"country_id\": \"ES\",\n                        \"region_id\": 139,\n                        \"region_code\": \"Barcelona\",\n                        \"lastname\": \"name\",\n                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                        \"region\": \"Barcelona\"\n                    }\n                }\n            },\n            \"syncs\": [\n                {\n                    \"id\": 14226,\n                    \"integration_system\": {\n                        \"id\": 1,\n                        \"active\": true,\n                        \"created_at\": \"2021-06-15T14:01:16.465942+02:00\",\n                        \"updated_at\": \"2021-12-02T11:17:26.115369+01:00\",\n                        \"name\": \"Magento\",\n                        \"code\": \"magento2_v1\",\n                        \"type\": \"magento2_v1\",\n                        \"config\": {\n                            \"connection_profile_id\": 7,\n                            \"ERP_TO_MAGENTO2_ORDER_STATUS\": {},\n                            \"MAGENTO2_CHANNEL_STATUS_SENT\": \"erp_sent\"\n                        }\n                    },\n                    \"created_at\": \"2022-01-10T13:30:06.408893+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:06.412651+01:00\",\n                    \"status\": \"SYNCHRONIZED\",\n                    \"extra\": {},\n                    \"order\": 4856,\n                    \"return_order\": null,\n                    \"shipment\": null\n                },\n                {\n                    \"id\": 14225,\n                    \"integration_system\": {\n                        \"id\": 2,\n                        \"active\": true,\n                        \"created_at\": \"2021-07-12T09:41:31.689372+02:00\",\n                        \"updated_at\": \"2021-12-16T16:21:53.648059+01:00\",\n                        \"name\": \"erp\",\n                        \"code\": \"erp\",\n                        \"type\": \"REST\",\n                        \"config\": {\n                            \"magento_cash_on_delivery_method\": \"cashondelivery\",\n                            \"connection_profile_id\": 9,\n                            \"magento_payment_method_map_to_erp\": {\n                                \"banktransfer\": \"(117)\",\n                                \"redsys\": \"(107)\",\n                                \"cashondelivery\": \"(110)\",\n                                \"paypal_express\": \"(108)\"\n                            }\n                        }\n                    },\n                    \"created_at\": \"2022-01-10T13:30:05.909861+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:05.912985+01:00\",\n                    \"status\": \"SYNCHRONIZED\",\n                    \"extra\": {},\n                    \"order\": 4856,\n                    \"return_order\": null,\n                    \"shipment\": null\n                }\n            ],\n            \"view\": {\n                \"id\": 6,\n                \"channel\": {\n                    \"id\": 5,\n                    \"active\": true,\n                    \"created_at\": \"2021-06-04T13:34:05.847453+02:00\",\n                    \"updated_at\": \"2021-08-25T09:55:37.089996+02:00\",\n                    \"name\": \"Magento\",\n                    \"type\": \"MAGENTO2\",\n                    \"is_origin\": true,\n                    \"config\": {\n                        \"MAGENTO2_EXPORT_PRODUCTS\": {\n                            \"media_custom_attributes\": {\n                                \"global\": [],\n                                \"website\": [],\n                                \"view\": []\n                            },\n                            \"attributes\": {\n                                \"global\": [\n                                    \"product_websites\",\n                                    \"type_of_cooking\",\n                                    \"usefulness\",\n                                    \"for_cooking\",\n                                    \"lifestyle\",\n                                    \"color\",\n                                    \"brand\",\n                                    \"ean\",\n                                    \"language\",\n                                    \"product_type\",\n                                    \"tiempo\",\n                                    \"to_sweeten_with\",\n                                    \"by_product_type\",\n                                    \"attribute_set_code\"\n                                ],\n                                \"website\": [\n                                    \"special_price\",\n                                    \"price\"\n                                ],\n                                \"view\": [\n                                    \"ingredients\",\n                                    \"diners_number\",\n                                    \"elaboration_time\",\n                                    \"peso\",\n                                    \"name\",\n                                    \"very_short_description\",\n                                    \"visibility\",\n                                    \"short_description\",\n                                    \"meta_title\",\n                                    \"medidas\",\n                                    \"material\",\n                                    \"detalles_temperatura\",\n                                    \"description\",\n                                    \"capacity\",\n                                    \"apto_para\"\n                                ]\n                            },\n                            \"grouped_products\": {\n                                \"default_qty\": 1\n                            },\n                            \"export_entities\": [\n                                \"bundle\",\n                                \"categories\",\n                                \"categories_position\",\n                                \"images\",\n                                \"relations\"\n                            ],\n                            \"view_website_mapping\": {\n                                \"es\": \"eu_es\",\n                                \"ca\": \"eu_es\",\n                                \"eu\": \"base\",\n                                \"en\": \"en\",\n                                \"fr\": \"eu_fr\"\n                            },\n                            \"views_to_export\": [\n                                \"eu\",\n                                \"en\",\n                                \"fr\",\n                                \"ca\",\n                                \"es\"\n                            ],\n                            \"default_view\": \"es\",\n                            \"variation_criterias\": [\n                                \"Color\"\n                            ]\n                        }\n                    },\n                    \"is_visible\": true\n                },\n                \"active\": true,\n                \"created_at\": \"2021-06-04T13:41:46.531232+02:00\",\n                \"updated_at\": \"2021-06-10T10:22:05.629344+02:00\",\n                \"name\": \"es\",\n                \"is_master\": true,\n                \"is_visible\": true,\n                \"locale\": 1\n            },\n            \"created_at\": \"2022-01-10T13:30:03.534838+01:00\",\n            \"updated_at\": \"2022-01-10T13:30:05.896035+01:00\",\n            \"reference\": \"35194537\",\n            \"local_status\": \"PENDING\",\n            \"channel_status\": \"processing\",\n            \"currency\": \"EUR\",\n            \"total_without_tax\": \"23.65\",\n            \"total_tax\": \"4.22\",\n            \"shipping_price\": \"0.00\",\n            \"shipping_price_tax_type\": \"0.00\",\n            \"discount\": \"-4.29\",\n            \"total\": \"24.33\",\n            \"payment_method\": \"redsys\",\n            \"shipping_method\": \"Envíos - Envío estándar\",\n            \"shipping_tax\": \"0.00\",\n            \"shipping_with_tax\": \"0.00\",\n            \"coupons\": null,\n            \"comments\": null,\n            \"extra\": {\n                \"magento2\": {\n                    \"items\": [\n                        {\n                            \"price\": 16.45,\n                            \"original_price\": 32.5,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku2\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.52,\n                            \"base_price_incl_tax\": 19.9,\n                            \"discount_amount\": 2.99,\n                            \"tax_amount\": 2.93,\n                            \"discount_invoiced\": 2.99,\n                            \"row_total\": 13.46,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 16.45,\n                            \"price_incl_tax\": 19.9,\n                            \"discount_tax_compensation_amount\": 0.52,\n                            \"base_discount_invoiced\": 2.99,\n                            \"product_id\": 4070,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 2.93,\n                            \"base_tax_amount\": 2.93,\n                            \"base_discount_tax_compensation_invoiced\": 0.52,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku2\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 16.45,\n                            \"row_invoiced\": 16.45,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 16.91,\n                            \"base_discount_amount\": 2.99,\n                            \"row_total_incl_tax\": 16.91,\n                            \"item_id\": 891116,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 47,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 13.46,\n                            \"tax_invoiced\": 2.93,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74798,\n                            \"base_discount_tax_compensation_amount\": 0.52,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 32.5,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        },\n                        {\n                            \"price\": 0,\n                            \"original_price\": 0,\n                            \"discount_percent\": 0,\n                            \"no_discount\": 0,\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0,\n                            \"discount_amount\": 0,\n                            \"tax_amount\": 0,\n                            \"discount_invoiced\": 0,\n                            \"parent_item\": {\n                                \"price\": 16.45,\n                                \"original_price\": 32.5,\n                                \"discount_percent\": 15,\n                                \"applied_rule_ids\": \"5\",\n                                \"sku\": \"sku2\",\n                                \"row_weight\": 0,\n                                \"discount_tax_compensation_invoiced\": 0.52,\n                                \"base_price_incl_tax\": 19.9,\n                                \"discount_amount\": 2.99,\n                                \"tax_amount\": 2.93,\n                                \"discount_invoiced\": 2.99,\n                                \"row_total\": 13.46,\n                                \"product_type\": \"configurable\",\n                                \"base_row_invoiced\": 16.45,\n                                \"price_incl_tax\": 19.9,\n                                \"discount_tax_compensation_amount\": 0.52,\n                                \"base_discount_invoiced\": 2.99,\n                                \"product_id\": 4070,\n                                \"order_id\": 187040,\n                                \"base_tax_invoiced\": 2.93,\n                                \"base_tax_amount\": 2.93,\n                                \"base_discount_tax_compensation_invoiced\": 0.52,\n                                \"qty_ordered\": 1,\n                                \"name\": \"Nombre sku2\",\n                                \"created_at\": \"2022-01-10 12:25:41\",\n                                \"base_price\": 16.45,\n                                \"row_invoiced\": 16.45,\n                                \"qty_invoiced\": 1,\n                                \"base_row_total_incl_tax\": 16.91,\n                                \"base_discount_amount\": 2.99,\n                                \"row_total_incl_tax\": 16.91,\n                                \"item_id\": 891116,\n                                \"base_amount_refunded\": 0,\n                                \"product_option\": {\n                                    \"extension_attributes\": {\n                                        \"configurable_item_options\": [\n                                            {\n                                                \"option_value\": 47,\n                                                \"option_id\": \"93\"\n                                            }\n                                        ]\n                                    }\n                                },\n                                \"weee_tax_applied\": \"[]\",\n                                \"tax_percent\": 21,\n                                \"qty_shipped\": 0,\n                                \"base_row_total\": 13.46,\n                                \"tax_invoiced\": 2.93,\n                                \"free_shipping\": 0,\n                                \"quote_item_id\": 74798,\n                                \"base_discount_tax_compensation_amount\": 0.52,\n                                \"no_discount\": 0,\n                                \"base_original_price\": 32.5,\n                                \"amount_refunded\": 0,\n                                \"updated_at\": \"2022-01-10 12:26:39\",\n                                \"is_virtual\": 0,\n                                \"qty_refunded\": 0,\n                                \"qty_canceled\": 0,\n                                \"store_id\": 1,\n                                \"is_qty_decimal\": 0\n                            },\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"parent_item_id\": 891116,\n                            \"base_discount_invoiced\": 0,\n                            \"product_id\": 2826,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 0,\n                            \"base_tax_amount\": 0,\n                            \"base_discount_tax_compensation_invoiced\": 0,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Kit Iniciación Repostería Essential-ROJO\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 0,\n                            \"row_invoiced\": 0,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 0,\n                            \"base_discount_amount\": 0,\n                            \"row_total_incl_tax\": 0,\n                            \"item_id\": 891117,\n                            \"base_amount_refunded\": 0,\n                            \"product_type\": \"simple\",\n                            \"tax_percent\": 0,\n                            \"qty_shipped\": 0,\n                            \"row_total\": 0,\n                            \"base_row_total\": 0,\n                            \"tax_invoiced\": 0,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74799,\n                            \"amount_refunded\": 0,\n                            \"base_row_invoiced\": 0,\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        },\n                        {\n                            \"price\": 7.2,\n                            \"original_price\": 10.9,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.23,\n                            \"base_price_incl_tax\": 8.72,\n                            \"discount_amount\": 1.3,\n                            \"tax_amount\": 1.29,\n                            \"discount_invoiced\": 1.3,\n                            \"row_total\": 5.9,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 7.2,\n                            \"price_incl_tax\": 8.72,\n                            \"discount_tax_compensation_amount\": 0.23,\n                            \"base_discount_invoiced\": 1.3,\n                            \"product_id\": 3911,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 1.29,\n                            \"base_tax_amount\": 1.29,\n                            \"base_discount_tax_compensation_invoiced\": 0.23,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku1\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 7.2,\n                            \"row_invoiced\": 7.2,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 7.42,\n                            \"base_discount_amount\": 1.3,\n                            \"row_total_incl_tax\": 7.42,\n                            \"item_id\": 891118,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 62,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 5.9,\n                            \"tax_invoiced\": 1.29,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74806,\n                            \"base_discount_tax_compensation_amount\": 0.23,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 10.9,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        },\n                        {\n                            \"price\": 0,\n                            \"original_price\": 0,\n                            \"discount_percent\": 0,\n                            \"no_discount\": 0,\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0,\n                            \"discount_amount\": 0,\n                            \"tax_amount\": 0,\n                            \"discount_invoiced\": 0,\n                            \"parent_item\": {\n                                \"price\": 7.2,\n                                \"original_price\": 10.9,\n                                \"discount_percent\": 15,\n                                \"applied_rule_ids\": \"5\",\n                                \"sku\": \"sku1\",\n                                \"row_weight\": 0,\n                                \"discount_tax_compensation_invoiced\": 0.23,\n                                \"base_price_incl_tax\": 8.72,\n                                \"discount_amount\": 1.3,\n                                \"tax_amount\": 1.29,\n                                \"discount_invoiced\": 1.3,\n                                \"row_total\": 5.9,\n                                \"product_type\": \"configurable\",\n                                \"base_row_invoiced\": 7.2,\n                                \"price_incl_tax\": 8.72,\n                                \"discount_tax_compensation_amount\": 0.23,\n                                \"base_discount_invoiced\": 1.3,\n                                \"product_id\": 3911,\n                                \"order_id\": 187040,\n                                \"base_tax_invoiced\": 1.29,\n                                \"base_tax_amount\": 1.29,\n                                \"base_discount_tax_compensation_invoiced\": 0.23,\n                                \"qty_ordered\": 1,\n                                \"name\": \"Nombre sku1\",\n                                \"created_at\": \"2022-01-10 12:25:41\",\n                                \"base_price\": 7.2,\n                                \"row_invoiced\": 7.2,\n                                \"qty_invoiced\": 1,\n                                \"base_row_total_incl_tax\": 7.42,\n                                \"base_discount_amount\": 1.3,\n                                \"row_total_incl_tax\": 7.42,\n                                \"item_id\": 891118,\n                                \"base_amount_refunded\": 0,\n                                \"product_option\": {\n                                    \"extension_attributes\": {\n                                        \"configurable_item_options\": [\n                                            {\n                                                \"option_value\": 62,\n                                                \"option_id\": \"93\"\n                                            }\n                                        ]\n                                    }\n                                },\n                                \"weee_tax_applied\": \"[]\",\n                                \"tax_percent\": 21,\n                                \"qty_shipped\": 0,\n                                \"base_row_total\": 5.9,\n                                \"tax_invoiced\": 1.29,\n                                \"free_shipping\": 0,\n                                \"quote_item_id\": 74806,\n                                \"base_discount_tax_compensation_amount\": 0.23,\n                                \"no_discount\": 0,\n                                \"base_original_price\": 10.9,\n                                \"amount_refunded\": 0,\n                                \"updated_at\": \"2022-01-10 12:26:39\",\n                                \"is_virtual\": 0,\n                                \"qty_refunded\": 0,\n                                \"qty_canceled\": 0,\n                                \"store_id\": 1,\n                                \"is_qty_decimal\": 0\n                            },\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"parent_item_id\": 891118,\n                            \"base_discount_invoiced\": 0,\n                            \"product_id\": 2597,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 0,\n                            \"base_tax_amount\": 0,\n                            \"base_discount_tax_compensation_invoiced\": 0,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku1\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 0,\n                            \"row_invoiced\": 0,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 0,\n                            \"base_discount_amount\": 0,\n                            \"row_total_incl_tax\": 0,\n                            \"item_id\": 891119,\n                            \"base_amount_refunded\": 0,\n                            \"product_type\": \"simple\",\n                            \"tax_percent\": 0,\n                            \"qty_shipped\": 0,\n                            \"row_total\": 0,\n                            \"base_row_total\": 0,\n                            \"tax_invoiced\": 0,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74807,\n                            \"amount_refunded\": 0,\n                            \"base_row_invoiced\": 0,\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        }\n                    ],\n                    \"shipping_description\": \"Envíos - Envío estándar\",\n                    \"total_due\": 0,\n                    \"total_item_count\": 2,\n                    \"coupon_code\": \"TESTCOUPON\",\n                    \"customer_is_guest\": 0,\n                    \"customer_email\": \"test@email.com\",\n                    \"email_sent\": 1,\n                    \"increment_id\": \"35194537\",\n                    \"base_grand_total\": 24.33,\n                    \"x_forwarded_for\": \"212.145.156.77\",\n                    \"discount_amount\": -4.29,\n                    \"tax_amount\": 4.22,\n                    \"base_shipping_discount_tax_compensation_amnt\": 0,\n                    \"discount_invoiced\": -4.29,\n                    \"applied_rule_ids\": \"5\",\n                    \"total_qty_ordered\": 2,\n                    \"base_currency_code\": \"EUR\",\n                    \"status\": \"processing_redsys\",\n                    \"base_to_order_rate\": 1,\n                    \"subtotal_incl_tax\": 28.62,\n                    \"protect_code\": \"01c95419b32c30c2b2552xxx330a602b0da\",\n                    \"total_paid\": 24.33,\n                    \"base_total_due\": 0,\n                    \"store_currency_code\": \"EUR\",\n                    \"base_discount_invoiced\": -4.29,\n                    \"base_shipping_incl_tax\": 0,\n                    \"customer_group_id\": 1,\n                    \"base_subtotal_incl_tax\": 28.62,\n                    \"grand_total\": 24.33,\n                    \"total_invoiced\": 24.33,\n                    \"order_currency_code\": \"EUR\",\n                    \"base_shipping_invoiced\": 0,\n                    \"base_tax_invoiced\": 4.22,\n                    \"state\": \"processing\",\n                    \"base_discount_tax_compensation_invoiced\": 0.75,\n                    \"store_to_order_rate\": 0,\n                    \"quote_id\": 17741,\n                    \"base_total_invoiced\": 24.33,\n                    \"created_at\": \"2022-01-10 12:25:41\",\n                    \"status_histories\": [\n                        {\n                            \"parent_id\": 187040,\n                            \"entity_name\": \"invoice\",\n                            \"comment\": \"Cantidad capturada de 24,33 € en línea. Identificador de la transacción: \\\"REDSYS_112345\\\"\",\n                            \"is_customer_notified\": null,\n                            \"is_visible_on_front\": 0,\n                            \"status\": \"processing\",\n                            \"created_at\": \"2022-01-10 12:26:39\",\n                            \"entity_id\": 1183147\n                        },\n                        {\n                            \"parent_id\": 187040,\n                            \"entity_name\": \"order\",\n                            \"comment\": \"Payment transaction captured from gateway with ID \\\"REDSYS_112345\\\". Order will be marked as paid.\",\n                            \"is_customer_notified\": null,\n                            \"is_visible_on_front\": 0,\n                            \"status\": \"processing_redsys\",\n                            \"created_at\": \"2022-01-10 12:26:38\",\n                            \"entity_id\": 1183146\n                        },\n                        {\n                            \"parent_id\": 187040,\n                            \"entity_name\": \"order\",\n                            \"comment\": null,\n                            \"is_customer_notified\": 1,\n                            \"is_visible_on_front\": 0,\n                            \"status\": \"pending\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"entity_id\": 1183143\n                        }\n                    ],\n                    \"base_tax_amount\": 4.22,\n                    \"weight\": 0,\n                    \"customer_lastname\": \"name\",\n                    \"shipping_amount\": 0,\n                    \"base_discount_amount\": -4.29,\n                    \"base_total_paid\": 24.33,\n                    \"base_shipping_tax_amount\": 0,\n                    \"customer_note_notify\": 0,\n                    \"remote_ip\": \"212.145.156.77\",\n                    \"entity_id\": 187040,\n                    \"subtotal_invoiced\": 23.65,\n                    \"discount_description\": \"TESTCOUPON\",\n                    \"global_currency_code\": \"EUR\",\n                    \"shipping_incl_tax\": 0,\n                    \"base_to_global_rate\": 1,\n                    \"shipping_tax_amount\": 0,\n                    \"discount_tax_compensation_amount\": 0.75,\n                    \"billing_address_id\": 374051,\n                    \"store_to_base_rate\": 0,\n                    \"base_shipping_amount\": 0,\n                    \"tax_invoiced\": 4.22,\n                    \"payment\": {\n                        \"parent_id\": 187040,\n                        \"cc_last4\": null,\n                        \"shipping_amount\": 0,\n                        \"cc_ss_start_month\": \"0\",\n                        \"amount_ordered\": 24.33,\n                        \"method\": \"redsys\",\n                        \"base_amount_ordered\": 24.33,\n                        \"shipping_captured\": 0,\n                        \"last_trans_id\": \"REDSYS_112345\",\n                        \"base_amount_paid\": 24.33,\n                        \"entity_id\": 187026,\n                        \"additional_information\": [\n                            \"Pago tarjeta\"\n                        ],\n                        \"account_status\": null,\n                        \"amount_paid\": 24.33,\n                        \"cc_ss_start_year\": \"0\",\n                        \"base_amount_paid_online\": 24.33,\n                        \"cc_exp_year\": \"0\",\n                        \"base_shipping_captured\": 0,\n                        \"base_shipping_amount\": 0\n                    },\n                    \"shipping_invoiced\": 0,\n                    \"discount_tax_compensation_invoiced\": 0.75,\n                    \"base_discount_tax_compensation_amount\": 0.75,\n                    \"base_subtotal\": 23.65,\n                    \"base_shipping_discount_amount\": 0,\n                    \"customer_firstname\": \"test\",\n                    \"updated_at\": \"2022-01-10 12:26:39\",\n                    \"extension_attributes\": {\n                        \"need_invoice\": false,\n                        \"applied_taxes\": [\n                            {\n                                \"title\": \"IVA General\",\n                                \"percent\": 21,\n                                \"code\": \"IVA General\",\n                                \"amount\": 4.22,\n                                \"base_amount\": 4.22\n                            }\n                        ],\n                        \"item_applied_taxes\": [\n                            {\n                                \"applied_taxes\": [\n                                    {\n                                        \"title\": \"IVA General\",\n                                        \"percent\": 21,\n                                        \"code\": \"IVA General\",\n                                        \"amount\": 0,\n                                        \"base_amount\": 0\n                                    }\n                                ],\n                                \"type\": \"shipping\"\n                            },\n                            {\n                                \"item_id\": 891116,\n                                \"applied_taxes\": [\n                                    {\n                                        \"title\": \"IVA General\",\n                                        \"percent\": 21,\n                                        \"code\": \"IVA General\",\n                                        \"amount\": 2.93,\n                                        \"base_amount\": 2.93\n                                    }\n                                ],\n                                \"type\": \"product\"\n                            },\n                            {\n                                \"item_id\": 891118,\n                                \"applied_taxes\": [\n                                    {\n                                        \"title\": \"IVA General\",\n                                        \"percent\": 21,\n                                        \"code\": \"IVA General\",\n                                        \"amount\": 1.29,\n                                        \"base_amount\": 1.29\n                                    }\n                                ],\n                                \"type\": \"product\"\n                            }\n                        ],\n                        \"converting_from_quote\": true,\n                        \"shipping_assignments\": [\n                            {\n                                \"items\": [\n                                    {\n                                        \"price\": 16.45,\n                                        \"original_price\": 32.5,\n                                        \"discount_percent\": 15,\n                                        \"applied_rule_ids\": \"5\",\n                                        \"sku\": \"sku2\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0.52,\n                                        \"base_price_incl_tax\": 19.9,\n                                        \"discount_amount\": 2.99,\n                                        \"tax_amount\": 2.93,\n                                        \"discount_invoiced\": 2.99,\n                                        \"row_total\": 13.46,\n                                        \"product_type\": \"configurable\",\n                                        \"base_row_invoiced\": 16.45,\n                                        \"price_incl_tax\": 19.9,\n                                        \"discount_tax_compensation_amount\": 0.52,\n                                        \"base_discount_invoiced\": 2.99,\n                                        \"product_id\": 4070,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 2.93,\n                                        \"base_tax_amount\": 2.93,\n                                        \"base_discount_tax_compensation_invoiced\": 0.52,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku2\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 16.45,\n                                        \"row_invoiced\": 16.45,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 16.91,\n                                        \"base_discount_amount\": 2.99,\n                                        \"row_total_incl_tax\": 16.91,\n                                        \"item_id\": 891116,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_option\": {\n                                            \"extension_attributes\": {\n                                                \"configurable_item_options\": [\n                                                    {\n                                                        \"option_value\": 47,\n                                                        \"option_id\": \"93\"\n                                                    }\n                                                ]\n                                            }\n                                        },\n                                        \"weee_tax_applied\": \"[]\",\n                                        \"tax_percent\": 21,\n                                        \"qty_shipped\": 0,\n                                        \"base_row_total\": 13.46,\n                                        \"tax_invoiced\": 2.93,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74798,\n                                        \"base_discount_tax_compensation_amount\": 0.52,\n                                        \"no_discount\": 0,\n                                        \"base_original_price\": 32.5,\n                                        \"amount_refunded\": 0,\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    },\n                                    {\n                                        \"price\": 0,\n                                        \"original_price\": 0,\n                                        \"discount_percent\": 0,\n                                        \"no_discount\": 0,\n                                        \"sku\": \"sku2\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0,\n                                        \"discount_amount\": 0,\n                                        \"tax_amount\": 0,\n                                        \"discount_invoiced\": 0,\n                                        \"parent_item\": {\n                                            \"price\": 16.45,\n                                            \"original_price\": 32.5,\n                                            \"discount_percent\": 15,\n                                            \"applied_rule_ids\": \"5\",\n                                            \"sku\": \"sku2\",\n                                            \"row_weight\": 0,\n                                            \"discount_tax_compensation_invoiced\": 0.52,\n                                            \"base_price_incl_tax\": 19.9,\n                                            \"discount_amount\": 2.99,\n                                            \"tax_amount\": 2.93,\n                                            \"discount_invoiced\": 2.99,\n                                            \"row_total\": 13.46,\n                                            \"product_type\": \"configurable\",\n                                            \"base_row_invoiced\": 16.45,\n                                            \"price_incl_tax\": 19.9,\n                                            \"discount_tax_compensation_amount\": 0.52,\n                                            \"base_discount_invoiced\": 2.99,\n                                            \"product_id\": 4070,\n                                            \"order_id\": 187040,\n                                            \"base_tax_invoiced\": 2.93,\n                                            \"base_tax_amount\": 2.93,\n                                            \"base_discount_tax_compensation_invoiced\": 0.52,\n                                            \"qty_ordered\": 1,\n                                            \"name\": \"Nombre sku2\",\n                                            \"created_at\": \"2022-01-10 12:25:41\",\n                                            \"base_price\": 16.45,\n                                            \"row_invoiced\": 16.45,\n                                            \"qty_invoiced\": 1,\n                                            \"base_row_total_incl_tax\": 16.91,\n                                            \"base_discount_amount\": 2.99,\n                                            \"row_total_incl_tax\": 16.91,\n                                            \"item_id\": 891116,\n                                            \"base_amount_refunded\": 0,\n                                            \"product_option\": {\n                                                \"extension_attributes\": {\n                                                    \"configurable_item_options\": [\n                                                        {\n                                                            \"option_value\": 47,\n                                                            \"option_id\": \"93\"\n                                                        }\n                                                    ]\n                                                }\n                                            },\n                                            \"weee_tax_applied\": \"[]\",\n                                            \"tax_percent\": 21,\n                                            \"qty_shipped\": 0,\n                                            \"base_row_total\": 13.46,\n                                            \"tax_invoiced\": 2.93,\n                                            \"free_shipping\": 0,\n                                            \"quote_item_id\": 74798,\n                                            \"base_discount_tax_compensation_amount\": 0.52,\n                                            \"no_discount\": 0,\n                                            \"base_original_price\": 32.5,\n                                            \"amount_refunded\": 0,\n                                            \"updated_at\": \"2022-01-10 12:26:39\",\n                                            \"is_virtual\": 0,\n                                            \"qty_refunded\": 0,\n                                            \"qty_canceled\": 0,\n                                            \"store_id\": 1,\n                                            \"is_qty_decimal\": 0\n                                        },\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"parent_item_id\": 891116,\n                                        \"base_discount_invoiced\": 0,\n                                        \"product_id\": 2826,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 0,\n                                        \"base_tax_amount\": 0,\n                                        \"base_discount_tax_compensation_invoiced\": 0,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku2\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 0,\n                                        \"row_invoiced\": 0,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 0,\n                                        \"base_discount_amount\": 0,\n                                        \"row_total_incl_tax\": 0,\n                                        \"item_id\": 891117,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_type\": \"simple\",\n                                        \"tax_percent\": 0,\n                                        \"qty_shipped\": 0,\n                                        \"row_total\": 0,\n                                        \"base_row_total\": 0,\n                                        \"tax_invoiced\": 0,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74799,\n                                        \"amount_refunded\": 0,\n                                        \"base_row_invoiced\": 0,\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    },\n                                    {\n                                        \"price\": 7.2,\n                                        \"original_price\": 10.9,\n                                        \"discount_percent\": 15,\n                                        \"applied_rule_ids\": \"5\",\n                                        \"sku\": \"sku1\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0.23,\n                                        \"base_price_incl_tax\": 8.72,\n                                        \"discount_amount\": 1.3,\n                                        \"tax_amount\": 1.29,\n                                        \"discount_invoiced\": 1.3,\n                                        \"row_total\": 5.9,\n                                        \"product_type\": \"configurable\",\n                                        \"base_row_invoiced\": 7.2,\n                                        \"price_incl_tax\": 8.72,\n                                        \"discount_tax_compensation_amount\": 0.23,\n                                        \"base_discount_invoiced\": 1.3,\n                                        \"product_id\": 3911,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 1.29,\n                                        \"base_tax_amount\": 1.29,\n                                        \"base_discount_tax_compensation_invoiced\": 0.23,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku1\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 7.2,\n                                        \"row_invoiced\": 7.2,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 7.42,\n                                        \"base_discount_amount\": 1.3,\n                                        \"row_total_incl_tax\": 7.42,\n                                        \"item_id\": 891118,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_option\": {\n                                            \"extension_attributes\": {\n                                                \"configurable_item_options\": [\n                                                    {\n                                                        \"option_value\": 62,\n                                                        \"option_id\": \"93\"\n                                                    }\n                                                ]\n                                            }\n                                        },\n                                        \"weee_tax_applied\": \"[]\",\n                                        \"tax_percent\": 21,\n                                        \"qty_shipped\": 0,\n                                        \"base_row_total\": 5.9,\n                                        \"tax_invoiced\": 1.29,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74806,\n                                        \"base_discount_tax_compensation_amount\": 0.23,\n                                        \"no_discount\": 0,\n                                        \"base_original_price\": 10.9,\n                                        \"amount_refunded\": 0,\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    },\n                                    {\n                                        \"price\": 0,\n                                        \"original_price\": 0,\n                                        \"discount_percent\": 0,\n                                        \"no_discount\": 0,\n                                        \"sku\": \"sku1\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0,\n                                        \"discount_amount\": 0,\n                                        \"tax_amount\": 0,\n                                        \"discount_invoiced\": 0,\n                                        \"parent_item\": {\n                                            \"price\": 7.2,\n                                            \"original_price\": 10.9,\n                                            \"discount_percent\": 15,\n                                            \"applied_rule_ids\": \"5\",\n                                            \"sku\": \"sku1\",\n                                            \"row_weight\": 0,\n                                            \"discount_tax_compensation_invoiced\": 0.23,\n                                            \"base_price_incl_tax\": 8.72,\n                                            \"discount_amount\": 1.3,\n                                            \"tax_amount\": 1.29,\n                                            \"discount_invoiced\": 1.3,\n                                            \"row_total\": 5.9,\n                                            \"product_type\": \"configurable\",\n                                            \"base_row_invoiced\": 7.2,\n                                            \"price_incl_tax\": 8.72,\n                                            \"discount_tax_compensation_amount\": 0.23,\n                                            \"base_discount_invoiced\": 1.3,\n                                            \"product_id\": 3911,\n                                            \"order_id\": 187040,\n                                            \"base_tax_invoiced\": 1.29,\n                                            \"base_tax_amount\": 1.29,\n                                            \"base_discount_tax_compensation_invoiced\": 0.23,\n                                            \"qty_ordered\": 1,\n                                            \"name\": \"Nombre sku1\",\n                                            \"created_at\": \"2022-01-10 12:25:41\",\n                                            \"base_price\": 7.2,\n                                            \"row_invoiced\": 7.2,\n                                            \"qty_invoiced\": 1,\n                                            \"base_row_total_incl_tax\": 7.42,\n                                            \"base_discount_amount\": 1.3,\n                                            \"row_total_incl_tax\": 7.42,\n                                            \"item_id\": 891118,\n                                            \"base_amount_refunded\": 0,\n                                            \"product_option\": {\n                                                \"extension_attributes\": {\n                                                    \"configurable_item_options\": [\n                                                        {\n                                                            \"option_value\": 62,\n                                                            \"option_id\": \"93\"\n                                                        }\n                                                    ]\n                                                }\n                                            },\n                                            \"weee_tax_applied\": \"[]\",\n                                            \"tax_percent\": 21,\n                                            \"qty_shipped\": 0,\n                                            \"base_row_total\": 5.9,\n                                            \"tax_invoiced\": 1.29,\n                                            \"free_shipping\": 0,\n                                            \"quote_item_id\": 74806,\n                                            \"base_discount_tax_compensation_amount\": 0.23,\n                                            \"no_discount\": 0,\n                                            \"base_original_price\": 10.9,\n                                            \"amount_refunded\": 0,\n                                            \"updated_at\": \"2022-01-10 12:26:39\",\n                                            \"is_virtual\": 0,\n                                            \"qty_refunded\": 0,\n                                            \"qty_canceled\": 0,\n                                            \"store_id\": 1,\n                                            \"is_qty_decimal\": 0\n                                        },\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"parent_item_id\": 891118,\n                                        \"base_discount_invoiced\": 0,\n                                        \"product_id\": 2597,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 0,\n                                        \"base_tax_amount\": 0,\n                                        \"base_discount_tax_compensation_invoiced\": 0,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku1\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 0,\n                                        \"row_invoiced\": 0,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 0,\n                                        \"base_discount_amount\": 0,\n                                        \"row_total_incl_tax\": 0,\n                                        \"item_id\": 891119,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_type\": \"simple\",\n                                        \"tax_percent\": 0,\n                                        \"qty_shipped\": 0,\n                                        \"row_total\": 0,\n                                        \"base_row_total\": 0,\n                                        \"tax_invoiced\": 0,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74807,\n                                        \"amount_refunded\": 0,\n                                        \"base_row_invoiced\": 0,\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    }\n                                ],\n                                \"shipping\": {\n                                    \"method\": \"matrixrate_matrixrate_22\",\n                                    \"address\": {\n                                        \"email\": \"test@email.com\",\n                                        \"telephone\": \"666666666\",\n                                        \"customer_address_id\": 180815,\n                                        \"firstname\": \"test\",\n                                        \"street\": [\n                                            \"calle test 1\"\n                                        ],\n                                        \"parent_id\": 187040,\n                                        \"postcode\": \"08906\",\n                                        \"entity_id\": 374050,\n                                        \"address_type\": \"shipping\",\n                                        \"country_id\": \"ES\",\n                                        \"region_id\": 139,\n                                        \"region_code\": \"Barcelona\",\n                                        \"lastname\": \"name\",\n                                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                                        \"region\": \"Barcelona\"\n                                    },\n                                    \"total\": {\n                                        \"shipping_invoiced\": 0,\n                                        \"shipping_discount_amount\": 0,\n                                        \"shipping_amount\": 0,\n                                        \"base_shipping_incl_tax\": 0,\n                                        \"base_shipping_tax_amount\": 0,\n                                        \"base_shipping_discount_amount\": 0,\n                                        \"base_shipping_invoiced\": 0,\n                                        \"shipping_incl_tax\": 0,\n                                        \"base_shipping_discount_tax_compensation_amnt\": 0,\n                                        \"shipping_tax_amount\": 0,\n                                        \"base_shipping_amount\": 0,\n                                        \"shipping_discount_tax_compensation_amount\": 0\n                                    }\n                                }\n                            }\n                        ],\n                        \"payment_additional_info\": [\n                            {\n                                \"key\": \"method_title\",\n                                \"value\": \"Pago tarjeta\"\n                            }\n                        ],\n                        \"fooman_total_group\": {\n                            \"items\": []\n                        },\n                        \"smartie_sync_status\": \"not_ready_to_sync\"\n                    },\n                    \"is_virtual\": 0,\n                    \"customer_id\": 183667,\n                    \"base_subtotal_invoiced\": 23.65,\n                    \"billing_address\": {\n                        \"email\": \"test@email.com\",\n                        \"telephone\": \"666666666\",\n                        \"customer_address_id\": 180815,\n                        \"firstname\": \"test\",\n                        \"street\": [\n                            \"calle test 1\"\n                        ],\n                        \"parent_id\": 187040,\n                        \"postcode\": \"08906\",\n                        \"entity_id\": 374051,\n                        \"address_type\": \"billing\",\n                        \"country_id\": \"ES\",\n                        \"region_id\": 139,\n                        \"region_code\": \"Barcelona\",\n                        \"lastname\": \"name\",\n                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                        \"region\": \"Barcelona\"\n                    },\n                    \"store_name\": \"España\\nEspaña\\nES\",\n                    \"store_id\": 1,\n                    \"subtotal\": 23.65,\n                    \"shipping_discount_tax_compensation_amount\": 0,\n                    \"shipping_discount_amount\": 0,\n                    \"base_total_invoiced_cost\": 0\n                }\n            },\n            \"channel_create_date\": \"2022-01-10T13:25:41+01:00\",\n            \"store_pickup\": false\n        }\n    ]\n}"},{"id":"60291050-4dbb-4f40-b5b4-c600431c5991","name":"O01 - Get order by reference","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://demo.smartie.io/api/v1/orders/?reference=35194537","host":["https://demo.smartie.io/api"],"path":["v1","orders",""],"query":[{"key":"reference","value":"35194537"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 4856,\n            \"order_lines\": [\n                {\n                    \"id\": 11244,\n                    \"created_at\": \"2022-01-10T13:30:03.540352+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:03.540378+01:00\",\n                    \"reference\": \"sku1\",\n                    \"quantity\": 1,\n                    \"currency\": \"EUR\",\n                    \"regular_unit_price_without_tax\": \"7.20\",\n                    \"unit_price_with_tax\": \"8.72\",\n                    \"unit_price_without_tax\": \"7.20\",\n                    \"unit_price_tax_type\": \"0.00\",\n                    \"regular_unit_price_tax\": \"10.90\",\n                    \"regular_unit_price_with_tax\": \"10.90\",\n                    \"discount\": \"15.00\",\n                    \"total_without_tax\": \"5.90\",\n                    \"total_tax\": \"1.29\",\n                    \"total\": \"7.42\",\n                    \"coupons\": null,\n                    \"comments\": null,\n                    \"extra\": {\n                        \"magento2\": {\n                            \"price\": 7.2,\n                            \"original_price\": 10.9,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.23,\n                            \"base_price_incl_tax\": 8.72,\n                            \"discount_amount\": 1.3,\n                            \"tax_amount\": 1.29,\n                            \"discount_invoiced\": 1.3,\n                            \"row_total\": 5.9,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 7.2,\n                            \"price_incl_tax\": 8.72,\n                            \"discount_tax_compensation_amount\": 0.23,\n                            \"base_discount_invoiced\": 1.3,\n                            \"product_id\": 3911,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 1.29,\n                            \"base_tax_amount\": 1.29,\n                            \"base_discount_tax_compensation_invoiced\": 0.23,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku1\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 7.2,\n                            \"row_invoiced\": 7.2,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 7.42,\n                            \"base_discount_amount\": 1.3,\n                            \"row_total_incl_tax\": 7.42,\n                            \"item_id\": 891118,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 62,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 5.9,\n                            \"tax_invoiced\": 1.29,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74806,\n                            \"base_discount_tax_compensation_amount\": 0.23,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 10.9,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        }\n                    },\n                    \"product_snapshot\": {},\n                    \"product_view\": null\n                },\n                {\n                    \"id\": 11243,\n                    \"created_at\": \"2022-01-10T13:30:03.538355+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:03.538382+01:00\",\n                    \"reference\": \"sku2\",\n                    \"quantity\": 1,\n                    \"currency\": \"EUR\",\n                    \"regular_unit_price_without_tax\": \"16.45\",\n                    \"unit_price_with_tax\": \"19.90\",\n                    \"unit_price_without_tax\": \"16.45\",\n                    \"unit_price_tax_type\": \"0.00\",\n                    \"regular_unit_price_tax\": \"32.50\",\n                    \"regular_unit_price_with_tax\": \"32.50\",\n                    \"discount\": \"15.00\",\n                    \"total_without_tax\": \"13.46\",\n                    \"total_tax\": \"2.93\",\n                    \"total\": \"16.91\",\n                    \"coupons\": null,\n                    \"comments\": null,\n                    \"extra\": {\n                        \"magento2\": {\n                            \"price\": 16.45,\n                            \"original_price\": 32.5,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku2\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.52,\n                            \"base_price_incl_tax\": 19.9,\n                            \"discount_amount\": 2.99,\n                            \"tax_amount\": 2.93,\n                            \"discount_invoiced\": 2.99,\n                            \"row_total\": 13.46,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 16.45,\n                            \"price_incl_tax\": 19.9,\n                            \"discount_tax_compensation_amount\": 0.52,\n                            \"base_discount_invoiced\": 2.99,\n                            \"product_id\": 4070,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 2.93,\n                            \"base_tax_amount\": 2.93,\n                            \"base_discount_tax_compensation_invoiced\": 0.52,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku2\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 16.45,\n                            \"row_invoiced\": 16.45,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 16.91,\n                            \"base_discount_amount\": 2.99,\n                            \"row_total_incl_tax\": 16.91,\n                            \"item_id\": 891116,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 47,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 13.46,\n                            \"tax_invoiced\": 2.93,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74798,\n                            \"base_discount_tax_compensation_amount\": 0.52,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 32.5,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        }\n                    },\n                    \"product_snapshot\": {},\n                    \"product_view\": null\n                }\n            ],\n            \"customer\": {\n                \"id\": 4856,\n                \"created_at\": \"2022-01-10T13:30:03.533504+01:00\",\n                \"updated_at\": \"2022-01-10T13:30:03.533531+01:00\",\n                \"reference\": \"183667\",\n                \"email\": \"test@email.com\",\n                \"first_name\": \"test\",\n                \"last_name\": \"name\",\n                \"nif\": null,\n                \"telephone\": null,\n                \"gender\": null,\n                \"comments\": null,\n                \"extra\": {}\n            },\n            \"shipping_address\": {\n                \"id\": 58981,\n                \"created_at\": \"2022-01-10T13:30:03.530969+01:00\",\n                \"updated_at\": \"2022-01-10T13:30:03.530993+01:00\",\n                \"email\": \"test@email.com\",\n                \"first_name\": \"test\",\n                \"last_name\": \"name\",\n                \"nif\": null,\n                \"telephone\": \"666666666\",\n                \"country\": \"ES\",\n                \"region\": \"Barcelona\",\n                \"city\": \"HOSPITALET DE LLOBREGAT\",\n                \"postal_code\": \"08906\",\n                \"address\": \"calle test 1\",\n                \"comments\": null,\n                \"extra\": {\n                    \"magento2\": {\n                        \"email\": \"test@email.com\",\n                        \"telephone\": \"666666666\",\n                        \"customer_address_id\": 180815,\n                        \"firstname\": \"test\",\n                        \"street\": [\n                            \"calle test 1\"\n                        ],\n                        \"parent_id\": 187040,\n                        \"postcode\": \"08906\",\n                        \"entity_id\": 374050,\n                        \"address_type\": \"shipping\",\n                        \"country_id\": \"ES\",\n                        \"region_id\": 139,\n                        \"region_code\": \"Barcelona\",\n                        \"lastname\": \"name\",\n                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                        \"region\": \"Barcelona\"\n                    }\n                }\n            },\n            \"billing_address\": {\n                \"id\": 58982,\n                \"created_at\": \"2022-01-10T13:30:03.532469+01:00\",\n                \"updated_at\": \"2022-01-10T13:30:03.532493+01:00\",\n                \"email\": \"test@email.com\",\n                \"first_name\": \"test\",\n                \"last_name\": \"name\",\n                \"nif\": null,\n                \"telephone\": \"666666666\",\n                \"country\": \"ES\",\n                \"region\": \"Barcelona\",\n                \"city\": \"HOSPITALET DE LLOBREGAT\",\n                \"postal_code\": \"08906\",\n                \"address\": \"calle test 1\",\n                \"comments\": null,\n                \"extra\": {\n                    \"magento2\": {\n                        \"email\": \"test@email.com\",\n                        \"telephone\": \"666666666\",\n                        \"customer_address_id\": 180815,\n                        \"firstname\": \"test\",\n                        \"street\": [\n                            \"calle test 1\"\n                        ],\n                        \"parent_id\": 187040,\n                        \"postcode\": \"08906\",\n                        \"entity_id\": 374051,\n                        \"address_type\": \"billing\",\n                        \"country_id\": \"ES\",\n                        \"region_id\": 139,\n                        \"region_code\": \"Barcelona\",\n                        \"lastname\": \"name\",\n                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                        \"region\": \"Barcelona\"\n                    }\n                }\n            },\n            \"syncs\": [\n                {\n                    \"id\": 14226,\n                    \"integration_system\": {\n                        \"id\": 1,\n                        \"active\": true,\n                        \"created_at\": \"2021-06-15T14:01:16.465942+02:00\",\n                        \"updated_at\": \"2021-12-02T11:17:26.115369+01:00\",\n                        \"name\": \"Magento\",\n                        \"code\": \"magento2_v1\",\n                        \"type\": \"magento2_v1\",\n                        \"config\": {\n                            \"connection_profile_id\": 7,\n                            \"ERP_TO_MAGENTO2_ORDER_STATUS\": {},\n                            \"MAGENTO2_CHANNEL_STATUS_SENT\": \"erp_sent\"\n                        }\n                    },\n                    \"created_at\": \"2022-01-10T13:30:06.408893+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:06.412651+01:00\",\n                    \"status\": \"SYNCHRONIZED\",\n                    \"extra\": {},\n                    \"order\": 4856,\n                    \"return_order\": null,\n                    \"shipment\": null\n                },\n                {\n                    \"id\": 14225,\n                    \"integration_system\": {\n                        \"id\": 2,\n                        \"active\": true,\n                        \"created_at\": \"2021-07-12T09:41:31.689372+02:00\",\n                        \"updated_at\": \"2021-12-16T16:21:53.648059+01:00\",\n                        \"name\": \"erp\",\n                        \"code\": \"erp\",\n                        \"type\": \"REST\",\n                        \"config\": {\n                            \"magento_cash_on_delivery_method\": \"cashondelivery\",\n                            \"connection_profile_id\": 9,\n                            \"magento_payment_method_map_to_erp\": {\n                                \"banktransfer\": \"(117)\",\n                                \"redsys\": \"(107)\",\n                                \"cashondelivery\": \"(110)\",\n                                \"paypal_express\": \"(108)\"\n                            }\n                        }\n                    },\n                    \"created_at\": \"2022-01-10T13:30:05.909861+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:05.912985+01:00\",\n                    \"status\": \"SYNCHRONIZED\",\n                    \"extra\": {},\n                    \"order\": 4856,\n                    \"return_order\": null,\n                    \"shipment\": null\n                }\n            ],\n            \"view\": {\n                \"id\": 6,\n                \"channel\": {\n                    \"id\": 5,\n                    \"active\": true,\n                    \"created_at\": \"2021-06-04T13:34:05.847453+02:00\",\n                    \"updated_at\": \"2021-08-25T09:55:37.089996+02:00\",\n                    \"name\": \"Magento\",\n                    \"type\": \"MAGENTO2\",\n                    \"is_origin\": true,\n                    \"config\": {\n                        \"MAGENTO2_EXPORT_PRODUCTS\": {\n                            \"media_custom_attributes\": {\n                                \"global\": [],\n                                \"website\": [],\n                                \"view\": []\n                            },\n                            \"attributes\": {\n                                \"global\": [\n                                    \"product_websites\",\n                                    \"type_of_cooking\",\n                                    \"usefulness\",\n                                    \"for_cooking\",\n                                    \"lifestyle\",\n                                    \"color\",\n                                    \"brand\",\n                                    \"ean\",\n                                    \"language\",\n                                    \"product_type\",\n                                    \"tiempo\",\n                                    \"to_sweeten_with\",\n                                    \"by_product_type\",\n                                    \"attribute_set_code\"\n                                ],\n                                \"website\": [\n                                    \"special_price\",\n                                    \"price\"\n                                ],\n                                \"view\": [\n                                    \"ingredients\",\n                                    \"diners_number\",\n                                    \"elaboration_time\",\n                                    \"peso\",\n                                    \"name\",\n                                    \"very_short_description\",\n                                    \"visibility\",\n                                    \"short_description\",\n                                    \"meta_title\",\n                                    \"medidas\",\n                                    \"material\",\n                                    \"detalles_temperatura\",\n                                    \"description\",\n                                    \"capacity\",\n                                    \"apto_para\"\n                                ]\n                            },\n                            \"grouped_products\": {\n                                \"default_qty\": 1\n                            },\n                            \"export_entities\": [\n                                \"bundle\",\n                                \"categories\",\n                                \"categories_position\",\n                                \"images\",\n                                \"relations\"\n                            ],\n                            \"view_website_mapping\": {\n                                \"es\": \"eu_es\",\n                                \"ca\": \"eu_es\",\n                                \"eu\": \"base\",\n                                \"en\": \"en\",\n                                \"fr\": \"eu_fr\"\n                            },\n                            \"views_to_export\": [\n                                \"eu\",\n                                \"en\",\n                                \"fr\",\n                                \"ca\",\n                                \"es\"\n                            ],\n                            \"default_view\": \"es\",\n                            \"variation_criterias\": [\n                                \"Color\"\n                            ]\n                        }\n                    },\n                    \"is_visible\": true\n                },\n                \"active\": true,\n                \"created_at\": \"2021-06-04T13:41:46.531232+02:00\",\n                \"updated_at\": \"2021-06-10T10:22:05.629344+02:00\",\n                \"name\": \"es\",\n                \"is_master\": true,\n                \"is_visible\": true,\n                \"locale\": 1\n            },\n            \"created_at\": \"2022-01-10T13:30:03.534838+01:00\",\n            \"updated_at\": \"2022-01-10T13:30:05.896035+01:00\",\n            \"reference\": \"35194537\",\n            \"local_status\": \"PENDING\",\n            \"channel_status\": \"processing\",\n            \"currency\": \"EUR\",\n            \"total_without_tax\": \"23.65\",\n            \"total_tax\": \"4.22\",\n            \"shipping_price\": \"0.00\",\n            \"shipping_price_tax_type\": \"0.00\",\n            \"discount\": \"-4.29\",\n            \"total\": \"24.33\",\n            \"payment_method\": \"redsys\",\n            \"shipping_method\": \"Envíos - Envío estándar\",\n            \"shipping_tax\": \"0.00\",\n            \"shipping_with_tax\": \"0.00\",\n            \"coupons\": null,\n            \"comments\": null,\n            \"extra\": {\n                \"magento2\": {\n                    \"items\": [\n                        {\n                            \"price\": 16.45,\n                            \"original_price\": 32.5,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku2\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.52,\n                            \"base_price_incl_tax\": 19.9,\n                            \"discount_amount\": 2.99,\n                            \"tax_amount\": 2.93,\n                            \"discount_invoiced\": 2.99,\n                            \"row_total\": 13.46,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 16.45,\n                            \"price_incl_tax\": 19.9,\n                            \"discount_tax_compensation_amount\": 0.52,\n                            \"base_discount_invoiced\": 2.99,\n                            \"product_id\": 4070,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 2.93,\n                            \"base_tax_amount\": 2.93,\n                            \"base_discount_tax_compensation_invoiced\": 0.52,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku2\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 16.45,\n                            \"row_invoiced\": 16.45,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 16.91,\n                            \"base_discount_amount\": 2.99,\n                            \"row_total_incl_tax\": 16.91,\n                            \"item_id\": 891116,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 47,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 13.46,\n                            \"tax_invoiced\": 2.93,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74798,\n                            \"base_discount_tax_compensation_amount\": 0.52,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 32.5,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        },\n                        {\n                            \"price\": 0,\n                            \"original_price\": 0,\n                            \"discount_percent\": 0,\n                            \"no_discount\": 0,\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0,\n                            \"discount_amount\": 0,\n                            \"tax_amount\": 0,\n                            \"discount_invoiced\": 0,\n                            \"parent_item\": {\n                                \"price\": 16.45,\n                                \"original_price\": 32.5,\n                                \"discount_percent\": 15,\n                                \"applied_rule_ids\": \"5\",\n                                \"sku\": \"sku2\",\n                                \"row_weight\": 0,\n                                \"discount_tax_compensation_invoiced\": 0.52,\n                                \"base_price_incl_tax\": 19.9,\n                                \"discount_amount\": 2.99,\n                                \"tax_amount\": 2.93,\n                                \"discount_invoiced\": 2.99,\n                                \"row_total\": 13.46,\n                                \"product_type\": \"configurable\",\n                                \"base_row_invoiced\": 16.45,\n                                \"price_incl_tax\": 19.9,\n                                \"discount_tax_compensation_amount\": 0.52,\n                                \"base_discount_invoiced\": 2.99,\n                                \"product_id\": 4070,\n                                \"order_id\": 187040,\n                                \"base_tax_invoiced\": 2.93,\n                                \"base_tax_amount\": 2.93,\n                                \"base_discount_tax_compensation_invoiced\": 0.52,\n                                \"qty_ordered\": 1,\n                                \"name\": \"Nombre sku2\",\n                                \"created_at\": \"2022-01-10 12:25:41\",\n                                \"base_price\": 16.45,\n                                \"row_invoiced\": 16.45,\n                                \"qty_invoiced\": 1,\n                                \"base_row_total_incl_tax\": 16.91,\n                                \"base_discount_amount\": 2.99,\n                                \"row_total_incl_tax\": 16.91,\n                                \"item_id\": 891116,\n                                \"base_amount_refunded\": 0,\n                                \"product_option\": {\n                                    \"extension_attributes\": {\n                                        \"configurable_item_options\": [\n                                            {\n                                                \"option_value\": 47,\n                                                \"option_id\": \"93\"\n                                            }\n                                        ]\n                                    }\n                                },\n                                \"weee_tax_applied\": \"[]\",\n                                \"tax_percent\": 21,\n                                \"qty_shipped\": 0,\n                                \"base_row_total\": 13.46,\n                                \"tax_invoiced\": 2.93,\n                                \"free_shipping\": 0,\n                                \"quote_item_id\": 74798,\n                                \"base_discount_tax_compensation_amount\": 0.52,\n                                \"no_discount\": 0,\n                                \"base_original_price\": 32.5,\n                                \"amount_refunded\": 0,\n                                \"updated_at\": \"2022-01-10 12:26:39\",\n                                \"is_virtual\": 0,\n                                \"qty_refunded\": 0,\n                                \"qty_canceled\": 0,\n                                \"store_id\": 1,\n                                \"is_qty_decimal\": 0\n                            },\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"parent_item_id\": 891116,\n                            \"base_discount_invoiced\": 0,\n                            \"product_id\": 2826,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 0,\n                            \"base_tax_amount\": 0,\n                            \"base_discount_tax_compensation_invoiced\": 0,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Kit Iniciación Repostería Essential-ROJO\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 0,\n                            \"row_invoiced\": 0,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 0,\n                            \"base_discount_amount\": 0,\n                            \"row_total_incl_tax\": 0,\n                            \"item_id\": 891117,\n                            \"base_amount_refunded\": 0,\n                            \"product_type\": \"simple\",\n                            \"tax_percent\": 0,\n                            \"qty_shipped\": 0,\n                            \"row_total\": 0,\n                            \"base_row_total\": 0,\n                            \"tax_invoiced\": 0,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74799,\n                            \"amount_refunded\": 0,\n                            \"base_row_invoiced\": 0,\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        },\n                        {\n                            \"price\": 7.2,\n                            \"original_price\": 10.9,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.23,\n                            \"base_price_incl_tax\": 8.72,\n                            \"discount_amount\": 1.3,\n                            \"tax_amount\": 1.29,\n                            \"discount_invoiced\": 1.3,\n                            \"row_total\": 5.9,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 7.2,\n                            \"price_incl_tax\": 8.72,\n                            \"discount_tax_compensation_amount\": 0.23,\n                            \"base_discount_invoiced\": 1.3,\n                            \"product_id\": 3911,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 1.29,\n                            \"base_tax_amount\": 1.29,\n                            \"base_discount_tax_compensation_invoiced\": 0.23,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku1\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 7.2,\n                            \"row_invoiced\": 7.2,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 7.42,\n                            \"base_discount_amount\": 1.3,\n                            \"row_total_incl_tax\": 7.42,\n                            \"item_id\": 891118,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 62,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 5.9,\n                            \"tax_invoiced\": 1.29,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74806,\n                            \"base_discount_tax_compensation_amount\": 0.23,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 10.9,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        },\n                        {\n                            \"price\": 0,\n                            \"original_price\": 0,\n                            \"discount_percent\": 0,\n                            \"no_discount\": 0,\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0,\n                            \"discount_amount\": 0,\n                            \"tax_amount\": 0,\n                            \"discount_invoiced\": 0,\n                            \"parent_item\": {\n                                \"price\": 7.2,\n                                \"original_price\": 10.9,\n                                \"discount_percent\": 15,\n                                \"applied_rule_ids\": \"5\",\n                                \"sku\": \"sku1\",\n                                \"row_weight\": 0,\n                                \"discount_tax_compensation_invoiced\": 0.23,\n                                \"base_price_incl_tax\": 8.72,\n                                \"discount_amount\": 1.3,\n                                \"tax_amount\": 1.29,\n                                \"discount_invoiced\": 1.3,\n                                \"row_total\": 5.9,\n                                \"product_type\": \"configurable\",\n                                \"base_row_invoiced\": 7.2,\n                                \"price_incl_tax\": 8.72,\n                                \"discount_tax_compensation_amount\": 0.23,\n                                \"base_discount_invoiced\": 1.3,\n                                \"product_id\": 3911,\n                                \"order_id\": 187040,\n                                \"base_tax_invoiced\": 1.29,\n                                \"base_tax_amount\": 1.29,\n                                \"base_discount_tax_compensation_invoiced\": 0.23,\n                                \"qty_ordered\": 1,\n                                \"name\": \"Nombre sku1\",\n                                \"created_at\": \"2022-01-10 12:25:41\",\n                                \"base_price\": 7.2,\n                                \"row_invoiced\": 7.2,\n                                \"qty_invoiced\": 1,\n                                \"base_row_total_incl_tax\": 7.42,\n                                \"base_discount_amount\": 1.3,\n                                \"row_total_incl_tax\": 7.42,\n                                \"item_id\": 891118,\n                                \"base_amount_refunded\": 0,\n                                \"product_option\": {\n                                    \"extension_attributes\": {\n                                        \"configurable_item_options\": [\n                                            {\n                                                \"option_value\": 62,\n                                                \"option_id\": \"93\"\n                                            }\n                                        ]\n                                    }\n                                },\n                                \"weee_tax_applied\": \"[]\",\n                                \"tax_percent\": 21,\n                                \"qty_shipped\": 0,\n                                \"base_row_total\": 5.9,\n                                \"tax_invoiced\": 1.29,\n                                \"free_shipping\": 0,\n                                \"quote_item_id\": 74806,\n                                \"base_discount_tax_compensation_amount\": 0.23,\n                                \"no_discount\": 0,\n                                \"base_original_price\": 10.9,\n                                \"amount_refunded\": 0,\n                                \"updated_at\": \"2022-01-10 12:26:39\",\n                                \"is_virtual\": 0,\n                                \"qty_refunded\": 0,\n                                \"qty_canceled\": 0,\n                                \"store_id\": 1,\n                                \"is_qty_decimal\": 0\n                            },\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"parent_item_id\": 891118,\n                            \"base_discount_invoiced\": 0,\n                            \"product_id\": 2597,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 0,\n                            \"base_tax_amount\": 0,\n                            \"base_discount_tax_compensation_invoiced\": 0,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku1\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 0,\n                            \"row_invoiced\": 0,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 0,\n                            \"base_discount_amount\": 0,\n                            \"row_total_incl_tax\": 0,\n                            \"item_id\": 891119,\n                            \"base_amount_refunded\": 0,\n                            \"product_type\": \"simple\",\n                            \"tax_percent\": 0,\n                            \"qty_shipped\": 0,\n                            \"row_total\": 0,\n                            \"base_row_total\": 0,\n                            \"tax_invoiced\": 0,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74807,\n                            \"amount_refunded\": 0,\n                            \"base_row_invoiced\": 0,\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        }\n                    ],\n                    \"shipping_description\": \"Envíos - Envío estándar\",\n                    \"total_due\": 0,\n                    \"total_item_count\": 2,\n                    \"coupon_code\": \"TESTCOUPON\",\n                    \"customer_is_guest\": 0,\n                    \"customer_email\": \"test@email.com\",\n                    \"email_sent\": 1,\n                    \"increment_id\": \"35194537\",\n                    \"base_grand_total\": 24.33,\n                    \"x_forwarded_for\": \"212.145.156.77\",\n                    \"discount_amount\": -4.29,\n                    \"tax_amount\": 4.22,\n                    \"base_shipping_discount_tax_compensation_amnt\": 0,\n                    \"discount_invoiced\": -4.29,\n                    \"applied_rule_ids\": \"5\",\n                    \"total_qty_ordered\": 2,\n                    \"base_currency_code\": \"EUR\",\n                    \"status\": \"processing_redsys\",\n                    \"base_to_order_rate\": 1,\n                    \"subtotal_incl_tax\": 28.62,\n                    \"protect_code\": \"01c95419b32c30c2b2552xxx330a602b0da\",\n                    \"total_paid\": 24.33,\n                    \"base_total_due\": 0,\n                    \"store_currency_code\": \"EUR\",\n                    \"base_discount_invoiced\": -4.29,\n                    \"base_shipping_incl_tax\": 0,\n                    \"customer_group_id\": 1,\n                    \"base_subtotal_incl_tax\": 28.62,\n                    \"grand_total\": 24.33,\n                    \"total_invoiced\": 24.33,\n                    \"order_currency_code\": \"EUR\",\n                    \"base_shipping_invoiced\": 0,\n                    \"base_tax_invoiced\": 4.22,\n                    \"state\": \"processing\",\n                    \"base_discount_tax_compensation_invoiced\": 0.75,\n                    \"store_to_order_rate\": 0,\n                    \"quote_id\": 17741,\n                    \"base_total_invoiced\": 24.33,\n                    \"created_at\": \"2022-01-10 12:25:41\",\n                    \"status_histories\": [\n                        {\n                            \"parent_id\": 187040,\n                            \"entity_name\": \"invoice\",\n                            \"comment\": \"Cantidad capturada de 24,33 € en línea. Identificador de la transacción: \\\"REDSYS_112345\\\"\",\n                            \"is_customer_notified\": null,\n                            \"is_visible_on_front\": 0,\n                            \"status\": \"processing\",\n                            \"created_at\": \"2022-01-10 12:26:39\",\n                            \"entity_id\": 1183147\n                        },\n                        {\n                            \"parent_id\": 187040,\n                            \"entity_name\": \"order\",\n                            \"comment\": \"Payment transaction captured from gateway with ID \\\"REDSYS_112345\\\". Order will be marked as paid.\",\n                            \"is_customer_notified\": null,\n                            \"is_visible_on_front\": 0,\n                            \"status\": \"processing_redsys\",\n                            \"created_at\": \"2022-01-10 12:26:38\",\n                            \"entity_id\": 1183146\n                        },\n                        {\n                            \"parent_id\": 187040,\n                            \"entity_name\": \"order\",\n                            \"comment\": null,\n                            \"is_customer_notified\": 1,\n                            \"is_visible_on_front\": 0,\n                            \"status\": \"pending\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"entity_id\": 1183143\n                        }\n                    ],\n                    \"base_tax_amount\": 4.22,\n                    \"weight\": 0,\n                    \"customer_lastname\": \"name\",\n                    \"shipping_amount\": 0,\n                    \"base_discount_amount\": -4.29,\n                    \"base_total_paid\": 24.33,\n                    \"base_shipping_tax_amount\": 0,\n                    \"customer_note_notify\": 0,\n                    \"remote_ip\": \"212.145.156.77\",\n                    \"entity_id\": 187040,\n                    \"subtotal_invoiced\": 23.65,\n                    \"discount_description\": \"TESTCOUPON\",\n                    \"global_currency_code\": \"EUR\",\n                    \"shipping_incl_tax\": 0,\n                    \"base_to_global_rate\": 1,\n                    \"shipping_tax_amount\": 0,\n                    \"discount_tax_compensation_amount\": 0.75,\n                    \"billing_address_id\": 374051,\n                    \"store_to_base_rate\": 0,\n                    \"base_shipping_amount\": 0,\n                    \"tax_invoiced\": 4.22,\n                    \"payment\": {\n                        \"parent_id\": 187040,\n                        \"cc_last4\": null,\n                        \"shipping_amount\": 0,\n                        \"cc_ss_start_month\": \"0\",\n                        \"amount_ordered\": 24.33,\n                        \"method\": \"redsys\",\n                        \"base_amount_ordered\": 24.33,\n                        \"shipping_captured\": 0,\n                        \"last_trans_id\": \"REDSYS_112345\",\n                        \"base_amount_paid\": 24.33,\n                        \"entity_id\": 187026,\n                        \"additional_information\": [\n                            \"Pago tarjeta\"\n                        ],\n                        \"account_status\": null,\n                        \"amount_paid\": 24.33,\n                        \"cc_ss_start_year\": \"0\",\n                        \"base_amount_paid_online\": 24.33,\n                        \"cc_exp_year\": \"0\",\n                        \"base_shipping_captured\": 0,\n                        \"base_shipping_amount\": 0\n                    },\n                    \"shipping_invoiced\": 0,\n                    \"discount_tax_compensation_invoiced\": 0.75,\n                    \"base_discount_tax_compensation_amount\": 0.75,\n                    \"base_subtotal\": 23.65,\n                    \"base_shipping_discount_amount\": 0,\n                    \"customer_firstname\": \"test\",\n                    \"updated_at\": \"2022-01-10 12:26:39\",\n                    \"extension_attributes\": {\n                        \"need_invoice\": false,\n                        \"applied_taxes\": [\n                            {\n                                \"title\": \"IVA General\",\n                                \"percent\": 21,\n                                \"code\": \"IVA General\",\n                                \"amount\": 4.22,\n                                \"base_amount\": 4.22\n                            }\n                        ],\n                        \"item_applied_taxes\": [\n                            {\n                                \"applied_taxes\": [\n                                    {\n                                        \"title\": \"IVA General\",\n                                        \"percent\": 21,\n                                        \"code\": \"IVA General\",\n                                        \"amount\": 0,\n                                        \"base_amount\": 0\n                                    }\n                                ],\n                                \"type\": \"shipping\"\n                            },\n                            {\n                                \"item_id\": 891116,\n                                \"applied_taxes\": [\n                                    {\n                                        \"title\": \"IVA General\",\n                                        \"percent\": 21,\n                                        \"code\": \"IVA General\",\n                                        \"amount\": 2.93,\n                                        \"base_amount\": 2.93\n                                    }\n                                ],\n                                \"type\": \"product\"\n                            },\n                            {\n                                \"item_id\": 891118,\n                                \"applied_taxes\": [\n                                    {\n                                        \"title\": \"IVA General\",\n                                        \"percent\": 21,\n                                        \"code\": \"IVA General\",\n                                        \"amount\": 1.29,\n                                        \"base_amount\": 1.29\n                                    }\n                                ],\n                                \"type\": \"product\"\n                            }\n                        ],\n                        \"converting_from_quote\": true,\n                        \"shipping_assignments\": [\n                            {\n                                \"items\": [\n                                    {\n                                        \"price\": 16.45,\n                                        \"original_price\": 32.5,\n                                        \"discount_percent\": 15,\n                                        \"applied_rule_ids\": \"5\",\n                                        \"sku\": \"sku2\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0.52,\n                                        \"base_price_incl_tax\": 19.9,\n                                        \"discount_amount\": 2.99,\n                                        \"tax_amount\": 2.93,\n                                        \"discount_invoiced\": 2.99,\n                                        \"row_total\": 13.46,\n                                        \"product_type\": \"configurable\",\n                                        \"base_row_invoiced\": 16.45,\n                                        \"price_incl_tax\": 19.9,\n                                        \"discount_tax_compensation_amount\": 0.52,\n                                        \"base_discount_invoiced\": 2.99,\n                                        \"product_id\": 4070,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 2.93,\n                                        \"base_tax_amount\": 2.93,\n                                        \"base_discount_tax_compensation_invoiced\": 0.52,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku2\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 16.45,\n                                        \"row_invoiced\": 16.45,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 16.91,\n                                        \"base_discount_amount\": 2.99,\n                                        \"row_total_incl_tax\": 16.91,\n                                        \"item_id\": 891116,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_option\": {\n                                            \"extension_attributes\": {\n                                                \"configurable_item_options\": [\n                                                    {\n                                                        \"option_value\": 47,\n                                                        \"option_id\": \"93\"\n                                                    }\n                                                ]\n                                            }\n                                        },\n                                        \"weee_tax_applied\": \"[]\",\n                                        \"tax_percent\": 21,\n                                        \"qty_shipped\": 0,\n                                        \"base_row_total\": 13.46,\n                                        \"tax_invoiced\": 2.93,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74798,\n                                        \"base_discount_tax_compensation_amount\": 0.52,\n                                        \"no_discount\": 0,\n                                        \"base_original_price\": 32.5,\n                                        \"amount_refunded\": 0,\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    },\n                                    {\n                                        \"price\": 0,\n                                        \"original_price\": 0,\n                                        \"discount_percent\": 0,\n                                        \"no_discount\": 0,\n                                        \"sku\": \"sku2\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0,\n                                        \"discount_amount\": 0,\n                                        \"tax_amount\": 0,\n                                        \"discount_invoiced\": 0,\n                                        \"parent_item\": {\n                                            \"price\": 16.45,\n                                            \"original_price\": 32.5,\n                                            \"discount_percent\": 15,\n                                            \"applied_rule_ids\": \"5\",\n                                            \"sku\": \"sku2\",\n                                            \"row_weight\": 0,\n                                            \"discount_tax_compensation_invoiced\": 0.52,\n                                            \"base_price_incl_tax\": 19.9,\n                                            \"discount_amount\": 2.99,\n                                            \"tax_amount\": 2.93,\n                                            \"discount_invoiced\": 2.99,\n                                            \"row_total\": 13.46,\n                                            \"product_type\": \"configurable\",\n                                            \"base_row_invoiced\": 16.45,\n                                            \"price_incl_tax\": 19.9,\n                                            \"discount_tax_compensation_amount\": 0.52,\n                                            \"base_discount_invoiced\": 2.99,\n                                            \"product_id\": 4070,\n                                            \"order_id\": 187040,\n                                            \"base_tax_invoiced\": 2.93,\n                                            \"base_tax_amount\": 2.93,\n                                            \"base_discount_tax_compensation_invoiced\": 0.52,\n                                            \"qty_ordered\": 1,\n                                            \"name\": \"Nombre sku2\",\n                                            \"created_at\": \"2022-01-10 12:25:41\",\n                                            \"base_price\": 16.45,\n                                            \"row_invoiced\": 16.45,\n                                            \"qty_invoiced\": 1,\n                                            \"base_row_total_incl_tax\": 16.91,\n                                            \"base_discount_amount\": 2.99,\n                                            \"row_total_incl_tax\": 16.91,\n                                            \"item_id\": 891116,\n                                            \"base_amount_refunded\": 0,\n                                            \"product_option\": {\n                                                \"extension_attributes\": {\n                                                    \"configurable_item_options\": [\n                                                        {\n                                                            \"option_value\": 47,\n                                                            \"option_id\": \"93\"\n                                                        }\n                                                    ]\n                                                }\n                                            },\n                                            \"weee_tax_applied\": \"[]\",\n                                            \"tax_percent\": 21,\n                                            \"qty_shipped\": 0,\n                                            \"base_row_total\": 13.46,\n                                            \"tax_invoiced\": 2.93,\n                                            \"free_shipping\": 0,\n                                            \"quote_item_id\": 74798,\n                                            \"base_discount_tax_compensation_amount\": 0.52,\n                                            \"no_discount\": 0,\n                                            \"base_original_price\": 32.5,\n                                            \"amount_refunded\": 0,\n                                            \"updated_at\": \"2022-01-10 12:26:39\",\n                                            \"is_virtual\": 0,\n                                            \"qty_refunded\": 0,\n                                            \"qty_canceled\": 0,\n                                            \"store_id\": 1,\n                                            \"is_qty_decimal\": 0\n                                        },\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"parent_item_id\": 891116,\n                                        \"base_discount_invoiced\": 0,\n                                        \"product_id\": 2826,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 0,\n                                        \"base_tax_amount\": 0,\n                                        \"base_discount_tax_compensation_invoiced\": 0,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku2\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 0,\n                                        \"row_invoiced\": 0,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 0,\n                                        \"base_discount_amount\": 0,\n                                        \"row_total_incl_tax\": 0,\n                                        \"item_id\": 891117,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_type\": \"simple\",\n                                        \"tax_percent\": 0,\n                                        \"qty_shipped\": 0,\n                                        \"row_total\": 0,\n                                        \"base_row_total\": 0,\n                                        \"tax_invoiced\": 0,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74799,\n                                        \"amount_refunded\": 0,\n                                        \"base_row_invoiced\": 0,\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    },\n                                    {\n                                        \"price\": 7.2,\n                                        \"original_price\": 10.9,\n                                        \"discount_percent\": 15,\n                                        \"applied_rule_ids\": \"5\",\n                                        \"sku\": \"sku1\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0.23,\n                                        \"base_price_incl_tax\": 8.72,\n                                        \"discount_amount\": 1.3,\n                                        \"tax_amount\": 1.29,\n                                        \"discount_invoiced\": 1.3,\n                                        \"row_total\": 5.9,\n                                        \"product_type\": \"configurable\",\n                                        \"base_row_invoiced\": 7.2,\n                                        \"price_incl_tax\": 8.72,\n                                        \"discount_tax_compensation_amount\": 0.23,\n                                        \"base_discount_invoiced\": 1.3,\n                                        \"product_id\": 3911,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 1.29,\n                                        \"base_tax_amount\": 1.29,\n                                        \"base_discount_tax_compensation_invoiced\": 0.23,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku1\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 7.2,\n                                        \"row_invoiced\": 7.2,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 7.42,\n                                        \"base_discount_amount\": 1.3,\n                                        \"row_total_incl_tax\": 7.42,\n                                        \"item_id\": 891118,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_option\": {\n                                            \"extension_attributes\": {\n                                                \"configurable_item_options\": [\n                                                    {\n                                                        \"option_value\": 62,\n                                                        \"option_id\": \"93\"\n                                                    }\n                                                ]\n                                            }\n                                        },\n                                        \"weee_tax_applied\": \"[]\",\n                                        \"tax_percent\": 21,\n                                        \"qty_shipped\": 0,\n                                        \"base_row_total\": 5.9,\n                                        \"tax_invoiced\": 1.29,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74806,\n                                        \"base_discount_tax_compensation_amount\": 0.23,\n                                        \"no_discount\": 0,\n                                        \"base_original_price\": 10.9,\n                                        \"amount_refunded\": 0,\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    },\n                                    {\n                                        \"price\": 0,\n                                        \"original_price\": 0,\n                                        \"discount_percent\": 0,\n                                        \"no_discount\": 0,\n                                        \"sku\": \"sku1\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0,\n                                        \"discount_amount\": 0,\n                                        \"tax_amount\": 0,\n                                        \"discount_invoiced\": 0,\n                                        \"parent_item\": {\n                                            \"price\": 7.2,\n                                            \"original_price\": 10.9,\n                                            \"discount_percent\": 15,\n                                            \"applied_rule_ids\": \"5\",\n                                            \"sku\": \"sku1\",\n                                            \"row_weight\": 0,\n                                            \"discount_tax_compensation_invoiced\": 0.23,\n                                            \"base_price_incl_tax\": 8.72,\n                                            \"discount_amount\": 1.3,\n                                            \"tax_amount\": 1.29,\n                                            \"discount_invoiced\": 1.3,\n                                            \"row_total\": 5.9,\n                                            \"product_type\": \"configurable\",\n                                            \"base_row_invoiced\": 7.2,\n                                            \"price_incl_tax\": 8.72,\n                                            \"discount_tax_compensation_amount\": 0.23,\n                                            \"base_discount_invoiced\": 1.3,\n                                            \"product_id\": 3911,\n                                            \"order_id\": 187040,\n                                            \"base_tax_invoiced\": 1.29,\n                                            \"base_tax_amount\": 1.29,\n                                            \"base_discount_tax_compensation_invoiced\": 0.23,\n                                            \"qty_ordered\": 1,\n                                            \"name\": \"Nombre sku1\",\n                                            \"created_at\": \"2022-01-10 12:25:41\",\n                                            \"base_price\": 7.2,\n                                            \"row_invoiced\": 7.2,\n                                            \"qty_invoiced\": 1,\n                                            \"base_row_total_incl_tax\": 7.42,\n                                            \"base_discount_amount\": 1.3,\n                                            \"row_total_incl_tax\": 7.42,\n                                            \"item_id\": 891118,\n                                            \"base_amount_refunded\": 0,\n                                            \"product_option\": {\n                                                \"extension_attributes\": {\n                                                    \"configurable_item_options\": [\n                                                        {\n                                                            \"option_value\": 62,\n                                                            \"option_id\": \"93\"\n                                                        }\n                                                    ]\n                                                }\n                                            },\n                                            \"weee_tax_applied\": \"[]\",\n                                            \"tax_percent\": 21,\n                                            \"qty_shipped\": 0,\n                                            \"base_row_total\": 5.9,\n                                            \"tax_invoiced\": 1.29,\n                                            \"free_shipping\": 0,\n                                            \"quote_item_id\": 74806,\n                                            \"base_discount_tax_compensation_amount\": 0.23,\n                                            \"no_discount\": 0,\n                                            \"base_original_price\": 10.9,\n                                            \"amount_refunded\": 0,\n                                            \"updated_at\": \"2022-01-10 12:26:39\",\n                                            \"is_virtual\": 0,\n                                            \"qty_refunded\": 0,\n                                            \"qty_canceled\": 0,\n                                            \"store_id\": 1,\n                                            \"is_qty_decimal\": 0\n                                        },\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"parent_item_id\": 891118,\n                                        \"base_discount_invoiced\": 0,\n                                        \"product_id\": 2597,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 0,\n                                        \"base_tax_amount\": 0,\n                                        \"base_discount_tax_compensation_invoiced\": 0,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku1\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 0,\n                                        \"row_invoiced\": 0,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 0,\n                                        \"base_discount_amount\": 0,\n                                        \"row_total_incl_tax\": 0,\n                                        \"item_id\": 891119,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_type\": \"simple\",\n                                        \"tax_percent\": 0,\n                                        \"qty_shipped\": 0,\n                                        \"row_total\": 0,\n                                        \"base_row_total\": 0,\n                                        \"tax_invoiced\": 0,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74807,\n                                        \"amount_refunded\": 0,\n                                        \"base_row_invoiced\": 0,\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    }\n                                ],\n                                \"shipping\": {\n                                    \"method\": \"matrixrate_matrixrate_22\",\n                                    \"address\": {\n                                        \"email\": \"test@email.com\",\n                                        \"telephone\": \"666666666\",\n                                        \"customer_address_id\": 180815,\n                                        \"firstname\": \"test\",\n                                        \"street\": [\n                                            \"calle test 1\"\n                                        ],\n                                        \"parent_id\": 187040,\n                                        \"postcode\": \"08906\",\n                                        \"entity_id\": 374050,\n                                        \"address_type\": \"shipping\",\n                                        \"country_id\": \"ES\",\n                                        \"region_id\": 139,\n                                        \"region_code\": \"Barcelona\",\n                                        \"lastname\": \"name\",\n                                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                                        \"region\": \"Barcelona\"\n                                    },\n                                    \"total\": {\n                                        \"shipping_invoiced\": 0,\n                                        \"shipping_discount_amount\": 0,\n                                        \"shipping_amount\": 0,\n                                        \"base_shipping_incl_tax\": 0,\n                                        \"base_shipping_tax_amount\": 0,\n                                        \"base_shipping_discount_amount\": 0,\n                                        \"base_shipping_invoiced\": 0,\n                                        \"shipping_incl_tax\": 0,\n                                        \"base_shipping_discount_tax_compensation_amnt\": 0,\n                                        \"shipping_tax_amount\": 0,\n                                        \"base_shipping_amount\": 0,\n                                        \"shipping_discount_tax_compensation_amount\": 0\n                                    }\n                                }\n                            }\n                        ],\n                        \"payment_additional_info\": [\n                            {\n                                \"key\": \"method_title\",\n                                \"value\": \"Pago tarjeta\"\n                            }\n                        ],\n                        \"fooman_total_group\": {\n                            \"items\": []\n                        },\n                        \"smartie_sync_status\": \"not_ready_to_sync\"\n                    },\n                    \"is_virtual\": 0,\n                    \"customer_id\": 183667,\n                    \"base_subtotal_invoiced\": 23.65,\n                    \"billing_address\": {\n                        \"email\": \"test@email.com\",\n                        \"telephone\": \"666666666\",\n                        \"customer_address_id\": 180815,\n                        \"firstname\": \"test\",\n                        \"street\": [\n                            \"calle test 1\"\n                        ],\n                        \"parent_id\": 187040,\n                        \"postcode\": \"08906\",\n                        \"entity_id\": 374051,\n                        \"address_type\": \"billing\",\n                        \"country_id\": \"ES\",\n                        \"region_id\": 139,\n                        \"region_code\": \"Barcelona\",\n                        \"lastname\": \"name\",\n                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                        \"region\": \"Barcelona\"\n                    },\n                    \"store_name\": \"España\\nEspaña\\nES\",\n                    \"store_id\": 1,\n                    \"subtotal\": 23.65,\n                    \"shipping_discount_tax_compensation_amount\": 0,\n                    \"shipping_discount_amount\": 0,\n                    \"base_total_invoiced_cost\": 0\n                }\n            },\n            \"channel_create_date\": \"2022-01-10T13:25:41+01:00\",\n            \"store_pickup\": false\n        }\n    ]\n}"},{"id":"15af5ffc-bd3d-4430-b5dd-e90aec3c92eb","name":"O01 - Get orders from customer email","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://demo.smartie.io/api/v1/orders/?customer__email=test@email.com","host":["https://demo.smartie.io/api"],"path":["v1","orders",""],"query":[{"key":"customer__email","value":"test@email.com"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 4856,\n            \"order_lines\": [\n                {\n                    \"id\": 11244,\n                    \"created_at\": \"2022-01-10T13:30:03.540352+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:03.540378+01:00\",\n                    \"reference\": \"sku1\",\n                    \"quantity\": 1,\n                    \"currency\": \"EUR\",\n                    \"regular_unit_price_without_tax\": \"7.20\",\n                    \"unit_price_with_tax\": \"8.72\",\n                    \"unit_price_without_tax\": \"7.20\",\n                    \"unit_price_tax_type\": \"0.00\",\n                    \"regular_unit_price_tax\": \"10.90\",\n                    \"regular_unit_price_with_tax\": \"10.90\",\n                    \"discount\": \"15.00\",\n                    \"total_without_tax\": \"5.90\",\n                    \"total_tax\": \"1.29\",\n                    \"total\": \"7.42\",\n                    \"coupons\": null,\n                    \"comments\": null,\n                    \"extra\": {\n                        \"magento2\": {\n                            \"price\": 7.2,\n                            \"original_price\": 10.9,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.23,\n                            \"base_price_incl_tax\": 8.72,\n                            \"discount_amount\": 1.3,\n                            \"tax_amount\": 1.29,\n                            \"discount_invoiced\": 1.3,\n                            \"row_total\": 5.9,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 7.2,\n                            \"price_incl_tax\": 8.72,\n                            \"discount_tax_compensation_amount\": 0.23,\n                            \"base_discount_invoiced\": 1.3,\n                            \"product_id\": 3911,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 1.29,\n                            \"base_tax_amount\": 1.29,\n                            \"base_discount_tax_compensation_invoiced\": 0.23,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku1\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 7.2,\n                            \"row_invoiced\": 7.2,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 7.42,\n                            \"base_discount_amount\": 1.3,\n                            \"row_total_incl_tax\": 7.42,\n                            \"item_id\": 891118,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 62,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 5.9,\n                            \"tax_invoiced\": 1.29,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74806,\n                            \"base_discount_tax_compensation_amount\": 0.23,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 10.9,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        }\n                    },\n                    \"product_snapshot\": {},\n                    \"product_view\": null\n                },\n                {\n                    \"id\": 11243,\n                    \"created_at\": \"2022-01-10T13:30:03.538355+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:03.538382+01:00\",\n                    \"reference\": \"sku2\",\n                    \"quantity\": 1,\n                    \"currency\": \"EUR\",\n                    \"regular_unit_price_without_tax\": \"16.45\",\n                    \"unit_price_with_tax\": \"19.90\",\n                    \"unit_price_without_tax\": \"16.45\",\n                    \"unit_price_tax_type\": \"0.00\",\n                    \"regular_unit_price_tax\": \"32.50\",\n                    \"regular_unit_price_with_tax\": \"32.50\",\n                    \"discount\": \"15.00\",\n                    \"total_without_tax\": \"13.46\",\n                    \"total_tax\": \"2.93\",\n                    \"total\": \"16.91\",\n                    \"coupons\": null,\n                    \"comments\": null,\n                    \"extra\": {\n                        \"magento2\": {\n                            \"price\": 16.45,\n                            \"original_price\": 32.5,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku2\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.52,\n                            \"base_price_incl_tax\": 19.9,\n                            \"discount_amount\": 2.99,\n                            \"tax_amount\": 2.93,\n                            \"discount_invoiced\": 2.99,\n                            \"row_total\": 13.46,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 16.45,\n                            \"price_incl_tax\": 19.9,\n                            \"discount_tax_compensation_amount\": 0.52,\n                            \"base_discount_invoiced\": 2.99,\n                            \"product_id\": 4070,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 2.93,\n                            \"base_tax_amount\": 2.93,\n                            \"base_discount_tax_compensation_invoiced\": 0.52,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku2\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 16.45,\n                            \"row_invoiced\": 16.45,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 16.91,\n                            \"base_discount_amount\": 2.99,\n                            \"row_total_incl_tax\": 16.91,\n                            \"item_id\": 891116,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 47,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 13.46,\n                            \"tax_invoiced\": 2.93,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74798,\n                            \"base_discount_tax_compensation_amount\": 0.52,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 32.5,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        }\n                    },\n                    \"product_snapshot\": {},\n                    \"product_view\": null\n                }\n            ],\n            \"customer\": {\n                \"id\": 4856,\n                \"created_at\": \"2022-01-10T13:30:03.533504+01:00\",\n                \"updated_at\": \"2022-01-10T13:30:03.533531+01:00\",\n                \"reference\": \"183667\",\n                \"email\": \"test@email.com\",\n                \"first_name\": \"test\",\n                \"last_name\": \"name\",\n                \"nif\": null,\n                \"telephone\": null,\n                \"gender\": null,\n                \"comments\": null,\n                \"extra\": {}\n            },\n            \"shipping_address\": {\n                \"id\": 58981,\n                \"created_at\": \"2022-01-10T13:30:03.530969+01:00\",\n                \"updated_at\": \"2022-01-10T13:30:03.530993+01:00\",\n                \"email\": \"test@email.com\",\n                \"first_name\": \"test\",\n                \"last_name\": \"name\",\n                \"nif\": null,\n                \"telephone\": \"666666666\",\n                \"country\": \"ES\",\n                \"region\": \"Barcelona\",\n                \"city\": \"HOSPITALET DE LLOBREGAT\",\n                \"postal_code\": \"08906\",\n                \"address\": \"calle test 1\",\n                \"comments\": null,\n                \"extra\": {\n                    \"magento2\": {\n                        \"email\": \"test@email.com\",\n                        \"telephone\": \"666666666\",\n                        \"customer_address_id\": 180815,\n                        \"firstname\": \"test\",\n                        \"street\": [\n                            \"calle test 1\"\n                        ],\n                        \"parent_id\": 187040,\n                        \"postcode\": \"08906\",\n                        \"entity_id\": 374050,\n                        \"address_type\": \"shipping\",\n                        \"country_id\": \"ES\",\n                        \"region_id\": 139,\n                        \"region_code\": \"Barcelona\",\n                        \"lastname\": \"name\",\n                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                        \"region\": \"Barcelona\"\n                    }\n                }\n            },\n            \"billing_address\": {\n                \"id\": 58982,\n                \"created_at\": \"2022-01-10T13:30:03.532469+01:00\",\n                \"updated_at\": \"2022-01-10T13:30:03.532493+01:00\",\n                \"email\": \"test@email.com\",\n                \"first_name\": \"test\",\n                \"last_name\": \"name\",\n                \"nif\": null,\n                \"telephone\": \"666666666\",\n                \"country\": \"ES\",\n                \"region\": \"Barcelona\",\n                \"city\": \"HOSPITALET DE LLOBREGAT\",\n                \"postal_code\": \"08906\",\n                \"address\": \"calle test 1\",\n                \"comments\": null,\n                \"extra\": {\n                    \"magento2\": {\n                        \"email\": \"test@email.com\",\n                        \"telephone\": \"666666666\",\n                        \"customer_address_id\": 180815,\n                        \"firstname\": \"test\",\n                        \"street\": [\n                            \"calle test 1\"\n                        ],\n                        \"parent_id\": 187040,\n                        \"postcode\": \"08906\",\n                        \"entity_id\": 374051,\n                        \"address_type\": \"billing\",\n                        \"country_id\": \"ES\",\n                        \"region_id\": 139,\n                        \"region_code\": \"Barcelona\",\n                        \"lastname\": \"name\",\n                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                        \"region\": \"Barcelona\"\n                    }\n                }\n            },\n            \"syncs\": [\n                {\n                    \"id\": 14226,\n                    \"integration_system\": {\n                        \"id\": 1,\n                        \"active\": true,\n                        \"created_at\": \"2021-06-15T14:01:16.465942+02:00\",\n                        \"updated_at\": \"2021-12-02T11:17:26.115369+01:00\",\n                        \"name\": \"Magento\",\n                        \"code\": \"magento2_v1\",\n                        \"type\": \"magento2_v1\",\n                        \"config\": {\n                            \"connection_profile_id\": 7,\n                            \"ERP_TO_MAGENTO2_ORDER_STATUS\": {},\n                            \"MAGENTO2_CHANNEL_STATUS_SENT\": \"erp_sent\"\n                        }\n                    },\n                    \"created_at\": \"2022-01-10T13:30:06.408893+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:06.412651+01:00\",\n                    \"status\": \"SYNCHRONIZED\",\n                    \"extra\": {},\n                    \"order\": 4856,\n                    \"return_order\": null,\n                    \"shipment\": null\n                },\n                {\n                    \"id\": 14225,\n                    \"integration_system\": {\n                        \"id\": 2,\n                        \"active\": true,\n                        \"created_at\": \"2021-07-12T09:41:31.689372+02:00\",\n                        \"updated_at\": \"2021-12-16T16:21:53.648059+01:00\",\n                        \"name\": \"erp\",\n                        \"code\": \"erp\",\n                        \"type\": \"REST\",\n                        \"config\": {\n                            \"magento_cash_on_delivery_method\": \"cashondelivery\",\n                            \"connection_profile_id\": 9,\n                            \"magento_payment_method_map_to_erp\": {\n                                \"banktransfer\": \"(117)\",\n                                \"redsys\": \"(107)\",\n                                \"cashondelivery\": \"(110)\",\n                                \"paypal_express\": \"(108)\"\n                            }\n                        }\n                    },\n                    \"created_at\": \"2022-01-10T13:30:05.909861+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:05.912985+01:00\",\n                    \"status\": \"SYNCHRONIZED\",\n                    \"extra\": {},\n                    \"order\": 4856,\n                    \"return_order\": null,\n                    \"shipment\": null\n                }\n            ],\n            \"view\": {\n                \"id\": 6,\n                \"channel\": {\n                    \"id\": 5,\n                    \"active\": true,\n                    \"created_at\": \"2021-06-04T13:34:05.847453+02:00\",\n                    \"updated_at\": \"2021-08-25T09:55:37.089996+02:00\",\n                    \"name\": \"Magento\",\n                    \"type\": \"MAGENTO2\",\n                    \"is_origin\": true,\n                    \"config\": {\n                        \"MAGENTO2_EXPORT_PRODUCTS\": {\n                            \"media_custom_attributes\": {\n                                \"global\": [],\n                                \"website\": [],\n                                \"view\": []\n                            },\n                            \"attributes\": {\n                                \"global\": [\n                                    \"product_websites\",\n                                    \"type_of_cooking\",\n                                    \"usefulness\",\n                                    \"for_cooking\",\n                                    \"lifestyle\",\n                                    \"color\",\n                                    \"brand\",\n                                    \"ean\",\n                                    \"language\",\n                                    \"product_type\",\n                                    \"tiempo\",\n                                    \"to_sweeten_with\",\n                                    \"by_product_type\",\n                                    \"attribute_set_code\"\n                                ],\n                                \"website\": [\n                                    \"special_price\",\n                                    \"price\"\n                                ],\n                                \"view\": [\n                                    \"ingredients\",\n                                    \"diners_number\",\n                                    \"elaboration_time\",\n                                    \"peso\",\n                                    \"name\",\n                                    \"very_short_description\",\n                                    \"visibility\",\n                                    \"short_description\",\n                                    \"meta_title\",\n                                    \"medidas\",\n                                    \"material\",\n                                    \"detalles_temperatura\",\n                                    \"description\",\n                                    \"capacity\",\n                                    \"apto_para\"\n                                ]\n                            },\n                            \"grouped_products\": {\n                                \"default_qty\": 1\n                            },\n                            \"export_entities\": [\n                                \"bundle\",\n                                \"categories\",\n                                \"categories_position\",\n                                \"images\",\n                                \"relations\"\n                            ],\n                            \"view_website_mapping\": {\n                                \"es\": \"eu_es\",\n                                \"ca\": \"eu_es\",\n                                \"eu\": \"base\",\n                                \"en\": \"en\",\n                                \"fr\": \"eu_fr\"\n                            },\n                            \"views_to_export\": [\n                                \"eu\",\n                                \"en\",\n                                \"fr\",\n                                \"ca\",\n                                \"es\"\n                            ],\n                            \"default_view\": \"es\",\n                            \"variation_criterias\": [\n                                \"Color\"\n                            ]\n                        }\n                    },\n                    \"is_visible\": true\n                },\n                \"active\": true,\n                \"created_at\": \"2021-06-04T13:41:46.531232+02:00\",\n                \"updated_at\": \"2021-06-10T10:22:05.629344+02:00\",\n                \"name\": \"es\",\n                \"is_master\": true,\n                \"is_visible\": true,\n                \"locale\": 1\n            },\n            \"created_at\": \"2022-01-10T13:30:03.534838+01:00\",\n            \"updated_at\": \"2022-01-10T13:30:05.896035+01:00\",\n            \"reference\": \"35194537\",\n            \"local_status\": \"PENDING\",\n            \"channel_status\": \"processing\",\n            \"currency\": \"EUR\",\n            \"total_without_tax\": \"23.65\",\n            \"total_tax\": \"4.22\",\n            \"shipping_price\": \"0.00\",\n            \"shipping_price_tax_type\": \"0.00\",\n            \"discount\": \"-4.29\",\n            \"total\": \"24.33\",\n            \"payment_method\": \"redsys\",\n            \"shipping_method\": \"Envíos - Envío estándar\",\n            \"shipping_tax\": \"0.00\",\n            \"shipping_with_tax\": \"0.00\",\n            \"coupons\": null,\n            \"comments\": null,\n            \"extra\": {\n                \"magento2\": {\n                    \"items\": [\n                        {\n                            \"price\": 16.45,\n                            \"original_price\": 32.5,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku2\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.52,\n                            \"base_price_incl_tax\": 19.9,\n                            \"discount_amount\": 2.99,\n                            \"tax_amount\": 2.93,\n                            \"discount_invoiced\": 2.99,\n                            \"row_total\": 13.46,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 16.45,\n                            \"price_incl_tax\": 19.9,\n                            \"discount_tax_compensation_amount\": 0.52,\n                            \"base_discount_invoiced\": 2.99,\n                            \"product_id\": 4070,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 2.93,\n                            \"base_tax_amount\": 2.93,\n                            \"base_discount_tax_compensation_invoiced\": 0.52,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku2\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 16.45,\n                            \"row_invoiced\": 16.45,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 16.91,\n                            \"base_discount_amount\": 2.99,\n                            \"row_total_incl_tax\": 16.91,\n                            \"item_id\": 891116,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 47,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 13.46,\n                            \"tax_invoiced\": 2.93,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74798,\n                            \"base_discount_tax_compensation_amount\": 0.52,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 32.5,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        },\n                        {\n                            \"price\": 0,\n                            \"original_price\": 0,\n                            \"discount_percent\": 0,\n                            \"no_discount\": 0,\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0,\n                            \"discount_amount\": 0,\n                            \"tax_amount\": 0,\n                            \"discount_invoiced\": 0,\n                            \"parent_item\": {\n                                \"price\": 16.45,\n                                \"original_price\": 32.5,\n                                \"discount_percent\": 15,\n                                \"applied_rule_ids\": \"5\",\n                                \"sku\": \"sku2\",\n                                \"row_weight\": 0,\n                                \"discount_tax_compensation_invoiced\": 0.52,\n                                \"base_price_incl_tax\": 19.9,\n                                \"discount_amount\": 2.99,\n                                \"tax_amount\": 2.93,\n                                \"discount_invoiced\": 2.99,\n                                \"row_total\": 13.46,\n                                \"product_type\": \"configurable\",\n                                \"base_row_invoiced\": 16.45,\n                                \"price_incl_tax\": 19.9,\n                                \"discount_tax_compensation_amount\": 0.52,\n                                \"base_discount_invoiced\": 2.99,\n                                \"product_id\": 4070,\n                                \"order_id\": 187040,\n                                \"base_tax_invoiced\": 2.93,\n                                \"base_tax_amount\": 2.93,\n                                \"base_discount_tax_compensation_invoiced\": 0.52,\n                                \"qty_ordered\": 1,\n                                \"name\": \"Nombre sku2\",\n                                \"created_at\": \"2022-01-10 12:25:41\",\n                                \"base_price\": 16.45,\n                                \"row_invoiced\": 16.45,\n                                \"qty_invoiced\": 1,\n                                \"base_row_total_incl_tax\": 16.91,\n                                \"base_discount_amount\": 2.99,\n                                \"row_total_incl_tax\": 16.91,\n                                \"item_id\": 891116,\n                                \"base_amount_refunded\": 0,\n                                \"product_option\": {\n                                    \"extension_attributes\": {\n                                        \"configurable_item_options\": [\n                                            {\n                                                \"option_value\": 47,\n                                                \"option_id\": \"93\"\n                                            }\n                                        ]\n                                    }\n                                },\n                                \"weee_tax_applied\": \"[]\",\n                                \"tax_percent\": 21,\n                                \"qty_shipped\": 0,\n                                \"base_row_total\": 13.46,\n                                \"tax_invoiced\": 2.93,\n                                \"free_shipping\": 0,\n                                \"quote_item_id\": 74798,\n                                \"base_discount_tax_compensation_amount\": 0.52,\n                                \"no_discount\": 0,\n                                \"base_original_price\": 32.5,\n                                \"amount_refunded\": 0,\n                                \"updated_at\": \"2022-01-10 12:26:39\",\n                                \"is_virtual\": 0,\n                                \"qty_refunded\": 0,\n                                \"qty_canceled\": 0,\n                                \"store_id\": 1,\n                                \"is_qty_decimal\": 0\n                            },\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"parent_item_id\": 891116,\n                            \"base_discount_invoiced\": 0,\n                            \"product_id\": 2826,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 0,\n                            \"base_tax_amount\": 0,\n                            \"base_discount_tax_compensation_invoiced\": 0,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Kit Iniciación Repostería Essential-ROJO\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 0,\n                            \"row_invoiced\": 0,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 0,\n                            \"base_discount_amount\": 0,\n                            \"row_total_incl_tax\": 0,\n                            \"item_id\": 891117,\n                            \"base_amount_refunded\": 0,\n                            \"product_type\": \"simple\",\n                            \"tax_percent\": 0,\n                            \"qty_shipped\": 0,\n                            \"row_total\": 0,\n                            \"base_row_total\": 0,\n                            \"tax_invoiced\": 0,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74799,\n                            \"amount_refunded\": 0,\n                            \"base_row_invoiced\": 0,\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        },\n                        {\n                            \"price\": 7.2,\n                            \"original_price\": 10.9,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.23,\n                            \"base_price_incl_tax\": 8.72,\n                            \"discount_amount\": 1.3,\n                            \"tax_amount\": 1.29,\n                            \"discount_invoiced\": 1.3,\n                            \"row_total\": 5.9,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 7.2,\n                            \"price_incl_tax\": 8.72,\n                            \"discount_tax_compensation_amount\": 0.23,\n                            \"base_discount_invoiced\": 1.3,\n                            \"product_id\": 3911,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 1.29,\n                            \"base_tax_amount\": 1.29,\n                            \"base_discount_tax_compensation_invoiced\": 0.23,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku1\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 7.2,\n                            \"row_invoiced\": 7.2,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 7.42,\n                            \"base_discount_amount\": 1.3,\n                            \"row_total_incl_tax\": 7.42,\n                            \"item_id\": 891118,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 62,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 5.9,\n                            \"tax_invoiced\": 1.29,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74806,\n                            \"base_discount_tax_compensation_amount\": 0.23,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 10.9,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        },\n                        {\n                            \"price\": 0,\n                            \"original_price\": 0,\n                            \"discount_percent\": 0,\n                            \"no_discount\": 0,\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0,\n                            \"discount_amount\": 0,\n                            \"tax_amount\": 0,\n                            \"discount_invoiced\": 0,\n                            \"parent_item\": {\n                                \"price\": 7.2,\n                                \"original_price\": 10.9,\n                                \"discount_percent\": 15,\n                                \"applied_rule_ids\": \"5\",\n                                \"sku\": \"sku1\",\n                                \"row_weight\": 0,\n                                \"discount_tax_compensation_invoiced\": 0.23,\n                                \"base_price_incl_tax\": 8.72,\n                                \"discount_amount\": 1.3,\n                                \"tax_amount\": 1.29,\n                                \"discount_invoiced\": 1.3,\n                                \"row_total\": 5.9,\n                                \"product_type\": \"configurable\",\n                                \"base_row_invoiced\": 7.2,\n                                \"price_incl_tax\": 8.72,\n                                \"discount_tax_compensation_amount\": 0.23,\n                                \"base_discount_invoiced\": 1.3,\n                                \"product_id\": 3911,\n                                \"order_id\": 187040,\n                                \"base_tax_invoiced\": 1.29,\n                                \"base_tax_amount\": 1.29,\n                                \"base_discount_tax_compensation_invoiced\": 0.23,\n                                \"qty_ordered\": 1,\n                                \"name\": \"Nombre sku1\",\n                                \"created_at\": \"2022-01-10 12:25:41\",\n                                \"base_price\": 7.2,\n                                \"row_invoiced\": 7.2,\n                                \"qty_invoiced\": 1,\n                                \"base_row_total_incl_tax\": 7.42,\n                                \"base_discount_amount\": 1.3,\n                                \"row_total_incl_tax\": 7.42,\n                                \"item_id\": 891118,\n                                \"base_amount_refunded\": 0,\n                                \"product_option\": {\n                                    \"extension_attributes\": {\n                                        \"configurable_item_options\": [\n                                            {\n                                                \"option_value\": 62,\n                                                \"option_id\": \"93\"\n                                            }\n                                        ]\n                                    }\n                                },\n                                \"weee_tax_applied\": \"[]\",\n                                \"tax_percent\": 21,\n                                \"qty_shipped\": 0,\n                                \"base_row_total\": 5.9,\n                                \"tax_invoiced\": 1.29,\n                                \"free_shipping\": 0,\n                                \"quote_item_id\": 74806,\n                                \"base_discount_tax_compensation_amount\": 0.23,\n                                \"no_discount\": 0,\n                                \"base_original_price\": 10.9,\n                                \"amount_refunded\": 0,\n                                \"updated_at\": \"2022-01-10 12:26:39\",\n                                \"is_virtual\": 0,\n                                \"qty_refunded\": 0,\n                                \"qty_canceled\": 0,\n                                \"store_id\": 1,\n                                \"is_qty_decimal\": 0\n                            },\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"parent_item_id\": 891118,\n                            \"base_discount_invoiced\": 0,\n                            \"product_id\": 2597,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 0,\n                            \"base_tax_amount\": 0,\n                            \"base_discount_tax_compensation_invoiced\": 0,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku1\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 0,\n                            \"row_invoiced\": 0,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 0,\n                            \"base_discount_amount\": 0,\n                            \"row_total_incl_tax\": 0,\n                            \"item_id\": 891119,\n                            \"base_amount_refunded\": 0,\n                            \"product_type\": \"simple\",\n                            \"tax_percent\": 0,\n                            \"qty_shipped\": 0,\n                            \"row_total\": 0,\n                            \"base_row_total\": 0,\n                            \"tax_invoiced\": 0,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74807,\n                            \"amount_refunded\": 0,\n                            \"base_row_invoiced\": 0,\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        }\n                    ],\n                    \"shipping_description\": \"Envíos - Envío estándar\",\n                    \"total_due\": 0,\n                    \"total_item_count\": 2,\n                    \"coupon_code\": \"TESTCOUPON\",\n                    \"customer_is_guest\": 0,\n                    \"customer_email\": \"test@email.com\",\n                    \"email_sent\": 1,\n                    \"increment_id\": \"35194537\",\n                    \"base_grand_total\": 24.33,\n                    \"x_forwarded_for\": \"212.145.156.77\",\n                    \"discount_amount\": -4.29,\n                    \"tax_amount\": 4.22,\n                    \"base_shipping_discount_tax_compensation_amnt\": 0,\n                    \"discount_invoiced\": -4.29,\n                    \"applied_rule_ids\": \"5\",\n                    \"total_qty_ordered\": 2,\n                    \"base_currency_code\": \"EUR\",\n                    \"status\": \"processing_redsys\",\n                    \"base_to_order_rate\": 1,\n                    \"subtotal_incl_tax\": 28.62,\n                    \"protect_code\": \"01c95419b32c30c2b2552xxx330a602b0da\",\n                    \"total_paid\": 24.33,\n                    \"base_total_due\": 0,\n                    \"store_currency_code\": \"EUR\",\n                    \"base_discount_invoiced\": -4.29,\n                    \"base_shipping_incl_tax\": 0,\n                    \"customer_group_id\": 1,\n                    \"base_subtotal_incl_tax\": 28.62,\n                    \"grand_total\": 24.33,\n                    \"total_invoiced\": 24.33,\n                    \"order_currency_code\": \"EUR\",\n                    \"base_shipping_invoiced\": 0,\n                    \"base_tax_invoiced\": 4.22,\n                    \"state\": \"processing\",\n                    \"base_discount_tax_compensation_invoiced\": 0.75,\n                    \"store_to_order_rate\": 0,\n                    \"quote_id\": 17741,\n                    \"base_total_invoiced\": 24.33,\n                    \"created_at\": \"2022-01-10 12:25:41\",\n                    \"status_histories\": [\n                        {\n                            \"parent_id\": 187040,\n                            \"entity_name\": \"invoice\",\n                            \"comment\": \"Cantidad capturada de 24,33 € en línea. Identificador de la transacción: \\\"REDSYS_112345\\\"\",\n                            \"is_customer_notified\": null,\n                            \"is_visible_on_front\": 0,\n                            \"status\": \"processing\",\n                            \"created_at\": \"2022-01-10 12:26:39\",\n                            \"entity_id\": 1183147\n                        },\n                        {\n                            \"parent_id\": 187040,\n                            \"entity_name\": \"order\",\n                            \"comment\": \"Payment transaction captured from gateway with ID \\\"REDSYS_112345\\\". Order will be marked as paid.\",\n                            \"is_customer_notified\": null,\n                            \"is_visible_on_front\": 0,\n                            \"status\": \"processing_redsys\",\n                            \"created_at\": \"2022-01-10 12:26:38\",\n                            \"entity_id\": 1183146\n                        },\n                        {\n                            \"parent_id\": 187040,\n                            \"entity_name\": \"order\",\n                            \"comment\": null,\n                            \"is_customer_notified\": 1,\n                            \"is_visible_on_front\": 0,\n                            \"status\": \"pending\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"entity_id\": 1183143\n                        }\n                    ],\n                    \"base_tax_amount\": 4.22,\n                    \"weight\": 0,\n                    \"customer_lastname\": \"name\",\n                    \"shipping_amount\": 0,\n                    \"base_discount_amount\": -4.29,\n                    \"base_total_paid\": 24.33,\n                    \"base_shipping_tax_amount\": 0,\n                    \"customer_note_notify\": 0,\n                    \"remote_ip\": \"212.145.156.77\",\n                    \"entity_id\": 187040,\n                    \"subtotal_invoiced\": 23.65,\n                    \"discount_description\": \"TESTCOUPON\",\n                    \"global_currency_code\": \"EUR\",\n                    \"shipping_incl_tax\": 0,\n                    \"base_to_global_rate\": 1,\n                    \"shipping_tax_amount\": 0,\n                    \"discount_tax_compensation_amount\": 0.75,\n                    \"billing_address_id\": 374051,\n                    \"store_to_base_rate\": 0,\n                    \"base_shipping_amount\": 0,\n                    \"tax_invoiced\": 4.22,\n                    \"payment\": {\n                        \"parent_id\": 187040,\n                        \"cc_last4\": null,\n                        \"shipping_amount\": 0,\n                        \"cc_ss_start_month\": \"0\",\n                        \"amount_ordered\": 24.33,\n                        \"method\": \"redsys\",\n                        \"base_amount_ordered\": 24.33,\n                        \"shipping_captured\": 0,\n                        \"last_trans_id\": \"REDSYS_112345\",\n                        \"base_amount_paid\": 24.33,\n                        \"entity_id\": 187026,\n                        \"additional_information\": [\n                            \"Pago tarjeta\"\n                        ],\n                        \"account_status\": null,\n                        \"amount_paid\": 24.33,\n                        \"cc_ss_start_year\": \"0\",\n                        \"base_amount_paid_online\": 24.33,\n                        \"cc_exp_year\": \"0\",\n                        \"base_shipping_captured\": 0,\n                        \"base_shipping_amount\": 0\n                    },\n                    \"shipping_invoiced\": 0,\n                    \"discount_tax_compensation_invoiced\": 0.75,\n                    \"base_discount_tax_compensation_amount\": 0.75,\n                    \"base_subtotal\": 23.65,\n                    \"base_shipping_discount_amount\": 0,\n                    \"customer_firstname\": \"test\",\n                    \"updated_at\": \"2022-01-10 12:26:39\",\n                    \"extension_attributes\": {\n                        \"need_invoice\": false,\n                        \"applied_taxes\": [\n                            {\n                                \"title\": \"IVA General\",\n                                \"percent\": 21,\n                                \"code\": \"IVA General\",\n                                \"amount\": 4.22,\n                                \"base_amount\": 4.22\n                            }\n                        ],\n                        \"item_applied_taxes\": [\n                            {\n                                \"applied_taxes\": [\n                                    {\n                                        \"title\": \"IVA General\",\n                                        \"percent\": 21,\n                                        \"code\": \"IVA General\",\n                                        \"amount\": 0,\n                                        \"base_amount\": 0\n                                    }\n                                ],\n                                \"type\": \"shipping\"\n                            },\n                            {\n                                \"item_id\": 891116,\n                                \"applied_taxes\": [\n                                    {\n                                        \"title\": \"IVA General\",\n                                        \"percent\": 21,\n                                        \"code\": \"IVA General\",\n                                        \"amount\": 2.93,\n                                        \"base_amount\": 2.93\n                                    }\n                                ],\n                                \"type\": \"product\"\n                            },\n                            {\n                                \"item_id\": 891118,\n                                \"applied_taxes\": [\n                                    {\n                                        \"title\": \"IVA General\",\n                                        \"percent\": 21,\n                                        \"code\": \"IVA General\",\n                                        \"amount\": 1.29,\n                                        \"base_amount\": 1.29\n                                    }\n                                ],\n                                \"type\": \"product\"\n                            }\n                        ],\n                        \"converting_from_quote\": true,\n                        \"shipping_assignments\": [\n                            {\n                                \"items\": [\n                                    {\n                                        \"price\": 16.45,\n                                        \"original_price\": 32.5,\n                                        \"discount_percent\": 15,\n                                        \"applied_rule_ids\": \"5\",\n                                        \"sku\": \"sku2\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0.52,\n                                        \"base_price_incl_tax\": 19.9,\n                                        \"discount_amount\": 2.99,\n                                        \"tax_amount\": 2.93,\n                                        \"discount_invoiced\": 2.99,\n                                        \"row_total\": 13.46,\n                                        \"product_type\": \"configurable\",\n                                        \"base_row_invoiced\": 16.45,\n                                        \"price_incl_tax\": 19.9,\n                                        \"discount_tax_compensation_amount\": 0.52,\n                                        \"base_discount_invoiced\": 2.99,\n                                        \"product_id\": 4070,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 2.93,\n                                        \"base_tax_amount\": 2.93,\n                                        \"base_discount_tax_compensation_invoiced\": 0.52,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku2\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 16.45,\n                                        \"row_invoiced\": 16.45,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 16.91,\n                                        \"base_discount_amount\": 2.99,\n                                        \"row_total_incl_tax\": 16.91,\n                                        \"item_id\": 891116,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_option\": {\n                                            \"extension_attributes\": {\n                                                \"configurable_item_options\": [\n                                                    {\n                                                        \"option_value\": 47,\n                                                        \"option_id\": \"93\"\n                                                    }\n                                                ]\n                                            }\n                                        },\n                                        \"weee_tax_applied\": \"[]\",\n                                        \"tax_percent\": 21,\n                                        \"qty_shipped\": 0,\n                                        \"base_row_total\": 13.46,\n                                        \"tax_invoiced\": 2.93,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74798,\n                                        \"base_discount_tax_compensation_amount\": 0.52,\n                                        \"no_discount\": 0,\n                                        \"base_original_price\": 32.5,\n                                        \"amount_refunded\": 0,\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    },\n                                    {\n                                        \"price\": 0,\n                                        \"original_price\": 0,\n                                        \"discount_percent\": 0,\n                                        \"no_discount\": 0,\n                                        \"sku\": \"sku2\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0,\n                                        \"discount_amount\": 0,\n                                        \"tax_amount\": 0,\n                                        \"discount_invoiced\": 0,\n                                        \"parent_item\": {\n                                            \"price\": 16.45,\n                                            \"original_price\": 32.5,\n                                            \"discount_percent\": 15,\n                                            \"applied_rule_ids\": \"5\",\n                                            \"sku\": \"sku2\",\n                                            \"row_weight\": 0,\n                                            \"discount_tax_compensation_invoiced\": 0.52,\n                                            \"base_price_incl_tax\": 19.9,\n                                            \"discount_amount\": 2.99,\n                                            \"tax_amount\": 2.93,\n                                            \"discount_invoiced\": 2.99,\n                                            \"row_total\": 13.46,\n                                            \"product_type\": \"configurable\",\n                                            \"base_row_invoiced\": 16.45,\n                                            \"price_incl_tax\": 19.9,\n                                            \"discount_tax_compensation_amount\": 0.52,\n                                            \"base_discount_invoiced\": 2.99,\n                                            \"product_id\": 4070,\n                                            \"order_id\": 187040,\n                                            \"base_tax_invoiced\": 2.93,\n                                            \"base_tax_amount\": 2.93,\n                                            \"base_discount_tax_compensation_invoiced\": 0.52,\n                                            \"qty_ordered\": 1,\n                                            \"name\": \"Nombre sku2\",\n                                            \"created_at\": \"2022-01-10 12:25:41\",\n                                            \"base_price\": 16.45,\n                                            \"row_invoiced\": 16.45,\n                                            \"qty_invoiced\": 1,\n                                            \"base_row_total_incl_tax\": 16.91,\n                                            \"base_discount_amount\": 2.99,\n                                            \"row_total_incl_tax\": 16.91,\n                                            \"item_id\": 891116,\n                                            \"base_amount_refunded\": 0,\n                                            \"product_option\": {\n                                                \"extension_attributes\": {\n                                                    \"configurable_item_options\": [\n                                                        {\n                                                            \"option_value\": 47,\n                                                            \"option_id\": \"93\"\n                                                        }\n                                                    ]\n                                                }\n                                            },\n                                            \"weee_tax_applied\": \"[]\",\n                                            \"tax_percent\": 21,\n                                            \"qty_shipped\": 0,\n                                            \"base_row_total\": 13.46,\n                                            \"tax_invoiced\": 2.93,\n                                            \"free_shipping\": 0,\n                                            \"quote_item_id\": 74798,\n                                            \"base_discount_tax_compensation_amount\": 0.52,\n                                            \"no_discount\": 0,\n                                            \"base_original_price\": 32.5,\n                                            \"amount_refunded\": 0,\n                                            \"updated_at\": \"2022-01-10 12:26:39\",\n                                            \"is_virtual\": 0,\n                                            \"qty_refunded\": 0,\n                                            \"qty_canceled\": 0,\n                                            \"store_id\": 1,\n                                            \"is_qty_decimal\": 0\n                                        },\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"parent_item_id\": 891116,\n                                        \"base_discount_invoiced\": 0,\n                                        \"product_id\": 2826,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 0,\n                                        \"base_tax_amount\": 0,\n                                        \"base_discount_tax_compensation_invoiced\": 0,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku2\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 0,\n                                        \"row_invoiced\": 0,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 0,\n                                        \"base_discount_amount\": 0,\n                                        \"row_total_incl_tax\": 0,\n                                        \"item_id\": 891117,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_type\": \"simple\",\n                                        \"tax_percent\": 0,\n                                        \"qty_shipped\": 0,\n                                        \"row_total\": 0,\n                                        \"base_row_total\": 0,\n                                        \"tax_invoiced\": 0,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74799,\n                                        \"amount_refunded\": 0,\n                                        \"base_row_invoiced\": 0,\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    },\n                                    {\n                                        \"price\": 7.2,\n                                        \"original_price\": 10.9,\n                                        \"discount_percent\": 15,\n                                        \"applied_rule_ids\": \"5\",\n                                        \"sku\": \"sku1\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0.23,\n                                        \"base_price_incl_tax\": 8.72,\n                                        \"discount_amount\": 1.3,\n                                        \"tax_amount\": 1.29,\n                                        \"discount_invoiced\": 1.3,\n                                        \"row_total\": 5.9,\n                                        \"product_type\": \"configurable\",\n                                        \"base_row_invoiced\": 7.2,\n                                        \"price_incl_tax\": 8.72,\n                                        \"discount_tax_compensation_amount\": 0.23,\n                                        \"base_discount_invoiced\": 1.3,\n                                        \"product_id\": 3911,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 1.29,\n                                        \"base_tax_amount\": 1.29,\n                                        \"base_discount_tax_compensation_invoiced\": 0.23,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku1\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 7.2,\n                                        \"row_invoiced\": 7.2,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 7.42,\n                                        \"base_discount_amount\": 1.3,\n                                        \"row_total_incl_tax\": 7.42,\n                                        \"item_id\": 891118,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_option\": {\n                                            \"extension_attributes\": {\n                                                \"configurable_item_options\": [\n                                                    {\n                                                        \"option_value\": 62,\n                                                        \"option_id\": \"93\"\n                                                    }\n                                                ]\n                                            }\n                                        },\n                                        \"weee_tax_applied\": \"[]\",\n                                        \"tax_percent\": 21,\n                                        \"qty_shipped\": 0,\n                                        \"base_row_total\": 5.9,\n                                        \"tax_invoiced\": 1.29,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74806,\n                                        \"base_discount_tax_compensation_amount\": 0.23,\n                                        \"no_discount\": 0,\n                                        \"base_original_price\": 10.9,\n                                        \"amount_refunded\": 0,\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    },\n                                    {\n                                        \"price\": 0,\n                                        \"original_price\": 0,\n                                        \"discount_percent\": 0,\n                                        \"no_discount\": 0,\n                                        \"sku\": \"sku1\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0,\n                                        \"discount_amount\": 0,\n                                        \"tax_amount\": 0,\n                                        \"discount_invoiced\": 0,\n                                        \"parent_item\": {\n                                            \"price\": 7.2,\n                                            \"original_price\": 10.9,\n                                            \"discount_percent\": 15,\n                                            \"applied_rule_ids\": \"5\",\n                                            \"sku\": \"sku1\",\n                                            \"row_weight\": 0,\n                                            \"discount_tax_compensation_invoiced\": 0.23,\n                                            \"base_price_incl_tax\": 8.72,\n                                            \"discount_amount\": 1.3,\n                                            \"tax_amount\": 1.29,\n                                            \"discount_invoiced\": 1.3,\n                                            \"row_total\": 5.9,\n                                            \"product_type\": \"configurable\",\n                                            \"base_row_invoiced\": 7.2,\n                                            \"price_incl_tax\": 8.72,\n                                            \"discount_tax_compensation_amount\": 0.23,\n                                            \"base_discount_invoiced\": 1.3,\n                                            \"product_id\": 3911,\n                                            \"order_id\": 187040,\n                                            \"base_tax_invoiced\": 1.29,\n                                            \"base_tax_amount\": 1.29,\n                                            \"base_discount_tax_compensation_invoiced\": 0.23,\n                                            \"qty_ordered\": 1,\n                                            \"name\": \"Nombre sku1\",\n                                            \"created_at\": \"2022-01-10 12:25:41\",\n                                            \"base_price\": 7.2,\n                                            \"row_invoiced\": 7.2,\n                                            \"qty_invoiced\": 1,\n                                            \"base_row_total_incl_tax\": 7.42,\n                                            \"base_discount_amount\": 1.3,\n                                            \"row_total_incl_tax\": 7.42,\n                                            \"item_id\": 891118,\n                                            \"base_amount_refunded\": 0,\n                                            \"product_option\": {\n                                                \"extension_attributes\": {\n                                                    \"configurable_item_options\": [\n                                                        {\n                                                            \"option_value\": 62,\n                                                            \"option_id\": \"93\"\n                                                        }\n                                                    ]\n                                                }\n                                            },\n                                            \"weee_tax_applied\": \"[]\",\n                                            \"tax_percent\": 21,\n                                            \"qty_shipped\": 0,\n                                            \"base_row_total\": 5.9,\n                                            \"tax_invoiced\": 1.29,\n                                            \"free_shipping\": 0,\n                                            \"quote_item_id\": 74806,\n                                            \"base_discount_tax_compensation_amount\": 0.23,\n                                            \"no_discount\": 0,\n                                            \"base_original_price\": 10.9,\n                                            \"amount_refunded\": 0,\n                                            \"updated_at\": \"2022-01-10 12:26:39\",\n                                            \"is_virtual\": 0,\n                                            \"qty_refunded\": 0,\n                                            \"qty_canceled\": 0,\n                                            \"store_id\": 1,\n                                            \"is_qty_decimal\": 0\n                                        },\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"parent_item_id\": 891118,\n                                        \"base_discount_invoiced\": 0,\n                                        \"product_id\": 2597,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 0,\n                                        \"base_tax_amount\": 0,\n                                        \"base_discount_tax_compensation_invoiced\": 0,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku1\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 0,\n                                        \"row_invoiced\": 0,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 0,\n                                        \"base_discount_amount\": 0,\n                                        \"row_total_incl_tax\": 0,\n                                        \"item_id\": 891119,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_type\": \"simple\",\n                                        \"tax_percent\": 0,\n                                        \"qty_shipped\": 0,\n                                        \"row_total\": 0,\n                                        \"base_row_total\": 0,\n                                        \"tax_invoiced\": 0,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74807,\n                                        \"amount_refunded\": 0,\n                                        \"base_row_invoiced\": 0,\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    }\n                                ],\n                                \"shipping\": {\n                                    \"method\": \"matrixrate_matrixrate_22\",\n                                    \"address\": {\n                                        \"email\": \"test@email.com\",\n                                        \"telephone\": \"666666666\",\n                                        \"customer_address_id\": 180815,\n                                        \"firstname\": \"test\",\n                                        \"street\": [\n                                            \"calle test 1\"\n                                        ],\n                                        \"parent_id\": 187040,\n                                        \"postcode\": \"08906\",\n                                        \"entity_id\": 374050,\n                                        \"address_type\": \"shipping\",\n                                        \"country_id\": \"ES\",\n                                        \"region_id\": 139,\n                                        \"region_code\": \"Barcelona\",\n                                        \"lastname\": \"name\",\n                                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                                        \"region\": \"Barcelona\"\n                                    },\n                                    \"total\": {\n                                        \"shipping_invoiced\": 0,\n                                        \"shipping_discount_amount\": 0,\n                                        \"shipping_amount\": 0,\n                                        \"base_shipping_incl_tax\": 0,\n                                        \"base_shipping_tax_amount\": 0,\n                                        \"base_shipping_discount_amount\": 0,\n                                        \"base_shipping_invoiced\": 0,\n                                        \"shipping_incl_tax\": 0,\n                                        \"base_shipping_discount_tax_compensation_amnt\": 0,\n                                        \"shipping_tax_amount\": 0,\n                                        \"base_shipping_amount\": 0,\n                                        \"shipping_discount_tax_compensation_amount\": 0\n                                    }\n                                }\n                            }\n                        ],\n                        \"payment_additional_info\": [\n                            {\n                                \"key\": \"method_title\",\n                                \"value\": \"Pago tarjeta\"\n                            }\n                        ],\n                        \"fooman_total_group\": {\n                            \"items\": []\n                        },\n                        \"smartie_sync_status\": \"not_ready_to_sync\"\n                    },\n                    \"is_virtual\": 0,\n                    \"customer_id\": 183667,\n                    \"base_subtotal_invoiced\": 23.65,\n                    \"billing_address\": {\n                        \"email\": \"test@email.com\",\n                        \"telephone\": \"666666666\",\n                        \"customer_address_id\": 180815,\n                        \"firstname\": \"test\",\n                        \"street\": [\n                            \"calle test 1\"\n                        ],\n                        \"parent_id\": 187040,\n                        \"postcode\": \"08906\",\n                        \"entity_id\": 374051,\n                        \"address_type\": \"billing\",\n                        \"country_id\": \"ES\",\n                        \"region_id\": 139,\n                        \"region_code\": \"Barcelona\",\n                        \"lastname\": \"name\",\n                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                        \"region\": \"Barcelona\"\n                    },\n                    \"store_name\": \"España\\nEspaña\\nES\",\n                    \"store_id\": 1,\n                    \"subtotal\": 23.65,\n                    \"shipping_discount_tax_compensation_amount\": 0,\n                    \"shipping_discount_amount\": 0,\n                    \"base_total_invoiced_cost\": 0\n                }\n            },\n            \"channel_create_date\": \"2022-01-10T13:25:41+01:00\",\n            \"store_pickup\": false\n        }\n    ]\n}"}],"_postman_id":"b72e6fa7-234e-4368-ba73-3b3030f634e0"},{"name":"O02 - Update order","event":[{"listen":"prerequest","script":{"id":"70c86c12-2e09-44a1-8ded-764a800bb036","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"0d2ed0d2-d8de-4717-9f1a-346d06dd4328","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"local_status\" : \"{{smartie_status}}\",\n    \"channel_status\": \"{{e-commerce status}}\"\n}"},"url":"https://demo.smartie.io/api/v1/orders/{{order_id}}","urlObject":{"path":["v1","orders","{{order_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"a02280de-a65d-42b8-942c-3315daff8cef","name":"O02 - Update order mark as processing","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"local_status\" : \"PROCESSING\",\n    \"channel_status\": \"exported_to_erp\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/orders/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"order_lines\": [\n        {\n            \"id\": 2,\n            \"created_at\": \"2022-02-09T16:18:18.913352+01:00\",\n            \"updated_at\": \"2022-02-09T16:18:18.913371+01:00\",\n            \"reference\": \"TEST-SKU-1\",\n            \"quantity\": 1,\n            \"currency\": \"EUR\",\n            \"regular_unit_price_without_tax\": \"17.31\",\n            \"unit_price_with_tax\": \"20.95\",\n            \"unit_price_without_tax\": \"17.31\",\n            \"unit_price_tax_type\": \"0.00\",\n            \"regular_unit_price_tax\": \"41.90\",\n            \"regular_unit_price_with_tax\": \"41.90\",\n            \"discount\": \"15.00\",\n            \"total_without_tax\": \"17.81\",\n            \"total_tax\": \"3.09\",\n            \"total\": \"17.81\",\n            \"coupons\": null,\n            \"comments\": null,\n            \"extra\": {\n                \"magento2\": {\n                    \"is_qty_decimal\": 0,\n                    \"discount_percent\": 15,\n                    \"store_id\": 1,\n                    \"row_weight\": 0,\n                    \"row_invoiced\": 17.31,\n                    \"quote_item_id\": 135908,\n                    \"base_tax_amount\": 3.09,\n                    \"base_row_total_incl_tax\": 17.81,\n                    \"original_price\": 41.9,\n                    \"discount_invoiced\": 3.14,\n                    \"tax_amount\": 3.09,\n                    \"base_discount_amount\": 3.14,\n                    \"discount_tax_compensation_invoiced\": 0.55,\n                    \"qty_ordered\": 1,\n                    \"price\": 17.31,\n                    \"item_id\": 905889,\n                    \"row_total\": 14.17,\n                    \"applied_rule_ids\": \"5\",\n                    \"amount_refunded\": 0,\n                    \"qty_canceled\": 0,\n                    \"base_discount_invoiced\": 3.14,\n                    \"price_incl_tax\": 20.95,\n                    \"free_shipping\": 0,\n                    \"tax_percent\": 21,\n                    \"base_row_total\": 14.17,\n                    \"row_total_incl_tax\": 17.81,\n                    \"qty_invoiced\": 1,\n                    \"is_virtual\": 0,\n                    \"product_type\": \"configurable\",\n                    \"discount_amount\": 3.14,\n                    \"created_at\": \"2022-02-09 12:10:25\",\n                    \"tax_invoiced\": 3.09,\n                    \"discount_tax_compensation_amount\": 0.55,\n                    \"qty_refunded\": 0,\n                    \"base_row_invoiced\": 17.31,\n                    \"name\": \"Test sku 1\",\n                    \"order_id\": 189948,\n                    \"base_discount_tax_compensation_amount\": 0.55,\n                    \"qty_shipped\": 0,\n                    \"base_discount_tax_compensation_invoiced\": 0.55,\n                    \"base_original_price\": 41.9,\n                    \"base_price_incl_tax\": 20.95,\n                    \"product_id\": 4100,\n                    \"no_discount\": 0,\n                    \"base_price\": 17.31,\n                    \"updated_at\": \"2022-02-09 12:10:43\",\n                    \"base_tax_invoiced\": 3.09,\n                    \"weee_tax_applied\": \"[]\",\n                    \"sku\": \"TEST-SKU-1\",\n                    \"base_amount_refunded\": 0\n                }\n            },\n            \"product_snapshot\": {},\n            \"product_view\": null\n        }\n    ],\n    \"customer\": {\n        \"id\": 2,\n        \"created_at\": \"2022-02-09T16:18:18.910225+01:00\",\n        \"updated_at\": \"2022-02-09T16:18:18.910238+01:00\",\n        \"reference\": \"186139\",\n        \"email\": \"test@email.com\",\n        \"first_name\": \"Nombre\",\n        \"last_name\": \"test test\",\n        \"nif\": null,\n        \"telephone\": \"666666666\",\n        \"gender\": null,\n        \"comments\": null,\n        \"extra\": {}\n    },\n    \"shipping_address\": {\n        \"id\": 3,\n        \"created_at\": \"2022-02-09T16:18:18.908389+01:00\",\n        \"updated_at\": \"2022-02-09T16:18:18.908414+01:00\",\n        \"email\": \"test@email.com\",\n        \"first_name\": \"Nombre\",\n        \"last_name\": \"test test\",\n        \"nif\": null,\n        \"telephone\": \"666666666\",\n        \"country\": \"ES\",\n        \"region\": \"Madrid\",\n        \"city\": \"Madrid\",\n        \"postal_code\": \"28030\",\n        \"address\": \"calle test 1\",\n        \"comments\": null,\n        \"extra\": {\n            \"magento2\": {\n                \"parent_id\": 189948,\n                \"street\": [\n                    \"calle test 1\"\n                ],\n                \"country_id\": \"ES\",\n                \"entity_id\": 379866,\n                \"customer_address_id\": 182919,\n                \"region_code\": \"Madrid\",\n                \"region_id\": 161,\n                \"email\": \"test@email.com\",\n                \"lastname\": \"test test\",\n                \"region\": \"Madrid\",\n                \"telephone\": \"666666666\",\n                \"postcode\": \"28030\",\n                \"address_type\": \"shipping\",\n                \"city\": \"Madrid\",\n                \"firstname\": \"Nombre\"\n            }\n        }\n    },\n    \"billing_address\": {\n        \"id\": 4,\n        \"created_at\": \"2022-02-09T16:18:18.909442+01:00\",\n        \"updated_at\": \"2022-02-09T16:18:18.909459+01:00\",\n        \"email\": \"test@email.com\",\n        \"first_name\": \"test test\",\n        \"last_name\": \"Nombre\",\n        \"nif\": null,\n        \"telephone\": \"666666666\",\n        \"country\": \"ES\",\n        \"region\": \"Madrid\",\n        \"city\": \"Madrid\",\n        \"postal_code\": \"28030\",\n        \"address\": \"calle test 1\",\n        \"comments\": null,\n        \"extra\": {\n            \"magento2\": {\n                \"parent_id\": 189948,\n                \"street\": [\n                    \"calle test 1\"\n                ],\n                \"country_id\": \"ES\",\n                \"entity_id\": 379867,\n                \"region_code\": \"Madrid\",\n                \"region_id\": 161,\n                \"email\": \"test@email.com\",\n                \"lastname\": \"test test\",\n                \"region\": \"Madrid\",\n                \"telephone\": \"666666666\",\n                \"postcode\": \"28030\",\n                \"address_type\": \"billing\",\n                \"city\": \"Madrid\",\n                \"firstname\": \"Nombre\"\n            }\n        }\n    },\n    \"syncs\": [],\n    \"view\": {\n        \"id\": 2,\n        \"channel\": {\n            \"id\": 2,\n            \"active\": true,\n            \"created_at\": \"2022-02-09T11:57:19.551919+01:00\",\n            \"updated_at\": \"2022-02-09T11:57:19.551941+01:00\",\n            \"name\": \"Magento 2\",\n            \"type\": \"MAGENTO2\",\n            \"is_origin\": false,\n            \"config\": {},\n            \"is_visible\": true\n        },\n        \"active\": true,\n        \"created_at\": \"2022-02-09T15:51:34.511705+01:00\",\n        \"updated_at\": \"2022-02-09T15:51:34.511738+01:00\",\n        \"name\": \"es\",\n        \"is_master\": true,\n        \"is_visible\": true,\n        \"locale\": 1\n    },\n    \"created_at\": \"2022-02-09T16:18:18.911010+01:00\",\n    \"updated_at\": \"2022-02-09T16:18:18.911024+01:00\",\n    \"reference\": \"000016810\",\n    \"local_status\": \"PROCESSING\",\n    \"channel_status\": \"exported_to_erp\",\n    \"currency\": \"EUR\",\n    \"total_without_tax\": \"17.31\",\n    \"total_tax\": \"3.09\",\n    \"shipping_price\": \"0.00\",\n    \"shipping_price_tax_type\": \"0.00\",\n    \"discount\": \"-3.14\",\n    \"total\": \"17.81\",\n    \"payment_method\": \"paypal_express\",\n    \"shipping_method\": \"Envíos - Envío estándar\",\n    \"shipping_tax\": \"0.00\",\n    \"shipping_with_tax\": \"0.00\",\n    \"coupons\": null,\n    \"comments\": null,\n    \"extra\": {\n        \"magento2\": {\n            \"magento2\": {\n                \"base_shipping_tax_amount\": 0,\n                \"store_id\": 1,\n                \"shipping_discount_tax_compensation_amount\": 0,\n                \"payment\": {\n                    \"base_shipping_amount\": 0,\n                    \"amount_ordered\": 17.81,\n                    \"cc_ss_start_year\": \"0\",\n                    \"entity_id\": 189934,\n                    \"cc_last4\": null,\n                    \"base_amount_paid_online\": 17.81,\n                    \"base_amount_paid\": 17.81,\n                    \"base_amount_authorized\": 17.81,\n                    \"method\": \"paypal_express\",\n                    \"shipping_captured\": 0,\n                    \"parent_id\": 189948,\n                    \"amount_paid\": 17.81,\n                    \"last_trans_id\": \"4646464646\",\n                    \"cc_exp_year\": \"0\",\n                    \"additional_information\": [\n                        \"1\",\n                        \"\",\n                        \"asdas656545\",\n                        \"test@email.com\",\n                        \"verified\",\n                        \"confirmed\",\n                        \"833c64fbe5bd0\",\n                        \"adas6546445\",\n                        \"EC-65465465\",\n                        \"PayPal\",\n                        null,\n                        \"Eligible\",\n                        \"completed\",\n                        \"None\"\n                    ],\n                    \"shipping_amount\": 0,\n                    \"account_status\": null,\n                    \"amount_authorized\": 17.81,\n                    \"base_amount_ordered\": 17.81,\n                    \"base_shipping_captured\": 0,\n                    \"cc_ss_start_month\": \"0\"\n                },\n                \"discount_amount\": -3.14,\n                \"items\": [\n                    {\n                        \"is_qty_decimal\": 0,\n                        \"discount_percent\": 15,\n                        \"store_id\": 1,\n                        \"row_weight\": 0,\n                        \"row_invoiced\": 17.31,\n                        \"quote_item_id\": 135908,\n                        \"base_tax_amount\": 3.09,\n                        \"base_row_total_incl_tax\": 17.81,\n                        \"original_price\": 41.9,\n                        \"discount_invoiced\": 3.14,\n                        \"tax_amount\": 3.09,\n                        \"base_discount_amount\": 3.14,\n                        \"discount_tax_compensation_invoiced\": 0.55,\n                        \"qty_ordered\": 1,\n                        \"price\": 17.31,\n                        \"item_id\": 905889,\n                        \"row_total\": 14.17,\n                        \"applied_rule_ids\": \"5\",\n                        \"amount_refunded\": 0,\n                        \"qty_canceled\": 0,\n                        \"base_discount_invoiced\": 3.14,\n                        \"price_incl_tax\": 20.95,\n                        \"free_shipping\": 0,\n                        \"tax_percent\": 21,\n                        \"base_row_total\": 14.17,\n                        \"row_total_incl_tax\": 17.81,\n                        \"qty_invoiced\": 1,\n                        \"is_virtual\": 0,\n                        \"product_type\": \"configurable\",\n                        \"discount_amount\": 3.14,\n                        \"created_at\": \"2022-02-09 12:10:25\",\n                        \"tax_invoiced\": 3.09,\n                        \"discount_tax_compensation_amount\": 0.55,\n                        \"qty_refunded\": 0,\n                        \"base_row_invoiced\": 17.31,\n                        \"name\": \"Test sku 1\",\n                        \"order_id\": 189948,\n                        \"base_discount_tax_compensation_amount\": 0.55,\n                        \"qty_shipped\": 0,\n                        \"base_discount_tax_compensation_invoiced\": 0.55,\n                        \"base_original_price\": 41.9,\n                        \"base_price_incl_tax\": 20.95,\n                        \"product_id\": 4100,\n                        \"no_discount\": 0,\n                        \"base_price\": 17.31,\n                        \"updated_at\": \"2022-02-09 12:10:43\",\n                        \"base_tax_invoiced\": 3.09,\n                        \"weee_tax_applied\": \"[]\",\n                        \"sku\": \"TEST-SKU-1\",\n                        \"base_amount_refunded\": 0\n                    },\n                    {\n                        \"is_qty_decimal\": 0,\n                        \"discount_percent\": 0,\n                        \"store_id\": 1,\n                        \"row_weight\": 0,\n                        \"row_invoiced\": 0,\n                        \"quote_item_id\": 135909,\n                        \"base_tax_amount\": 0,\n                        \"base_row_total_incl_tax\": 0,\n                        \"original_price\": 0,\n                        \"discount_invoiced\": 0,\n                        \"tax_amount\": 0,\n                        \"base_discount_amount\": 0,\n                        \"discount_tax_compensation_invoiced\": 0,\n                        \"qty_ordered\": 1,\n                        \"price\": 0,\n                        \"item_id\": 905890,\n                        \"row_total\": 0,\n                        \"tax_percent\": 0,\n                        \"amount_refunded\": 0,\n                        \"qty_canceled\": 0,\n                        \"base_discount_invoiced\": 0,\n                        \"free_shipping\": 0,\n                        \"base_row_total\": 0,\n                        \"row_total_incl_tax\": 0,\n                        \"qty_invoiced\": 1,\n                        \"is_virtual\": 0,\n                        \"base_tax_invoiced\": 0,\n                        \"product_type\": \"simple\",\n                        \"discount_amount\": 0,\n                        \"created_at\": \"2022-02-09 12:10:25\",\n                        \"tax_invoiced\": 0,\n                        \"qty_refunded\": 0,\n                        \"name\": \"Test sku 1 XL\",\n                        \"order_id\": 189948,\n                        \"qty_shipped\": 0,\n                        \"base_discount_tax_compensation_invoiced\": 0,\n                        \"base_row_invoiced\": 0,\n                        \"parent_item\": {\n                            \"is_qty_decimal\": 0,\n                            \"discount_percent\": 15,\n                            \"store_id\": 1,\n                            \"row_weight\": 0,\n                            \"row_invoiced\": 17.31,\n                            \"quote_item_id\": 135908,\n                            \"base_tax_amount\": 3.09,\n                            \"base_row_total_incl_tax\": 17.81,\n                            \"original_price\": 41.9,\n                            \"discount_invoiced\": 3.14,\n                            \"tax_amount\": 3.09,\n                            \"base_discount_amount\": 3.14,\n                            \"discount_tax_compensation_invoiced\": 0.55,\n                            \"qty_ordered\": 1,\n                            \"price\": 17.31,\n                            \"item_id\": 905889,\n                            \"row_total\": 14.17,\n                            \"applied_rule_ids\": \"5\",\n                            \"amount_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"base_discount_invoiced\": 3.14,\n                            \"price_incl_tax\": 20.95,\n                            \"free_shipping\": 0,\n                            \"tax_percent\": 21,\n                            \"base_row_total\": 14.17,\n                            \"row_total_incl_tax\": 17.81,\n                            \"qty_invoiced\": 1,\n                            \"is_virtual\": 0,\n                            \"product_type\": \"configurable\",\n                            \"discount_amount\": 3.14,\n                            \"created_at\": \"2022-02-09 12:10:25\",\n                            \"tax_invoiced\": 3.09,\n                            \"discount_tax_compensation_amount\": 0.55,\n                            \"qty_refunded\": 0,\n                            \"base_row_invoiced\": 17.31,\n                            \"name\": \"Test sku 1 XL\",\n                            \"order_id\": 189948,\n                            \"base_discount_tax_compensation_amount\": 0.55,\n                            \"qty_shipped\": 0,\n                            \"base_discount_tax_compensation_invoiced\": 0.55,\n                            \"base_original_price\": 41.9,\n                            \"base_price_incl_tax\": 20.95,\n                            \"product_id\": 4100,\n                            \"no_discount\": 0,\n                            \"base_price\": 17.31,\n                            \"updated_at\": \"2022-02-09 12:10:43\",\n                            \"base_tax_invoiced\": 3.09,\n                            \"weee_tax_applied\": \"[]\",\n                            \"sku\": \"TEST-SKU-1\",\n                            \"base_amount_refunded\": 0\n                        },\n                        \"product_id\": 2863,\n                        \"no_discount\": 0,\n                        \"base_price\": 0,\n                        \"updated_at\": \"2022-02-09 12:10:25\",\n                        \"parent_item_id\": 905889,\n                        \"sku\": \"TEST-SKU-1\",\n                        \"base_amount_refunded\": 0\n                    }\n                ],\n                \"total_qty_ordered\": 1,\n                \"billing_address\": {\n                    \"parent_id\": 189948,\n                    \"street\": [\n                        \"calle test 1\"\n                    ],\n                    \"country_id\": \"ES\",\n                    \"entity_id\": 379867,\n                    \"region_code\": \"Madrid\",\n                    \"region_id\": 161,\n                    \"email\": \"test@email.com\",\n                    \"lastname\": \"test test\",\n                    \"region\": \"Madrid\",\n                    \"telephone\": \"666666666\",\n                    \"postcode\": \"28030\",\n                    \"address_type\": \"billing\",\n                    \"city\": \"Madrid\",\n                    \"firstname\": \"Nombre\"\n                },\n                \"base_tax_amount\": 3.09,\n                \"customer_group_id\": 1,\n                \"discount_description\": \"TESTCOUPON\",\n                \"total_paid\": 17.81,\n                \"shipping_tax_amount\": 0,\n                \"total_invoiced\": 17.81,\n                \"discount_invoiced\": -3.14,\n                \"tax_amount\": 3.09,\n                \"state\": \"processing\",\n                \"total_due\": 0,\n                \"store_name\": \"España\\nEspaña\\nES\",\n                \"base_total_invoiced\": 17.81,\n                \"shipping_discount_amount\": 0,\n                \"base_subtotal\": 17.31,\n                \"base_currency_code\": \"EUR\",\n                \"base_shipping_incl_tax\": 0,\n                \"quote_id\": 30799,\n                \"discount_tax_compensation_invoiced\": 0.55,\n                \"base_total_due\": 0,\n                \"subtotal_incl_tax\": 20.95,\n                \"applied_rule_ids\": \"5\",\n                \"remote_ip\": \"37.29.228.41\",\n                \"shipping_invoiced\": 0,\n                \"increment_id\": \"35196730\",\n                \"base_shipping_discount_tax_compensation_amnt\": 0,\n                \"coupon_code\": \"TESTCOUPON\",\n                \"base_total_invoiced_cost\": 0,\n                \"total_item_count\": 1,\n                \"shipping_description\": \"Envíos - Envío estándar\",\n                \"customer_firstname\": \"Nombre\",\n                \"base_discount_invoiced\": -3.14,\n                \"is_virtual\": 0,\n                \"base_shipping_amount\": 0,\n                \"customer_email\": \"test@email.com\",\n                \"created_at\": \"2022-02-09 12:10:25\",\n                \"tax_invoiced\": 3.09,\n                \"subtotal_invoiced\": 17.31,\n                \"entity_id\": 189948,\n                \"discount_tax_compensation_amount\": 0.55,\n                \"base_shipping_discount_amount\": 0,\n                \"base_grand_total\": 17.81,\n                \"customer_note_notify\": 1,\n                \"grand_total\": 17.81,\n                \"base_total_paid\": 17.81,\n                \"status_histories\": [\n                    {\n                        \"comment\": \"IPN \\\"Completed\\\" Recibido una noticia acerca de un importe capturado de %s. Identificador de la transacción: \\\"<a target=\\\"_blank\\\" href=\\\"https://www.paypal.com/cgi-bin/webscr?cmd=_view-a-trans&id=6546465\\\">5646465</a>\\\"\",\n                        \"parent_id\": 189948,\n                        \"created_at\": \"2022-02-09 12:10:43\",\n                        \"is_visible_on_front\": 0,\n                        \"entity_id\": 1198042,\n                        \"status\": \"processing\",\n                        \"is_customer_notified\": null,\n                        \"entity_name\": \"order\"\n                    },\n                    {\n                        \"comment\": \"Cantidad capturada de 17,81 € en línea. Identificador de la transacción: \\\"<a target=\\\"_blank\\\" href=\\\"https://www.paypal.com/cgi-bin/webscr?cmd=_view-a-trans&id=654564\\\">6546546</a>\\\"\",\n                        \"parent_id\": 189948,\n                        \"created_at\": \"2022-02-09 12:10:25\",\n                        \"is_visible_on_front\": 0,\n                        \"entity_id\": 1198041,\n                        \"status\": \"processing\",\n                        \"is_customer_notified\": null,\n                        \"entity_name\": \"invoice\"\n                    }\n                ],\n                \"customer_is_guest\": 0,\n                \"base_discount_tax_compensation_amount\": 0.55,\n                \"customer_lastname\": \"test test\",\n                \"shipping_amount\": 0,\n                \"shipping_incl_tax\": 0,\n                \"customer_id\": 186139,\n                \"order_currency_code\": \"EUR\",\n                \"base_to_global_rate\": 1,\n                \"global_currency_code\": \"EUR\",\n                \"email_sent\": 1,\n                \"base_discount_amount\": -3.14,\n                \"base_discount_tax_compensation_invoiced\": 0.55,\n                \"store_to_base_rate\": 0,\n                \"subtotal\": 17.31,\n                \"protect_code\": \"e923264f1223bdb096bfb290010e5e38\",\n                \"store_currency_code\": \"EUR\",\n                \"extension_attributes\": {\n                    \"shipping_assignments\": [\n                        {\n                            \"shipping\": {\n                                \"total\": {\n                                    \"base_shipping_incl_tax\": 0,\n                                    \"base_shipping_discount_amount\": 0,\n                                    \"base_shipping_invoiced\": 0,\n                                    \"base_shipping_amount\": 0,\n                                    \"shipping_tax_amount\": 0,\n                                    \"shipping_invoiced\": 0,\n                                    \"base_shipping_discount_tax_compensation_amnt\": 0,\n                                    \"shipping_discount_tax_compensation_amount\": 0,\n                                    \"shipping_amount\": 0,\n                                    \"shipping_incl_tax\": 0,\n                                    \"base_shipping_tax_amount\": 0,\n                                    \"shipping_discount_amount\": 0\n                                },\n                                \"address\": {\n                                    \"parent_id\": 189948,\n                                    \"street\": [\n                                        \"calle test 1\"\n                                    ],\n                                    \"country_id\": \"ES\",\n                                    \"entity_id\": 379866,\n                                    \"customer_address_id\": 182919,\n                                    \"region_code\": \"Madrid\",\n                                    \"region_id\": 161,\n                                    \"email\": \"test@email.com\",\n                                    \"lastname\": \"test test\",\n                                    \"region\": \"Madrid\",\n                                    \"telephone\": \"666666666\",\n                                    \"postcode\": \"28030\",\n                                    \"address_type\": \"shipping\",\n                                    \"city\": \"Madrid\",\n                                    \"firstname\": \"Nombre\"\n                                },\n                                \"method\": \"matrixrate_matrixrate_26\"\n                            },\n                            \"items\": [\n                                {\n                                    \"is_qty_decimal\": 0,\n                                    \"discount_percent\": 15,\n                                    \"store_id\": 1,\n                                    \"row_weight\": 0,\n                                    \"row_invoiced\": 17.31,\n                                    \"quote_item_id\": 135908,\n                                    \"base_tax_amount\": 3.09,\n                                    \"base_row_total_incl_tax\": 17.81,\n                                    \"product_option\": {\n                                        \"extension_attributes\": {\n                                            \"configurable_item_options\": [\n                                                {\n                                                    \"option_id\": \"93\",\n                                                    \"option_value\": 56\n                                                }\n                                            ]\n                                        }\n                                    },\n                                    \"original_price\": 41.9,\n                                    \"discount_invoiced\": 3.14,\n                                    \"tax_amount\": 3.09,\n                                    \"base_discount_amount\": 3.14,\n                                    \"discount_tax_compensation_invoiced\": 0.55,\n                                    \"qty_ordered\": 1,\n                                    \"price\": 17.31,\n                                    \"item_id\": 905889,\n                                    \"row_total\": 14.17,\n                                    \"applied_rule_ids\": \"5\",\n                                    \"amount_refunded\": 0,\n                                    \"qty_canceled\": 0,\n                                    \"base_discount_invoiced\": 3.14,\n                                    \"price_incl_tax\": 20.95,\n                                    \"free_shipping\": 0,\n                                    \"tax_percent\": 21,\n                                    \"base_row_total\": 14.17,\n                                    \"row_total_incl_tax\": 17.81,\n                                    \"base_amount_refunded\": 0,\n                                    \"qty_invoiced\": 1,\n                                    \"is_virtual\": 0,\n                                    \"product_type\": \"configurable\",\n                                    \"discount_amount\": 3.14,\n                                    \"created_at\": \"2022-02-09 12:10:25\",\n                                    \"tax_invoiced\": 3.09,\n                                    \"discount_tax_compensation_amount\": 0.55,\n                                    \"qty_refunded\": 0,\n                                    \"base_row_invoiced\": 17.31,\n                                    \"name\": \"Test sku 1\",\n                                    \"order_id\": 189948,\n                                    \"base_discount_tax_compensation_amount\": 0.55,\n                                    \"qty_shipped\": 0,\n                                    \"base_discount_tax_compensation_invoiced\": 0.55,\n                                    \"base_original_price\": 41.9,\n                                    \"base_price_incl_tax\": 20.95,\n                                    \"product_id\": 4100,\n                                    \"no_discount\": 0,\n                                    \"base_price\": 17.31,\n                                    \"updated_at\": \"2022-02-09 12:10:43\",\n                                    \"base_tax_invoiced\": 3.09,\n                                    \"sku\": \"TEST-SKU-1\",\n                                    \"weee_tax_applied\": \"[]\"\n                                },\n                                {\n                                    \"is_qty_decimal\": 0,\n                                    \"discount_percent\": 0,\n                                    \"store_id\": 1,\n                                    \"row_weight\": 0,\n                                    \"row_invoiced\": 0,\n                                    \"quote_item_id\": 135909,\n                                    \"base_tax_amount\": 0,\n                                    \"base_row_total_incl_tax\": 0,\n                                    \"original_price\": 0,\n                                    \"discount_invoiced\": 0,\n                                    \"tax_amount\": 0,\n                                    \"base_discount_amount\": 0,\n                                    \"discount_tax_compensation_invoiced\": 0,\n                                    \"qty_ordered\": 1,\n                                    \"price\": 0,\n                                    \"item_id\": 905890,\n                                    \"row_total\": 0,\n                                    \"tax_percent\": 0,\n                                    \"amount_refunded\": 0,\n                                    \"qty_canceled\": 0,\n                                    \"base_discount_invoiced\": 0,\n                                    \"free_shipping\": 0,\n                                    \"base_row_total\": 0,\n                                    \"row_total_incl_tax\": 0,\n                                    \"qty_invoiced\": 1,\n                                    \"is_virtual\": 0,\n                                    \"base_tax_invoiced\": 0,\n                                    \"product_type\": \"simple\",\n                                    \"discount_amount\": 0,\n                                    \"created_at\": \"2022-02-09 12:10:25\",\n                                    \"tax_invoiced\": 0,\n                                    \"qty_refunded\": 0,\n                                    \"name\": \"Test sku 1 XL\",\n                                    \"order_id\": 189948,\n                                    \"qty_shipped\": 0,\n                                    \"base_discount_tax_compensation_invoiced\": 0,\n                                    \"base_row_invoiced\": 0,\n                                    \"parent_item\": {\n                                        \"is_qty_decimal\": 0,\n                                        \"discount_percent\": 15,\n                                        \"store_id\": 1,\n                                        \"row_weight\": 0,\n                                        \"row_invoiced\": 17.31,\n                                        \"quote_item_id\": 135908,\n                                        \"base_tax_amount\": 3.09,\n                                        \"base_row_total_incl_tax\": 17.81,\n                                        \"product_option\": {\n                                            \"extension_attributes\": {\n                                                \"configurable_item_options\": [\n                                                    {\n                                                        \"option_id\": \"93\",\n                                                        \"option_value\": 56\n                                                    }\n                                                ]\n                                            }\n                                        },\n                                        \"original_price\": 41.9,\n                                        \"discount_invoiced\": 3.14,\n                                        \"tax_amount\": 3.09,\n                                        \"base_discount_amount\": 3.14,\n                                        \"discount_tax_compensation_invoiced\": 0.55,\n                                        \"qty_ordered\": 1,\n                                        \"price\": 17.31,\n                                        \"item_id\": 905889,\n                                        \"row_total\": 14.17,\n                                        \"applied_rule_ids\": \"5\",\n                                        \"amount_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"base_discount_invoiced\": 3.14,\n                                        \"price_incl_tax\": 20.95,\n                                        \"free_shipping\": 0,\n                                        \"tax_percent\": 21,\n                                        \"base_row_total\": 14.17,\n                                        \"row_total_incl_tax\": 17.81,\n                                        \"base_amount_refunded\": 0,\n                                        \"qty_invoiced\": 1,\n                                        \"is_virtual\": 0,\n                                        \"product_type\": \"configurable\",\n                                        \"discount_amount\": 3.14,\n                                        \"created_at\": \"2022-02-09 12:10:25\",\n                                        \"tax_invoiced\": 3.09,\n                                        \"discount_tax_compensation_amount\": 0.55,\n                                        \"qty_refunded\": 0,\n                                        \"base_row_invoiced\": 17.31,\n                                        \"name\": \"Test sku 1 XL\",\n                                        \"order_id\": 189948,\n                                        \"base_discount_tax_compensation_amount\": 0.55,\n                                        \"qty_shipped\": 0,\n                                        \"base_discount_tax_compensation_invoiced\": 0.55,\n                                        \"base_original_price\": 41.9,\n                                        \"base_price_incl_tax\": 20.95,\n                                        \"product_id\": 4100,\n                                        \"no_discount\": 0,\n                                        \"base_price\": 17.31,\n                                        \"updated_at\": \"2022-02-09 12:10:43\",\n                                        \"base_tax_invoiced\": 3.09,\n                                        \"sku\": \"TEST-SKU-1\",\n                                        \"weee_tax_applied\": \"[]\"\n                                    },\n                                    \"product_id\": 2863,\n                                    \"no_discount\": 0,\n                                    \"base_price\": 0,\n                                    \"updated_at\": \"2022-02-09 12:10:25\",\n                                    \"parent_item_id\": 905889,\n                                    \"sku\": \"TEST-SKU-1\",\n                                    \"base_amount_refunded\": 0\n                                }\n                            ]\n                        }\n                    ],\n                    \"fooman_total_group\": {\n                        \"items\": []\n                    },\n                    \"smartie_sync_status\": \"not_ready_to_sync\",\n                    \"item_applied_taxes\": [\n                        {\n                            \"type\": \"shipping\",\n                            \"applied_taxes\": [\n                                {\n                                    \"title\": \"IVA General\",\n                                    \"percent\": 21,\n                                    \"code\": \"IVA General\",\n                                    \"amount\": 0,\n                                    \"base_amount\": 0\n                                }\n                            ]\n                        },\n                        {\n                            \"type\": \"product\",\n                            \"applied_taxes\": [\n                                {\n                                    \"title\": \"IVA General\",\n                                    \"percent\": 21,\n                                    \"code\": \"IVA General\",\n                                    \"amount\": 3.09,\n                                    \"base_amount\": 3.09\n                                }\n                            ],\n                            \"item_id\": 905889\n                        }\n                    ],\n                    \"applied_taxes\": [\n                        {\n                            \"title\": \"IVA General\",\n                            \"percent\": 21,\n                            \"code\": \"IVA General\",\n                            \"amount\": 3.09,\n                            \"base_amount\": 3.09\n                        }\n                    ],\n                    \"payment_additional_info\": [\n                        {\n                            \"key\": \"paypal_express_checkout_shipping_overridden\",\n                            \"value\": \"1\"\n                        },\n                        {\n                            \"key\": \"paypal_express_checkout_shipping_method\",\n                            \"value\": \"\"\n                        },\n                        {\n                            \"key\": \"paypal_payer_id\",\n                            \"value\": \"46546\"\n                        },\n                        {\n                            \"key\": \"paypal_payer_email\",\n                            \"value\": \"test@email.com\"\n                        },\n                        {\n                            \"key\": \"paypal_payer_status\",\n                            \"value\": \"verified\"\n                        },\n                        {\n                            \"key\": \"paypal_address_status\",\n                            \"value\": \"confirmed\"\n                        },\n                        {\n                            \"key\": \"paypal_correlation_id\",\n                            \"value\": \"4346456456\"\n                        },\n                        {\n                            \"key\": \"paypal_express_checkout_payer_id\",\n                            \"value\": \"SP6CN7UK4564568QJV6\"\n                        },\n                        {\n                            \"key\": \"paypal_express_checkout_token\",\n                            \"value\": \"EC-5464564565464\"\n                        },\n                        {\n                            \"key\": \"method_title\",\n                            \"value\": \"PayPal\"\n                        },\n                        {\n                            \"key\": \"paypal_express_checkout_redirect_required\",\n                            \"value\": \"null\"\n                        },\n                        {\n                            \"key\": \"paypal_protection_eligibility\",\n                            \"value\": \"Eligible\"\n                        },\n                        {\n                            \"key\": \"paypal_payment_status\",\n                            \"value\": \"completed\"\n                        },\n                        {\n                            \"key\": \"paypal_pending_reason\",\n                            \"value\": \"None\"\n                        }\n                    ],\n                    \"converting_from_quote\": true\n                },\n                \"base_subtotal_invoiced\": 17.31,\n                \"base_to_order_rate\": 1,\n                \"updated_at\": \"2022-02-09 12:11:17\",\n                \"base_tax_invoiced\": 3.09,\n                \"base_shipping_invoiced\": 0,\n                \"x_forwarded_for\": \"37.29.228.41\",\n                \"base_subtotal_incl_tax\": 20.95,\n                \"billing_address_id\": 379867,\n                \"status\": \"processing\",\n                \"store_to_order_rate\": 0,\n                \"weight\": 0\n            }\n        }\n    },\n    \"channel_create_date\": \"2022-01-10T13:25:41+01:00\",\n    \"store_pickup\": false\n}"},{"id":"739a9539-542a-41e4-84dc-776c7a72d624","name":"O02 - Update order mark as processed","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"local_status\" : \"PROCESSED\",\n    \"channel_status\": \"erp_sent\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/orders/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"order_lines\": [\n        {\n            \"id\": 2,\n            \"created_at\": \"2022-02-09T16:18:18.913352+01:00\",\n            \"updated_at\": \"2022-02-09T16:18:18.913371+01:00\",\n            \"reference\": \"TEST-SKU-1\",\n            \"quantity\": 1,\n            \"currency\": \"EUR\",\n            \"regular_unit_price_without_tax\": \"17.31\",\n            \"unit_price_with_tax\": \"20.95\",\n            \"unit_price_without_tax\": \"17.31\",\n            \"unit_price_tax_type\": \"0.00\",\n            \"regular_unit_price_tax\": \"41.90\",\n            \"regular_unit_price_with_tax\": \"41.90\",\n            \"discount\": \"15.00\",\n            \"total_without_tax\": \"17.81\",\n            \"total_tax\": \"3.09\",\n            \"total\": \"17.81\",\n            \"coupons\": null,\n            \"comments\": null,\n            \"extra\": {\n                \"magento2\": {\n                    \"is_qty_decimal\": 0,\n                    \"discount_percent\": 15,\n                    \"store_id\": 1,\n                    \"row_weight\": 0,\n                    \"row_invoiced\": 17.31,\n                    \"quote_item_id\": 135908,\n                    \"base_tax_amount\": 3.09,\n                    \"base_row_total_incl_tax\": 17.81,\n                    \"original_price\": 41.9,\n                    \"discount_invoiced\": 3.14,\n                    \"tax_amount\": 3.09,\n                    \"base_discount_amount\": 3.14,\n                    \"discount_tax_compensation_invoiced\": 0.55,\n                    \"qty_ordered\": 1,\n                    \"price\": 17.31,\n                    \"item_id\": 905889,\n                    \"row_total\": 14.17,\n                    \"applied_rule_ids\": \"5\",\n                    \"amount_refunded\": 0,\n                    \"qty_canceled\": 0,\n                    \"base_discount_invoiced\": 3.14,\n                    \"price_incl_tax\": 20.95,\n                    \"free_shipping\": 0,\n                    \"tax_percent\": 21,\n                    \"base_row_total\": 14.17,\n                    \"row_total_incl_tax\": 17.81,\n                    \"qty_invoiced\": 1,\n                    \"is_virtual\": 0,\n                    \"product_type\": \"configurable\",\n                    \"discount_amount\": 3.14,\n                    \"created_at\": \"2022-02-09 12:10:25\",\n                    \"tax_invoiced\": 3.09,\n                    \"discount_tax_compensation_amount\": 0.55,\n                    \"qty_refunded\": 0,\n                    \"base_row_invoiced\": 17.31,\n                    \"name\": \"Test sku 1\",\n                    \"order_id\": 189948,\n                    \"base_discount_tax_compensation_amount\": 0.55,\n                    \"qty_shipped\": 0,\n                    \"base_discount_tax_compensation_invoiced\": 0.55,\n                    \"base_original_price\": 41.9,\n                    \"base_price_incl_tax\": 20.95,\n                    \"product_id\": 4100,\n                    \"no_discount\": 0,\n                    \"base_price\": 17.31,\n                    \"updated_at\": \"2022-02-09 12:10:43\",\n                    \"base_tax_invoiced\": 3.09,\n                    \"weee_tax_applied\": \"[]\",\n                    \"sku\": \"TEST-SKU-1\",\n                    \"base_amount_refunded\": 0\n                }\n            },\n            \"product_snapshot\": {},\n            \"product_view\": null\n        }\n    ],\n    \"customer\": {\n        \"id\": 2,\n        \"created_at\": \"2022-02-09T16:18:18.910225+01:00\",\n        \"updated_at\": \"2022-02-09T16:18:18.910238+01:00\",\n        \"reference\": \"186139\",\n        \"email\": \"test@email.com\",\n        \"first_name\": \"Nombre\",\n        \"last_name\": \"test test\",\n        \"nif\": null,\n        \"telephone\": \"666666666\",\n        \"gender\": null,\n        \"comments\": null,\n        \"extra\": {}\n    },\n    \"shipping_address\": {\n        \"id\": 3,\n        \"created_at\": \"2022-02-09T16:18:18.908389+01:00\",\n        \"updated_at\": \"2022-02-09T16:18:18.908414+01:00\",\n        \"email\": \"test@email.com\",\n        \"first_name\": \"Nombre\",\n        \"last_name\": \"test test\",\n        \"nif\": null,\n        \"telephone\": \"666666666\",\n        \"country\": \"ES\",\n        \"region\": \"Madrid\",\n        \"city\": \"Madrid\",\n        \"postal_code\": \"28030\",\n        \"address\": \"calle test 1\",\n        \"comments\": null,\n        \"extra\": {\n            \"magento2\": {\n                \"parent_id\": 189948,\n                \"street\": [\n                    \"calle test 1\"\n                ],\n                \"country_id\": \"ES\",\n                \"entity_id\": 379866,\n                \"customer_address_id\": 182919,\n                \"region_code\": \"Madrid\",\n                \"region_id\": 161,\n                \"email\": \"test@email.com\",\n                \"lastname\": \"test test\",\n                \"region\": \"Madrid\",\n                \"telephone\": \"666666666\",\n                \"postcode\": \"28030\",\n                \"address_type\": \"shipping\",\n                \"city\": \"Madrid\",\n                \"firstname\": \"Nombre\"\n            }\n        }\n    },\n    \"billing_address\": {\n        \"id\": 4,\n        \"created_at\": \"2022-02-09T16:18:18.909442+01:00\",\n        \"updated_at\": \"2022-02-09T16:18:18.909459+01:00\",\n        \"email\": \"test@email.com\",\n        \"first_name\": \"test test\",\n        \"last_name\": \"Nombre\",\n        \"nif\": null,\n        \"telephone\": \"666666666\",\n        \"country\": \"ES\",\n        \"region\": \"Madrid\",\n        \"city\": \"Madrid\",\n        \"postal_code\": \"28030\",\n        \"address\": \"calle test 1\",\n        \"comments\": null,\n        \"extra\": {\n            \"magento2\": {\n                \"parent_id\": 189948,\n                \"street\": [\n                    \"calle test 1\"\n                ],\n                \"country_id\": \"ES\",\n                \"entity_id\": 379867,\n                \"region_code\": \"Madrid\",\n                \"region_id\": 161,\n                \"email\": \"test@email.com\",\n                \"lastname\": \"test test\",\n                \"region\": \"Madrid\",\n                \"telephone\": \"666666666\",\n                \"postcode\": \"28030\",\n                \"address_type\": \"billing\",\n                \"city\": \"Madrid\",\n                \"firstname\": \"Nombre\"\n            }\n        }\n    },\n    \"syncs\": [],\n    \"view\": {\n        \"id\": 2,\n        \"channel\": {\n            \"id\": 2,\n            \"active\": true,\n            \"created_at\": \"2022-02-09T11:57:19.551919+01:00\",\n            \"updated_at\": \"2022-02-09T11:57:19.551941+01:00\",\n            \"name\": \"Magento 2\",\n            \"type\": \"MAGENTO2\",\n            \"is_origin\": false,\n            \"config\": {},\n            \"is_visible\": true\n        },\n        \"active\": true,\n        \"created_at\": \"2022-02-09T15:51:34.511705+01:00\",\n        \"updated_at\": \"2022-02-09T15:51:34.511738+01:00\",\n        \"name\": \"es\",\n        \"is_master\": true,\n        \"is_visible\": true,\n        \"locale\": 1\n    },\n    \"created_at\": \"2022-02-09T16:18:18.911010+01:00\",\n    \"updated_at\": \"2022-02-09T16:18:18.911024+01:00\",\n    \"reference\": \"000016810\",\n    \"local_status\": \"PROCESSED\",\n    \"channel_status\": \"erp_sent\",\n    \"currency\": \"EUR\",\n    \"total_without_tax\": \"17.31\",\n    \"total_tax\": \"3.09\",\n    \"shipping_price\": \"0.00\",\n    \"shipping_price_tax_type\": \"0.00\",\n    \"discount\": \"-3.14\",\n    \"total\": \"17.81\",\n    \"payment_method\": \"paypal_express\",\n    \"shipping_method\": \"Envíos - Envío estándar\",\n    \"shipping_tax\": \"0.00\",\n    \"shipping_with_tax\": \"0.00\",\n    \"coupons\": null,\n    \"comments\": null,\n    \"extra\": {\n        \"magento2\": {\n            \"magento2\": {\n                \"base_shipping_tax_amount\": 0,\n                \"store_id\": 1,\n                \"shipping_discount_tax_compensation_amount\": 0,\n                \"payment\": {\n                    \"base_shipping_amount\": 0,\n                    \"amount_ordered\": 17.81,\n                    \"cc_ss_start_year\": \"0\",\n                    \"entity_id\": 189934,\n                    \"cc_last4\": null,\n                    \"base_amount_paid_online\": 17.81,\n                    \"base_amount_paid\": 17.81,\n                    \"base_amount_authorized\": 17.81,\n                    \"method\": \"paypal_express\",\n                    \"shipping_captured\": 0,\n                    \"parent_id\": 189948,\n                    \"amount_paid\": 17.81,\n                    \"last_trans_id\": \"4646464646\",\n                    \"cc_exp_year\": \"0\",\n                    \"additional_information\": [\n                        \"1\",\n                        \"\",\n                        \"asdas656545\",\n                        \"test@email.com\",\n                        \"verified\",\n                        \"confirmed\",\n                        \"833c64fbe5bd0\",\n                        \"adas6546445\",\n                        \"EC-65465465\",\n                        \"PayPal\",\n                        null,\n                        \"Eligible\",\n                        \"completed\",\n                        \"None\"\n                    ],\n                    \"shipping_amount\": 0,\n                    \"account_status\": null,\n                    \"amount_authorized\": 17.81,\n                    \"base_amount_ordered\": 17.81,\n                    \"base_shipping_captured\": 0,\n                    \"cc_ss_start_month\": \"0\"\n                },\n                \"discount_amount\": -3.14,\n                \"items\": [\n                    {\n                        \"is_qty_decimal\": 0,\n                        \"discount_percent\": 15,\n                        \"store_id\": 1,\n                        \"row_weight\": 0,\n                        \"row_invoiced\": 17.31,\n                        \"quote_item_id\": 135908,\n                        \"base_tax_amount\": 3.09,\n                        \"base_row_total_incl_tax\": 17.81,\n                        \"original_price\": 41.9,\n                        \"discount_invoiced\": 3.14,\n                        \"tax_amount\": 3.09,\n                        \"base_discount_amount\": 3.14,\n                        \"discount_tax_compensation_invoiced\": 0.55,\n                        \"qty_ordered\": 1,\n                        \"price\": 17.31,\n                        \"item_id\": 905889,\n                        \"row_total\": 14.17,\n                        \"applied_rule_ids\": \"5\",\n                        \"amount_refunded\": 0,\n                        \"qty_canceled\": 0,\n                        \"base_discount_invoiced\": 3.14,\n                        \"price_incl_tax\": 20.95,\n                        \"free_shipping\": 0,\n                        \"tax_percent\": 21,\n                        \"base_row_total\": 14.17,\n                        \"row_total_incl_tax\": 17.81,\n                        \"qty_invoiced\": 1,\n                        \"is_virtual\": 0,\n                        \"product_type\": \"configurable\",\n                        \"discount_amount\": 3.14,\n                        \"created_at\": \"2022-02-09 12:10:25\",\n                        \"tax_invoiced\": 3.09,\n                        \"discount_tax_compensation_amount\": 0.55,\n                        \"qty_refunded\": 0,\n                        \"base_row_invoiced\": 17.31,\n                        \"name\": \"Test sku 1\",\n                        \"order_id\": 189948,\n                        \"base_discount_tax_compensation_amount\": 0.55,\n                        \"qty_shipped\": 0,\n                        \"base_discount_tax_compensation_invoiced\": 0.55,\n                        \"base_original_price\": 41.9,\n                        \"base_price_incl_tax\": 20.95,\n                        \"product_id\": 4100,\n                        \"no_discount\": 0,\n                        \"base_price\": 17.31,\n                        \"updated_at\": \"2022-02-09 12:10:43\",\n                        \"base_tax_invoiced\": 3.09,\n                        \"weee_tax_applied\": \"[]\",\n                        \"sku\": \"TEST-SKU-1\",\n                        \"base_amount_refunded\": 0\n                    },\n                    {\n                        \"is_qty_decimal\": 0,\n                        \"discount_percent\": 0,\n                        \"store_id\": 1,\n                        \"row_weight\": 0,\n                        \"row_invoiced\": 0,\n                        \"quote_item_id\": 135909,\n                        \"base_tax_amount\": 0,\n                        \"base_row_total_incl_tax\": 0,\n                        \"original_price\": 0,\n                        \"discount_invoiced\": 0,\n                        \"tax_amount\": 0,\n                        \"base_discount_amount\": 0,\n                        \"discount_tax_compensation_invoiced\": 0,\n                        \"qty_ordered\": 1,\n                        \"price\": 0,\n                        \"item_id\": 905890,\n                        \"row_total\": 0,\n                        \"tax_percent\": 0,\n                        \"amount_refunded\": 0,\n                        \"qty_canceled\": 0,\n                        \"base_discount_invoiced\": 0,\n                        \"free_shipping\": 0,\n                        \"base_row_total\": 0,\n                        \"row_total_incl_tax\": 0,\n                        \"qty_invoiced\": 1,\n                        \"is_virtual\": 0,\n                        \"base_tax_invoiced\": 0,\n                        \"product_type\": \"simple\",\n                        \"discount_amount\": 0,\n                        \"created_at\": \"2022-02-09 12:10:25\",\n                        \"tax_invoiced\": 0,\n                        \"qty_refunded\": 0,\n                        \"name\": \"Test sku 1 XL\",\n                        \"order_id\": 189948,\n                        \"qty_shipped\": 0,\n                        \"base_discount_tax_compensation_invoiced\": 0,\n                        \"base_row_invoiced\": 0,\n                        \"parent_item\": {\n                            \"is_qty_decimal\": 0,\n                            \"discount_percent\": 15,\n                            \"store_id\": 1,\n                            \"row_weight\": 0,\n                            \"row_invoiced\": 17.31,\n                            \"quote_item_id\": 135908,\n                            \"base_tax_amount\": 3.09,\n                            \"base_row_total_incl_tax\": 17.81,\n                            \"original_price\": 41.9,\n                            \"discount_invoiced\": 3.14,\n                            \"tax_amount\": 3.09,\n                            \"base_discount_amount\": 3.14,\n                            \"discount_tax_compensation_invoiced\": 0.55,\n                            \"qty_ordered\": 1,\n                            \"price\": 17.31,\n                            \"item_id\": 905889,\n                            \"row_total\": 14.17,\n                            \"applied_rule_ids\": \"5\",\n                            \"amount_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"base_discount_invoiced\": 3.14,\n                            \"price_incl_tax\": 20.95,\n                            \"free_shipping\": 0,\n                            \"tax_percent\": 21,\n                            \"base_row_total\": 14.17,\n                            \"row_total_incl_tax\": 17.81,\n                            \"qty_invoiced\": 1,\n                            \"is_virtual\": 0,\n                            \"product_type\": \"configurable\",\n                            \"discount_amount\": 3.14,\n                            \"created_at\": \"2022-02-09 12:10:25\",\n                            \"tax_invoiced\": 3.09,\n                            \"discount_tax_compensation_amount\": 0.55,\n                            \"qty_refunded\": 0,\n                            \"base_row_invoiced\": 17.31,\n                            \"name\": \"Test sku 1 XL\",\n                            \"order_id\": 189948,\n                            \"base_discount_tax_compensation_amount\": 0.55,\n                            \"qty_shipped\": 0,\n                            \"base_discount_tax_compensation_invoiced\": 0.55,\n                            \"base_original_price\": 41.9,\n                            \"base_price_incl_tax\": 20.95,\n                            \"product_id\": 4100,\n                            \"no_discount\": 0,\n                            \"base_price\": 17.31,\n                            \"updated_at\": \"2022-02-09 12:10:43\",\n                            \"base_tax_invoiced\": 3.09,\n                            \"weee_tax_applied\": \"[]\",\n                            \"sku\": \"TEST-SKU-1\",\n                            \"base_amount_refunded\": 0\n                        },\n                        \"product_id\": 2863,\n                        \"no_discount\": 0,\n                        \"base_price\": 0,\n                        \"updated_at\": \"2022-02-09 12:10:25\",\n                        \"parent_item_id\": 905889,\n                        \"sku\": \"TEST-SKU-1\",\n                        \"base_amount_refunded\": 0\n                    }\n                ],\n                \"total_qty_ordered\": 1,\n                \"billing_address\": {\n                    \"parent_id\": 189948,\n                    \"street\": [\n                        \"calle test 1\"\n                    ],\n                    \"country_id\": \"ES\",\n                    \"entity_id\": 379867,\n                    \"region_code\": \"Madrid\",\n                    \"region_id\": 161,\n                    \"email\": \"test@email.com\",\n                    \"lastname\": \"test test\",\n                    \"region\": \"Madrid\",\n                    \"telephone\": \"666666666\",\n                    \"postcode\": \"28030\",\n                    \"address_type\": \"billing\",\n                    \"city\": \"Madrid\",\n                    \"firstname\": \"Nombre\"\n                },\n                \"base_tax_amount\": 3.09,\n                \"customer_group_id\": 1,\n                \"discount_description\": \"TESTCOUPON\",\n                \"total_paid\": 17.81,\n                \"shipping_tax_amount\": 0,\n                \"total_invoiced\": 17.81,\n                \"discount_invoiced\": -3.14,\n                \"tax_amount\": 3.09,\n                \"state\": \"processing\",\n                \"total_due\": 0,\n                \"store_name\": \"España\\nEspaña\\nES\",\n                \"base_total_invoiced\": 17.81,\n                \"shipping_discount_amount\": 0,\n                \"base_subtotal\": 17.31,\n                \"base_currency_code\": \"EUR\",\n                \"base_shipping_incl_tax\": 0,\n                \"quote_id\": 30799,\n                \"discount_tax_compensation_invoiced\": 0.55,\n                \"base_total_due\": 0,\n                \"subtotal_incl_tax\": 20.95,\n                \"applied_rule_ids\": \"5\",\n                \"remote_ip\": \"37.29.228.41\",\n                \"shipping_invoiced\": 0,\n                \"increment_id\": \"35196730\",\n                \"base_shipping_discount_tax_compensation_amnt\": 0,\n                \"coupon_code\": \"TESTCOUPON\",\n                \"base_total_invoiced_cost\": 0,\n                \"total_item_count\": 1,\n                \"shipping_description\": \"Envíos - Envío estándar\",\n                \"customer_firstname\": \"Nombre\",\n                \"base_discount_invoiced\": -3.14,\n                \"is_virtual\": 0,\n                \"base_shipping_amount\": 0,\n                \"customer_email\": \"test@email.com\",\n                \"created_at\": \"2022-02-09 12:10:25\",\n                \"tax_invoiced\": 3.09,\n                \"subtotal_invoiced\": 17.31,\n                \"entity_id\": 189948,\n                \"discount_tax_compensation_amount\": 0.55,\n                \"base_shipping_discount_amount\": 0,\n                \"base_grand_total\": 17.81,\n                \"customer_note_notify\": 1,\n                \"grand_total\": 17.81,\n                \"base_total_paid\": 17.81,\n                \"status_histories\": [\n                    {\n                        \"comment\": \"IPN \\\"Completed\\\" Recibido una noticia acerca de un importe capturado de %s. Identificador de la transacción: \\\"<a target=\\\"_blank\\\" href=\\\"https://www.paypal.com/cgi-bin/webscr?cmd=_view-a-trans&id=6546465\\\">5646465</a>\\\"\",\n                        \"parent_id\": 189948,\n                        \"created_at\": \"2022-02-09 12:10:43\",\n                        \"is_visible_on_front\": 0,\n                        \"entity_id\": 1198042,\n                        \"status\": \"processing\",\n                        \"is_customer_notified\": null,\n                        \"entity_name\": \"order\"\n                    },\n                    {\n                        \"comment\": \"Cantidad capturada de 17,81 € en línea. Identificador de la transacción: \\\"<a target=\\\"_blank\\\" href=\\\"https://www.paypal.com/cgi-bin/webscr?cmd=_view-a-trans&id=654564\\\">6546546</a>\\\"\",\n                        \"parent_id\": 189948,\n                        \"created_at\": \"2022-02-09 12:10:25\",\n                        \"is_visible_on_front\": 0,\n                        \"entity_id\": 1198041,\n                        \"status\": \"processing\",\n                        \"is_customer_notified\": null,\n                        \"entity_name\": \"invoice\"\n                    }\n                ],\n                \"customer_is_guest\": 0,\n                \"base_discount_tax_compensation_amount\": 0.55,\n                \"customer_lastname\": \"test test\",\n                \"shipping_amount\": 0,\n                \"shipping_incl_tax\": 0,\n                \"customer_id\": 186139,\n                \"order_currency_code\": \"EUR\",\n                \"base_to_global_rate\": 1,\n                \"global_currency_code\": \"EUR\",\n                \"email_sent\": 1,\n                \"base_discount_amount\": -3.14,\n                \"base_discount_tax_compensation_invoiced\": 0.55,\n                \"store_to_base_rate\": 0,\n                \"subtotal\": 17.31,\n                \"protect_code\": \"e923264f1223bdb096bfb290010e5e38\",\n                \"store_currency_code\": \"EUR\",\n                \"extension_attributes\": {\n                    \"shipping_assignments\": [\n                        {\n                            \"shipping\": {\n                                \"total\": {\n                                    \"base_shipping_incl_tax\": 0,\n                                    \"base_shipping_discount_amount\": 0,\n                                    \"base_shipping_invoiced\": 0,\n                                    \"base_shipping_amount\": 0,\n                                    \"shipping_tax_amount\": 0,\n                                    \"shipping_invoiced\": 0,\n                                    \"base_shipping_discount_tax_compensation_amnt\": 0,\n                                    \"shipping_discount_tax_compensation_amount\": 0,\n                                    \"shipping_amount\": 0,\n                                    \"shipping_incl_tax\": 0,\n                                    \"base_shipping_tax_amount\": 0,\n                                    \"shipping_discount_amount\": 0\n                                },\n                                \"address\": {\n                                    \"parent_id\": 189948,\n                                    \"street\": [\n                                        \"calle test 1\"\n                                    ],\n                                    \"country_id\": \"ES\",\n                                    \"entity_id\": 379866,\n                                    \"customer_address_id\": 182919,\n                                    \"region_code\": \"Madrid\",\n                                    \"region_id\": 161,\n                                    \"email\": \"test@email.com\",\n                                    \"lastname\": \"test test\",\n                                    \"region\": \"Madrid\",\n                                    \"telephone\": \"666666666\",\n                                    \"postcode\": \"28030\",\n                                    \"address_type\": \"shipping\",\n                                    \"city\": \"Madrid\",\n                                    \"firstname\": \"Nombre\"\n                                },\n                                \"method\": \"matrixrate_matrixrate_26\"\n                            },\n                            \"items\": [\n                                {\n                                    \"is_qty_decimal\": 0,\n                                    \"discount_percent\": 15,\n                                    \"store_id\": 1,\n                                    \"row_weight\": 0,\n                                    \"row_invoiced\": 17.31,\n                                    \"quote_item_id\": 135908,\n                                    \"base_tax_amount\": 3.09,\n                                    \"base_row_total_incl_tax\": 17.81,\n                                    \"product_option\": {\n                                        \"extension_attributes\": {\n                                            \"configurable_item_options\": [\n                                                {\n                                                    \"option_id\": \"93\",\n                                                    \"option_value\": 56\n                                                }\n                                            ]\n                                        }\n                                    },\n                                    \"original_price\": 41.9,\n                                    \"discount_invoiced\": 3.14,\n                                    \"tax_amount\": 3.09,\n                                    \"base_discount_amount\": 3.14,\n                                    \"discount_tax_compensation_invoiced\": 0.55,\n                                    \"qty_ordered\": 1,\n                                    \"price\": 17.31,\n                                    \"item_id\": 905889,\n                                    \"row_total\": 14.17,\n                                    \"applied_rule_ids\": \"5\",\n                                    \"amount_refunded\": 0,\n                                    \"qty_canceled\": 0,\n                                    \"base_discount_invoiced\": 3.14,\n                                    \"price_incl_tax\": 20.95,\n                                    \"free_shipping\": 0,\n                                    \"tax_percent\": 21,\n                                    \"base_row_total\": 14.17,\n                                    \"row_total_incl_tax\": 17.81,\n                                    \"base_amount_refunded\": 0,\n                                    \"qty_invoiced\": 1,\n                                    \"is_virtual\": 0,\n                                    \"product_type\": \"configurable\",\n                                    \"discount_amount\": 3.14,\n                                    \"created_at\": \"2022-02-09 12:10:25\",\n                                    \"tax_invoiced\": 3.09,\n                                    \"discount_tax_compensation_amount\": 0.55,\n                                    \"qty_refunded\": 0,\n                                    \"base_row_invoiced\": 17.31,\n                                    \"name\": \"Test sku 1\",\n                                    \"order_id\": 189948,\n                                    \"base_discount_tax_compensation_amount\": 0.55,\n                                    \"qty_shipped\": 0,\n                                    \"base_discount_tax_compensation_invoiced\": 0.55,\n                                    \"base_original_price\": 41.9,\n                                    \"base_price_incl_tax\": 20.95,\n                                    \"product_id\": 4100,\n                                    \"no_discount\": 0,\n                                    \"base_price\": 17.31,\n                                    \"updated_at\": \"2022-02-09 12:10:43\",\n                                    \"base_tax_invoiced\": 3.09,\n                                    \"sku\": \"TEST-SKU-1\",\n                                    \"weee_tax_applied\": \"[]\"\n                                },\n                                {\n                                    \"is_qty_decimal\": 0,\n                                    \"discount_percent\": 0,\n                                    \"store_id\": 1,\n                                    \"row_weight\": 0,\n                                    \"row_invoiced\": 0,\n                                    \"quote_item_id\": 135909,\n                                    \"base_tax_amount\": 0,\n                                    \"base_row_total_incl_tax\": 0,\n                                    \"original_price\": 0,\n                                    \"discount_invoiced\": 0,\n                                    \"tax_amount\": 0,\n                                    \"base_discount_amount\": 0,\n                                    \"discount_tax_compensation_invoiced\": 0,\n                                    \"qty_ordered\": 1,\n                                    \"price\": 0,\n                                    \"item_id\": 905890,\n                                    \"row_total\": 0,\n                                    \"tax_percent\": 0,\n                                    \"amount_refunded\": 0,\n                                    \"qty_canceled\": 0,\n                                    \"base_discount_invoiced\": 0,\n                                    \"free_shipping\": 0,\n                                    \"base_row_total\": 0,\n                                    \"row_total_incl_tax\": 0,\n                                    \"qty_invoiced\": 1,\n                                    \"is_virtual\": 0,\n                                    \"base_tax_invoiced\": 0,\n                                    \"product_type\": \"simple\",\n                                    \"discount_amount\": 0,\n                                    \"created_at\": \"2022-02-09 12:10:25\",\n                                    \"tax_invoiced\": 0,\n                                    \"qty_refunded\": 0,\n                                    \"name\": \"Test sku 1 XL\",\n                                    \"order_id\": 189948,\n                                    \"qty_shipped\": 0,\n                                    \"base_discount_tax_compensation_invoiced\": 0,\n                                    \"base_row_invoiced\": 0,\n                                    \"parent_item\": {\n                                        \"is_qty_decimal\": 0,\n                                        \"discount_percent\": 15,\n                                        \"store_id\": 1,\n                                        \"row_weight\": 0,\n                                        \"row_invoiced\": 17.31,\n                                        \"quote_item_id\": 135908,\n                                        \"base_tax_amount\": 3.09,\n                                        \"base_row_total_incl_tax\": 17.81,\n                                        \"product_option\": {\n                                            \"extension_attributes\": {\n                                                \"configurable_item_options\": [\n                                                    {\n                                                        \"option_id\": \"93\",\n                                                        \"option_value\": 56\n                                                    }\n                                                ]\n                                            }\n                                        },\n                                        \"original_price\": 41.9,\n                                        \"discount_invoiced\": 3.14,\n                                        \"tax_amount\": 3.09,\n                                        \"base_discount_amount\": 3.14,\n                                        \"discount_tax_compensation_invoiced\": 0.55,\n                                        \"qty_ordered\": 1,\n                                        \"price\": 17.31,\n                                        \"item_id\": 905889,\n                                        \"row_total\": 14.17,\n                                        \"applied_rule_ids\": \"5\",\n                                        \"amount_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"base_discount_invoiced\": 3.14,\n                                        \"price_incl_tax\": 20.95,\n                                        \"free_shipping\": 0,\n                                        \"tax_percent\": 21,\n                                        \"base_row_total\": 14.17,\n                                        \"row_total_incl_tax\": 17.81,\n                                        \"base_amount_refunded\": 0,\n                                        \"qty_invoiced\": 1,\n                                        \"is_virtual\": 0,\n                                        \"product_type\": \"configurable\",\n                                        \"discount_amount\": 3.14,\n                                        \"created_at\": \"2022-02-09 12:10:25\",\n                                        \"tax_invoiced\": 3.09,\n                                        \"discount_tax_compensation_amount\": 0.55,\n                                        \"qty_refunded\": 0,\n                                        \"base_row_invoiced\": 17.31,\n                                        \"name\": \"Test sku 1 XL\",\n                                        \"order_id\": 189948,\n                                        \"base_discount_tax_compensation_amount\": 0.55,\n                                        \"qty_shipped\": 0,\n                                        \"base_discount_tax_compensation_invoiced\": 0.55,\n                                        \"base_original_price\": 41.9,\n                                        \"base_price_incl_tax\": 20.95,\n                                        \"product_id\": 4100,\n                                        \"no_discount\": 0,\n                                        \"base_price\": 17.31,\n                                        \"updated_at\": \"2022-02-09 12:10:43\",\n                                        \"base_tax_invoiced\": 3.09,\n                                        \"sku\": \"TEST-SKU-1\",\n                                        \"weee_tax_applied\": \"[]\"\n                                    },\n                                    \"product_id\": 2863,\n                                    \"no_discount\": 0,\n                                    \"base_price\": 0,\n                                    \"updated_at\": \"2022-02-09 12:10:25\",\n                                    \"parent_item_id\": 905889,\n                                    \"sku\": \"TEST-SKU-1\",\n                                    \"base_amount_refunded\": 0\n                                }\n                            ]\n                        }\n                    ],\n                    \"fooman_total_group\": {\n                        \"items\": []\n                    },\n                    \"smartie_sync_status\": \"not_ready_to_sync\",\n                    \"item_applied_taxes\": [\n                        {\n                            \"type\": \"shipping\",\n                            \"applied_taxes\": [\n                                {\n                                    \"title\": \"IVA General\",\n                                    \"percent\": 21,\n                                    \"code\": \"IVA General\",\n                                    \"amount\": 0,\n                                    \"base_amount\": 0\n                                }\n                            ]\n                        },\n                        {\n                            \"type\": \"product\",\n                            \"applied_taxes\": [\n                                {\n                                    \"title\": \"IVA General\",\n                                    \"percent\": 21,\n                                    \"code\": \"IVA General\",\n                                    \"amount\": 3.09,\n                                    \"base_amount\": 3.09\n                                }\n                            ],\n                            \"item_id\": 905889\n                        }\n                    ],\n                    \"applied_taxes\": [\n                        {\n                            \"title\": \"IVA General\",\n                            \"percent\": 21,\n                            \"code\": \"IVA General\",\n                            \"amount\": 3.09,\n                            \"base_amount\": 3.09\n                        }\n                    ],\n                    \"payment_additional_info\": [\n                        {\n                            \"key\": \"paypal_express_checkout_shipping_overridden\",\n                            \"value\": \"1\"\n                        },\n                        {\n                            \"key\": \"paypal_express_checkout_shipping_method\",\n                            \"value\": \"\"\n                        },\n                        {\n                            \"key\": \"paypal_payer_id\",\n                            \"value\": \"46546\"\n                        },\n                        {\n                            \"key\": \"paypal_payer_email\",\n                            \"value\": \"test@email.com\"\n                        },\n                        {\n                            \"key\": \"paypal_payer_status\",\n                            \"value\": \"verified\"\n                        },\n                        {\n                            \"key\": \"paypal_address_status\",\n                            \"value\": \"confirmed\"\n                        },\n                        {\n                            \"key\": \"paypal_correlation_id\",\n                            \"value\": \"4346456456\"\n                        },\n                        {\n                            \"key\": \"paypal_express_checkout_payer_id\",\n                            \"value\": \"SP6CN7UK4564568QJV6\"\n                        },\n                        {\n                            \"key\": \"paypal_express_checkout_token\",\n                            \"value\": \"EC-5464564565464\"\n                        },\n                        {\n                            \"key\": \"method_title\",\n                            \"value\": \"PayPal\"\n                        },\n                        {\n                            \"key\": \"paypal_express_checkout_redirect_required\",\n                            \"value\": \"null\"\n                        },\n                        {\n                            \"key\": \"paypal_protection_eligibility\",\n                            \"value\": \"Eligible\"\n                        },\n                        {\n                            \"key\": \"paypal_payment_status\",\n                            \"value\": \"completed\"\n                        },\n                        {\n                            \"key\": \"paypal_pending_reason\",\n                            \"value\": \"None\"\n                        }\n                    ],\n                    \"converting_from_quote\": true\n                },\n                \"base_subtotal_invoiced\": 17.31,\n                \"base_to_order_rate\": 1,\n                \"updated_at\": \"2022-02-09 12:11:17\",\n                \"base_tax_invoiced\": 3.09,\n                \"base_shipping_invoiced\": 0,\n                \"x_forwarded_for\": \"37.29.228.41\",\n                \"base_subtotal_incl_tax\": 20.95,\n                \"billing_address_id\": 379867,\n                \"status\": \"processing\",\n                \"store_to_order_rate\": 0,\n                \"weight\": 0\n            }\n        }\n    },\n    \"channel_create_date\": \"2022-01-10T13:25:41+01:00\",\n    \"store_pickup\": false\n}"},{"id":"156c35d6-1b5d-45ef-97ba-01e1c8268a93","name":"O02 - Update order with extra external data","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"local_status\" : \"PROCESSED\",\n    \"extra\": {\n        \"external_custom_data\": {\n            \"invoice_number\": \"000000\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/orders/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"id\": 150,\n  \"extra\": {\n    \"shopify\": {\n      \"id\": \"gid://shopify/Order/6242402009389\",\n      \"name\": \"#1049\",\n      \"note\": null,\n      \"tags\": [\n        \"exported_to_smartie\"\n      ],\n      \"email\": \"test@test.com\",\n      \"phone\": \"+34565656565\",\n      \"customer\": {\n        \"id\": \"gid://shopify/Customer/8585574056237\",\n        \"tags\": [\n          \n        ],\n        \"email\": \"test@test.com\",\n        \"phone\": \"+34656565656\",\n        \"lastName\": \"Example\",\n        \"firstName\": \"Test\",\n        \"metafields\": {\n          \"nodes\": [\n            \n          ]\n        }\n      },\n      \"createdAt\": \"2025-03-05T14:01:49Z\",\n      \"lineItems\": {\n        \"edges\": [\n          {\n            \"node\": {\n              \"id\": \"gid://shopify/LineItem/15483836596525\",\n              \"sku\": \"AW24UG001JAMWH01-U03\",\n              \"name\": \"ABRIGO JAMBO BLANCO ROTO - S\",\n              \"title\": \"ABRIGO JAMBO BLANCO ROTO\",\n              \"variant\": {\n                \"id\": \"gid://shopify/ProductVariant/50367959662893\",\n                \"sku\": \"AW24UG001JAMWH01-U03\",\n                \"price\": \"169.90\",\n                \"title\": \"S\",\n                \"barcode\": \"8435656989720\"\n              },\n              \"quantity\": 2,\n              \"taxLines\": [\n                \n              ],\n              \"isGiftCard\": false,\n              \"discountAllocations\": [\n                {\n                  \"allocatedAmountSet\": {\n                    \"presentmentMoney\": {\n                      \"amount\": \"50.98\",\n                      \"currencyCode\": \"EUR\"\n                    }\n                  },\n                  \"discountApplication\": {\n                    \"index\": 0\n                  }\n                }\n              ]\n            }\n          },\n          {\n            \"node\": {\n              \"id\": \"gid://shopify/LineItem/15483836629293\",\n              \"sku\": \"AW24UG001JAMWH01-U04\",\n              \"name\": \"ABRIGO JAMBO BLANCO ROTO - M\",\n              \"title\": \"ABRIGO JAMBO BLANCO ROTO\",\n              \"variant\": {\n                \"id\": \"gid://shopify/ProductVariant/50367959695661\",\n                \"sku\": \"AW24UG001JAMWH01-U04\",\n                \"price\": \"169.90\",\n                \"title\": \"M\",\n                \"barcode\": \"8435656989737\"\n              },\n              \"quantity\": 1,\n              \"taxLines\": [\n                \n              ],\n              \"isGiftCard\": false,\n              \"discountAllocations\": [\n                {\n                  \"allocatedAmountSet\": {\n                    \"presentmentMoney\": {\n                      \"amount\": \"25.48\",\n                      \"currencyCode\": \"EUR\"\n                    }\n                  },\n                  \"discountApplication\": {\n                    \"index\": 0\n                  }\n                }\n              ]\n            }\n          }\n        ]\n      },\n      \"updatedAt\": \"2025-03-05T14:47:43Z\",\n      \"metafields\": {\n        \"nodes\": [\n          \n        ]\n      },\n      \"processedAt\": \"2025-03-05T14:01:48Z\",\n      \"fulfillments\": [\n        {\n          \"location\": {\n            \"id\": \"gid://shopify/Location/102857277741\"\n          }\n        }\n      ],\n      \"transactions\": [\n        {\n          \"kind\": \"SALE\",\n          \"status\": \"SUCCESS\",\n          \"amountSet\": {\n            \"presentmentMoney\": {\n              \"amount\": \"433.24\",\n              \"currencyCode\": \"EUR\"\n            }\n          },\n          \"createdAt\": \"2025-03-05T14:01:48Z\",\n          \"paymentIcon\": {\n            \"altText\": \"other\"\n          }\n        }\n      ],\n      \"discountCodes\": [\n        \"test-onestic\"\n      ],\n      \"shippingLines\": {\n        \"nodes\": [\n          {\n            \"title\": \"Shop location\",\n            \"source\": \"shopify\",\n            \"taxLines\": [\n              \n            ],\n            \"originalPriceSet\": {\n              \"presentmentMoney\": {\n                \"amount\": \"0.0\",\n                \"currencyCode\": \"EUR\"\n              }\n            },\n            \"discountAllocations\": [\n              \n            ]\n          }\n        ]\n      },\n      \"totalPriceSet\": {\n        \"presentmentMoney\": {\n          \"amount\": \"433.24\",\n          \"currencyCode\": \"EUR\"\n        }\n      },\n      \"billingAddress\": {\n        \"id\": \"gid://shopify/MailingAddress/19761462411565?model_name=Address\",\n        \"zip\": \"46002\",\n        \"city\": \"Valencia\",\n        \"phone\": \"+3412345678\",\n        \"company\": \"B0000000\",\n        \"country\": \"Spain\",\n        \"address1\": \"Falsa\",\n        \"lastName\": \"Example\",\n        \"province\": \"Valencia\",\n        \"firstName\": \"Test\"\n      },\n      \"shippingAddress\": {\n        \"zip\": \"46002\",\n        \"city\": \"València\",\n        \"phone\": \"+34666666666\",\n        \"country\": \"Spain\",\n        \"address1\": \"Carrer de Roger de Llòria\",\n        \"address2\": \"\",\n        \"province\": \"Valencia\",\n        \"first_name\": \"Shop location\"\n      },\n      \"channelInformation\": null,\n      \"currentTotalTaxSet\": {\n        \"presentmentMoney\": {\n          \"amount\": \"0.0\",\n          \"currencyCode\": \"EUR\"\n        }\n      },\n      \"paymentGatewayNames\": [\n        \"manual\"\n      ],\n      \"currentTotalPriceSet\": {\n        \"presentmentMoney\": {\n          \"amount\": \"433.24\",\n          \"currencyCode\": \"EUR\"\n        }\n      },\n      \"discountApplications\": {\n        \"nodes\": [\n          {\n            \"code\": \"test-onestic\",\n            \"__typename\": \"DiscountCodeApplication\"\n          }\n        ]\n      },\n      \"displayFinancialStatus\": \"PAID\",\n      \"currentTotalDiscountsSet\": {\n        \"presentmentMoney\": {\n          \"amount\": \"76.46\",\n          \"currencyCode\": \"EUR\"\n        }\n      },\n      \"displayFulfillmentStatus\": \"FULFILLED\"\n    },\n    \"external_custom_data\": {\n      \"invoice_number\": \"000000\"\n    }\n  },\n  \"order_lines\": [\n    {\n      \"id\": 304,\n      \"channel\": {\n        \"id\": 1,\n        \"created_at\": \"2025-01-31T10:00:54.419114+01:00\",\n        \"updated_at\": \"2025-01-31T10:00:54.419120+01:00\",\n        \"position\": null,\n        \"icon_code\": \"emoji_shopping_bags\",\n        \"name\": \"Initial Channel\",\n        \"type\": \"CUSTOMER\",\n        \"is_origin\": false,\n        \"config\": {\n          \n        }\n      },\n      \"quantity_shipped\": 0,\n      \"order_reference\": \"#1049\",\n      \"product_id\": null,\n      \"view\": {\n        \"id\": 1,\n        \"warehouses\": [\n          \n        ],\n        \"created_at\": \"2025-01-31T10:00:54.422566+01:00\",\n        \"updated_at\": \"2025-01-31T10:00:54.422578+01:00\",\n        \"position\": null,\n        \"icon_code\": \"book_open\",\n        \"name\": \"Catalog\",\n        \"is_master\": false,\n        \"locale\": 1,\n        \"channel\": 1\n      },\n      \"created_at\": \"2025-03-06T12:59:02.568405+01:00\",\n      \"updated_at\": \"2025-03-06T12:59:02.568415+01:00\",\n      \"reference\": \"AW24UG001JAMWH01-U03\",\n      \"name\": \"ABRIGO JAMBO BLANCO ROTO - S\",\n      \"quantity\": 2,\n      \"currency\": \"EUR\",\n      \"regular_unit_price_without_tax\": \"169.90\",\n      \"unit_price_with_tax\": \"144.41\",\n      \"unit_price_without_tax\": \"144.41\",\n      \"unit_price_tax_type\": \"0.00\",\n      \"regular_unit_price_tax\": \"0.00\",\n      \"regular_unit_price_with_tax\": \"169.90\",\n      \"discount\": \"50.98\",\n      \"total_without_tax\": \"288.82\",\n      \"total_tax\": \"0.00\",\n      \"total\": \"288.82\",\n      \"coupons\": [\n        \"test-onestic\"\n      ],\n      \"comments\": null,\n      \"extra\": {\n        \"shopify\": {\n          \"id\": \"gid://shopify/LineItem/15483836596525\",\n          \"sku\": \"AW24UG001JAMWH01-U03\",\n          \"name\": \"ABRIGO JAMBO BLANCO ROTO - S\",\n          \"title\": \"ABRIGO JAMBO BLANCO ROTO\",\n          \"variant\": {\n            \"id\": \"gid://shopify/ProductVariant/50367959662893\",\n            \"sku\": \"AW24UG001JAMWH01-U03\",\n            \"price\": \"169.90\",\n            \"title\": \"S\",\n            \"barcode\": \"8435656989720\"\n          },\n          \"quantity\": 2,\n          \"taxLines\": [\n            \n          ],\n          \"isGiftCard\": false,\n          \"discountAllocations\": [\n            {\n              \"allocatedAmountSet\": {\n                \"presentmentMoney\": {\n                  \"amount\": \"50.98\",\n                  \"currencyCode\": \"EUR\"\n                }\n              },\n              \"discountApplication\": {\n                \"index\": 0\n              }\n            }\n          ]\n        }\n      },\n      \"product_snapshot\": {\n        \"custom_options\": null\n      },\n      \"product_view\": null\n    },\n    {\n      \"id\": 305,\n      \"channel\": {\n        \"id\": 1,\n        \"created_at\": \"2025-01-31T10:00:54.419114+01:00\",\n        \"updated_at\": \"2025-01-31T10:00:54.419120+01:00\",\n        \"position\": null,\n        \"icon_code\": \"emoji_shopping_bags\",\n        \"name\": \"Initial Channel\",\n        \"type\": \"CUSTOMER\",\n        \"is_origin\": false,\n        \"config\": {\n          \n        }\n      },\n      \"quantity_shipped\": 0,\n      \"order_reference\": \"#1049\",\n      \"product_id\": null,\n      \"view\": {\n        \"id\": 1,\n        \"warehouses\": [\n          \n        ],\n        \"created_at\": \"2025-01-31T10:00:54.422566+01:00\",\n        \"updated_at\": \"2025-01-31T10:00:54.422578+01:00\",\n        \"position\": null,\n        \"icon_code\": \"book_open\",\n        \"name\": \"Catalog\",\n        \"is_master\": false,\n        \"locale\": 1,\n        \"channel\": 1\n      },\n      \"created_at\": \"2025-03-06T12:59:02.572337+01:00\",\n      \"updated_at\": \"2025-03-06T12:59:02.572349+01:00\",\n      \"reference\": \"AW24UG001JAMWH01-U04\",\n      \"name\": \"ABRIGO JAMBO BLANCO ROTO - M\",\n      \"quantity\": 1,\n      \"currency\": \"EUR\",\n      \"regular_unit_price_without_tax\": \"169.90\",\n      \"unit_price_with_tax\": \"144.42\",\n      \"unit_price_without_tax\": \"144.42\",\n      \"unit_price_tax_type\": \"0.00\",\n      \"regular_unit_price_tax\": \"0.00\",\n      \"regular_unit_price_with_tax\": \"169.90\",\n      \"discount\": \"25.48\",\n      \"total_without_tax\": \"144.42\",\n      \"total_tax\": \"0.00\",\n      \"total\": \"144.42\",\n      \"coupons\": [\n        \"test-onestic\"\n      ],\n      \"comments\": null,\n      \"extra\": {\n        \"shopify\": {\n          \"id\": \"gid://shopify/LineItem/15483836629293\",\n          \"sku\": \"AW24UG001JAMWH01-U04\",\n          \"name\": \"ABRIGO JAMBO BLANCO ROTO - M\",\n          \"title\": \"ABRIGO JAMBO BLANCO ROTO\",\n          \"variant\": {\n            \"id\": \"gid://shopify/ProductVariant/50367959695661\",\n            \"sku\": \"AW24UG001JAMWH01-U04\",\n            \"price\": \"169.90\",\n            \"title\": \"M\",\n            \"barcode\": \"8435656989737\"\n          },\n          \"quantity\": 1,\n          \"taxLines\": [\n            \n          ],\n          \"isGiftCard\": false,\n          \"discountAllocations\": [\n            {\n              \"allocatedAmountSet\": {\n                \"presentmentMoney\": {\n                  \"amount\": \"25.48\",\n                  \"currencyCode\": \"EUR\"\n                }\n              },\n              \"discountApplication\": {\n                \"index\": 0\n              }\n            }\n          ]\n        }\n      },\n      \"product_snapshot\": {\n        \"custom_options\": null\n      },\n      \"product_view\": null\n    }\n  ],\n  \"customer\": {\n    \"id\": 137,\n    \"created_at\": \"2025-03-06T12:59:02.561428+01:00\",\n    \"updated_at\": \"2025-03-06T12:59:02.561437+01:00\",\n    \"reference\": \"8585574056237\",\n    \"external_reference\": \"\",\n    \"email\": \"test@test.com\",\n    \"first_name\": \"Test\",\n    \"last_name\": \"Example\",\n    \"nif\": null,\n    \"telephone\": \"+656565656\",\n    \"gender\": null,\n    \"comments\": null,\n    \"extra\": {\n      \"erp_id\": null\n    }\n  },\n  \"shipping_address\": {\n    \"id\": 335,\n    \"created_at\": \"2025-03-06T12:59:02.551027+01:00\",\n    \"updated_at\": \"2025-03-06T12:59:02.551041+01:00\",\n    \"email\": \"test@test.com\",\n    \"first_name\": \"\",\n    \"last_name\": \"\",\n    \"nif\": null,\n    \"telephone\": \"+34666666666\",\n    \"country\": \"ES\",\n    \"region\": \"Valencia\",\n    \"city\": \"València\",\n    \"postal_code\": \"46002\",\n    \"address\": \"Carrer de Roger de Llòria \",\n    \"comments\": null,\n    \"extra\": {\n      \"shopify\": {\n        \"zip\": \"46002\",\n        \"city\": \"València\",\n        \"phone\": \"+34666666666\",\n        \"country\": \"Spain\",\n        \"address1\": \"Carrer de Roger de Llòria\",\n        \"address2\": \"\",\n        \"province\": \"Valencia\",\n        \"first_name\": \"Shop location\"\n      }\n    }\n  },\n  \"billing_address\": {\n    \"id\": 336,\n    \"created_at\": \"2025-03-06T12:59:02.557929+01:00\",\n    \"updated_at\": \"2025-03-06T12:59:02.557939+01:00\",\n    \"email\": \"test@test.com\",\n    \"first_name\": \"test\",\n    \"last_name\": \"Example\",\n    \"nif\": null,\n    \"telephone\": \"+3412345678\",\n    \"country\": \"ES\",\n    \"region\": \"Valencia\",\n    \"city\": \"Valencia\",\n    \"postal_code\": \"46002\",\n    \"address\": \"Falsa \",\n    \"comments\": null,\n    \"extra\": {\n      \"shopify\": {\n        \"id\": \"gid://shopify/MailingAddress/19761462411565?model_name=Address\",\n        \"zip\": \"46002\",\n        \"city\": \"Valencia\",\n        \"phone\": \"+3412345678\",\n        \"company\": \"B0000000\",\n        \"country\": \"Spain\",\n        \"address1\": \"Falsa\",\n        \"lastName\": \"Example\",\n        \"province\": \"Valencia\",\n        \"firstName\": \"Test\"\n      }\n    }\n  },\n  \"syncs\": [\n    \n  ],\n  \"view\": {\n    \"id\": 1,\n    \"warehouses\": [\n      \n    ],\n    \"channel\": {\n      \"id\": 1,\n      \"created_at\": \"2025-01-31T10:00:54.419114+01:00\",\n      \"updated_at\": \"2025-01-31T10:00:54.419120+01:00\",\n      \"position\": null,\n      \"icon_code\": \"emoji_shopping_bags\",\n      \"name\": \"Initial Channel\",\n      \"type\": \"CUSTOMER\",\n      \"is_origin\": false,\n      \"config\": {\n        \n      }\n    },\n    \"created_at\": \"2025-01-31T10:00:54.422566+01:00\",\n    \"updated_at\": \"2025-01-31T10:00:54.422578+01:00\",\n    \"position\": null,\n    \"icon_code\": \"book_open\",\n    \"name\": \"Catalog\",\n    \"is_master\": false,\n    \"locale\": 1\n  },\n  \"created_at\": \"2025-03-06T12:59:02.564402+01:00\",\n  \"updated_at\": \"2025-03-06T13:24:53.611265+01:00\",\n  \"reference\": \"#1049\",\n  \"reference_external\": \"6242402009389\",\n  \"local_status\": \"PROCESSED\",\n  \"channel_status\": \"PAID\",\n  \"currency\": \"EUR\",\n  \"total_without_tax\": \"433.24\",\n  \"total_tax\": \"0.00\",\n  \"shipping_price\": \"0.00\",\n  \"shipping_price_tax_type\": \"0.00\",\n  \"discount\": \"76.46\",\n  \"total\": \"433.24\",\n  \"payment_method\": \"manual\",\n  \"shipping_method\": \"shopify\",\n  \"shipping_tax\": \"0.00\",\n  \"shipping_with_tax\": \"0.00\",\n  \"coupons\": [\n    \"test-onestic\"\n  ],\n  \"comments\": null,\n  \"channel_create_date\": \"2025-03-05T15:01:48+01:00\",\n  \"store_pickup\": false,\n  \"tags\": \"exported_to_smartie\"\n}"}],"_postman_id":"0d2ed0d2-d8de-4717-9f1a-346d06dd4328"},{"name":"O03 - Delete order","event":[{"listen":"prerequest","script":{"id":"3c38091a-2c29-4acf-9b19-350b98518e8b","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"4b2bbc57-a8c4-48bf-93b4-d1f6ef20bed2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/orders/{{order_id}}","urlObject":{"path":["v1","orders","{{order_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"4b2bbc57-a8c4-48bf-93b4-d1f6ef20bed2"},{"name":"OO4 - Refund Magento Order","event":[{"listen":"prerequest","script":{"id":"a3ca408f-6c8b-4164-abe6-584049797292","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"9db38963-ba2f-45d5-a7c0-40680563fc3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{user}}"},{"key":"password","value":"{{password}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"items\": [{ \"sku\": \"{{sku}}\", \"qty\": {{qty refunded}} }],\n  \"notify\": 0,\n  \"shipping_amount\": 0,\n  \"adjustment_positive\": 0,\n  \"adjustment_negative\": 0\n}\n\n","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/orders/{{order_id}}/refund/","urlObject":{"path":["v1","orders","{{order_id}}","refund",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9db38963-ba2f-45d5-a7c0-40680563fc3d"},{"name":"O05 - Create order","event":[{"listen":"prerequest","script":{"id":"80fe4632-2e28-4686-82e0-6a1eda67ac45","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"9101bac9-8077-4c4f-adda-05eb86ae5c21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"order_lines\": [\n        {\n            \"reference\": \"{{order line reference}}\",\n            \"quantity\": {{quantity}},\n            \"currency\": \"{{currency}}\",\n            \"regular_unit_price_without_tax\": \"{{regular_unit_price_without_tax}}\",\n            \"unit_price_with_tax\": \"{{unit_price_with_tax}}\",\n            \"unit_price_without_tax\": \"{{unit_price_without_tax}}\",\n            \"unit_price_tax_type\": \"{{unit_price_tax_type}}\",\n            \"regular_unit_price_tax\": \"{{regular_unit_price_tax}}\",\n            \"regular_unit_price_with_tax\": \"{{regular_unit_price_with_tax}}\",\n            \"discount\": \"{{discount percent}}\",\n            \"total_without_tax\": \"{{total_without_tax}}\",\n            \"total_tax\": \"{{total_tax}}\",\n            \"total\": \"{{total}}\",\n            \"coupons\": null,\n            \"comments\": null,\n            \"extra\": {\n                {{extra info optional}}\n            }\n        }\n    ],\n    \"customer\": {\n        \"reference\": \"{{customer reference or id}}\",\n        \"email\": \"test@email.com\",\n        \"first_name\": \"test\",\n        \"last_name\": \"name\",\n        \"nif\": null,\n        \"telephone\": null,\n        \"gender\": null,\n        \"comments\": null,\n        \"extra\": {\n            {{extra info optional}}\n        }\n    },\n    \"shipping_address\": {\n        \"email\": \"{{email}}\",\n        \"first_name\": \"{{first_name}}\",\n        \"last_name\": \"{{last_name}}\",\n        \"nif\": {{nif}},\n        \"telephone\": \"{{telephone}}\",\n        \"country\": \"{{country}}\",\n        \"region\": \"{{region}}\",\n        \"city\": \"{{tcity}}\",\n        \"postal_code\": \"{{postal code}}\",\n        \"address\": \"{{address}}\",\n        \"comments\": {{comments}},\n        \"extra\": {\n            {{extra info optional}}\n        }\n    },\n    \"billing_address\": {\n        \"email\": \"{{email}}\",\n        \"first_name\": \"{{first_name}}\",\n        \"last_name\": \"{{last_name}}\",\n        \"nif\": {{nif}},\n        \"telephone\": \"{{telephone}}\",\n        \"country\": \"{{country}}\",\n        \"region\": \"{{region}}\",\n        \"city\": \"{{tcity}}\",\n        \"postal_code\": \"{{postal code}}\",\n        \"address\": \"{{address}}\",\n        \"comments\": {{comments}},\n        \"extra\": {}\n    },\n    \"view\": {{smartie view_id}},\n    \"reference\": \"{{order reference}}\",\n    \"local_status\": \"{{smartie status}}\",\n    \"channel_status\": \"{{store status}}\",\n    \"currency\": \"EUR\",\n    \"total_without_tax\": \"{{total_without_tax}}\",\n    \"total_tax\": \"{{total_tax}}\",\n    \"shipping_price\": \"{{shipping_price}}\",\n    \"shipping_price_tax_type\": \"{{shipping_price_tax_type}}\",\n    \"discount\": \"{{discount amount}}\",\n    \"total\": \"{{total}}\",\n    \"payment_method\": \"{{payment_method}}\",\n    \"shipping_method\": \"{{shipping_method}}\",\n    \"shipping_tax\": \"{{shipping_tax}}\",\n    \"shipping_with_tax\": \"{{shipping_with_tax}}\",\n    \"coupons\": {{coupons}},\n    \"comments\": {{comments}},\n    \"channel_create_date\": \"{{channel_create_date}}\",\n    \"store_pickup\": {{store_pickup true or false}},\n    \"extra\": {\n        {{extra info optional}}\n    }\n}"},"url":"https://demo.smartie.io/api/v1/orders/","urlObject":{"path":["v1","orders",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"260464ad-8f62-496b-9b98-eea70122ca21","name":"O05 - Create order","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"order_lines\": [\n    {\n      \"reference\": \"TEST-SKU-1\",\n      \"quantity\": 5,\n      \"currency\": \"EUR\",\n      \"regular_unit_price_without_tax\": \"7.20\",\n      \"unit_price_with_tax\": \"8.72\",\n      \"unit_price_without_tax\": \"7.20\",\n      \"unit_price_tax_type\": \"0.00\",\n      \"regular_unit_price_tax\": \"10.90\",\n      \"regular_unit_price_with_tax\": \"10.90\",\n      \"discount\": \"15.00\",\n      \"total_without_tax\": \"5.90\",\n      \"total_tax\": \"1.29\",\n      \"total\": \"7.42\",\n      \"coupons\": null,\n      \"comments\": null,\n      \"extra\": {}\n    }\n  ],\n  \"customer\": {\n    \"reference\": \"183667\",\n    \"email\": \"test@email.com\",\n    \"first_name\": \"test\",\n    \"last_name\": \"name\",\n    \"nif\": null,\n    \"telephone\": null,\n    \"gender\": null,\n    \"comments\": null,\n    \"extra\": {}\n  },\n  \"shipping_address\": {\n    \"email\": \"test@email.com\",\n    \"first_name\": \"test\",\n    \"last_name\": \"name\",\n    \"nif\": null,\n    \"telephone\": \"666666666\",\n    \"country\": \"ES\",\n    \"region\": \"Barcelona\",\n    \"city\": \"HOSPITALET DE LLOBREGAT\",\n    \"postal_code\": \"08906\",\n    \"address\": \"calle test 1\",\n    \"comments\": null\n  },\n  \"billing_address\": {\n    \"email\": \"test@email.com\",\n    \"first_name\": \"test\",\n    \"last_name\": \"name\",\n    \"nif\": null,\n    \"telephone\": \"666666666\",\n    \"country\": \"ES\",\n    \"region\": \"Barcelona\",\n    \"city\": \"HOSPITALET DE LLOBREGAT\",\n    \"postal_code\": \"08906\",\n    \"address\": \"calle test 1\",\n    \"comments\": null\n  },\n  \"view\": 2,\n  \"reference\": \"000016809\",\n  \"local_status\": \"ACCEPTED\",\n  \"channel_status\": \"processing\",\n  \"currency\": \"EUR\",\n  \"total_without_tax\": \"23.65\",\n  \"total_tax\": \"4.22\",\n  \"shipping_price\": \"0.00\",\n  \"shipping_price_tax_type\": \"0.00\",\n  \"discount\": \"0\",\n  \"total\": \"24.33\",\n  \"payment_method\": \"redsys\",\n  \"shipping_method\": \"Envíos - Envío estándar\",\n  \"shipping_tax\": \"0.00\",\n  \"shipping_with_tax\": \"0.00\",\n  \"coupons\": null,\n  \"comments\": null,\n  \"channel_create_date\": \"2022-01-10T13:25:41+01:00\",\n  \"store_pickup\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/orders/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"order_lines\": [\n        {\n            \"id\": 2,\n            \"created_at\": \"2022-02-09T16:18:18.913352+01:00\",\n            \"updated_at\": \"2022-02-09T16:18:18.913371+01:00\",\n            \"reference\": \"TEST-SKU-1\",\n            \"quantity\": 1,\n            \"currency\": \"EUR\",\n            \"regular_unit_price_without_tax\": \"17.31\",\n            \"unit_price_with_tax\": \"20.95\",\n            \"unit_price_without_tax\": \"17.31\",\n            \"unit_price_tax_type\": \"0.00\",\n            \"regular_unit_price_tax\": \"41.90\",\n            \"regular_unit_price_with_tax\": \"41.90\",\n            \"discount\": \"15.00\",\n            \"total_without_tax\": \"17.81\",\n            \"total_tax\": \"3.09\",\n            \"total\": \"17.81\",\n            \"coupons\": null,\n            \"comments\": null,\n            \"extra\": {},\n            \"product_snapshot\": {},\n            \"product_view\": null\n        }\n    ],\n    \"customer\": {\n        \"id\": 2,\n        \"created_at\": \"2022-02-09T16:18:18.910225+01:00\",\n        \"updated_at\": \"2022-02-09T16:18:18.910238+01:00\",\n        \"reference\": \"186139\",\n        \"email\": \"test@email.com\",\n        \"first_name\": \"Nombre\",\n        \"last_name\": \"test test\",\n        \"nif\": null,\n        \"telephone\": \"666666666\",\n        \"gender\": null,\n        \"comments\": null,\n        \"extra\": {}\n    },\n    \"shipping_address\": {\n        \"id\": 3,\n        \"created_at\": \"2022-02-09T16:18:18.908389+01:00\",\n        \"updated_at\": \"2022-02-09T16:18:18.908414+01:00\",\n        \"email\": \"test@email.com\",\n        \"first_name\": \"Nombre\",\n        \"last_name\": \"test test\",\n        \"nif\": null,\n        \"telephone\": \"666666666\",\n        \"country\": \"ES\",\n        \"region\": \"Madrid\",\n        \"city\": \"Madrid\",\n        \"postal_code\": \"28030\",\n        \"address\": \"calle test 1\",\n        \"comments\": null,\n        \"extra\": {}         \n    },\n    \"billing_address\": {\n        \"id\": 4,\n        \"created_at\": \"2022-02-09T16:18:18.909442+01:00\",\n        \"updated_at\": \"2022-02-09T16:18:18.909459+01:00\",\n        \"email\": \"test@email.com\",\n        \"first_name\": \"test test\",\n        \"last_name\": \"Nombre\",\n        \"nif\": null,\n        \"telephone\": \"666666666\",\n        \"country\": \"ES\",\n        \"region\": \"Madrid\",\n        \"city\": \"Madrid\",\n        \"postal_code\": \"28030\",\n        \"address\": \"calle test 1\",\n        \"comments\": null,\n        \"extra\": {}\n    },\n    \"syncs\": [],\n    \"view\": {\n        \"id\": 2,\n        \"channel\": {\n            \"id\": 2,\n            \"active\": true,\n            \"created_at\": \"2022-02-09T11:57:19.551919+01:00\",\n            \"updated_at\": \"2022-02-09T11:57:19.551941+01:00\",\n            \"name\": \"Magento 2\",\n            \"type\": \"MAGENTO2\",\n            \"is_origin\": false,\n            \"config\": {},\n            \"is_visible\": true\n        },\n        \"active\": true,\n        \"created_at\": \"2022-02-09T15:51:34.511705+01:00\",\n        \"updated_at\": \"2022-02-09T15:51:34.511738+01:00\",\n        \"name\": \"es\",\n        \"is_master\": true,\n        \"is_visible\": true,\n        \"locale\": 1\n    },\n    \"created_at\": \"2022-02-09T16:18:18.911010+01:00\",\n    \"updated_at\": \"2022-02-09T16:18:18.911024+01:00\",\n    \"reference\": \"000016810\",\n    \"local_status\": \"PENDING\",\n    \"channel_status\": \"processing\",\n    \"currency\": \"EUR\",\n    \"total_without_tax\": \"17.31\",\n    \"total_tax\": \"3.09\",\n    \"shipping_price\": \"0.00\",\n    \"shipping_price_tax_type\": \"0.00\",\n    \"discount\": \"-3.14\",\n    \"total\": \"17.81\",\n    \"payment_method\": \"paypal_express\",\n    \"shipping_method\": \"Envíos - Envío estándar\",\n    \"shipping_tax\": \"0.00\",\n    \"shipping_with_tax\": \"0.00\",\n    \"coupons\": null,\n    \"comments\": null,\n    \"extra\": {},\n    \"channel_create_date\": \"2022-01-10T13:25:41+01:00\",\n    \"store_pickup\": false\n}"}],"_postman_id":"9101bac9-8077-4c4f-adda-05eb86ae5c21"},{"name":"O06 - Export orders","event":[{"listen":"prerequest","script":{"id":"b4ce8cbf-eaaf-4d80-8185-2b28d8a74c82","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"ea24e4c9-9745-4af9-b227-21e7f39ca592","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Export orders to csv\",\n    \"description\": \"Export orders to csv process\",\n    \"action_type\": \"orders_export_csv\",\n    \"output_file\": \"orders.csv\",\n    \"is_visible\": true,\n    \"kwargs\": {\n        \"filters\": {}\n    }\n}"},"url":"https://demo.smartie.io/api/v1/processes","urlObject":{"path":["v1","processes"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea24e4c9-9745-4af9-b227-21e7f39ca592"},{"name":"O07 - Search orders with sync","event":[{"listen":"prerequest","script":{"id":"80fe4632-2e28-4686-82e0-6a1eda67ac45","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"93dc12ca-ca3f-430e-afab-f572a6c4b92d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"page\": 1,\n        \"page_size\": 20,\n        \"startRow\": 0,\n        \"endRow\": 20\n    },\n    \"sort\": [],\n    \"filters\": {}\n}"},"url":"/v1/orders/search/","urlObject":{"path":["v1","orders","search",""],"query":[],"variable":[]}},"response":[{"id":"0ba16c26-0908-482b-b6f8-1b207c855cd8","name":"O07 - Search orders with synchronized sync","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"page\": 1,\n        \"page_size\": 20,\n        \"startRow\": 1,\n        \"endRow\": 20\n    },\n    \"filters\": {\n        \"syncs__status__in\": [\n            \"SYNCHRONIZED\"\n        ]\n    },\n    \"sort\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/orders/search/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 4856,\n            \"order_lines\": [\n                {\n                    \"id\": 11244,\n                    \"created_at\": \"2022-01-10T13:30:03.540352+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:03.540378+01:00\",\n                    \"reference\": \"sku1\",\n                    \"quantity\": 1,\n                    \"currency\": \"EUR\",\n                    \"regular_unit_price_without_tax\": \"7.20\",\n                    \"unit_price_with_tax\": \"8.72\",\n                    \"unit_price_without_tax\": \"7.20\",\n                    \"unit_price_tax_type\": \"0.00\",\n                    \"regular_unit_price_tax\": \"10.90\",\n                    \"regular_unit_price_with_tax\": \"10.90\",\n                    \"discount\": \"15.00\",\n                    \"total_without_tax\": \"5.90\",\n                    \"total_tax\": \"1.29\",\n                    \"total\": \"7.42\",\n                    \"coupons\": null,\n                    \"comments\": null,\n                    \"extra\": {\n                        \"magento2\": {\n                            \"price\": 7.2,\n                            \"original_price\": 10.9,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.23,\n                            \"base_price_incl_tax\": 8.72,\n                            \"discount_amount\": 1.3,\n                            \"tax_amount\": 1.29,\n                            \"discount_invoiced\": 1.3,\n                            \"row_total\": 5.9,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 7.2,\n                            \"price_incl_tax\": 8.72,\n                            \"discount_tax_compensation_amount\": 0.23,\n                            \"base_discount_invoiced\": 1.3,\n                            \"product_id\": 3911,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 1.29,\n                            \"base_tax_amount\": 1.29,\n                            \"base_discount_tax_compensation_invoiced\": 0.23,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku1\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 7.2,\n                            \"row_invoiced\": 7.2,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 7.42,\n                            \"base_discount_amount\": 1.3,\n                            \"row_total_incl_tax\": 7.42,\n                            \"item_id\": 891118,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 62,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 5.9,\n                            \"tax_invoiced\": 1.29,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74806,\n                            \"base_discount_tax_compensation_amount\": 0.23,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 10.9,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        }\n                    },\n                    \"product_snapshot\": {},\n                    \"product_view\": null\n                },\n                {\n                    \"id\": 11243,\n                    \"created_at\": \"2022-01-10T13:30:03.538355+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:03.538382+01:00\",\n                    \"reference\": \"sku2\",\n                    \"quantity\": 1,\n                    \"currency\": \"EUR\",\n                    \"regular_unit_price_without_tax\": \"16.45\",\n                    \"unit_price_with_tax\": \"19.90\",\n                    \"unit_price_without_tax\": \"16.45\",\n                    \"unit_price_tax_type\": \"0.00\",\n                    \"regular_unit_price_tax\": \"32.50\",\n                    \"regular_unit_price_with_tax\": \"32.50\",\n                    \"discount\": \"15.00\",\n                    \"total_without_tax\": \"13.46\",\n                    \"total_tax\": \"2.93\",\n                    \"total\": \"16.91\",\n                    \"coupons\": null,\n                    \"comments\": null,\n                    \"extra\": {\n                        \"magento2\": {\n                            \"price\": 16.45,\n                            \"original_price\": 32.5,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku2\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.52,\n                            \"base_price_incl_tax\": 19.9,\n                            \"discount_amount\": 2.99,\n                            \"tax_amount\": 2.93,\n                            \"discount_invoiced\": 2.99,\n                            \"row_total\": 13.46,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 16.45,\n                            \"price_incl_tax\": 19.9,\n                            \"discount_tax_compensation_amount\": 0.52,\n                            \"base_discount_invoiced\": 2.99,\n                            \"product_id\": 4070,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 2.93,\n                            \"base_tax_amount\": 2.93,\n                            \"base_discount_tax_compensation_invoiced\": 0.52,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku2\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 16.45,\n                            \"row_invoiced\": 16.45,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 16.91,\n                            \"base_discount_amount\": 2.99,\n                            \"row_total_incl_tax\": 16.91,\n                            \"item_id\": 891116,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 47,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 13.46,\n                            \"tax_invoiced\": 2.93,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74798,\n                            \"base_discount_tax_compensation_amount\": 0.52,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 32.5,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        }\n                    },\n                    \"product_snapshot\": {},\n                    \"product_view\": null\n                }\n            ],\n            \"customer\": {\n                \"id\": 4856,\n                \"created_at\": \"2022-01-10T13:30:03.533504+01:00\",\n                \"updated_at\": \"2022-01-10T13:30:03.533531+01:00\",\n                \"reference\": \"183667\",\n                \"email\": \"test@email.com\",\n                \"first_name\": \"test\",\n                \"last_name\": \"name\",\n                \"nif\": null,\n                \"telephone\": null,\n                \"gender\": null,\n                \"comments\": null,\n                \"extra\": {}\n            },\n            \"shipping_address\": {\n                \"id\": 58981,\n                \"created_at\": \"2022-01-10T13:30:03.530969+01:00\",\n                \"updated_at\": \"2022-01-10T13:30:03.530993+01:00\",\n                \"email\": \"test@email.com\",\n                \"first_name\": \"test\",\n                \"last_name\": \"name\",\n                \"nif\": null,\n                \"telephone\": \"666666666\",\n                \"country\": \"ES\",\n                \"region\": \"Barcelona\",\n                \"city\": \"HOSPITALET DE LLOBREGAT\",\n                \"postal_code\": \"08906\",\n                \"address\": \"calle test 1\",\n                \"comments\": null,\n                \"extra\": {\n                    \"magento2\": {\n                        \"email\": \"test@email.com\",\n                        \"telephone\": \"666666666\",\n                        \"customer_address_id\": 180815,\n                        \"firstname\": \"test\",\n                        \"street\": [\n                            \"calle test 1\"\n                        ],\n                        \"parent_id\": 187040,\n                        \"postcode\": \"08906\",\n                        \"entity_id\": 374050,\n                        \"address_type\": \"shipping\",\n                        \"country_id\": \"ES\",\n                        \"region_id\": 139,\n                        \"region_code\": \"Barcelona\",\n                        \"lastname\": \"name\",\n                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                        \"region\": \"Barcelona\"\n                    }\n                }\n            },\n            \"billing_address\": {\n                \"id\": 58982,\n                \"created_at\": \"2022-01-10T13:30:03.532469+01:00\",\n                \"updated_at\": \"2022-01-10T13:30:03.532493+01:00\",\n                \"email\": \"test@email.com\",\n                \"first_name\": \"test\",\n                \"last_name\": \"name\",\n                \"nif\": null,\n                \"telephone\": \"666666666\",\n                \"country\": \"ES\",\n                \"region\": \"Barcelona\",\n                \"city\": \"HOSPITALET DE LLOBREGAT\",\n                \"postal_code\": \"08906\",\n                \"address\": \"calle test 1\",\n                \"comments\": null,\n                \"extra\": {\n                    \"magento2\": {\n                        \"email\": \"test@email.com\",\n                        \"telephone\": \"666666666\",\n                        \"customer_address_id\": 180815,\n                        \"firstname\": \"test\",\n                        \"street\": [\n                            \"calle test 1\"\n                        ],\n                        \"parent_id\": 187040,\n                        \"postcode\": \"08906\",\n                        \"entity_id\": 374051,\n                        \"address_type\": \"billing\",\n                        \"country_id\": \"ES\",\n                        \"region_id\": 139,\n                        \"region_code\": \"Barcelona\",\n                        \"lastname\": \"name\",\n                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                        \"region\": \"Barcelona\"\n                    }\n                }\n            },\n            \"syncs\": [\n                {\n                    \"id\": 14226,\n                    \"integration_system\": {\n                        \"id\": 1,\n                        \"active\": true,\n                        \"created_at\": \"2021-06-15T14:01:16.465942+02:00\",\n                        \"updated_at\": \"2021-12-02T11:17:26.115369+01:00\",\n                        \"name\": \"Magento\",\n                        \"code\": \"magento2_v1\",\n                        \"type\": \"magento2_v1\",\n                        \"config\": {\n                            \"connection_profile_id\": 7,\n                            \"ERP_TO_MAGENTO2_ORDER_STATUS\": {},\n                            \"MAGENTO2_CHANNEL_STATUS_SENT\": \"erp_sent\"\n                        }\n                    },\n                    \"created_at\": \"2022-01-10T13:30:06.408893+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:06.412651+01:00\",\n                    \"status\": \"SYNCHRONIZED\",\n                    \"extra\": {},\n                    \"order\": 4856,\n                    \"return_order\": null,\n                    \"shipment\": null\n                },\n                {\n                    \"id\": 14225,\n                    \"integration_system\": {\n                        \"id\": 2,\n                        \"active\": true,\n                        \"created_at\": \"2021-07-12T09:41:31.689372+02:00\",\n                        \"updated_at\": \"2021-12-16T16:21:53.648059+01:00\",\n                        \"name\": \"erp\",\n                        \"code\": \"erp\",\n                        \"type\": \"REST\",\n                        \"config\": {\n                            \"magento_cash_on_delivery_method\": \"cashondelivery\",\n                            \"connection_profile_id\": 9,\n                            \"magento_payment_method_map_to_erp\": {\n                                \"banktransfer\": \"(117)\",\n                                \"redsys\": \"(107)\",\n                                \"cashondelivery\": \"(110)\",\n                                \"paypal_express\": \"(108)\"\n                            }\n                        }\n                    },\n                    \"created_at\": \"2022-01-10T13:30:05.909861+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:05.912985+01:00\",\n                    \"status\": \"SYNCHRONIZED\",\n                    \"extra\": {},\n                    \"order\": 4856,\n                    \"return_order\": null,\n                    \"shipment\": null\n                }\n            ],\n            \"view\": {\n                \"id\": 6,\n                \"channel\": {\n                    \"id\": 5,\n                    \"active\": true,\n                    \"created_at\": \"2021-06-04T13:34:05.847453+02:00\",\n                    \"updated_at\": \"2021-08-25T09:55:37.089996+02:00\",\n                    \"name\": \"Magento\",\n                    \"type\": \"MAGENTO2\",\n                    \"is_origin\": true,\n                    \"config\": {\n                        \"MAGENTO2_EXPORT_PRODUCTS\": {\n                            \"media_custom_attributes\": {\n                                \"global\": [],\n                                \"website\": [],\n                                \"view\": []\n                            },\n                            \"attributes\": {\n                                \"global\": [\n                                    \"product_websites\",\n                                    \"type_of_cooking\",\n                                    \"usefulness\",\n                                    \"for_cooking\",\n                                    \"lifestyle\",\n                                    \"color\",\n                                    \"brand\",\n                                    \"ean\",\n                                    \"language\",\n                                    \"product_type\",\n                                    \"tiempo\",\n                                    \"to_sweeten_with\",\n                                    \"by_product_type\",\n                                    \"attribute_set_code\"\n                                ],\n                                \"website\": [\n                                    \"special_price\",\n                                    \"price\"\n                                ],\n                                \"view\": [\n                                    \"ingredients\",\n                                    \"diners_number\",\n                                    \"elaboration_time\",\n                                    \"peso\",\n                                    \"name\",\n                                    \"very_short_description\",\n                                    \"visibility\",\n                                    \"short_description\",\n                                    \"meta_title\",\n                                    \"medidas\",\n                                    \"material\",\n                                    \"detalles_temperatura\",\n                                    \"description\",\n                                    \"capacity\",\n                                    \"apto_para\"\n                                ]\n                            },\n                            \"grouped_products\": {\n                                \"default_qty\": 1\n                            },\n                            \"export_entities\": [\n                                \"bundle\",\n                                \"categories\",\n                                \"categories_position\",\n                                \"images\",\n                                \"relations\"\n                            ],\n                            \"view_website_mapping\": {\n                                \"es\": \"eu_es\",\n                                \"ca\": \"eu_es\",\n                                \"eu\": \"base\",\n                                \"en\": \"en\",\n                                \"fr\": \"eu_fr\"\n                            },\n                            \"views_to_export\": [\n                                \"eu\",\n                                \"en\",\n                                \"fr\",\n                                \"ca\",\n                                \"es\"\n                            ],\n                            \"default_view\": \"es\",\n                            \"variation_criterias\": [\n                                \"Color\"\n                            ]\n                        }\n                    },\n                    \"is_visible\": true\n                },\n                \"active\": true,\n                \"created_at\": \"2021-06-04T13:41:46.531232+02:00\",\n                \"updated_at\": \"2021-06-10T10:22:05.629344+02:00\",\n                \"name\": \"es\",\n                \"is_master\": true,\n                \"is_visible\": true,\n                \"locale\": 1\n            },\n            \"created_at\": \"2022-01-10T13:30:03.534838+01:00\",\n            \"updated_at\": \"2022-01-10T13:30:05.896035+01:00\",\n            \"reference\": \"35194537\",\n            \"local_status\": \"PENDING\",\n            \"channel_status\": \"processing\",\n            \"currency\": \"EUR\",\n            \"total_without_tax\": \"23.65\",\n            \"total_tax\": \"4.22\",\n            \"shipping_price\": \"0.00\",\n            \"shipping_price_tax_type\": \"0.00\",\n            \"discount\": \"-4.29\",\n            \"total\": \"24.33\",\n            \"payment_method\": \"redsys\",\n            \"shipping_method\": \"Envíos - Envío estándar\",\n            \"shipping_tax\": \"0.00\",\n            \"shipping_with_tax\": \"0.00\",\n            \"coupons\": null,\n            \"comments\": null,\n            \"extra\": {\n                \"magento2\": {\n                    \"items\": [\n                        {\n                            \"price\": 16.45,\n                            \"original_price\": 32.5,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku2\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.52,\n                            \"base_price_incl_tax\": 19.9,\n                            \"discount_amount\": 2.99,\n                            \"tax_amount\": 2.93,\n                            \"discount_invoiced\": 2.99,\n                            \"row_total\": 13.46,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 16.45,\n                            \"price_incl_tax\": 19.9,\n                            \"discount_tax_compensation_amount\": 0.52,\n                            \"base_discount_invoiced\": 2.99,\n                            \"product_id\": 4070,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 2.93,\n                            \"base_tax_amount\": 2.93,\n                            \"base_discount_tax_compensation_invoiced\": 0.52,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku2\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 16.45,\n                            \"row_invoiced\": 16.45,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 16.91,\n                            \"base_discount_amount\": 2.99,\n                            \"row_total_incl_tax\": 16.91,\n                            \"item_id\": 891116,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 47,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 13.46,\n                            \"tax_invoiced\": 2.93,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74798,\n                            \"base_discount_tax_compensation_amount\": 0.52,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 32.5,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        },\n                        {\n                            \"price\": 0,\n                            \"original_price\": 0,\n                            \"discount_percent\": 0,\n                            \"no_discount\": 0,\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0,\n                            \"discount_amount\": 0,\n                            \"tax_amount\": 0,\n                            \"discount_invoiced\": 0,\n                            \"parent_item\": {\n                                \"price\": 16.45,\n                                \"original_price\": 32.5,\n                                \"discount_percent\": 15,\n                                \"applied_rule_ids\": \"5\",\n                                \"sku\": \"sku2\",\n                                \"row_weight\": 0,\n                                \"discount_tax_compensation_invoiced\": 0.52,\n                                \"base_price_incl_tax\": 19.9,\n                                \"discount_amount\": 2.99,\n                                \"tax_amount\": 2.93,\n                                \"discount_invoiced\": 2.99,\n                                \"row_total\": 13.46,\n                                \"product_type\": \"configurable\",\n                                \"base_row_invoiced\": 16.45,\n                                \"price_incl_tax\": 19.9,\n                                \"discount_tax_compensation_amount\": 0.52,\n                                \"base_discount_invoiced\": 2.99,\n                                \"product_id\": 4070,\n                                \"order_id\": 187040,\n                                \"base_tax_invoiced\": 2.93,\n                                \"base_tax_amount\": 2.93,\n                                \"base_discount_tax_compensation_invoiced\": 0.52,\n                                \"qty_ordered\": 1,\n                                \"name\": \"Nombre sku2\",\n                                \"created_at\": \"2022-01-10 12:25:41\",\n                                \"base_price\": 16.45,\n                                \"row_invoiced\": 16.45,\n                                \"qty_invoiced\": 1,\n                                \"base_row_total_incl_tax\": 16.91,\n                                \"base_discount_amount\": 2.99,\n                                \"row_total_incl_tax\": 16.91,\n                                \"item_id\": 891116,\n                                \"base_amount_refunded\": 0,\n                                \"product_option\": {\n                                    \"extension_attributes\": {\n                                        \"configurable_item_options\": [\n                                            {\n                                                \"option_value\": 47,\n                                                \"option_id\": \"93\"\n                                            }\n                                        ]\n                                    }\n                                },\n                                \"weee_tax_applied\": \"[]\",\n                                \"tax_percent\": 21,\n                                \"qty_shipped\": 0,\n                                \"base_row_total\": 13.46,\n                                \"tax_invoiced\": 2.93,\n                                \"free_shipping\": 0,\n                                \"quote_item_id\": 74798,\n                                \"base_discount_tax_compensation_amount\": 0.52,\n                                \"no_discount\": 0,\n                                \"base_original_price\": 32.5,\n                                \"amount_refunded\": 0,\n                                \"updated_at\": \"2022-01-10 12:26:39\",\n                                \"is_virtual\": 0,\n                                \"qty_refunded\": 0,\n                                \"qty_canceled\": 0,\n                                \"store_id\": 1,\n                                \"is_qty_decimal\": 0\n                            },\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"parent_item_id\": 891116,\n                            \"base_discount_invoiced\": 0,\n                            \"product_id\": 2826,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 0,\n                            \"base_tax_amount\": 0,\n                            \"base_discount_tax_compensation_invoiced\": 0,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Kit Iniciación Repostería Essential-ROJO\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 0,\n                            \"row_invoiced\": 0,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 0,\n                            \"base_discount_amount\": 0,\n                            \"row_total_incl_tax\": 0,\n                            \"item_id\": 891117,\n                            \"base_amount_refunded\": 0,\n                            \"product_type\": \"simple\",\n                            \"tax_percent\": 0,\n                            \"qty_shipped\": 0,\n                            \"row_total\": 0,\n                            \"base_row_total\": 0,\n                            \"tax_invoiced\": 0,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74799,\n                            \"amount_refunded\": 0,\n                            \"base_row_invoiced\": 0,\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        },\n                        {\n                            \"price\": 7.2,\n                            \"original_price\": 10.9,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.23,\n                            \"base_price_incl_tax\": 8.72,\n                            \"discount_amount\": 1.3,\n                            \"tax_amount\": 1.29,\n                            \"discount_invoiced\": 1.3,\n                            \"row_total\": 5.9,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 7.2,\n                            \"price_incl_tax\": 8.72,\n                            \"discount_tax_compensation_amount\": 0.23,\n                            \"base_discount_invoiced\": 1.3,\n                            \"product_id\": 3911,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 1.29,\n                            \"base_tax_amount\": 1.29,\n                            \"base_discount_tax_compensation_invoiced\": 0.23,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku1\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 7.2,\n                            \"row_invoiced\": 7.2,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 7.42,\n                            \"base_discount_amount\": 1.3,\n                            \"row_total_incl_tax\": 7.42,\n                            \"item_id\": 891118,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 62,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 5.9,\n                            \"tax_invoiced\": 1.29,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74806,\n                            \"base_discount_tax_compensation_amount\": 0.23,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 10.9,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        },\n                        {\n                            \"price\": 0,\n                            \"original_price\": 0,\n                            \"discount_percent\": 0,\n                            \"no_discount\": 0,\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0,\n                            \"discount_amount\": 0,\n                            \"tax_amount\": 0,\n                            \"discount_invoiced\": 0,\n                            \"parent_item\": {\n                                \"price\": 7.2,\n                                \"original_price\": 10.9,\n                                \"discount_percent\": 15,\n                                \"applied_rule_ids\": \"5\",\n                                \"sku\": \"sku1\",\n                                \"row_weight\": 0,\n                                \"discount_tax_compensation_invoiced\": 0.23,\n                                \"base_price_incl_tax\": 8.72,\n                                \"discount_amount\": 1.3,\n                                \"tax_amount\": 1.29,\n                                \"discount_invoiced\": 1.3,\n                                \"row_total\": 5.9,\n                                \"product_type\": \"configurable\",\n                                \"base_row_invoiced\": 7.2,\n                                \"price_incl_tax\": 8.72,\n                                \"discount_tax_compensation_amount\": 0.23,\n                                \"base_discount_invoiced\": 1.3,\n                                \"product_id\": 3911,\n                                \"order_id\": 187040,\n                                \"base_tax_invoiced\": 1.29,\n                                \"base_tax_amount\": 1.29,\n                                \"base_discount_tax_compensation_invoiced\": 0.23,\n                                \"qty_ordered\": 1,\n                                \"name\": \"Nombre sku1\",\n                                \"created_at\": \"2022-01-10 12:25:41\",\n                                \"base_price\": 7.2,\n                                \"row_invoiced\": 7.2,\n                                \"qty_invoiced\": 1,\n                                \"base_row_total_incl_tax\": 7.42,\n                                \"base_discount_amount\": 1.3,\n                                \"row_total_incl_tax\": 7.42,\n                                \"item_id\": 891118,\n                                \"base_amount_refunded\": 0,\n                                \"product_option\": {\n                                    \"extension_attributes\": {\n                                        \"configurable_item_options\": [\n                                            {\n                                                \"option_value\": 62,\n                                                \"option_id\": \"93\"\n                                            }\n                                        ]\n                                    }\n                                },\n                                \"weee_tax_applied\": \"[]\",\n                                \"tax_percent\": 21,\n                                \"qty_shipped\": 0,\n                                \"base_row_total\": 5.9,\n                                \"tax_invoiced\": 1.29,\n                                \"free_shipping\": 0,\n                                \"quote_item_id\": 74806,\n                                \"base_discount_tax_compensation_amount\": 0.23,\n                                \"no_discount\": 0,\n                                \"base_original_price\": 10.9,\n                                \"amount_refunded\": 0,\n                                \"updated_at\": \"2022-01-10 12:26:39\",\n                                \"is_virtual\": 0,\n                                \"qty_refunded\": 0,\n                                \"qty_canceled\": 0,\n                                \"store_id\": 1,\n                                \"is_qty_decimal\": 0\n                            },\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"parent_item_id\": 891118,\n                            \"base_discount_invoiced\": 0,\n                            \"product_id\": 2597,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 0,\n                            \"base_tax_amount\": 0,\n                            \"base_discount_tax_compensation_invoiced\": 0,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku1\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 0,\n                            \"row_invoiced\": 0,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 0,\n                            \"base_discount_amount\": 0,\n                            \"row_total_incl_tax\": 0,\n                            \"item_id\": 891119,\n                            \"base_amount_refunded\": 0,\n                            \"product_type\": \"simple\",\n                            \"tax_percent\": 0,\n                            \"qty_shipped\": 0,\n                            \"row_total\": 0,\n                            \"base_row_total\": 0,\n                            \"tax_invoiced\": 0,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74807,\n                            \"amount_refunded\": 0,\n                            \"base_row_invoiced\": 0,\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        }\n                    ],\n                    \"shipping_description\": \"Envíos - Envío estándar\",\n                    \"total_due\": 0,\n                    \"total_item_count\": 2,\n                    \"coupon_code\": \"TESTCOUPON\",\n                    \"customer_is_guest\": 0,\n                    \"customer_email\": \"test@email.com\",\n                    \"email_sent\": 1,\n                    \"increment_id\": \"35194537\",\n                    \"base_grand_total\": 24.33,\n                    \"x_forwarded_for\": \"212.145.156.77\",\n                    \"discount_amount\": -4.29,\n                    \"tax_amount\": 4.22,\n                    \"base_shipping_discount_tax_compensation_amnt\": 0,\n                    \"discount_invoiced\": -4.29,\n                    \"applied_rule_ids\": \"5\",\n                    \"total_qty_ordered\": 2,\n                    \"base_currency_code\": \"EUR\",\n                    \"status\": \"processing_redsys\",\n                    \"base_to_order_rate\": 1,\n                    \"subtotal_incl_tax\": 28.62,\n                    \"protect_code\": \"01c95419b32c30c2b2552xxx330a602b0da\",\n                    \"total_paid\": 24.33,\n                    \"base_total_due\": 0,\n                    \"store_currency_code\": \"EUR\",\n                    \"base_discount_invoiced\": -4.29,\n                    \"base_shipping_incl_tax\": 0,\n                    \"customer_group_id\": 1,\n                    \"base_subtotal_incl_tax\": 28.62,\n                    \"grand_total\": 24.33,\n                    \"total_invoiced\": 24.33,\n                    \"order_currency_code\": \"EUR\",\n                    \"base_shipping_invoiced\": 0,\n                    \"base_tax_invoiced\": 4.22,\n                    \"state\": \"processing\",\n                    \"base_discount_tax_compensation_invoiced\": 0.75,\n                    \"store_to_order_rate\": 0,\n                    \"quote_id\": 17741,\n                    \"base_total_invoiced\": 24.33,\n                    \"created_at\": \"2022-01-10 12:25:41\",\n                    \"status_histories\": [\n                        {\n                            \"parent_id\": 187040,\n                            \"entity_name\": \"invoice\",\n                            \"comment\": \"Cantidad capturada de 24,33 € en línea. Identificador de la transacción: \\\"REDSYS_112345\\\"\",\n                            \"is_customer_notified\": null,\n                            \"is_visible_on_front\": 0,\n                            \"status\": \"processing\",\n                            \"created_at\": \"2022-01-10 12:26:39\",\n                            \"entity_id\": 1183147\n                        },\n                        {\n                            \"parent_id\": 187040,\n                            \"entity_name\": \"order\",\n                            \"comment\": \"Payment transaction captured from gateway with ID \\\"REDSYS_112345\\\". Order will be marked as paid.\",\n                            \"is_customer_notified\": null,\n                            \"is_visible_on_front\": 0,\n                            \"status\": \"processing_redsys\",\n                            \"created_at\": \"2022-01-10 12:26:38\",\n                            \"entity_id\": 1183146\n                        },\n                        {\n                            \"parent_id\": 187040,\n                            \"entity_name\": \"order\",\n                            \"comment\": null,\n                            \"is_customer_notified\": 1,\n                            \"is_visible_on_front\": 0,\n                            \"status\": \"pending\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"entity_id\": 1183143\n                        }\n                    ],\n                    \"base_tax_amount\": 4.22,\n                    \"weight\": 0,\n                    \"customer_lastname\": \"name\",\n                    \"shipping_amount\": 0,\n                    \"base_discount_amount\": -4.29,\n                    \"base_total_paid\": 24.33,\n                    \"base_shipping_tax_amount\": 0,\n                    \"customer_note_notify\": 0,\n                    \"remote_ip\": \"212.145.156.77\",\n                    \"entity_id\": 187040,\n                    \"subtotal_invoiced\": 23.65,\n                    \"discount_description\": \"TESTCOUPON\",\n                    \"global_currency_code\": \"EUR\",\n                    \"shipping_incl_tax\": 0,\n                    \"base_to_global_rate\": 1,\n                    \"shipping_tax_amount\": 0,\n                    \"discount_tax_compensation_amount\": 0.75,\n                    \"billing_address_id\": 374051,\n                    \"store_to_base_rate\": 0,\n                    \"base_shipping_amount\": 0,\n                    \"tax_invoiced\": 4.22,\n                    \"payment\": {\n                        \"parent_id\": 187040,\n                        \"cc_last4\": null,\n                        \"shipping_amount\": 0,\n                        \"cc_ss_start_month\": \"0\",\n                        \"amount_ordered\": 24.33,\n                        \"method\": \"redsys\",\n                        \"base_amount_ordered\": 24.33,\n                        \"shipping_captured\": 0,\n                        \"last_trans_id\": \"REDSYS_112345\",\n                        \"base_amount_paid\": 24.33,\n                        \"entity_id\": 187026,\n                        \"additional_information\": [\n                            \"Pago tarjeta\"\n                        ],\n                        \"account_status\": null,\n                        \"amount_paid\": 24.33,\n                        \"cc_ss_start_year\": \"0\",\n                        \"base_amount_paid_online\": 24.33,\n                        \"cc_exp_year\": \"0\",\n                        \"base_shipping_captured\": 0,\n                        \"base_shipping_amount\": 0\n                    },\n                    \"shipping_invoiced\": 0,\n                    \"discount_tax_compensation_invoiced\": 0.75,\n                    \"base_discount_tax_compensation_amount\": 0.75,\n                    \"base_subtotal\": 23.65,\n                    \"base_shipping_discount_amount\": 0,\n                    \"customer_firstname\": \"test\",\n                    \"updated_at\": \"2022-01-10 12:26:39\",\n                    \"extension_attributes\": {\n                        \"need_invoice\": false,\n                        \"applied_taxes\": [\n                            {\n                                \"title\": \"IVA General\",\n                                \"percent\": 21,\n                                \"code\": \"IVA General\",\n                                \"amount\": 4.22,\n                                \"base_amount\": 4.22\n                            }\n                        ],\n                        \"item_applied_taxes\": [\n                            {\n                                \"applied_taxes\": [\n                                    {\n                                        \"title\": \"IVA General\",\n                                        \"percent\": 21,\n                                        \"code\": \"IVA General\",\n                                        \"amount\": 0,\n                                        \"base_amount\": 0\n                                    }\n                                ],\n                                \"type\": \"shipping\"\n                            },\n                            {\n                                \"item_id\": 891116,\n                                \"applied_taxes\": [\n                                    {\n                                        \"title\": \"IVA General\",\n                                        \"percent\": 21,\n                                        \"code\": \"IVA General\",\n                                        \"amount\": 2.93,\n                                        \"base_amount\": 2.93\n                                    }\n                                ],\n                                \"type\": \"product\"\n                            },\n                            {\n                                \"item_id\": 891118,\n                                \"applied_taxes\": [\n                                    {\n                                        \"title\": \"IVA General\",\n                                        \"percent\": 21,\n                                        \"code\": \"IVA General\",\n                                        \"amount\": 1.29,\n                                        \"base_amount\": 1.29\n                                    }\n                                ],\n                                \"type\": \"product\"\n                            }\n                        ],\n                        \"converting_from_quote\": true,\n                        \"shipping_assignments\": [\n                            {\n                                \"items\": [\n                                    {\n                                        \"price\": 16.45,\n                                        \"original_price\": 32.5,\n                                        \"discount_percent\": 15,\n                                        \"applied_rule_ids\": \"5\",\n                                        \"sku\": \"sku2\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0.52,\n                                        \"base_price_incl_tax\": 19.9,\n                                        \"discount_amount\": 2.99,\n                                        \"tax_amount\": 2.93,\n                                        \"discount_invoiced\": 2.99,\n                                        \"row_total\": 13.46,\n                                        \"product_type\": \"configurable\",\n                                        \"base_row_invoiced\": 16.45,\n                                        \"price_incl_tax\": 19.9,\n                                        \"discount_tax_compensation_amount\": 0.52,\n                                        \"base_discount_invoiced\": 2.99,\n                                        \"product_id\": 4070,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 2.93,\n                                        \"base_tax_amount\": 2.93,\n                                        \"base_discount_tax_compensation_invoiced\": 0.52,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku2\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 16.45,\n                                        \"row_invoiced\": 16.45,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 16.91,\n                                        \"base_discount_amount\": 2.99,\n                                        \"row_total_incl_tax\": 16.91,\n                                        \"item_id\": 891116,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_option\": {\n                                            \"extension_attributes\": {\n                                                \"configurable_item_options\": [\n                                                    {\n                                                        \"option_value\": 47,\n                                                        \"option_id\": \"93\"\n                                                    }\n                                                ]\n                                            }\n                                        },\n                                        \"weee_tax_applied\": \"[]\",\n                                        \"tax_percent\": 21,\n                                        \"qty_shipped\": 0,\n                                        \"base_row_total\": 13.46,\n                                        \"tax_invoiced\": 2.93,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74798,\n                                        \"base_discount_tax_compensation_amount\": 0.52,\n                                        \"no_discount\": 0,\n                                        \"base_original_price\": 32.5,\n                                        \"amount_refunded\": 0,\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    },\n                                    {\n                                        \"price\": 0,\n                                        \"original_price\": 0,\n                                        \"discount_percent\": 0,\n                                        \"no_discount\": 0,\n                                        \"sku\": \"sku2\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0,\n                                        \"discount_amount\": 0,\n                                        \"tax_amount\": 0,\n                                        \"discount_invoiced\": 0,\n                                        \"parent_item\": {\n                                            \"price\": 16.45,\n                                            \"original_price\": 32.5,\n                                            \"discount_percent\": 15,\n                                            \"applied_rule_ids\": \"5\",\n                                            \"sku\": \"sku2\",\n                                            \"row_weight\": 0,\n                                            \"discount_tax_compensation_invoiced\": 0.52,\n                                            \"base_price_incl_tax\": 19.9,\n                                            \"discount_amount\": 2.99,\n                                            \"tax_amount\": 2.93,\n                                            \"discount_invoiced\": 2.99,\n                                            \"row_total\": 13.46,\n                                            \"product_type\": \"configurable\",\n                                            \"base_row_invoiced\": 16.45,\n                                            \"price_incl_tax\": 19.9,\n                                            \"discount_tax_compensation_amount\": 0.52,\n                                            \"base_discount_invoiced\": 2.99,\n                                            \"product_id\": 4070,\n                                            \"order_id\": 187040,\n                                            \"base_tax_invoiced\": 2.93,\n                                            \"base_tax_amount\": 2.93,\n                                            \"base_discount_tax_compensation_invoiced\": 0.52,\n                                            \"qty_ordered\": 1,\n                                            \"name\": \"Nombre sku2\",\n                                            \"created_at\": \"2022-01-10 12:25:41\",\n                                            \"base_price\": 16.45,\n                                            \"row_invoiced\": 16.45,\n                                            \"qty_invoiced\": 1,\n                                            \"base_row_total_incl_tax\": 16.91,\n                                            \"base_discount_amount\": 2.99,\n                                            \"row_total_incl_tax\": 16.91,\n                                            \"item_id\": 891116,\n                                            \"base_amount_refunded\": 0,\n                                            \"product_option\": {\n                                                \"extension_attributes\": {\n                                                    \"configurable_item_options\": [\n                                                        {\n                                                            \"option_value\": 47,\n                                                            \"option_id\": \"93\"\n                                                        }\n                                                    ]\n                                                }\n                                            },\n                                            \"weee_tax_applied\": \"[]\",\n                                            \"tax_percent\": 21,\n                                            \"qty_shipped\": 0,\n                                            \"base_row_total\": 13.46,\n                                            \"tax_invoiced\": 2.93,\n                                            \"free_shipping\": 0,\n                                            \"quote_item_id\": 74798,\n                                            \"base_discount_tax_compensation_amount\": 0.52,\n                                            \"no_discount\": 0,\n                                            \"base_original_price\": 32.5,\n                                            \"amount_refunded\": 0,\n                                            \"updated_at\": \"2022-01-10 12:26:39\",\n                                            \"is_virtual\": 0,\n                                            \"qty_refunded\": 0,\n                                            \"qty_canceled\": 0,\n                                            \"store_id\": 1,\n                                            \"is_qty_decimal\": 0\n                                        },\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"parent_item_id\": 891116,\n                                        \"base_discount_invoiced\": 0,\n                                        \"product_id\": 2826,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 0,\n                                        \"base_tax_amount\": 0,\n                                        \"base_discount_tax_compensation_invoiced\": 0,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku2\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 0,\n                                        \"row_invoiced\": 0,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 0,\n                                        \"base_discount_amount\": 0,\n                                        \"row_total_incl_tax\": 0,\n                                        \"item_id\": 891117,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_type\": \"simple\",\n                                        \"tax_percent\": 0,\n                                        \"qty_shipped\": 0,\n                                        \"row_total\": 0,\n                                        \"base_row_total\": 0,\n                                        \"tax_invoiced\": 0,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74799,\n                                        \"amount_refunded\": 0,\n                                        \"base_row_invoiced\": 0,\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    },\n                                    {\n                                        \"price\": 7.2,\n                                        \"original_price\": 10.9,\n                                        \"discount_percent\": 15,\n                                        \"applied_rule_ids\": \"5\",\n                                        \"sku\": \"sku1\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0.23,\n                                        \"base_price_incl_tax\": 8.72,\n                                        \"discount_amount\": 1.3,\n                                        \"tax_amount\": 1.29,\n                                        \"discount_invoiced\": 1.3,\n                                        \"row_total\": 5.9,\n                                        \"product_type\": \"configurable\",\n                                        \"base_row_invoiced\": 7.2,\n                                        \"price_incl_tax\": 8.72,\n                                        \"discount_tax_compensation_amount\": 0.23,\n                                        \"base_discount_invoiced\": 1.3,\n                                        \"product_id\": 3911,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 1.29,\n                                        \"base_tax_amount\": 1.29,\n                                        \"base_discount_tax_compensation_invoiced\": 0.23,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku1\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 7.2,\n                                        \"row_invoiced\": 7.2,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 7.42,\n                                        \"base_discount_amount\": 1.3,\n                                        \"row_total_incl_tax\": 7.42,\n                                        \"item_id\": 891118,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_option\": {\n                                            \"extension_attributes\": {\n                                                \"configurable_item_options\": [\n                                                    {\n                                                        \"option_value\": 62,\n                                                        \"option_id\": \"93\"\n                                                    }\n                                                ]\n                                            }\n                                        },\n                                        \"weee_tax_applied\": \"[]\",\n                                        \"tax_percent\": 21,\n                                        \"qty_shipped\": 0,\n                                        \"base_row_total\": 5.9,\n                                        \"tax_invoiced\": 1.29,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74806,\n                                        \"base_discount_tax_compensation_amount\": 0.23,\n                                        \"no_discount\": 0,\n                                        \"base_original_price\": 10.9,\n                                        \"amount_refunded\": 0,\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    },\n                                    {\n                                        \"price\": 0,\n                                        \"original_price\": 0,\n                                        \"discount_percent\": 0,\n                                        \"no_discount\": 0,\n                                        \"sku\": \"sku1\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0,\n                                        \"discount_amount\": 0,\n                                        \"tax_amount\": 0,\n                                        \"discount_invoiced\": 0,\n                                        \"parent_item\": {\n                                            \"price\": 7.2,\n                                            \"original_price\": 10.9,\n                                            \"discount_percent\": 15,\n                                            \"applied_rule_ids\": \"5\",\n                                            \"sku\": \"sku1\",\n                                            \"row_weight\": 0,\n                                            \"discount_tax_compensation_invoiced\": 0.23,\n                                            \"base_price_incl_tax\": 8.72,\n                                            \"discount_amount\": 1.3,\n                                            \"tax_amount\": 1.29,\n                                            \"discount_invoiced\": 1.3,\n                                            \"row_total\": 5.9,\n                                            \"product_type\": \"configurable\",\n                                            \"base_row_invoiced\": 7.2,\n                                            \"price_incl_tax\": 8.72,\n                                            \"discount_tax_compensation_amount\": 0.23,\n                                            \"base_discount_invoiced\": 1.3,\n                                            \"product_id\": 3911,\n                                            \"order_id\": 187040,\n                                            \"base_tax_invoiced\": 1.29,\n                                            \"base_tax_amount\": 1.29,\n                                            \"base_discount_tax_compensation_invoiced\": 0.23,\n                                            \"qty_ordered\": 1,\n                                            \"name\": \"Nombre sku1\",\n                                            \"created_at\": \"2022-01-10 12:25:41\",\n                                            \"base_price\": 7.2,\n                                            \"row_invoiced\": 7.2,\n                                            \"qty_invoiced\": 1,\n                                            \"base_row_total_incl_tax\": 7.42,\n                                            \"base_discount_amount\": 1.3,\n                                            \"row_total_incl_tax\": 7.42,\n                                            \"item_id\": 891118,\n                                            \"base_amount_refunded\": 0,\n                                            \"product_option\": {\n                                                \"extension_attributes\": {\n                                                    \"configurable_item_options\": [\n                                                        {\n                                                            \"option_value\": 62,\n                                                            \"option_id\": \"93\"\n                                                        }\n                                                    ]\n                                                }\n                                            },\n                                            \"weee_tax_applied\": \"[]\",\n                                            \"tax_percent\": 21,\n                                            \"qty_shipped\": 0,\n                                            \"base_row_total\": 5.9,\n                                            \"tax_invoiced\": 1.29,\n                                            \"free_shipping\": 0,\n                                            \"quote_item_id\": 74806,\n                                            \"base_discount_tax_compensation_amount\": 0.23,\n                                            \"no_discount\": 0,\n                                            \"base_original_price\": 10.9,\n                                            \"amount_refunded\": 0,\n                                            \"updated_at\": \"2022-01-10 12:26:39\",\n                                            \"is_virtual\": 0,\n                                            \"qty_refunded\": 0,\n                                            \"qty_canceled\": 0,\n                                            \"store_id\": 1,\n                                            \"is_qty_decimal\": 0\n                                        },\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"parent_item_id\": 891118,\n                                        \"base_discount_invoiced\": 0,\n                                        \"product_id\": 2597,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 0,\n                                        \"base_tax_amount\": 0,\n                                        \"base_discount_tax_compensation_invoiced\": 0,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku1\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 0,\n                                        \"row_invoiced\": 0,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 0,\n                                        \"base_discount_amount\": 0,\n                                        \"row_total_incl_tax\": 0,\n                                        \"item_id\": 891119,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_type\": \"simple\",\n                                        \"tax_percent\": 0,\n                                        \"qty_shipped\": 0,\n                                        \"row_total\": 0,\n                                        \"base_row_total\": 0,\n                                        \"tax_invoiced\": 0,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74807,\n                                        \"amount_refunded\": 0,\n                                        \"base_row_invoiced\": 0,\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    }\n                                ],\n                                \"shipping\": {\n                                    \"method\": \"matrixrate_matrixrate_22\",\n                                    \"address\": {\n                                        \"email\": \"test@email.com\",\n                                        \"telephone\": \"666666666\",\n                                        \"customer_address_id\": 180815,\n                                        \"firstname\": \"test\",\n                                        \"street\": [\n                                            \"calle test 1\"\n                                        ],\n                                        \"parent_id\": 187040,\n                                        \"postcode\": \"08906\",\n                                        \"entity_id\": 374050,\n                                        \"address_type\": \"shipping\",\n                                        \"country_id\": \"ES\",\n                                        \"region_id\": 139,\n                                        \"region_code\": \"Barcelona\",\n                                        \"lastname\": \"name\",\n                                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                                        \"region\": \"Barcelona\"\n                                    },\n                                    \"total\": {\n                                        \"shipping_invoiced\": 0,\n                                        \"shipping_discount_amount\": 0,\n                                        \"shipping_amount\": 0,\n                                        \"base_shipping_incl_tax\": 0,\n                                        \"base_shipping_tax_amount\": 0,\n                                        \"base_shipping_discount_amount\": 0,\n                                        \"base_shipping_invoiced\": 0,\n                                        \"shipping_incl_tax\": 0,\n                                        \"base_shipping_discount_tax_compensation_amnt\": 0,\n                                        \"shipping_tax_amount\": 0,\n                                        \"base_shipping_amount\": 0,\n                                        \"shipping_discount_tax_compensation_amount\": 0\n                                    }\n                                }\n                            }\n                        ],\n                        \"payment_additional_info\": [\n                            {\n                                \"key\": \"method_title\",\n                                \"value\": \"Pago tarjeta\"\n                            }\n                        ],\n                        \"fooman_total_group\": {\n                            \"items\": []\n                        },\n                        \"smartie_sync_status\": \"not_ready_to_sync\"\n                    },\n                    \"is_virtual\": 0,\n                    \"customer_id\": 183667,\n                    \"base_subtotal_invoiced\": 23.65,\n                    \"billing_address\": {\n                        \"email\": \"test@email.com\",\n                        \"telephone\": \"666666666\",\n                        \"customer_address_id\": 180815,\n                        \"firstname\": \"test\",\n                        \"street\": [\n                            \"calle test 1\"\n                        ],\n                        \"parent_id\": 187040,\n                        \"postcode\": \"08906\",\n                        \"entity_id\": 374051,\n                        \"address_type\": \"billing\",\n                        \"country_id\": \"ES\",\n                        \"region_id\": 139,\n                        \"region_code\": \"Barcelona\",\n                        \"lastname\": \"name\",\n                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                        \"region\": \"Barcelona\"\n                    },\n                    \"store_name\": \"España\\nEspaña\\nES\",\n                    \"store_id\": 1,\n                    \"subtotal\": 23.65,\n                    \"shipping_discount_tax_compensation_amount\": 0,\n                    \"shipping_discount_amount\": 0,\n                    \"base_total_invoiced_cost\": 0\n                }\n            },\n            \"channel_create_date\": \"2022-01-10T13:25:41+01:00\",\n            \"store_pickup\": false\n        }\n    ]\n}"},{"id":"b5fc6046-aec3-4475-a0a1-51c938be6131","name":"O07 - Search orders with error sync","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"page\": 1,\n        \"page_size\": 20,\n        \"startRow\": 1,\n        \"endRow\": 20\n    },\n    \"filters\": {\n        \"syncs__status__in\": [\n            \"ERROR\"\n        ]\n    },\n    \"sort\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/orders/search/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 4856,\n            \"order_lines\": [\n                {\n                    \"id\": 11244,\n                    \"created_at\": \"2022-01-10T13:30:03.540352+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:03.540378+01:00\",\n                    \"reference\": \"sku1\",\n                    \"quantity\": 1,\n                    \"currency\": \"EUR\",\n                    \"regular_unit_price_without_tax\": \"7.20\",\n                    \"unit_price_with_tax\": \"8.72\",\n                    \"unit_price_without_tax\": \"7.20\",\n                    \"unit_price_tax_type\": \"0.00\",\n                    \"regular_unit_price_tax\": \"10.90\",\n                    \"regular_unit_price_with_tax\": \"10.90\",\n                    \"discount\": \"15.00\",\n                    \"total_without_tax\": \"5.90\",\n                    \"total_tax\": \"1.29\",\n                    \"total\": \"7.42\",\n                    \"coupons\": null,\n                    \"comments\": null,\n                    \"extra\": {\n                        \"magento2\": {\n                            \"price\": 7.2,\n                            \"original_price\": 10.9,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.23,\n                            \"base_price_incl_tax\": 8.72,\n                            \"discount_amount\": 1.3,\n                            \"tax_amount\": 1.29,\n                            \"discount_invoiced\": 1.3,\n                            \"row_total\": 5.9,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 7.2,\n                            \"price_incl_tax\": 8.72,\n                            \"discount_tax_compensation_amount\": 0.23,\n                            \"base_discount_invoiced\": 1.3,\n                            \"product_id\": 3911,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 1.29,\n                            \"base_tax_amount\": 1.29,\n                            \"base_discount_tax_compensation_invoiced\": 0.23,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku1\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 7.2,\n                            \"row_invoiced\": 7.2,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 7.42,\n                            \"base_discount_amount\": 1.3,\n                            \"row_total_incl_tax\": 7.42,\n                            \"item_id\": 891118,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 62,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 5.9,\n                            \"tax_invoiced\": 1.29,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74806,\n                            \"base_discount_tax_compensation_amount\": 0.23,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 10.9,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        }\n                    },\n                    \"product_snapshot\": {},\n                    \"product_view\": null\n                },\n                {\n                    \"id\": 11243,\n                    \"created_at\": \"2022-01-10T13:30:03.538355+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:03.538382+01:00\",\n                    \"reference\": \"sku2\",\n                    \"quantity\": 1,\n                    \"currency\": \"EUR\",\n                    \"regular_unit_price_without_tax\": \"16.45\",\n                    \"unit_price_with_tax\": \"19.90\",\n                    \"unit_price_without_tax\": \"16.45\",\n                    \"unit_price_tax_type\": \"0.00\",\n                    \"regular_unit_price_tax\": \"32.50\",\n                    \"regular_unit_price_with_tax\": \"32.50\",\n                    \"discount\": \"15.00\",\n                    \"total_without_tax\": \"13.46\",\n                    \"total_tax\": \"2.93\",\n                    \"total\": \"16.91\",\n                    \"coupons\": null,\n                    \"comments\": null,\n                    \"extra\": {\n                        \"magento2\": {\n                            \"price\": 16.45,\n                            \"original_price\": 32.5,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku2\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.52,\n                            \"base_price_incl_tax\": 19.9,\n                            \"discount_amount\": 2.99,\n                            \"tax_amount\": 2.93,\n                            \"discount_invoiced\": 2.99,\n                            \"row_total\": 13.46,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 16.45,\n                            \"price_incl_tax\": 19.9,\n                            \"discount_tax_compensation_amount\": 0.52,\n                            \"base_discount_invoiced\": 2.99,\n                            \"product_id\": 4070,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 2.93,\n                            \"base_tax_amount\": 2.93,\n                            \"base_discount_tax_compensation_invoiced\": 0.52,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku2\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 16.45,\n                            \"row_invoiced\": 16.45,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 16.91,\n                            \"base_discount_amount\": 2.99,\n                            \"row_total_incl_tax\": 16.91,\n                            \"item_id\": 891116,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 47,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 13.46,\n                            \"tax_invoiced\": 2.93,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74798,\n                            \"base_discount_tax_compensation_amount\": 0.52,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 32.5,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        }\n                    },\n                    \"product_snapshot\": {},\n                    \"product_view\": null\n                }\n            ],\n            \"customer\": {\n                \"id\": 4856,\n                \"created_at\": \"2022-01-10T13:30:03.533504+01:00\",\n                \"updated_at\": \"2022-01-10T13:30:03.533531+01:00\",\n                \"reference\": \"183667\",\n                \"email\": \"test@email.com\",\n                \"first_name\": \"test\",\n                \"last_name\": \"name\",\n                \"nif\": null,\n                \"telephone\": null,\n                \"gender\": null,\n                \"comments\": null,\n                \"extra\": {}\n            },\n            \"shipping_address\": {\n                \"id\": 58981,\n                \"created_at\": \"2022-01-10T13:30:03.530969+01:00\",\n                \"updated_at\": \"2022-01-10T13:30:03.530993+01:00\",\n                \"email\": \"test@email.com\",\n                \"first_name\": \"test\",\n                \"last_name\": \"name\",\n                \"nif\": null,\n                \"telephone\": \"666666666\",\n                \"country\": \"ES\",\n                \"region\": \"Barcelona\",\n                \"city\": \"HOSPITALET DE LLOBREGAT\",\n                \"postal_code\": \"08906\",\n                \"address\": \"calle test 1\",\n                \"comments\": null,\n                \"extra\": {\n                    \"magento2\": {\n                        \"email\": \"test@email.com\",\n                        \"telephone\": \"666666666\",\n                        \"customer_address_id\": 180815,\n                        \"firstname\": \"test\",\n                        \"street\": [\n                            \"calle test 1\"\n                        ],\n                        \"parent_id\": 187040,\n                        \"postcode\": \"08906\",\n                        \"entity_id\": 374050,\n                        \"address_type\": \"shipping\",\n                        \"country_id\": \"ES\",\n                        \"region_id\": 139,\n                        \"region_code\": \"Barcelona\",\n                        \"lastname\": \"name\",\n                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                        \"region\": \"Barcelona\"\n                    }\n                }\n            },\n            \"billing_address\": {\n                \"id\": 58982,\n                \"created_at\": \"2022-01-10T13:30:03.532469+01:00\",\n                \"updated_at\": \"2022-01-10T13:30:03.532493+01:00\",\n                \"email\": \"test@email.com\",\n                \"first_name\": \"test\",\n                \"last_name\": \"name\",\n                \"nif\": null,\n                \"telephone\": \"666666666\",\n                \"country\": \"ES\",\n                \"region\": \"Barcelona\",\n                \"city\": \"HOSPITALET DE LLOBREGAT\",\n                \"postal_code\": \"08906\",\n                \"address\": \"calle test 1\",\n                \"comments\": null,\n                \"extra\": {\n                    \"magento2\": {\n                        \"email\": \"test@email.com\",\n                        \"telephone\": \"666666666\",\n                        \"customer_address_id\": 180815,\n                        \"firstname\": \"test\",\n                        \"street\": [\n                            \"calle test 1\"\n                        ],\n                        \"parent_id\": 187040,\n                        \"postcode\": \"08906\",\n                        \"entity_id\": 374051,\n                        \"address_type\": \"billing\",\n                        \"country_id\": \"ES\",\n                        \"region_id\": 139,\n                        \"region_code\": \"Barcelona\",\n                        \"lastname\": \"name\",\n                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                        \"region\": \"Barcelona\"\n                    }\n                }\n            },\n            \"syncs\": [\n                {\n                    \"id\": 14226,\n                    \"integration_system\": {\n                        \"id\": 1,\n                        \"active\": true,\n                        \"created_at\": \"2021-06-15T14:01:16.465942+02:00\",\n                        \"updated_at\": \"2021-12-02T11:17:26.115369+01:00\",\n                        \"name\": \"Magento\",\n                        \"code\": \"magento2_v1\",\n                        \"type\": \"magento2_v1\",\n                        \"config\": {\n                            \"connection_profile_id\": 7,\n                            \"ERP_TO_MAGENTO2_ORDER_STATUS\": {},\n                            \"MAGENTO2_CHANNEL_STATUS_SENT\": \"erp_sent\"\n                        }\n                    },\n                    \"created_at\": \"2022-01-10T13:30:06.408893+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:06.412651+01:00\",\n                    \"status\": \"ERROR\",\n                    \"extra\": {},\n                    \"order\": 4856,\n                    \"return_order\": null,\n                    \"shipment\": null\n                },\n                {\n                    \"id\": 14225,\n                    \"integration_system\": {\n                        \"id\": 2,\n                        \"active\": true,\n                        \"created_at\": \"2021-07-12T09:41:31.689372+02:00\",\n                        \"updated_at\": \"2021-12-16T16:21:53.648059+01:00\",\n                        \"name\": \"erp\",\n                        \"code\": \"erp\",\n                        \"type\": \"REST\",\n                        \"config\": {\n                            \"magento_cash_on_delivery_method\": \"cashondelivery\",\n                            \"connection_profile_id\": 9,\n                            \"magento_payment_method_map_to_erp\": {\n                                \"banktransfer\": \"(117)\",\n                                \"redsys\": \"(107)\",\n                                \"cashondelivery\": \"(110)\",\n                                \"paypal_express\": \"(108)\"\n                            }\n                        }\n                    },\n                    \"created_at\": \"2022-01-10T13:30:05.909861+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:05.912985+01:00\",\n                    \"status\": \"ERROR\",\n                    \"extra\": {},\n                    \"order\": 4856,\n                    \"return_order\": null,\n                    \"shipment\": null\n                }\n            ],\n            \"view\": {\n                \"id\": 6,\n                \"channel\": {\n                    \"id\": 5,\n                    \"active\": true,\n                    \"created_at\": \"2021-06-04T13:34:05.847453+02:00\",\n                    \"updated_at\": \"2021-08-25T09:55:37.089996+02:00\",\n                    \"name\": \"Magento\",\n                    \"type\": \"MAGENTO2\",\n                    \"is_origin\": true,\n                    \"config\": {\n                        \"MAGENTO2_EXPORT_PRODUCTS\": {\n                            \"media_custom_attributes\": {\n                                \"global\": [],\n                                \"website\": [],\n                                \"view\": []\n                            },\n                            \"attributes\": {\n                                \"global\": [\n                                    \"product_websites\",\n                                    \"type_of_cooking\",\n                                    \"usefulness\",\n                                    \"for_cooking\",\n                                    \"lifestyle\",\n                                    \"color\",\n                                    \"brand\",\n                                    \"ean\",\n                                    \"language\",\n                                    \"product_type\",\n                                    \"tiempo\",\n                                    \"to_sweeten_with\",\n                                    \"by_product_type\",\n                                    \"attribute_set_code\"\n                                ],\n                                \"website\": [\n                                    \"special_price\",\n                                    \"price\"\n                                ],\n                                \"view\": [\n                                    \"ingredients\",\n                                    \"diners_number\",\n                                    \"elaboration_time\",\n                                    \"peso\",\n                                    \"name\",\n                                    \"very_short_description\",\n                                    \"visibility\",\n                                    \"short_description\",\n                                    \"meta_title\",\n                                    \"medidas\",\n                                    \"material\",\n                                    \"detalles_temperatura\",\n                                    \"description\",\n                                    \"capacity\",\n                                    \"apto_para\"\n                                ]\n                            },\n                            \"grouped_products\": {\n                                \"default_qty\": 1\n                            },\n                            \"export_entities\": [\n                                \"bundle\",\n                                \"categories\",\n                                \"categories_position\",\n                                \"images\",\n                                \"relations\"\n                            ],\n                            \"view_website_mapping\": {\n                                \"es\": \"eu_es\",\n                                \"ca\": \"eu_es\",\n                                \"eu\": \"base\",\n                                \"en\": \"en\",\n                                \"fr\": \"eu_fr\"\n                            },\n                            \"views_to_export\": [\n                                \"eu\",\n                                \"en\",\n                                \"fr\",\n                                \"ca\",\n                                \"es\"\n                            ],\n                            \"default_view\": \"es\",\n                            \"variation_criterias\": [\n                                \"Color\"\n                            ]\n                        }\n                    },\n                    \"is_visible\": true\n                },\n                \"active\": true,\n                \"created_at\": \"2021-06-04T13:41:46.531232+02:00\",\n                \"updated_at\": \"2021-06-10T10:22:05.629344+02:00\",\n                \"name\": \"es\",\n                \"is_master\": true,\n                \"is_visible\": true,\n                \"locale\": 1\n            },\n            \"created_at\": \"2022-01-10T13:30:03.534838+01:00\",\n            \"updated_at\": \"2022-01-10T13:30:05.896035+01:00\",\n            \"reference\": \"35194537\",\n            \"local_status\": \"PENDING\",\n            \"channel_status\": \"processing\",\n            \"currency\": \"EUR\",\n            \"total_without_tax\": \"23.65\",\n            \"total_tax\": \"4.22\",\n            \"shipping_price\": \"0.00\",\n            \"shipping_price_tax_type\": \"0.00\",\n            \"discount\": \"-4.29\",\n            \"total\": \"24.33\",\n            \"payment_method\": \"redsys\",\n            \"shipping_method\": \"Envíos - Envío estándar\",\n            \"shipping_tax\": \"0.00\",\n            \"shipping_with_tax\": \"0.00\",\n            \"coupons\": null,\n            \"comments\": null,\n            \"extra\": {\n                \"magento2\": {\n                    \"items\": [\n                        {\n                            \"price\": 16.45,\n                            \"original_price\": 32.5,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku2\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.52,\n                            \"base_price_incl_tax\": 19.9,\n                            \"discount_amount\": 2.99,\n                            \"tax_amount\": 2.93,\n                            \"discount_invoiced\": 2.99,\n                            \"row_total\": 13.46,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 16.45,\n                            \"price_incl_tax\": 19.9,\n                            \"discount_tax_compensation_amount\": 0.52,\n                            \"base_discount_invoiced\": 2.99,\n                            \"product_id\": 4070,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 2.93,\n                            \"base_tax_amount\": 2.93,\n                            \"base_discount_tax_compensation_invoiced\": 0.52,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku2\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 16.45,\n                            \"row_invoiced\": 16.45,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 16.91,\n                            \"base_discount_amount\": 2.99,\n                            \"row_total_incl_tax\": 16.91,\n                            \"item_id\": 891116,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 47,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 13.46,\n                            \"tax_invoiced\": 2.93,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74798,\n                            \"base_discount_tax_compensation_amount\": 0.52,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 32.5,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        },\n                        {\n                            \"price\": 0,\n                            \"original_price\": 0,\n                            \"discount_percent\": 0,\n                            \"no_discount\": 0,\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0,\n                            \"discount_amount\": 0,\n                            \"tax_amount\": 0,\n                            \"discount_invoiced\": 0,\n                            \"parent_item\": {\n                                \"price\": 16.45,\n                                \"original_price\": 32.5,\n                                \"discount_percent\": 15,\n                                \"applied_rule_ids\": \"5\",\n                                \"sku\": \"sku2\",\n                                \"row_weight\": 0,\n                                \"discount_tax_compensation_invoiced\": 0.52,\n                                \"base_price_incl_tax\": 19.9,\n                                \"discount_amount\": 2.99,\n                                \"tax_amount\": 2.93,\n                                \"discount_invoiced\": 2.99,\n                                \"row_total\": 13.46,\n                                \"product_type\": \"configurable\",\n                                \"base_row_invoiced\": 16.45,\n                                \"price_incl_tax\": 19.9,\n                                \"discount_tax_compensation_amount\": 0.52,\n                                \"base_discount_invoiced\": 2.99,\n                                \"product_id\": 4070,\n                                \"order_id\": 187040,\n                                \"base_tax_invoiced\": 2.93,\n                                \"base_tax_amount\": 2.93,\n                                \"base_discount_tax_compensation_invoiced\": 0.52,\n                                \"qty_ordered\": 1,\n                                \"name\": \"Nombre sku2\",\n                                \"created_at\": \"2022-01-10 12:25:41\",\n                                \"base_price\": 16.45,\n                                \"row_invoiced\": 16.45,\n                                \"qty_invoiced\": 1,\n                                \"base_row_total_incl_tax\": 16.91,\n                                \"base_discount_amount\": 2.99,\n                                \"row_total_incl_tax\": 16.91,\n                                \"item_id\": 891116,\n                                \"base_amount_refunded\": 0,\n                                \"product_option\": {\n                                    \"extension_attributes\": {\n                                        \"configurable_item_options\": [\n                                            {\n                                                \"option_value\": 47,\n                                                \"option_id\": \"93\"\n                                            }\n                                        ]\n                                    }\n                                },\n                                \"weee_tax_applied\": \"[]\",\n                                \"tax_percent\": 21,\n                                \"qty_shipped\": 0,\n                                \"base_row_total\": 13.46,\n                                \"tax_invoiced\": 2.93,\n                                \"free_shipping\": 0,\n                                \"quote_item_id\": 74798,\n                                \"base_discount_tax_compensation_amount\": 0.52,\n                                \"no_discount\": 0,\n                                \"base_original_price\": 32.5,\n                                \"amount_refunded\": 0,\n                                \"updated_at\": \"2022-01-10 12:26:39\",\n                                \"is_virtual\": 0,\n                                \"qty_refunded\": 0,\n                                \"qty_canceled\": 0,\n                                \"store_id\": 1,\n                                \"is_qty_decimal\": 0\n                            },\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"parent_item_id\": 891116,\n                            \"base_discount_invoiced\": 0,\n                            \"product_id\": 2826,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 0,\n                            \"base_tax_amount\": 0,\n                            \"base_discount_tax_compensation_invoiced\": 0,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Kit Iniciación Repostería Essential-ROJO\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 0,\n                            \"row_invoiced\": 0,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 0,\n                            \"base_discount_amount\": 0,\n                            \"row_total_incl_tax\": 0,\n                            \"item_id\": 891117,\n                            \"base_amount_refunded\": 0,\n                            \"product_type\": \"simple\",\n                            \"tax_percent\": 0,\n                            \"qty_shipped\": 0,\n                            \"row_total\": 0,\n                            \"base_row_total\": 0,\n                            \"tax_invoiced\": 0,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74799,\n                            \"amount_refunded\": 0,\n                            \"base_row_invoiced\": 0,\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        },\n                        {\n                            \"price\": 7.2,\n                            \"original_price\": 10.9,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.23,\n                            \"base_price_incl_tax\": 8.72,\n                            \"discount_amount\": 1.3,\n                            \"tax_amount\": 1.29,\n                            \"discount_invoiced\": 1.3,\n                            \"row_total\": 5.9,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 7.2,\n                            \"price_incl_tax\": 8.72,\n                            \"discount_tax_compensation_amount\": 0.23,\n                            \"base_discount_invoiced\": 1.3,\n                            \"product_id\": 3911,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 1.29,\n                            \"base_tax_amount\": 1.29,\n                            \"base_discount_tax_compensation_invoiced\": 0.23,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku1\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 7.2,\n                            \"row_invoiced\": 7.2,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 7.42,\n                            \"base_discount_amount\": 1.3,\n                            \"row_total_incl_tax\": 7.42,\n                            \"item_id\": 891118,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 62,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 5.9,\n                            \"tax_invoiced\": 1.29,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74806,\n                            \"base_discount_tax_compensation_amount\": 0.23,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 10.9,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        },\n                        {\n                            \"price\": 0,\n                            \"original_price\": 0,\n                            \"discount_percent\": 0,\n                            \"no_discount\": 0,\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0,\n                            \"discount_amount\": 0,\n                            \"tax_amount\": 0,\n                            \"discount_invoiced\": 0,\n                            \"parent_item\": {\n                                \"price\": 7.2,\n                                \"original_price\": 10.9,\n                                \"discount_percent\": 15,\n                                \"applied_rule_ids\": \"5\",\n                                \"sku\": \"sku1\",\n                                \"row_weight\": 0,\n                                \"discount_tax_compensation_invoiced\": 0.23,\n                                \"base_price_incl_tax\": 8.72,\n                                \"discount_amount\": 1.3,\n                                \"tax_amount\": 1.29,\n                                \"discount_invoiced\": 1.3,\n                                \"row_total\": 5.9,\n                                \"product_type\": \"configurable\",\n                                \"base_row_invoiced\": 7.2,\n                                \"price_incl_tax\": 8.72,\n                                \"discount_tax_compensation_amount\": 0.23,\n                                \"base_discount_invoiced\": 1.3,\n                                \"product_id\": 3911,\n                                \"order_id\": 187040,\n                                \"base_tax_invoiced\": 1.29,\n                                \"base_tax_amount\": 1.29,\n                                \"base_discount_tax_compensation_invoiced\": 0.23,\n                                \"qty_ordered\": 1,\n                                \"name\": \"Nombre sku1\",\n                                \"created_at\": \"2022-01-10 12:25:41\",\n                                \"base_price\": 7.2,\n                                \"row_invoiced\": 7.2,\n                                \"qty_invoiced\": 1,\n                                \"base_row_total_incl_tax\": 7.42,\n                                \"base_discount_amount\": 1.3,\n                                \"row_total_incl_tax\": 7.42,\n                                \"item_id\": 891118,\n                                \"base_amount_refunded\": 0,\n                                \"product_option\": {\n                                    \"extension_attributes\": {\n                                        \"configurable_item_options\": [\n                                            {\n                                                \"option_value\": 62,\n                                                \"option_id\": \"93\"\n                                            }\n                                        ]\n                                    }\n                                },\n                                \"weee_tax_applied\": \"[]\",\n                                \"tax_percent\": 21,\n                                \"qty_shipped\": 0,\n                                \"base_row_total\": 5.9,\n                                \"tax_invoiced\": 1.29,\n                                \"free_shipping\": 0,\n                                \"quote_item_id\": 74806,\n                                \"base_discount_tax_compensation_amount\": 0.23,\n                                \"no_discount\": 0,\n                                \"base_original_price\": 10.9,\n                                \"amount_refunded\": 0,\n                                \"updated_at\": \"2022-01-10 12:26:39\",\n                                \"is_virtual\": 0,\n                                \"qty_refunded\": 0,\n                                \"qty_canceled\": 0,\n                                \"store_id\": 1,\n                                \"is_qty_decimal\": 0\n                            },\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"parent_item_id\": 891118,\n                            \"base_discount_invoiced\": 0,\n                            \"product_id\": 2597,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 0,\n                            \"base_tax_amount\": 0,\n                            \"base_discount_tax_compensation_invoiced\": 0,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku1\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 0,\n                            \"row_invoiced\": 0,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 0,\n                            \"base_discount_amount\": 0,\n                            \"row_total_incl_tax\": 0,\n                            \"item_id\": 891119,\n                            \"base_amount_refunded\": 0,\n                            \"product_type\": \"simple\",\n                            \"tax_percent\": 0,\n                            \"qty_shipped\": 0,\n                            \"row_total\": 0,\n                            \"base_row_total\": 0,\n                            \"tax_invoiced\": 0,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74807,\n                            \"amount_refunded\": 0,\n                            \"base_row_invoiced\": 0,\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        }\n                    ],\n                    \"shipping_description\": \"Envíos - Envío estándar\",\n                    \"total_due\": 0,\n                    \"total_item_count\": 2,\n                    \"coupon_code\": \"TESTCOUPON\",\n                    \"customer_is_guest\": 0,\n                    \"customer_email\": \"test@email.com\",\n                    \"email_sent\": 1,\n                    \"increment_id\": \"35194537\",\n                    \"base_grand_total\": 24.33,\n                    \"x_forwarded_for\": \"212.145.156.77\",\n                    \"discount_amount\": -4.29,\n                    \"tax_amount\": 4.22,\n                    \"base_shipping_discount_tax_compensation_amnt\": 0,\n                    \"discount_invoiced\": -4.29,\n                    \"applied_rule_ids\": \"5\",\n                    \"total_qty_ordered\": 2,\n                    \"base_currency_code\": \"EUR\",\n                    \"status\": \"processing_redsys\",\n                    \"base_to_order_rate\": 1,\n                    \"subtotal_incl_tax\": 28.62,\n                    \"protect_code\": \"01c95419b32c30c2b2552xxx330a602b0da\",\n                    \"total_paid\": 24.33,\n                    \"base_total_due\": 0,\n                    \"store_currency_code\": \"EUR\",\n                    \"base_discount_invoiced\": -4.29,\n                    \"base_shipping_incl_tax\": 0,\n                    \"customer_group_id\": 1,\n                    \"base_subtotal_incl_tax\": 28.62,\n                    \"grand_total\": 24.33,\n                    \"total_invoiced\": 24.33,\n                    \"order_currency_code\": \"EUR\",\n                    \"base_shipping_invoiced\": 0,\n                    \"base_tax_invoiced\": 4.22,\n                    \"state\": \"processing\",\n                    \"base_discount_tax_compensation_invoiced\": 0.75,\n                    \"store_to_order_rate\": 0,\n                    \"quote_id\": 17741,\n                    \"base_total_invoiced\": 24.33,\n                    \"created_at\": \"2022-01-10 12:25:41\",\n                    \"status_histories\": [\n                        {\n                            \"parent_id\": 187040,\n                            \"entity_name\": \"invoice\",\n                            \"comment\": \"Cantidad capturada de 24,33 € en línea. Identificador de la transacción: \\\"REDSYS_112345\\\"\",\n                            \"is_customer_notified\": null,\n                            \"is_visible_on_front\": 0,\n                            \"status\": \"processing\",\n                            \"created_at\": \"2022-01-10 12:26:39\",\n                            \"entity_id\": 1183147\n                        },\n                        {\n                            \"parent_id\": 187040,\n                            \"entity_name\": \"order\",\n                            \"comment\": \"Payment transaction captured from gateway with ID \\\"REDSYS_112345\\\". Order will be marked as paid.\",\n                            \"is_customer_notified\": null,\n                            \"is_visible_on_front\": 0,\n                            \"status\": \"processing_redsys\",\n                            \"created_at\": \"2022-01-10 12:26:38\",\n                            \"entity_id\": 1183146\n                        },\n                        {\n                            \"parent_id\": 187040,\n                            \"entity_name\": \"order\",\n                            \"comment\": null,\n                            \"is_customer_notified\": 1,\n                            \"is_visible_on_front\": 0,\n                            \"status\": \"pending\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"entity_id\": 1183143\n                        }\n                    ],\n                    \"base_tax_amount\": 4.22,\n                    \"weight\": 0,\n                    \"customer_lastname\": \"name\",\n                    \"shipping_amount\": 0,\n                    \"base_discount_amount\": -4.29,\n                    \"base_total_paid\": 24.33,\n                    \"base_shipping_tax_amount\": 0,\n                    \"customer_note_notify\": 0,\n                    \"remote_ip\": \"212.145.156.77\",\n                    \"entity_id\": 187040,\n                    \"subtotal_invoiced\": 23.65,\n                    \"discount_description\": \"TESTCOUPON\",\n                    \"global_currency_code\": \"EUR\",\n                    \"shipping_incl_tax\": 0,\n                    \"base_to_global_rate\": 1,\n                    \"shipping_tax_amount\": 0,\n                    \"discount_tax_compensation_amount\": 0.75,\n                    \"billing_address_id\": 374051,\n                    \"store_to_base_rate\": 0,\n                    \"base_shipping_amount\": 0,\n                    \"tax_invoiced\": 4.22,\n                    \"payment\": {\n                        \"parent_id\": 187040,\n                        \"cc_last4\": null,\n                        \"shipping_amount\": 0,\n                        \"cc_ss_start_month\": \"0\",\n                        \"amount_ordered\": 24.33,\n                        \"method\": \"redsys\",\n                        \"base_amount_ordered\": 24.33,\n                        \"shipping_captured\": 0,\n                        \"last_trans_id\": \"REDSYS_112345\",\n                        \"base_amount_paid\": 24.33,\n                        \"entity_id\": 187026,\n                        \"additional_information\": [\n                            \"Pago tarjeta\"\n                        ],\n                        \"account_status\": null,\n                        \"amount_paid\": 24.33,\n                        \"cc_ss_start_year\": \"0\",\n                        \"base_amount_paid_online\": 24.33,\n                        \"cc_exp_year\": \"0\",\n                        \"base_shipping_captured\": 0,\n                        \"base_shipping_amount\": 0\n                    },\n                    \"shipping_invoiced\": 0,\n                    \"discount_tax_compensation_invoiced\": 0.75,\n                    \"base_discount_tax_compensation_amount\": 0.75,\n                    \"base_subtotal\": 23.65,\n                    \"base_shipping_discount_amount\": 0,\n                    \"customer_firstname\": \"test\",\n                    \"updated_at\": \"2022-01-10 12:26:39\",\n                    \"extension_attributes\": {\n                        \"need_invoice\": false,\n                        \"applied_taxes\": [\n                            {\n                                \"title\": \"IVA General\",\n                                \"percent\": 21,\n                                \"code\": \"IVA General\",\n                                \"amount\": 4.22,\n                                \"base_amount\": 4.22\n                            }\n                        ],\n                        \"item_applied_taxes\": [\n                            {\n                                \"applied_taxes\": [\n                                    {\n                                        \"title\": \"IVA General\",\n                                        \"percent\": 21,\n                                        \"code\": \"IVA General\",\n                                        \"amount\": 0,\n                                        \"base_amount\": 0\n                                    }\n                                ],\n                                \"type\": \"shipping\"\n                            },\n                            {\n                                \"item_id\": 891116,\n                                \"applied_taxes\": [\n                                    {\n                                        \"title\": \"IVA General\",\n                                        \"percent\": 21,\n                                        \"code\": \"IVA General\",\n                                        \"amount\": 2.93,\n                                        \"base_amount\": 2.93\n                                    }\n                                ],\n                                \"type\": \"product\"\n                            },\n                            {\n                                \"item_id\": 891118,\n                                \"applied_taxes\": [\n                                    {\n                                        \"title\": \"IVA General\",\n                                        \"percent\": 21,\n                                        \"code\": \"IVA General\",\n                                        \"amount\": 1.29,\n                                        \"base_amount\": 1.29\n                                    }\n                                ],\n                                \"type\": \"product\"\n                            }\n                        ],\n                        \"converting_from_quote\": true,\n                        \"shipping_assignments\": [\n                            {\n                                \"items\": [\n                                    {\n                                        \"price\": 16.45,\n                                        \"original_price\": 32.5,\n                                        \"discount_percent\": 15,\n                                        \"applied_rule_ids\": \"5\",\n                                        \"sku\": \"sku2\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0.52,\n                                        \"base_price_incl_tax\": 19.9,\n                                        \"discount_amount\": 2.99,\n                                        \"tax_amount\": 2.93,\n                                        \"discount_invoiced\": 2.99,\n                                        \"row_total\": 13.46,\n                                        \"product_type\": \"configurable\",\n                                        \"base_row_invoiced\": 16.45,\n                                        \"price_incl_tax\": 19.9,\n                                        \"discount_tax_compensation_amount\": 0.52,\n                                        \"base_discount_invoiced\": 2.99,\n                                        \"product_id\": 4070,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 2.93,\n                                        \"base_tax_amount\": 2.93,\n                                        \"base_discount_tax_compensation_invoiced\": 0.52,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku2\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 16.45,\n                                        \"row_invoiced\": 16.45,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 16.91,\n                                        \"base_discount_amount\": 2.99,\n                                        \"row_total_incl_tax\": 16.91,\n                                        \"item_id\": 891116,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_option\": {\n                                            \"extension_attributes\": {\n                                                \"configurable_item_options\": [\n                                                    {\n                                                        \"option_value\": 47,\n                                                        \"option_id\": \"93\"\n                                                    }\n                                                ]\n                                            }\n                                        },\n                                        \"weee_tax_applied\": \"[]\",\n                                        \"tax_percent\": 21,\n                                        \"qty_shipped\": 0,\n                                        \"base_row_total\": 13.46,\n                                        \"tax_invoiced\": 2.93,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74798,\n                                        \"base_discount_tax_compensation_amount\": 0.52,\n                                        \"no_discount\": 0,\n                                        \"base_original_price\": 32.5,\n                                        \"amount_refunded\": 0,\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    },\n                                    {\n                                        \"price\": 0,\n                                        \"original_price\": 0,\n                                        \"discount_percent\": 0,\n                                        \"no_discount\": 0,\n                                        \"sku\": \"sku2\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0,\n                                        \"discount_amount\": 0,\n                                        \"tax_amount\": 0,\n                                        \"discount_invoiced\": 0,\n                                        \"parent_item\": {\n                                            \"price\": 16.45,\n                                            \"original_price\": 32.5,\n                                            \"discount_percent\": 15,\n                                            \"applied_rule_ids\": \"5\",\n                                            \"sku\": \"sku2\",\n                                            \"row_weight\": 0,\n                                            \"discount_tax_compensation_invoiced\": 0.52,\n                                            \"base_price_incl_tax\": 19.9,\n                                            \"discount_amount\": 2.99,\n                                            \"tax_amount\": 2.93,\n                                            \"discount_invoiced\": 2.99,\n                                            \"row_total\": 13.46,\n                                            \"product_type\": \"configurable\",\n                                            \"base_row_invoiced\": 16.45,\n                                            \"price_incl_tax\": 19.9,\n                                            \"discount_tax_compensation_amount\": 0.52,\n                                            \"base_discount_invoiced\": 2.99,\n                                            \"product_id\": 4070,\n                                            \"order_id\": 187040,\n                                            \"base_tax_invoiced\": 2.93,\n                                            \"base_tax_amount\": 2.93,\n                                            \"base_discount_tax_compensation_invoiced\": 0.52,\n                                            \"qty_ordered\": 1,\n                                            \"name\": \"Nombre sku2\",\n                                            \"created_at\": \"2022-01-10 12:25:41\",\n                                            \"base_price\": 16.45,\n                                            \"row_invoiced\": 16.45,\n                                            \"qty_invoiced\": 1,\n                                            \"base_row_total_incl_tax\": 16.91,\n                                            \"base_discount_amount\": 2.99,\n                                            \"row_total_incl_tax\": 16.91,\n                                            \"item_id\": 891116,\n                                            \"base_amount_refunded\": 0,\n                                            \"product_option\": {\n                                                \"extension_attributes\": {\n                                                    \"configurable_item_options\": [\n                                                        {\n                                                            \"option_value\": 47,\n                                                            \"option_id\": \"93\"\n                                                        }\n                                                    ]\n                                                }\n                                            },\n                                            \"weee_tax_applied\": \"[]\",\n                                            \"tax_percent\": 21,\n                                            \"qty_shipped\": 0,\n                                            \"base_row_total\": 13.46,\n                                            \"tax_invoiced\": 2.93,\n                                            \"free_shipping\": 0,\n                                            \"quote_item_id\": 74798,\n                                            \"base_discount_tax_compensation_amount\": 0.52,\n                                            \"no_discount\": 0,\n                                            \"base_original_price\": 32.5,\n                                            \"amount_refunded\": 0,\n                                            \"updated_at\": \"2022-01-10 12:26:39\",\n                                            \"is_virtual\": 0,\n                                            \"qty_refunded\": 0,\n                                            \"qty_canceled\": 0,\n                                            \"store_id\": 1,\n                                            \"is_qty_decimal\": 0\n                                        },\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"parent_item_id\": 891116,\n                                        \"base_discount_invoiced\": 0,\n                                        \"product_id\": 2826,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 0,\n                                        \"base_tax_amount\": 0,\n                                        \"base_discount_tax_compensation_invoiced\": 0,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku2\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 0,\n                                        \"row_invoiced\": 0,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 0,\n                                        \"base_discount_amount\": 0,\n                                        \"row_total_incl_tax\": 0,\n                                        \"item_id\": 891117,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_type\": \"simple\",\n                                        \"tax_percent\": 0,\n                                        \"qty_shipped\": 0,\n                                        \"row_total\": 0,\n                                        \"base_row_total\": 0,\n                                        \"tax_invoiced\": 0,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74799,\n                                        \"amount_refunded\": 0,\n                                        \"base_row_invoiced\": 0,\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    },\n                                    {\n                                        \"price\": 7.2,\n                                        \"original_price\": 10.9,\n                                        \"discount_percent\": 15,\n                                        \"applied_rule_ids\": \"5\",\n                                        \"sku\": \"sku1\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0.23,\n                                        \"base_price_incl_tax\": 8.72,\n                                        \"discount_amount\": 1.3,\n                                        \"tax_amount\": 1.29,\n                                        \"discount_invoiced\": 1.3,\n                                        \"row_total\": 5.9,\n                                        \"product_type\": \"configurable\",\n                                        \"base_row_invoiced\": 7.2,\n                                        \"price_incl_tax\": 8.72,\n                                        \"discount_tax_compensation_amount\": 0.23,\n                                        \"base_discount_invoiced\": 1.3,\n                                        \"product_id\": 3911,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 1.29,\n                                        \"base_tax_amount\": 1.29,\n                                        \"base_discount_tax_compensation_invoiced\": 0.23,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku1\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 7.2,\n                                        \"row_invoiced\": 7.2,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 7.42,\n                                        \"base_discount_amount\": 1.3,\n                                        \"row_total_incl_tax\": 7.42,\n                                        \"item_id\": 891118,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_option\": {\n                                            \"extension_attributes\": {\n                                                \"configurable_item_options\": [\n                                                    {\n                                                        \"option_value\": 62,\n                                                        \"option_id\": \"93\"\n                                                    }\n                                                ]\n                                            }\n                                        },\n                                        \"weee_tax_applied\": \"[]\",\n                                        \"tax_percent\": 21,\n                                        \"qty_shipped\": 0,\n                                        \"base_row_total\": 5.9,\n                                        \"tax_invoiced\": 1.29,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74806,\n                                        \"base_discount_tax_compensation_amount\": 0.23,\n                                        \"no_discount\": 0,\n                                        \"base_original_price\": 10.9,\n                                        \"amount_refunded\": 0,\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    },\n                                    {\n                                        \"price\": 0,\n                                        \"original_price\": 0,\n                                        \"discount_percent\": 0,\n                                        \"no_discount\": 0,\n                                        \"sku\": \"sku1\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0,\n                                        \"discount_amount\": 0,\n                                        \"tax_amount\": 0,\n                                        \"discount_invoiced\": 0,\n                                        \"parent_item\": {\n                                            \"price\": 7.2,\n                                            \"original_price\": 10.9,\n                                            \"discount_percent\": 15,\n                                            \"applied_rule_ids\": \"5\",\n                                            \"sku\": \"sku1\",\n                                            \"row_weight\": 0,\n                                            \"discount_tax_compensation_invoiced\": 0.23,\n                                            \"base_price_incl_tax\": 8.72,\n                                            \"discount_amount\": 1.3,\n                                            \"tax_amount\": 1.29,\n                                            \"discount_invoiced\": 1.3,\n                                            \"row_total\": 5.9,\n                                            \"product_type\": \"configurable\",\n                                            \"base_row_invoiced\": 7.2,\n                                            \"price_incl_tax\": 8.72,\n                                            \"discount_tax_compensation_amount\": 0.23,\n                                            \"base_discount_invoiced\": 1.3,\n                                            \"product_id\": 3911,\n                                            \"order_id\": 187040,\n                                            \"base_tax_invoiced\": 1.29,\n                                            \"base_tax_amount\": 1.29,\n                                            \"base_discount_tax_compensation_invoiced\": 0.23,\n                                            \"qty_ordered\": 1,\n                                            \"name\": \"Nombre sku1\",\n                                            \"created_at\": \"2022-01-10 12:25:41\",\n                                            \"base_price\": 7.2,\n                                            \"row_invoiced\": 7.2,\n                                            \"qty_invoiced\": 1,\n                                            \"base_row_total_incl_tax\": 7.42,\n                                            \"base_discount_amount\": 1.3,\n                                            \"row_total_incl_tax\": 7.42,\n                                            \"item_id\": 891118,\n                                            \"base_amount_refunded\": 0,\n                                            \"product_option\": {\n                                                \"extension_attributes\": {\n                                                    \"configurable_item_options\": [\n                                                        {\n                                                            \"option_value\": 62,\n                                                            \"option_id\": \"93\"\n                                                        }\n                                                    ]\n                                                }\n                                            },\n                                            \"weee_tax_applied\": \"[]\",\n                                            \"tax_percent\": 21,\n                                            \"qty_shipped\": 0,\n                                            \"base_row_total\": 5.9,\n                                            \"tax_invoiced\": 1.29,\n                                            \"free_shipping\": 0,\n                                            \"quote_item_id\": 74806,\n                                            \"base_discount_tax_compensation_amount\": 0.23,\n                                            \"no_discount\": 0,\n                                            \"base_original_price\": 10.9,\n                                            \"amount_refunded\": 0,\n                                            \"updated_at\": \"2022-01-10 12:26:39\",\n                                            \"is_virtual\": 0,\n                                            \"qty_refunded\": 0,\n                                            \"qty_canceled\": 0,\n                                            \"store_id\": 1,\n                                            \"is_qty_decimal\": 0\n                                        },\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"parent_item_id\": 891118,\n                                        \"base_discount_invoiced\": 0,\n                                        \"product_id\": 2597,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 0,\n                                        \"base_tax_amount\": 0,\n                                        \"base_discount_tax_compensation_invoiced\": 0,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku1\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 0,\n                                        \"row_invoiced\": 0,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 0,\n                                        \"base_discount_amount\": 0,\n                                        \"row_total_incl_tax\": 0,\n                                        \"item_id\": 891119,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_type\": \"simple\",\n                                        \"tax_percent\": 0,\n                                        \"qty_shipped\": 0,\n                                        \"row_total\": 0,\n                                        \"base_row_total\": 0,\n                                        \"tax_invoiced\": 0,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74807,\n                                        \"amount_refunded\": 0,\n                                        \"base_row_invoiced\": 0,\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    }\n                                ],\n                                \"shipping\": {\n                                    \"method\": \"matrixrate_matrixrate_22\",\n                                    \"address\": {\n                                        \"email\": \"test@email.com\",\n                                        \"telephone\": \"666666666\",\n                                        \"customer_address_id\": 180815,\n                                        \"firstname\": \"test\",\n                                        \"street\": [\n                                            \"calle test 1\"\n                                        ],\n                                        \"parent_id\": 187040,\n                                        \"postcode\": \"08906\",\n                                        \"entity_id\": 374050,\n                                        \"address_type\": \"shipping\",\n                                        \"country_id\": \"ES\",\n                                        \"region_id\": 139,\n                                        \"region_code\": \"Barcelona\",\n                                        \"lastname\": \"name\",\n                                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                                        \"region\": \"Barcelona\"\n                                    },\n                                    \"total\": {\n                                        \"shipping_invoiced\": 0,\n                                        \"shipping_discount_amount\": 0,\n                                        \"shipping_amount\": 0,\n                                        \"base_shipping_incl_tax\": 0,\n                                        \"base_shipping_tax_amount\": 0,\n                                        \"base_shipping_discount_amount\": 0,\n                                        \"base_shipping_invoiced\": 0,\n                                        \"shipping_incl_tax\": 0,\n                                        \"base_shipping_discount_tax_compensation_amnt\": 0,\n                                        \"shipping_tax_amount\": 0,\n                                        \"base_shipping_amount\": 0,\n                                        \"shipping_discount_tax_compensation_amount\": 0\n                                    }\n                                }\n                            }\n                        ],\n                        \"payment_additional_info\": [\n                            {\n                                \"key\": \"method_title\",\n                                \"value\": \"Pago tarjeta\"\n                            }\n                        ],\n                        \"fooman_total_group\": {\n                            \"items\": []\n                        },\n                        \"smartie_sync_status\": \"not_ready_to_sync\"\n                    },\n                    \"is_virtual\": 0,\n                    \"customer_id\": 183667,\n                    \"base_subtotal_invoiced\": 23.65,\n                    \"billing_address\": {\n                        \"email\": \"test@email.com\",\n                        \"telephone\": \"666666666\",\n                        \"customer_address_id\": 180815,\n                        \"firstname\": \"test\",\n                        \"street\": [\n                            \"calle test 1\"\n                        ],\n                        \"parent_id\": 187040,\n                        \"postcode\": \"08906\",\n                        \"entity_id\": 374051,\n                        \"address_type\": \"billing\",\n                        \"country_id\": \"ES\",\n                        \"region_id\": 139,\n                        \"region_code\": \"Barcelona\",\n                        \"lastname\": \"name\",\n                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                        \"region\": \"Barcelona\"\n                    },\n                    \"store_name\": \"España\\nEspaña\\nES\",\n                    \"store_id\": 1,\n                    \"subtotal\": 23.65,\n                    \"shipping_discount_tax_compensation_amount\": 0,\n                    \"shipping_discount_amount\": 0,\n                    \"base_total_invoiced_cost\": 0\n                }\n            },\n            \"channel_create_date\": \"2022-01-10T13:25:41+01:00\",\n            \"store_pickup\": false\n        }\n    ]\n}"},{"id":"2f102bbd-1879-4b85-a6cf-b967ca3b2bf2","name":"O07 - Search orders with no sync","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"page\": 1,\n        \"page_size\": 20,\n        \"startRow\": 1,\n        \"endRow\": 20\n    },\n    \"filters\": {\n        \"syncs__isnull\": true\n    },\n    \"sort\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/orders/search/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 4856,\n            \"order_lines\": [\n                {\n                    \"id\": 11244,\n                    \"created_at\": \"2022-01-10T13:30:03.540352+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:03.540378+01:00\",\n                    \"reference\": \"sku1\",\n                    \"quantity\": 1,\n                    \"currency\": \"EUR\",\n                    \"regular_unit_price_without_tax\": \"7.20\",\n                    \"unit_price_with_tax\": \"8.72\",\n                    \"unit_price_without_tax\": \"7.20\",\n                    \"unit_price_tax_type\": \"0.00\",\n                    \"regular_unit_price_tax\": \"10.90\",\n                    \"regular_unit_price_with_tax\": \"10.90\",\n                    \"discount\": \"15.00\",\n                    \"total_without_tax\": \"5.90\",\n                    \"total_tax\": \"1.29\",\n                    \"total\": \"7.42\",\n                    \"coupons\": null,\n                    \"comments\": null,\n                    \"extra\": {\n                        \"magento2\": {\n                            \"price\": 7.2,\n                            \"original_price\": 10.9,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.23,\n                            \"base_price_incl_tax\": 8.72,\n                            \"discount_amount\": 1.3,\n                            \"tax_amount\": 1.29,\n                            \"discount_invoiced\": 1.3,\n                            \"row_total\": 5.9,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 7.2,\n                            \"price_incl_tax\": 8.72,\n                            \"discount_tax_compensation_amount\": 0.23,\n                            \"base_discount_invoiced\": 1.3,\n                            \"product_id\": 3911,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 1.29,\n                            \"base_tax_amount\": 1.29,\n                            \"base_discount_tax_compensation_invoiced\": 0.23,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku1\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 7.2,\n                            \"row_invoiced\": 7.2,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 7.42,\n                            \"base_discount_amount\": 1.3,\n                            \"row_total_incl_tax\": 7.42,\n                            \"item_id\": 891118,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 62,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 5.9,\n                            \"tax_invoiced\": 1.29,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74806,\n                            \"base_discount_tax_compensation_amount\": 0.23,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 10.9,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        }\n                    },\n                    \"product_snapshot\": {},\n                    \"product_view\": null\n                },\n                {\n                    \"id\": 11243,\n                    \"created_at\": \"2022-01-10T13:30:03.538355+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:03.538382+01:00\",\n                    \"reference\": \"sku2\",\n                    \"quantity\": 1,\n                    \"currency\": \"EUR\",\n                    \"regular_unit_price_without_tax\": \"16.45\",\n                    \"unit_price_with_tax\": \"19.90\",\n                    \"unit_price_without_tax\": \"16.45\",\n                    \"unit_price_tax_type\": \"0.00\",\n                    \"regular_unit_price_tax\": \"32.50\",\n                    \"regular_unit_price_with_tax\": \"32.50\",\n                    \"discount\": \"15.00\",\n                    \"total_without_tax\": \"13.46\",\n                    \"total_tax\": \"2.93\",\n                    \"total\": \"16.91\",\n                    \"coupons\": null,\n                    \"comments\": null,\n                    \"extra\": {\n                        \"magento2\": {\n                            \"price\": 16.45,\n                            \"original_price\": 32.5,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku2\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.52,\n                            \"base_price_incl_tax\": 19.9,\n                            \"discount_amount\": 2.99,\n                            \"tax_amount\": 2.93,\n                            \"discount_invoiced\": 2.99,\n                            \"row_total\": 13.46,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 16.45,\n                            \"price_incl_tax\": 19.9,\n                            \"discount_tax_compensation_amount\": 0.52,\n                            \"base_discount_invoiced\": 2.99,\n                            \"product_id\": 4070,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 2.93,\n                            \"base_tax_amount\": 2.93,\n                            \"base_discount_tax_compensation_invoiced\": 0.52,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku2\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 16.45,\n                            \"row_invoiced\": 16.45,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 16.91,\n                            \"base_discount_amount\": 2.99,\n                            \"row_total_incl_tax\": 16.91,\n                            \"item_id\": 891116,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 47,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 13.46,\n                            \"tax_invoiced\": 2.93,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74798,\n                            \"base_discount_tax_compensation_amount\": 0.52,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 32.5,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        }\n                    },\n                    \"product_snapshot\": {},\n                    \"product_view\": null\n                }\n            ],\n            \"customer\": {\n                \"id\": 4856,\n                \"created_at\": \"2022-01-10T13:30:03.533504+01:00\",\n                \"updated_at\": \"2022-01-10T13:30:03.533531+01:00\",\n                \"reference\": \"183667\",\n                \"email\": \"test@email.com\",\n                \"first_name\": \"test\",\n                \"last_name\": \"name\",\n                \"nif\": null,\n                \"telephone\": null,\n                \"gender\": null,\n                \"comments\": null,\n                \"extra\": {}\n            },\n            \"shipping_address\": {\n                \"id\": 58981,\n                \"created_at\": \"2022-01-10T13:30:03.530969+01:00\",\n                \"updated_at\": \"2022-01-10T13:30:03.530993+01:00\",\n                \"email\": \"test@email.com\",\n                \"first_name\": \"test\",\n                \"last_name\": \"name\",\n                \"nif\": null,\n                \"telephone\": \"666666666\",\n                \"country\": \"ES\",\n                \"region\": \"Barcelona\",\n                \"city\": \"HOSPITALET DE LLOBREGAT\",\n                \"postal_code\": \"08906\",\n                \"address\": \"calle test 1\",\n                \"comments\": null,\n                \"extra\": {\n                    \"magento2\": {\n                        \"email\": \"test@email.com\",\n                        \"telephone\": \"666666666\",\n                        \"customer_address_id\": 180815,\n                        \"firstname\": \"test\",\n                        \"street\": [\n                            \"calle test 1\"\n                        ],\n                        \"parent_id\": 187040,\n                        \"postcode\": \"08906\",\n                        \"entity_id\": 374050,\n                        \"address_type\": \"shipping\",\n                        \"country_id\": \"ES\",\n                        \"region_id\": 139,\n                        \"region_code\": \"Barcelona\",\n                        \"lastname\": \"name\",\n                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                        \"region\": \"Barcelona\"\n                    }\n                }\n            },\n            \"billing_address\": {\n                \"id\": 58982,\n                \"created_at\": \"2022-01-10T13:30:03.532469+01:00\",\n                \"updated_at\": \"2022-01-10T13:30:03.532493+01:00\",\n                \"email\": \"test@email.com\",\n                \"first_name\": \"test\",\n                \"last_name\": \"name\",\n                \"nif\": null,\n                \"telephone\": \"666666666\",\n                \"country\": \"ES\",\n                \"region\": \"Barcelona\",\n                \"city\": \"HOSPITALET DE LLOBREGAT\",\n                \"postal_code\": \"08906\",\n                \"address\": \"calle test 1\",\n                \"comments\": null,\n                \"extra\": {\n                    \"magento2\": {\n                        \"email\": \"test@email.com\",\n                        \"telephone\": \"666666666\",\n                        \"customer_address_id\": 180815,\n                        \"firstname\": \"test\",\n                        \"street\": [\n                            \"calle test 1\"\n                        ],\n                        \"parent_id\": 187040,\n                        \"postcode\": \"08906\",\n                        \"entity_id\": 374051,\n                        \"address_type\": \"billing\",\n                        \"country_id\": \"ES\",\n                        \"region_id\": 139,\n                        \"region_code\": \"Barcelona\",\n                        \"lastname\": \"name\",\n                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                        \"region\": \"Barcelona\"\n                    }\n                }\n            },\n            \"syncs\": [\n                {\n                    \"id\": 14226,\n                    \"integration_system\": {\n                        \"id\": 1,\n                        \"active\": true,\n                        \"created_at\": \"2021-06-15T14:01:16.465942+02:00\",\n                        \"updated_at\": \"2021-12-02T11:17:26.115369+01:00\",\n                        \"name\": \"Magento\",\n                        \"code\": \"magento2_v1\",\n                        \"type\": \"magento2_v1\",\n                        \"config\": {\n                            \"connection_profile_id\": 7,\n                            \"ERP_TO_MAGENTO2_ORDER_STATUS\": {},\n                            \"MAGENTO2_CHANNEL_STATUS_SENT\": \"erp_sent\"\n                        }\n                    },\n                    \"created_at\": \"2022-01-10T13:30:06.408893+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:06.412651+01:00\",\n                    \"status\": \"ERROR\",\n                    \"extra\": {},\n                    \"order\": 4856,\n                    \"return_order\": null,\n                    \"shipment\": null\n                },\n                {\n                    \"id\": 14225,\n                    \"integration_system\": {\n                        \"id\": 2,\n                        \"active\": true,\n                        \"created_at\": \"2021-07-12T09:41:31.689372+02:00\",\n                        \"updated_at\": \"2021-12-16T16:21:53.648059+01:00\",\n                        \"name\": \"erp\",\n                        \"code\": \"erp\",\n                        \"type\": \"REST\",\n                        \"config\": {\n                            \"magento_cash_on_delivery_method\": \"cashondelivery\",\n                            \"connection_profile_id\": 9,\n                            \"magento_payment_method_map_to_erp\": {\n                                \"banktransfer\": \"(117)\",\n                                \"redsys\": \"(107)\",\n                                \"cashondelivery\": \"(110)\",\n                                \"paypal_express\": \"(108)\"\n                            }\n                        }\n                    },\n                    \"created_at\": \"2022-01-10T13:30:05.909861+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:05.912985+01:00\",\n                    \"status\": \"ERROR\",\n                    \"extra\": {},\n                    \"order\": 4856,\n                    \"return_order\": null,\n                    \"shipment\": null\n                }\n            ],\n            \"view\": {\n                \"id\": 6,\n                \"channel\": {\n                    \"id\": 5,\n                    \"active\": true,\n                    \"created_at\": \"2021-06-04T13:34:05.847453+02:00\",\n                    \"updated_at\": \"2021-08-25T09:55:37.089996+02:00\",\n                    \"name\": \"Magento\",\n                    \"type\": \"MAGENTO2\",\n                    \"is_origin\": true,\n                    \"config\": {\n                        \"MAGENTO2_EXPORT_PRODUCTS\": {\n                            \"media_custom_attributes\": {\n                                \"global\": [],\n                                \"website\": [],\n                                \"view\": []\n                            },\n                            \"attributes\": {\n                                \"global\": [\n                                    \"product_websites\",\n                                    \"type_of_cooking\",\n                                    \"usefulness\",\n                                    \"for_cooking\",\n                                    \"lifestyle\",\n                                    \"color\",\n                                    \"brand\",\n                                    \"ean\",\n                                    \"language\",\n                                    \"product_type\",\n                                    \"tiempo\",\n                                    \"to_sweeten_with\",\n                                    \"by_product_type\",\n                                    \"attribute_set_code\"\n                                ],\n                                \"website\": [\n                                    \"special_price\",\n                                    \"price\"\n                                ],\n                                \"view\": [\n                                    \"ingredients\",\n                                    \"diners_number\",\n                                    \"elaboration_time\",\n                                    \"peso\",\n                                    \"name\",\n                                    \"very_short_description\",\n                                    \"visibility\",\n                                    \"short_description\",\n                                    \"meta_title\",\n                                    \"medidas\",\n                                    \"material\",\n                                    \"detalles_temperatura\",\n                                    \"description\",\n                                    \"capacity\",\n                                    \"apto_para\"\n                                ]\n                            },\n                            \"grouped_products\": {\n                                \"default_qty\": 1\n                            },\n                            \"export_entities\": [\n                                \"bundle\",\n                                \"categories\",\n                                \"categories_position\",\n                                \"images\",\n                                \"relations\"\n                            ],\n                            \"view_website_mapping\": {\n                                \"es\": \"eu_es\",\n                                \"ca\": \"eu_es\",\n                                \"eu\": \"base\",\n                                \"en\": \"en\",\n                                \"fr\": \"eu_fr\"\n                            },\n                            \"views_to_export\": [\n                                \"eu\",\n                                \"en\",\n                                \"fr\",\n                                \"ca\",\n                                \"es\"\n                            ],\n                            \"default_view\": \"es\",\n                            \"variation_criterias\": [\n                                \"Color\"\n                            ]\n                        }\n                    },\n                    \"is_visible\": true\n                },\n                \"active\": true,\n                \"created_at\": \"2021-06-04T13:41:46.531232+02:00\",\n                \"updated_at\": \"2021-06-10T10:22:05.629344+02:00\",\n                \"name\": \"es\",\n                \"is_master\": true,\n                \"is_visible\": true,\n                \"locale\": 1\n            },\n            \"created_at\": \"2022-01-10T13:30:03.534838+01:00\",\n            \"updated_at\": \"2022-01-10T13:30:05.896035+01:00\",\n            \"reference\": \"35194537\",\n            \"local_status\": \"PENDING\",\n            \"channel_status\": \"processing\",\n            \"currency\": \"EUR\",\n            \"total_without_tax\": \"23.65\",\n            \"total_tax\": \"4.22\",\n            \"shipping_price\": \"0.00\",\n            \"shipping_price_tax_type\": \"0.00\",\n            \"discount\": \"-4.29\",\n            \"total\": \"24.33\",\n            \"payment_method\": \"redsys\",\n            \"shipping_method\": \"Envíos - Envío estándar\",\n            \"shipping_tax\": \"0.00\",\n            \"shipping_with_tax\": \"0.00\",\n            \"coupons\": null,\n            \"comments\": null,\n            \"extra\": {\n                \"magento2\": {\n                    \"items\": [\n                        {\n                            \"price\": 16.45,\n                            \"original_price\": 32.5,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku2\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.52,\n                            \"base_price_incl_tax\": 19.9,\n                            \"discount_amount\": 2.99,\n                            \"tax_amount\": 2.93,\n                            \"discount_invoiced\": 2.99,\n                            \"row_total\": 13.46,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 16.45,\n                            \"price_incl_tax\": 19.9,\n                            \"discount_tax_compensation_amount\": 0.52,\n                            \"base_discount_invoiced\": 2.99,\n                            \"product_id\": 4070,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 2.93,\n                            \"base_tax_amount\": 2.93,\n                            \"base_discount_tax_compensation_invoiced\": 0.52,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku2\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 16.45,\n                            \"row_invoiced\": 16.45,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 16.91,\n                            \"base_discount_amount\": 2.99,\n                            \"row_total_incl_tax\": 16.91,\n                            \"item_id\": 891116,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 47,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 13.46,\n                            \"tax_invoiced\": 2.93,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74798,\n                            \"base_discount_tax_compensation_amount\": 0.52,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 32.5,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        },\n                        {\n                            \"price\": 0,\n                            \"original_price\": 0,\n                            \"discount_percent\": 0,\n                            \"no_discount\": 0,\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0,\n                            \"discount_amount\": 0,\n                            \"tax_amount\": 0,\n                            \"discount_invoiced\": 0,\n                            \"parent_item\": {\n                                \"price\": 16.45,\n                                \"original_price\": 32.5,\n                                \"discount_percent\": 15,\n                                \"applied_rule_ids\": \"5\",\n                                \"sku\": \"sku2\",\n                                \"row_weight\": 0,\n                                \"discount_tax_compensation_invoiced\": 0.52,\n                                \"base_price_incl_tax\": 19.9,\n                                \"discount_amount\": 2.99,\n                                \"tax_amount\": 2.93,\n                                \"discount_invoiced\": 2.99,\n                                \"row_total\": 13.46,\n                                \"product_type\": \"configurable\",\n                                \"base_row_invoiced\": 16.45,\n                                \"price_incl_tax\": 19.9,\n                                \"discount_tax_compensation_amount\": 0.52,\n                                \"base_discount_invoiced\": 2.99,\n                                \"product_id\": 4070,\n                                \"order_id\": 187040,\n                                \"base_tax_invoiced\": 2.93,\n                                \"base_tax_amount\": 2.93,\n                                \"base_discount_tax_compensation_invoiced\": 0.52,\n                                \"qty_ordered\": 1,\n                                \"name\": \"Nombre sku2\",\n                                \"created_at\": \"2022-01-10 12:25:41\",\n                                \"base_price\": 16.45,\n                                \"row_invoiced\": 16.45,\n                                \"qty_invoiced\": 1,\n                                \"base_row_total_incl_tax\": 16.91,\n                                \"base_discount_amount\": 2.99,\n                                \"row_total_incl_tax\": 16.91,\n                                \"item_id\": 891116,\n                                \"base_amount_refunded\": 0,\n                                \"product_option\": {\n                                    \"extension_attributes\": {\n                                        \"configurable_item_options\": [\n                                            {\n                                                \"option_value\": 47,\n                                                \"option_id\": \"93\"\n                                            }\n                                        ]\n                                    }\n                                },\n                                \"weee_tax_applied\": \"[]\",\n                                \"tax_percent\": 21,\n                                \"qty_shipped\": 0,\n                                \"base_row_total\": 13.46,\n                                \"tax_invoiced\": 2.93,\n                                \"free_shipping\": 0,\n                                \"quote_item_id\": 74798,\n                                \"base_discount_tax_compensation_amount\": 0.52,\n                                \"no_discount\": 0,\n                                \"base_original_price\": 32.5,\n                                \"amount_refunded\": 0,\n                                \"updated_at\": \"2022-01-10 12:26:39\",\n                                \"is_virtual\": 0,\n                                \"qty_refunded\": 0,\n                                \"qty_canceled\": 0,\n                                \"store_id\": 1,\n                                \"is_qty_decimal\": 0\n                            },\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"parent_item_id\": 891116,\n                            \"base_discount_invoiced\": 0,\n                            \"product_id\": 2826,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 0,\n                            \"base_tax_amount\": 0,\n                            \"base_discount_tax_compensation_invoiced\": 0,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Kit Iniciación Repostería Essential-ROJO\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 0,\n                            \"row_invoiced\": 0,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 0,\n                            \"base_discount_amount\": 0,\n                            \"row_total_incl_tax\": 0,\n                            \"item_id\": 891117,\n                            \"base_amount_refunded\": 0,\n                            \"product_type\": \"simple\",\n                            \"tax_percent\": 0,\n                            \"qty_shipped\": 0,\n                            \"row_total\": 0,\n                            \"base_row_total\": 0,\n                            \"tax_invoiced\": 0,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74799,\n                            \"amount_refunded\": 0,\n                            \"base_row_invoiced\": 0,\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        },\n                        {\n                            \"price\": 7.2,\n                            \"original_price\": 10.9,\n                            \"discount_percent\": 15,\n                            \"applied_rule_ids\": \"5\",\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0.23,\n                            \"base_price_incl_tax\": 8.72,\n                            \"discount_amount\": 1.3,\n                            \"tax_amount\": 1.29,\n                            \"discount_invoiced\": 1.3,\n                            \"row_total\": 5.9,\n                            \"product_type\": \"configurable\",\n                            \"base_row_invoiced\": 7.2,\n                            \"price_incl_tax\": 8.72,\n                            \"discount_tax_compensation_amount\": 0.23,\n                            \"base_discount_invoiced\": 1.3,\n                            \"product_id\": 3911,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 1.29,\n                            \"base_tax_amount\": 1.29,\n                            \"base_discount_tax_compensation_invoiced\": 0.23,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku1\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 7.2,\n                            \"row_invoiced\": 7.2,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 7.42,\n                            \"base_discount_amount\": 1.3,\n                            \"row_total_incl_tax\": 7.42,\n                            \"item_id\": 891118,\n                            \"base_amount_refunded\": 0,\n                            \"product_option\": {\n                                \"extension_attributes\": {\n                                    \"configurable_item_options\": [\n                                        {\n                                            \"option_value\": 62,\n                                            \"option_id\": \"93\"\n                                        }\n                                    ]\n                                }\n                            },\n                            \"weee_tax_applied\": \"[]\",\n                            \"tax_percent\": 21,\n                            \"qty_shipped\": 0,\n                            \"base_row_total\": 5.9,\n                            \"tax_invoiced\": 1.29,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74806,\n                            \"base_discount_tax_compensation_amount\": 0.23,\n                            \"no_discount\": 0,\n                            \"base_original_price\": 10.9,\n                            \"amount_refunded\": 0,\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        },\n                        {\n                            \"price\": 0,\n                            \"original_price\": 0,\n                            \"discount_percent\": 0,\n                            \"no_discount\": 0,\n                            \"sku\": \"sku1\",\n                            \"row_weight\": 0,\n                            \"discount_tax_compensation_invoiced\": 0,\n                            \"discount_amount\": 0,\n                            \"tax_amount\": 0,\n                            \"discount_invoiced\": 0,\n                            \"parent_item\": {\n                                \"price\": 7.2,\n                                \"original_price\": 10.9,\n                                \"discount_percent\": 15,\n                                \"applied_rule_ids\": \"5\",\n                                \"sku\": \"sku1\",\n                                \"row_weight\": 0,\n                                \"discount_tax_compensation_invoiced\": 0.23,\n                                \"base_price_incl_tax\": 8.72,\n                                \"discount_amount\": 1.3,\n                                \"tax_amount\": 1.29,\n                                \"discount_invoiced\": 1.3,\n                                \"row_total\": 5.9,\n                                \"product_type\": \"configurable\",\n                                \"base_row_invoiced\": 7.2,\n                                \"price_incl_tax\": 8.72,\n                                \"discount_tax_compensation_amount\": 0.23,\n                                \"base_discount_invoiced\": 1.3,\n                                \"product_id\": 3911,\n                                \"order_id\": 187040,\n                                \"base_tax_invoiced\": 1.29,\n                                \"base_tax_amount\": 1.29,\n                                \"base_discount_tax_compensation_invoiced\": 0.23,\n                                \"qty_ordered\": 1,\n                                \"name\": \"Nombre sku1\",\n                                \"created_at\": \"2022-01-10 12:25:41\",\n                                \"base_price\": 7.2,\n                                \"row_invoiced\": 7.2,\n                                \"qty_invoiced\": 1,\n                                \"base_row_total_incl_tax\": 7.42,\n                                \"base_discount_amount\": 1.3,\n                                \"row_total_incl_tax\": 7.42,\n                                \"item_id\": 891118,\n                                \"base_amount_refunded\": 0,\n                                \"product_option\": {\n                                    \"extension_attributes\": {\n                                        \"configurable_item_options\": [\n                                            {\n                                                \"option_value\": 62,\n                                                \"option_id\": \"93\"\n                                            }\n                                        ]\n                                    }\n                                },\n                                \"weee_tax_applied\": \"[]\",\n                                \"tax_percent\": 21,\n                                \"qty_shipped\": 0,\n                                \"base_row_total\": 5.9,\n                                \"tax_invoiced\": 1.29,\n                                \"free_shipping\": 0,\n                                \"quote_item_id\": 74806,\n                                \"base_discount_tax_compensation_amount\": 0.23,\n                                \"no_discount\": 0,\n                                \"base_original_price\": 10.9,\n                                \"amount_refunded\": 0,\n                                \"updated_at\": \"2022-01-10 12:26:39\",\n                                \"is_virtual\": 0,\n                                \"qty_refunded\": 0,\n                                \"qty_canceled\": 0,\n                                \"store_id\": 1,\n                                \"is_qty_decimal\": 0\n                            },\n                            \"updated_at\": \"2022-01-10 12:26:39\",\n                            \"parent_item_id\": 891118,\n                            \"base_discount_invoiced\": 0,\n                            \"product_id\": 2597,\n                            \"order_id\": 187040,\n                            \"base_tax_invoiced\": 0,\n                            \"base_tax_amount\": 0,\n                            \"base_discount_tax_compensation_invoiced\": 0,\n                            \"qty_ordered\": 1,\n                            \"name\": \"Nombre sku1\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"base_price\": 0,\n                            \"row_invoiced\": 0,\n                            \"qty_invoiced\": 1,\n                            \"base_row_total_incl_tax\": 0,\n                            \"base_discount_amount\": 0,\n                            \"row_total_incl_tax\": 0,\n                            \"item_id\": 891119,\n                            \"base_amount_refunded\": 0,\n                            \"product_type\": \"simple\",\n                            \"tax_percent\": 0,\n                            \"qty_shipped\": 0,\n                            \"row_total\": 0,\n                            \"base_row_total\": 0,\n                            \"tax_invoiced\": 0,\n                            \"free_shipping\": 0,\n                            \"quote_item_id\": 74807,\n                            \"amount_refunded\": 0,\n                            \"base_row_invoiced\": 0,\n                            \"is_virtual\": 0,\n                            \"qty_refunded\": 0,\n                            \"qty_canceled\": 0,\n                            \"store_id\": 1,\n                            \"is_qty_decimal\": 0\n                        }\n                    ],\n                    \"shipping_description\": \"Envíos - Envío estándar\",\n                    \"total_due\": 0,\n                    \"total_item_count\": 2,\n                    \"coupon_code\": \"TESTCOUPON\",\n                    \"customer_is_guest\": 0,\n                    \"customer_email\": \"test@email.com\",\n                    \"email_sent\": 1,\n                    \"increment_id\": \"35194537\",\n                    \"base_grand_total\": 24.33,\n                    \"x_forwarded_for\": \"212.145.156.77\",\n                    \"discount_amount\": -4.29,\n                    \"tax_amount\": 4.22,\n                    \"base_shipping_discount_tax_compensation_amnt\": 0,\n                    \"discount_invoiced\": -4.29,\n                    \"applied_rule_ids\": \"5\",\n                    \"total_qty_ordered\": 2,\n                    \"base_currency_code\": \"EUR\",\n                    \"status\": \"processing_redsys\",\n                    \"base_to_order_rate\": 1,\n                    \"subtotal_incl_tax\": 28.62,\n                    \"protect_code\": \"01c95419b32c30c2b2552xxx330a602b0da\",\n                    \"total_paid\": 24.33,\n                    \"base_total_due\": 0,\n                    \"store_currency_code\": \"EUR\",\n                    \"base_discount_invoiced\": -4.29,\n                    \"base_shipping_incl_tax\": 0,\n                    \"customer_group_id\": 1,\n                    \"base_subtotal_incl_tax\": 28.62,\n                    \"grand_total\": 24.33,\n                    \"total_invoiced\": 24.33,\n                    \"order_currency_code\": \"EUR\",\n                    \"base_shipping_invoiced\": 0,\n                    \"base_tax_invoiced\": 4.22,\n                    \"state\": \"processing\",\n                    \"base_discount_tax_compensation_invoiced\": 0.75,\n                    \"store_to_order_rate\": 0,\n                    \"quote_id\": 17741,\n                    \"base_total_invoiced\": 24.33,\n                    \"created_at\": \"2022-01-10 12:25:41\",\n                    \"status_histories\": [\n                        {\n                            \"parent_id\": 187040,\n                            \"entity_name\": \"invoice\",\n                            \"comment\": \"Cantidad capturada de 24,33 € en línea. Identificador de la transacción: \\\"REDSYS_112345\\\"\",\n                            \"is_customer_notified\": null,\n                            \"is_visible_on_front\": 0,\n                            \"status\": \"processing\",\n                            \"created_at\": \"2022-01-10 12:26:39\",\n                            \"entity_id\": 1183147\n                        },\n                        {\n                            \"parent_id\": 187040,\n                            \"entity_name\": \"order\",\n                            \"comment\": \"Payment transaction captured from gateway with ID \\\"REDSYS_112345\\\". Order will be marked as paid.\",\n                            \"is_customer_notified\": null,\n                            \"is_visible_on_front\": 0,\n                            \"status\": \"processing_redsys\",\n                            \"created_at\": \"2022-01-10 12:26:38\",\n                            \"entity_id\": 1183146\n                        },\n                        {\n                            \"parent_id\": 187040,\n                            \"entity_name\": \"order\",\n                            \"comment\": null,\n                            \"is_customer_notified\": 1,\n                            \"is_visible_on_front\": 0,\n                            \"status\": \"pending\",\n                            \"created_at\": \"2022-01-10 12:25:41\",\n                            \"entity_id\": 1183143\n                        }\n                    ],\n                    \"base_tax_amount\": 4.22,\n                    \"weight\": 0,\n                    \"customer_lastname\": \"name\",\n                    \"shipping_amount\": 0,\n                    \"base_discount_amount\": -4.29,\n                    \"base_total_paid\": 24.33,\n                    \"base_shipping_tax_amount\": 0,\n                    \"customer_note_notify\": 0,\n                    \"remote_ip\": \"212.145.156.77\",\n                    \"entity_id\": 187040,\n                    \"subtotal_invoiced\": 23.65,\n                    \"discount_description\": \"TESTCOUPON\",\n                    \"global_currency_code\": \"EUR\",\n                    \"shipping_incl_tax\": 0,\n                    \"base_to_global_rate\": 1,\n                    \"shipping_tax_amount\": 0,\n                    \"discount_tax_compensation_amount\": 0.75,\n                    \"billing_address_id\": 374051,\n                    \"store_to_base_rate\": 0,\n                    \"base_shipping_amount\": 0,\n                    \"tax_invoiced\": 4.22,\n                    \"payment\": {\n                        \"parent_id\": 187040,\n                        \"cc_last4\": null,\n                        \"shipping_amount\": 0,\n                        \"cc_ss_start_month\": \"0\",\n                        \"amount_ordered\": 24.33,\n                        \"method\": \"redsys\",\n                        \"base_amount_ordered\": 24.33,\n                        \"shipping_captured\": 0,\n                        \"last_trans_id\": \"REDSYS_112345\",\n                        \"base_amount_paid\": 24.33,\n                        \"entity_id\": 187026,\n                        \"additional_information\": [\n                            \"Pago tarjeta\"\n                        ],\n                        \"account_status\": null,\n                        \"amount_paid\": 24.33,\n                        \"cc_ss_start_year\": \"0\",\n                        \"base_amount_paid_online\": 24.33,\n                        \"cc_exp_year\": \"0\",\n                        \"base_shipping_captured\": 0,\n                        \"base_shipping_amount\": 0\n                    },\n                    \"shipping_invoiced\": 0,\n                    \"discount_tax_compensation_invoiced\": 0.75,\n                    \"base_discount_tax_compensation_amount\": 0.75,\n                    \"base_subtotal\": 23.65,\n                    \"base_shipping_discount_amount\": 0,\n                    \"customer_firstname\": \"test\",\n                    \"updated_at\": \"2022-01-10 12:26:39\",\n                    \"extension_attributes\": {\n                        \"need_invoice\": false,\n                        \"applied_taxes\": [\n                            {\n                                \"title\": \"IVA General\",\n                                \"percent\": 21,\n                                \"code\": \"IVA General\",\n                                \"amount\": 4.22,\n                                \"base_amount\": 4.22\n                            }\n                        ],\n                        \"item_applied_taxes\": [\n                            {\n                                \"applied_taxes\": [\n                                    {\n                                        \"title\": \"IVA General\",\n                                        \"percent\": 21,\n                                        \"code\": \"IVA General\",\n                                        \"amount\": 0,\n                                        \"base_amount\": 0\n                                    }\n                                ],\n                                \"type\": \"shipping\"\n                            },\n                            {\n                                \"item_id\": 891116,\n                                \"applied_taxes\": [\n                                    {\n                                        \"title\": \"IVA General\",\n                                        \"percent\": 21,\n                                        \"code\": \"IVA General\",\n                                        \"amount\": 2.93,\n                                        \"base_amount\": 2.93\n                                    }\n                                ],\n                                \"type\": \"product\"\n                            },\n                            {\n                                \"item_id\": 891118,\n                                \"applied_taxes\": [\n                                    {\n                                        \"title\": \"IVA General\",\n                                        \"percent\": 21,\n                                        \"code\": \"IVA General\",\n                                        \"amount\": 1.29,\n                                        \"base_amount\": 1.29\n                                    }\n                                ],\n                                \"type\": \"product\"\n                            }\n                        ],\n                        \"converting_from_quote\": true,\n                        \"shipping_assignments\": [\n                            {\n                                \"items\": [\n                                    {\n                                        \"price\": 16.45,\n                                        \"original_price\": 32.5,\n                                        \"discount_percent\": 15,\n                                        \"applied_rule_ids\": \"5\",\n                                        \"sku\": \"sku2\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0.52,\n                                        \"base_price_incl_tax\": 19.9,\n                                        \"discount_amount\": 2.99,\n                                        \"tax_amount\": 2.93,\n                                        \"discount_invoiced\": 2.99,\n                                        \"row_total\": 13.46,\n                                        \"product_type\": \"configurable\",\n                                        \"base_row_invoiced\": 16.45,\n                                        \"price_incl_tax\": 19.9,\n                                        \"discount_tax_compensation_amount\": 0.52,\n                                        \"base_discount_invoiced\": 2.99,\n                                        \"product_id\": 4070,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 2.93,\n                                        \"base_tax_amount\": 2.93,\n                                        \"base_discount_tax_compensation_invoiced\": 0.52,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku2\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 16.45,\n                                        \"row_invoiced\": 16.45,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 16.91,\n                                        \"base_discount_amount\": 2.99,\n                                        \"row_total_incl_tax\": 16.91,\n                                        \"item_id\": 891116,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_option\": {\n                                            \"extension_attributes\": {\n                                                \"configurable_item_options\": [\n                                                    {\n                                                        \"option_value\": 47,\n                                                        \"option_id\": \"93\"\n                                                    }\n                                                ]\n                                            }\n                                        },\n                                        \"weee_tax_applied\": \"[]\",\n                                        \"tax_percent\": 21,\n                                        \"qty_shipped\": 0,\n                                        \"base_row_total\": 13.46,\n                                        \"tax_invoiced\": 2.93,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74798,\n                                        \"base_discount_tax_compensation_amount\": 0.52,\n                                        \"no_discount\": 0,\n                                        \"base_original_price\": 32.5,\n                                        \"amount_refunded\": 0,\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    },\n                                    {\n                                        \"price\": 0,\n                                        \"original_price\": 0,\n                                        \"discount_percent\": 0,\n                                        \"no_discount\": 0,\n                                        \"sku\": \"sku2\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0,\n                                        \"discount_amount\": 0,\n                                        \"tax_amount\": 0,\n                                        \"discount_invoiced\": 0,\n                                        \"parent_item\": {\n                                            \"price\": 16.45,\n                                            \"original_price\": 32.5,\n                                            \"discount_percent\": 15,\n                                            \"applied_rule_ids\": \"5\",\n                                            \"sku\": \"sku2\",\n                                            \"row_weight\": 0,\n                                            \"discount_tax_compensation_invoiced\": 0.52,\n                                            \"base_price_incl_tax\": 19.9,\n                                            \"discount_amount\": 2.99,\n                                            \"tax_amount\": 2.93,\n                                            \"discount_invoiced\": 2.99,\n                                            \"row_total\": 13.46,\n                                            \"product_type\": \"configurable\",\n                                            \"base_row_invoiced\": 16.45,\n                                            \"price_incl_tax\": 19.9,\n                                            \"discount_tax_compensation_amount\": 0.52,\n                                            \"base_discount_invoiced\": 2.99,\n                                            \"product_id\": 4070,\n                                            \"order_id\": 187040,\n                                            \"base_tax_invoiced\": 2.93,\n                                            \"base_tax_amount\": 2.93,\n                                            \"base_discount_tax_compensation_invoiced\": 0.52,\n                                            \"qty_ordered\": 1,\n                                            \"name\": \"Nombre sku2\",\n                                            \"created_at\": \"2022-01-10 12:25:41\",\n                                            \"base_price\": 16.45,\n                                            \"row_invoiced\": 16.45,\n                                            \"qty_invoiced\": 1,\n                                            \"base_row_total_incl_tax\": 16.91,\n                                            \"base_discount_amount\": 2.99,\n                                            \"row_total_incl_tax\": 16.91,\n                                            \"item_id\": 891116,\n                                            \"base_amount_refunded\": 0,\n                                            \"product_option\": {\n                                                \"extension_attributes\": {\n                                                    \"configurable_item_options\": [\n                                                        {\n                                                            \"option_value\": 47,\n                                                            \"option_id\": \"93\"\n                                                        }\n                                                    ]\n                                                }\n                                            },\n                                            \"weee_tax_applied\": \"[]\",\n                                            \"tax_percent\": 21,\n                                            \"qty_shipped\": 0,\n                                            \"base_row_total\": 13.46,\n                                            \"tax_invoiced\": 2.93,\n                                            \"free_shipping\": 0,\n                                            \"quote_item_id\": 74798,\n                                            \"base_discount_tax_compensation_amount\": 0.52,\n                                            \"no_discount\": 0,\n                                            \"base_original_price\": 32.5,\n                                            \"amount_refunded\": 0,\n                                            \"updated_at\": \"2022-01-10 12:26:39\",\n                                            \"is_virtual\": 0,\n                                            \"qty_refunded\": 0,\n                                            \"qty_canceled\": 0,\n                                            \"store_id\": 1,\n                                            \"is_qty_decimal\": 0\n                                        },\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"parent_item_id\": 891116,\n                                        \"base_discount_invoiced\": 0,\n                                        \"product_id\": 2826,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 0,\n                                        \"base_tax_amount\": 0,\n                                        \"base_discount_tax_compensation_invoiced\": 0,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku2\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 0,\n                                        \"row_invoiced\": 0,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 0,\n                                        \"base_discount_amount\": 0,\n                                        \"row_total_incl_tax\": 0,\n                                        \"item_id\": 891117,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_type\": \"simple\",\n                                        \"tax_percent\": 0,\n                                        \"qty_shipped\": 0,\n                                        \"row_total\": 0,\n                                        \"base_row_total\": 0,\n                                        \"tax_invoiced\": 0,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74799,\n                                        \"amount_refunded\": 0,\n                                        \"base_row_invoiced\": 0,\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    },\n                                    {\n                                        \"price\": 7.2,\n                                        \"original_price\": 10.9,\n                                        \"discount_percent\": 15,\n                                        \"applied_rule_ids\": \"5\",\n                                        \"sku\": \"sku1\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0.23,\n                                        \"base_price_incl_tax\": 8.72,\n                                        \"discount_amount\": 1.3,\n                                        \"tax_amount\": 1.29,\n                                        \"discount_invoiced\": 1.3,\n                                        \"row_total\": 5.9,\n                                        \"product_type\": \"configurable\",\n                                        \"base_row_invoiced\": 7.2,\n                                        \"price_incl_tax\": 8.72,\n                                        \"discount_tax_compensation_amount\": 0.23,\n                                        \"base_discount_invoiced\": 1.3,\n                                        \"product_id\": 3911,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 1.29,\n                                        \"base_tax_amount\": 1.29,\n                                        \"base_discount_tax_compensation_invoiced\": 0.23,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku1\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 7.2,\n                                        \"row_invoiced\": 7.2,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 7.42,\n                                        \"base_discount_amount\": 1.3,\n                                        \"row_total_incl_tax\": 7.42,\n                                        \"item_id\": 891118,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_option\": {\n                                            \"extension_attributes\": {\n                                                \"configurable_item_options\": [\n                                                    {\n                                                        \"option_value\": 62,\n                                                        \"option_id\": \"93\"\n                                                    }\n                                                ]\n                                            }\n                                        },\n                                        \"weee_tax_applied\": \"[]\",\n                                        \"tax_percent\": 21,\n                                        \"qty_shipped\": 0,\n                                        \"base_row_total\": 5.9,\n                                        \"tax_invoiced\": 1.29,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74806,\n                                        \"base_discount_tax_compensation_amount\": 0.23,\n                                        \"no_discount\": 0,\n                                        \"base_original_price\": 10.9,\n                                        \"amount_refunded\": 0,\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    },\n                                    {\n                                        \"price\": 0,\n                                        \"original_price\": 0,\n                                        \"discount_percent\": 0,\n                                        \"no_discount\": 0,\n                                        \"sku\": \"sku1\",\n                                        \"row_weight\": 0,\n                                        \"discount_tax_compensation_invoiced\": 0,\n                                        \"discount_amount\": 0,\n                                        \"tax_amount\": 0,\n                                        \"discount_invoiced\": 0,\n                                        \"parent_item\": {\n                                            \"price\": 7.2,\n                                            \"original_price\": 10.9,\n                                            \"discount_percent\": 15,\n                                            \"applied_rule_ids\": \"5\",\n                                            \"sku\": \"sku1\",\n                                            \"row_weight\": 0,\n                                            \"discount_tax_compensation_invoiced\": 0.23,\n                                            \"base_price_incl_tax\": 8.72,\n                                            \"discount_amount\": 1.3,\n                                            \"tax_amount\": 1.29,\n                                            \"discount_invoiced\": 1.3,\n                                            \"row_total\": 5.9,\n                                            \"product_type\": \"configurable\",\n                                            \"base_row_invoiced\": 7.2,\n                                            \"price_incl_tax\": 8.72,\n                                            \"discount_tax_compensation_amount\": 0.23,\n                                            \"base_discount_invoiced\": 1.3,\n                                            \"product_id\": 3911,\n                                            \"order_id\": 187040,\n                                            \"base_tax_invoiced\": 1.29,\n                                            \"base_tax_amount\": 1.29,\n                                            \"base_discount_tax_compensation_invoiced\": 0.23,\n                                            \"qty_ordered\": 1,\n                                            \"name\": \"Nombre sku1\",\n                                            \"created_at\": \"2022-01-10 12:25:41\",\n                                            \"base_price\": 7.2,\n                                            \"row_invoiced\": 7.2,\n                                            \"qty_invoiced\": 1,\n                                            \"base_row_total_incl_tax\": 7.42,\n                                            \"base_discount_amount\": 1.3,\n                                            \"row_total_incl_tax\": 7.42,\n                                            \"item_id\": 891118,\n                                            \"base_amount_refunded\": 0,\n                                            \"product_option\": {\n                                                \"extension_attributes\": {\n                                                    \"configurable_item_options\": [\n                                                        {\n                                                            \"option_value\": 62,\n                                                            \"option_id\": \"93\"\n                                                        }\n                                                    ]\n                                                }\n                                            },\n                                            \"weee_tax_applied\": \"[]\",\n                                            \"tax_percent\": 21,\n                                            \"qty_shipped\": 0,\n                                            \"base_row_total\": 5.9,\n                                            \"tax_invoiced\": 1.29,\n                                            \"free_shipping\": 0,\n                                            \"quote_item_id\": 74806,\n                                            \"base_discount_tax_compensation_amount\": 0.23,\n                                            \"no_discount\": 0,\n                                            \"base_original_price\": 10.9,\n                                            \"amount_refunded\": 0,\n                                            \"updated_at\": \"2022-01-10 12:26:39\",\n                                            \"is_virtual\": 0,\n                                            \"qty_refunded\": 0,\n                                            \"qty_canceled\": 0,\n                                            \"store_id\": 1,\n                                            \"is_qty_decimal\": 0\n                                        },\n                                        \"updated_at\": \"2022-01-10 12:26:39\",\n                                        \"parent_item_id\": 891118,\n                                        \"base_discount_invoiced\": 0,\n                                        \"product_id\": 2597,\n                                        \"order_id\": 187040,\n                                        \"base_tax_invoiced\": 0,\n                                        \"base_tax_amount\": 0,\n                                        \"base_discount_tax_compensation_invoiced\": 0,\n                                        \"qty_ordered\": 1,\n                                        \"name\": \"Nombre sku1\",\n                                        \"created_at\": \"2022-01-10 12:25:41\",\n                                        \"base_price\": 0,\n                                        \"row_invoiced\": 0,\n                                        \"qty_invoiced\": 1,\n                                        \"base_row_total_incl_tax\": 0,\n                                        \"base_discount_amount\": 0,\n                                        \"row_total_incl_tax\": 0,\n                                        \"item_id\": 891119,\n                                        \"base_amount_refunded\": 0,\n                                        \"product_type\": \"simple\",\n                                        \"tax_percent\": 0,\n                                        \"qty_shipped\": 0,\n                                        \"row_total\": 0,\n                                        \"base_row_total\": 0,\n                                        \"tax_invoiced\": 0,\n                                        \"free_shipping\": 0,\n                                        \"quote_item_id\": 74807,\n                                        \"amount_refunded\": 0,\n                                        \"base_row_invoiced\": 0,\n                                        \"is_virtual\": 0,\n                                        \"qty_refunded\": 0,\n                                        \"qty_canceled\": 0,\n                                        \"store_id\": 1,\n                                        \"is_qty_decimal\": 0\n                                    }\n                                ],\n                                \"shipping\": {\n                                    \"method\": \"matrixrate_matrixrate_22\",\n                                    \"address\": {\n                                        \"email\": \"test@email.com\",\n                                        \"telephone\": \"666666666\",\n                                        \"customer_address_id\": 180815,\n                                        \"firstname\": \"test\",\n                                        \"street\": [\n                                            \"calle test 1\"\n                                        ],\n                                        \"parent_id\": 187040,\n                                        \"postcode\": \"08906\",\n                                        \"entity_id\": 374050,\n                                        \"address_type\": \"shipping\",\n                                        \"country_id\": \"ES\",\n                                        \"region_id\": 139,\n                                        \"region_code\": \"Barcelona\",\n                                        \"lastname\": \"name\",\n                                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                                        \"region\": \"Barcelona\"\n                                    },\n                                    \"total\": {\n                                        \"shipping_invoiced\": 0,\n                                        \"shipping_discount_amount\": 0,\n                                        \"shipping_amount\": 0,\n                                        \"base_shipping_incl_tax\": 0,\n                                        \"base_shipping_tax_amount\": 0,\n                                        \"base_shipping_discount_amount\": 0,\n                                        \"base_shipping_invoiced\": 0,\n                                        \"shipping_incl_tax\": 0,\n                                        \"base_shipping_discount_tax_compensation_amnt\": 0,\n                                        \"shipping_tax_amount\": 0,\n                                        \"base_shipping_amount\": 0,\n                                        \"shipping_discount_tax_compensation_amount\": 0\n                                    }\n                                }\n                            }\n                        ],\n                        \"payment_additional_info\": [\n                            {\n                                \"key\": \"method_title\",\n                                \"value\": \"Pago tarjeta\"\n                            }\n                        ],\n                        \"fooman_total_group\": {\n                            \"items\": []\n                        },\n                        \"smartie_sync_status\": \"not_ready_to_sync\"\n                    },\n                    \"is_virtual\": 0,\n                    \"customer_id\": 183667,\n                    \"base_subtotal_invoiced\": 23.65,\n                    \"billing_address\": {\n                        \"email\": \"test@email.com\",\n                        \"telephone\": \"666666666\",\n                        \"customer_address_id\": 180815,\n                        \"firstname\": \"test\",\n                        \"street\": [\n                            \"calle test 1\"\n                        ],\n                        \"parent_id\": 187040,\n                        \"postcode\": \"08906\",\n                        \"entity_id\": 374051,\n                        \"address_type\": \"billing\",\n                        \"country_id\": \"ES\",\n                        \"region_id\": 139,\n                        \"region_code\": \"Barcelona\",\n                        \"lastname\": \"name\",\n                        \"city\": \"HOSPITALET DE LLOBREGAT\",\n                        \"region\": \"Barcelona\"\n                    },\n                    \"store_name\": \"España\\nEspaña\\nES\",\n                    \"store_id\": 1,\n                    \"subtotal\": 23.65,\n                    \"shipping_discount_tax_compensation_amount\": 0,\n                    \"shipping_discount_amount\": 0,\n                    \"base_total_invoiced_cost\": 0\n                }\n            },\n            \"channel_create_date\": \"2022-01-10T13:25:41+01:00\",\n            \"store_pickup\": false\n        }\n    ]\n}"}],"_postman_id":"93dc12ca-ca3f-430e-afab-f572a6c4b92d"},{"name":"008 - Bulk update orders","id":"a47a8240-b0f3-4807-adec-f1d0e04d95fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"ids\": [1, 2],\n    \"data\": {\n        \"local_status\": \"exported_to_erp\",\n        \"channel_status\": \"prepared\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/orders/bulk/","urlObject":{"path":["v1","orders","bulk",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a47a8240-b0f3-4807-adec-f1d0e04d95fe"},{"name":"009 - Bulk shipping","id":"9211a757-efd2-46c4-80d3-c719f713a81d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"ids\": [1, 2, 3, 4], // order id's\n  \"shipment_data\": {\n    \"carrier\": 6,\n    \"carrier_status\": \"PROCESSING\",\n    \"status\": \"PROCESSING\",\n    \"extra\": {\n      \"total_packages\": 1,\n      \"auto_calcule_weight\": true\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/orders/ship","urlObject":{"path":["v1","orders","ship"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9211a757-efd2-46c4-80d3-c719f713a81d"},{"name":"010 - Get sync","id":"d2d4a5c6-9f11-4d89-9b51-0086d613f18c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/orders/{{order_id}}/sync/{{sync_id}}","urlObject":{"path":["v1","orders","{{order_id}}","sync","{{sync_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d2d4a5c6-9f11-4d89-9b51-0086d613f18c"},{"name":"011 - Update sync","id":"197f897b-6fe2-4d23-8132-af1938b36be3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"UNSYNCHRONIZED\",\n    \"extra\": {\"error\": \"ERROR\"}\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/orders/{{order_id}}/sync/{{sync_id}}","urlObject":{"path":["v1","orders","{{order_id}}","sync","{{sync_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"197f897b-6fe2-4d23-8132-af1938b36be3"},{"name":"012 - Create sync","id":"c7e16df0-8685-43fc-b3a8-0a0227890587","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"integration_system\": 1,\n    \"status\": \"SYNCHRONIZED\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/orders/{{order_id}}/sync","urlObject":{"path":["v1","orders","{{order_id}}","sync"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c7e16df0-8685-43fc-b3a8-0a0227890587"}],"id":"496b4452-9d45-4246-8c83-dc6ceca6129a","description":"<h1 id=\"pedidos\">Pedidos</h1>\n<p>Smartie tiene una estructura fija de pedidos, en la que se guardan:</p>\n<ul>\n<li><p>Cabecera del pedido</p>\n</li>\n<li><p>Líneas del pedido</p>\n</li>\n<li><p>Dirección de envío</p>\n</li>\n<li><p>Dirección de facturación</p>\n</li>\n<li><p>Cliente</p>\n</li>\n</ul>\n<h2 id=\"listar-pedidos\">Listar pedidos</h2>\n<p>Podemos listar los pedidos en estado PENDING con la siguiente llamada:</p>\n<p><code>curl '</code><a href=\"http://%7B%7Burl%7D%7D/api/orders/?page=1&amp;page_size=20&amp;local_status__icontains=pending\"><code>http://{{url}}/api/orders/?page=1&amp;page_size=20&amp;local_status__icontains=pending</code></a><code>' -H 'Content-Type: application/json' -H 'Authorization: Bearer {KEY-HASH-PASSWORD}'</code></p>\n<p><strong>page</strong>: es el número de página a mostrar. Lo que nos permite navegar por todos los pedidos. <strong>page_size</strong>: es el número de elementos por página</p>\n<p>El campo de <strong>id</strong> de la respuesta nos servirá para recuperar individualmente cada pedido.</p>\n<p>Por ejemplo, para el pedido con id 999:</p>\n<p><code>curl '</code><a href=\"http://%7B%7Burl%7D%7D/api/orders/999/\"><code>http://{{url}}/api/orders/999/</code></a><code>' -H 'Accept: application/json, text/plain,</code> <code>_/_``' -H 'Authorization: Bearer {KEY-HASH-PASSWORD}' -H 'Content-Type: application/json'</code></p>\n<img src=\"https://bytebucket.org/onestic/django-smartie-api-doc/raw/b83e0cf313079c074d0089db7fcb2f7b66fb8ad9/.gitbook/assets/get_orders_new.png?token=5fcee19285cb90a788758005a8ee20b1caffe83d\" />\n\n<p>Respuesta:</p>\n<img src=\"https://bytebucket.org/onestic/django-smartie-api-doc/raw/b83e0cf313079c074d0089db7fcb2f7b66fb8ad9/.gitbook/assets/order-example.png?token=bc0c326950e2aa778b526cb04aaeef29602313eb\" />\n\n<h3 id=\"atributos-extra\">Atributos \"extra\"</h3>\n<p>Cada entidad de las listadas tienen un campo \"extra\", en el que dependiendo del canal de origen guardaremos los datos en crudo tal como vienen siempre que sea posible.Estos datos son accesibles por los integradores.</p>\n<p>Por ejemplo, podemos encontrar un flag para indicar que el cliente quiere factura, o el ID de la tienda física en la que se va a recoger el pedido :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"magento2\": {\n    \"extension_attributes\": {\n      \"need_invoice\": \"1\",\n      \"pickup_store_id\":\"327\"\n    }\n  }\n}\n\n</code></pre><p>En función del origen del pedido , este nodo \"extra\" tendrá más o menos información.</p>\n<h2 id=\"identificación-del-canal-del-pedido\">Identificación del canal del pedido</h2>\n<p>Podemos obtener el id del canal o el nombre desde el pedido.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>order-&gt;view-&gt;channel-&gt;id\norder-&gt;view-&gt;channel-&gt;name\n\n</code></pre><h2 id=\"especificaciones-generales\">Especificaciones generales</h2>\n<ul>\n<li><p>Formato fechas:</p>\n<ul>\n<li><p>\"2022-01-10T13:25:41+01:00\" (<strong>ISO 8601</strong> extendido con información de la zona horaria)</p>\n</li>\n<li><p>\"2022-01-10 13:25:41\" (YYYY-MM-DD HH:mm:ss)</p>\n</li>\n</ul>\n</li>\n<li><p>Valores numéricos:</p>\n<ul>\n<li><p>Pueden enviarse como números (ej. <code>1234.56</code>) o como cadenas de texto (ej. <code>\"1234.56\"</code>).</p>\n</li>\n<li><p>Los decimales siempre deben estar separados por puntos.</p>\n</li>\n</ul>\n</li>\n<li><p>Campos opcionales:</p>\n<ul>\n<li>Los campos que se presentan como <code>null</code> en los ejemplos son opcionales.</li>\n</ul>\n</li>\n</ul>\n","_postman_id":"496b4452-9d45-4246-8c83-dc6ceca6129a"},{"name":"Return-order","item":[{"name":"RO01- Create Refund","event":[{"listen":"prerequest","script":{"id":"63b4340f-b582-4420-b039-986ba5586c05","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"d34e1138-bc3c-4000-b655-de69cacbbfa0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"reference\": \"000000021-RMA-1\",\n    \"type\": \"RMA\",\n    \"local_status\": \"PENDING\",\n    \"channel_status\": \"1\",\n    \"channel_create_date\": \"2021-02-10 16:56:00\",\n    \"reason\": \"\",\n    \"address\": {\n        \"email\": \"example@domain.com\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"nif\": \"12345678Z\",\n        \"telephone\": \"60000000\",\n        \"country\": \"ES\",\n        \"region\": \"Valencia\",\n        \"city\": \"Valencia\",\n        \"postal_code\": \"46001\",\n        \"address\": \"C/ Test 1234\",\n        \"comments\": \"\",\n        \"extra\": {}\n    },\n    \"return_order_lines\": [\n        {\n            \"reference\": \"MP04-33-Green\",\n            \"quantity\": \"1\",\n            \"total\": \"20.50\",\n            \"reason\": \"\",\n            \"extra\": {\n                \"magento2\": {\n                    \"name\": \"Name of returned product. \"\n                }\n            }\n        }\n    ],\n    \"order\": \"7\",\n    \"extra\": {}\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/return-orders","description":"<p>This endpoint allows to create:</p>\n<ul>\n<li>RMA:<ul>\n<li>Type must be \"RMA\"</li>\n</ul>\n</li>\n<li>Creditmemo:<ul>\n<li>Type must be \"CREDITMEMO\"</li>\n</ul>\n</li>\n</ul>\n<p><a href=\"https://onestic.atlassian.net/wiki/spaces/MANSMAR/pages/1858076816/Sincronizar+devoluciones+con+Smartie+-+API\">https://onestic.atlassian.net/wiki/spaces/MANSMAR/pages/1858076816/Sincronizar+devoluciones+con+Smartie+-+API</a></p>\n","urlObject":{"path":["v1","return-orders"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"d92d0304-672f-487f-95cd-d6f439ad1b94","name":"RO01- Create Creditmemo","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"reference\": \"4\",\n    \"type\": \"CREDITMEMO\",\n    \"local_status\": \"PROCESSED\",\n    \"channel_status\": \"\",\n    \"channel_create_date\": \"2021-02-10 16:56:00\",\n    \"address\": {},\n    \"return_order_lines\": [\n        {\n            \"reference\": \"MP04-33-Green\",\n            \"quantity\": \"1\",\n             \"extra\":{}\n        }\n    ],\n    \"order\": \"7\",\n    \"extra\":{\n        \"notify\": true,\n        \"shipping_amount\": 0,\n        \"adjustment_positive\": 0,\n        \"adjustment_negative\": 0,\n        \"automatic_refund\": true // True for automatic refunds on tpv, only for online payment methods. False for manually refund and offline payment methods\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/return-orders"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 9,\n    \"return_order_lines\": [\n        {\n            \"id\": 5,\n            \"created_at\": \"2022-08-25T10:47:15.625234+02:00\",\n            \"updated_at\": \"2022-08-25T10:47:15.625250+02:00\",\n            \"reference\": \"MP04-33-Green\",\n            \"quantity\": 1,\n            \"reason\": null,\n            \"currency\": null,\n            \"unit_price_tax\": null,\n            \"unit_price_with_tax\": null,\n            \"unit_price_without_tax\": null,\n            \"unit_price_tax_type\": null,\n            \"total_without_tax\": null,\n            \"total_tax\": null,\n            \"total\": null,\n            \"comments\": null,\n            \"extra\": {\n                \"request_creditmemo\": {}\n            },\n            \"order_line\": 5\n        }\n    ],\n    \"address\": {\n        \"id\": 15,\n        \"created_at\": \"2022-08-25T10:47:15.623164+02:00\",\n        \"updated_at\": \"2022-08-25T10:47:15.623188+02:00\",\n        \"email\": \"smartie@onestic.com\",\n        \"first_name\": \"Name5\",\n        \"last_name\": \"Surname\",\n        \"nif\": \"000000000\",\n        \"telephone\": \"111222333\",\n        \"country\": \"ES\",\n        \"region\": \"Valencia\",\n        \"city\": \"Ontinyent\",\n        \"postal_code\": \"46870\",\n        \"address\": \"C/ Roger de Lauria, 19\",\n        \"comments\": null,\n        \"extra\": {}\n    },\n    \"syncs\": [],\n    \"order\": {\n        \"reference\": \"000000020\"\n    },\n    \"created_at\": \"2022-08-25T10:47:15.624288+02:00\",\n    \"updated_at\": \"2022-08-25T10:47:15.624306+02:00\",\n    \"reference\": \"4\",\n    \"type\": \"CREDITMEMO\",\n    \"local_status\": \"PROCESSED\",\n    \"channel_status\": \"\",\n    \"reason\": null,\n    \"currency\": null,\n    \"total_without_tax\": null,\n    \"total_tax\": null,\n    \"shipping_price\": null,\n    \"shipping_price_tax_type\": null,\n    \"shipping_tax\": null,\n    \"shipping_with_tax\": null,\n    \"total\": null,\n    \"comments\": null,\n    \"extra\": {\n        \"request_creditmemo\": {}\n    },\n    \"channel_create_date\": \"2021-02-10T16:56:00+01:00\"\n}"},{"id":"e1e4ea59-0c9d-4928-bc74-72cc7928c18c","name":"RO01- Create RMA","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"reference\": \"000000021-RMA-1\",\n    \"type\": \"RMA\",\n    \"local_status\": \"PROCESSING\",\n    \"channel_status\": \"5\",\n    \"channel_create_date\": \"2021-02-10 16:56:00\",\n    \"address\": {\n        \"email\": \"example@domain.com\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"nif\": \"12345678Z\",\n        \"telephone\": \"60000000\",\n        \"country\": \"ES\",\n        \"region\": \"Valencia\",\n        \"city\": \"Valencia\",\n        \"postal_code\": \"46001\",\n        \"address\": \"C/ Test 1234\",\n        \"comments\": \"\",\n        \"extra\": {\n        }\n    },\n    \"return_order_lines\": [\n        {\n            \"reference\": \"MP04-33-Green\",\n            \"quantity\": \"1\",\n             \"extra\":{\n                 \"magento2\":{\n                     \"name\":\"Name of returned product. \"\n                 }\n            }\n        }\n    ],\n    \"order\": \"7\",\n    \"extra\":{\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/return-orders"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 10,\n    \"return_order_lines\": [\n        {\n            \"id\": 6,\n            \"created_at\": \"2022-08-25T10:55:05.625276+02:00\",\n            \"updated_at\": \"2022-08-25T10:55:05.625294+02:00\",\n            \"reference\": \"MP04-33-Green\",\n            \"quantity\": 1,\n            \"reason\": null,\n            \"currency\": null,\n            \"unit_price_tax\": null,\n            \"unit_price_with_tax\": null,\n            \"unit_price_without_tax\": null,\n            \"unit_price_tax_type\": null,\n            \"total_without_tax\": null,\n            \"total_tax\": null,\n            \"total\":\"20.50\",\n            \"comments\": null,\n            \"extra\": {\n                \"magento2\": {\n                    \"name\": \"Name of returned product. \"\n                }\n            },\n            \"order_line\": 5\n        }\n    ],\n    \"address\": {\n        \"id\": 16,\n        \"created_at\": \"2022-08-25T10:55:05.623080+02:00\",\n        \"updated_at\": \"2022-08-25T10:55:05.623106+02:00\",\n        \"email\": \"smartie@onestic.com\",\n        \"first_name\": \"Name5\",\n        \"last_name\": \"Surname\",\n        \"nif\": \"000000000\",\n        \"telephone\": \"111222333\",\n        \"country\": \"ES\",\n        \"region\": \"Valencia\",\n        \"city\": \"Ontinyent\",\n        \"postal_code\": \"46870\",\n        \"address\": \"C/ Roger de Lauria, 19\",\n        \"comments\": null,\n        \"extra\": {}\n    },\n    \"syncs\": [],\n    \"order\": {\n        \"reference\": \"000000020\"\n    },\n    \"created_at\": \"2022-08-25T10:55:05.624264+02:00\",\n    \"updated_at\": \"2022-08-25T10:55:05.624281+02:00\",\n    \"reference\": \"000000021-RMA-1\",\n    \"type\": \"RMA\",\n    \"local_status\": \"PENDING\",\n    \"channel_status\": \"5\",\n    \"reason\": null,\n    \"currency\": null,\n    \"total_without_tax\": null,\n    \"total_tax\": null,\n    \"shipping_price\": null,\n    \"shipping_price_tax_type\": null,\n    \"shipping_tax\": null,\n    \"shipping_with_tax\": null,\n    \"total\": null,\n    \"comments\": null,\n    \"extra\": {},\n    \"channel_create_date\": \"2021-02-10T16:56:00+01:00\"\n}"}],"_postman_id":"d34e1138-bc3c-4000-b655-de69cacbbfa0"},{"name":"RO02- List returns","event":[{"listen":"prerequest","script":{"id":"e0a252be-b573-4ba6-918b-bd6f4e942909","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"f7874f8b-fe90-4e41-ae1e-7f6f890b6832","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://demo.smartie.io/api/v1/return-orders/?local_status=PENDING","urlObject":{"path":["v1","return-orders",""],"host":["https://demo.smartie.io/api"],"query":[{"key":"local_status","value":"PENDING"}],"variable":[]}},"response":[],"_postman_id":"f7874f8b-fe90-4e41-ae1e-7f6f890b6832"},{"name":"RO04- Update return order","event":[{"listen":"prerequest","script":{"id":"70c86c12-2e09-44a1-8ded-764a800bb036","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"5b1f0cd6-58e8-4db0-8f42-845cc29d5119","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{access_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":"{\n\t\"local_status\" : \"PROCESSING\"\n}"},"url":"https://demo.smartie.io/api/v1/return-orders/ORDER-ID","urlObject":{"path":["v1","return-orders","ORDER-ID"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"5b1f0cd6-58e8-4db0-8f42-845cc29d5119"},{"name":"R005- Create SFCC return order","event":[{"listen":"prerequest","script":{"id":"cb2539d7-93be-4ebe-87aa-de3244e052c1","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"1867e067-2e4e-43b9-8f5d-cfd633dd0f1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"connection_profile_name\": \"{{connection profile name}}\",\n    \"reference\": \"{{rma reference}}\",\n    \"order_reference\": \"{{order reference}}\",\n    \"order_status\": \"{{rma status}}\",\n    \"note\": \"{{comments}}\",\n    \"taxIncluded\": true,\n    \"storeReturn\": true,\n    \"merchantReturn\": false,\n    \"items\": [\n        {\n            \"product_id\": \"{{sku}}\",\n            \"status\": \"{{order line status}}\",\n            \"quantity\": {{quantity}},\n            \"return_amount\": {{return amount}},\n            \"priceItem\": {{return amount}},,\n            \"reasonByClient\": 20\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/return-orders/salesforce/","urlObject":{"path":["v1","return-orders","salesforce",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"7ebb74ac-e3dc-4646-b3b1-fa863f2e29e1","name":"R005- Create SFCC return order","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"connection_profile_name\": \"SFCC DEV\",\n    \"reference\": \"00000702RMA3\",\n    \"order_reference\": \"00000702\",\n    \"order_status\": \"erp_return_confirmed\",\n    \"note\": \"Return product accepted\",\n    \"taxIncluded\": true,\n    \"storeReturn\": true,\n    \"merchantReturn\": false,\n    \"items\": [\n        {\n            \"product_id\": \"789220108_VER_41\",\n            \"status\": \"erp_return_confirmed\",\n            \"quantity\": 1,\n            \"return_amount\": 29.95,\n            \"priceItem\": 29.95,\n            \"reasonByClient\": 20\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/return-orders/salesforce/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\n    \"Return order created successfully\",\n    \"\"\n]"}],"_postman_id":"1867e067-2e4e-43b9-8f5d-cfd633dd0f1c"},{"name":"R006- Update SFCC return order status","event":[{"listen":"prerequest","script":{"id":"21cb9af7-43b5-4fc4-9aa6-c66df97e00f1","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"f178fdd7-6f0e-461f-9d0b-bd537cb77db6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"connection_profile_name\": \"{{connection profile name}}\",\n    \"reference\": \"{{rma reference}}\",\n    \"order_reference\": \"{{order reference}}\",\n    \"order_status\": \"{{rma status}}\",\n    \"note\": \"{{comments}}\",\n    \"taxIncluded\": true,\n    \"storeReturn\": true,\n    \"items\": [\n        {\n            \"product_id\": \"{{sku}}\",\n            \"status\": \"{{order line status}}\",\n            \"quantity\": {{quantity}},\n            \"return_amount\": {{return amount}},\n            \"priceItem\": {{return amount}},,\n            \"reasonByClient\": 20\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/return-orders/salesforce/","urlObject":{"path":["v1","return-orders","salesforce",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"2a7de3a9-7824-4960-951d-cff3ff9b661f","name":"R006- Update SFCC return order status","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"connection_profile_name\": \"SFCC DEV\",\n    \"reference\": \"00000505RMA1\",\n    \"order_reference\": \"00000505\",\n    \"note\": \"Return product accepted\",\n    \"taxIncluded\": true,\n    \"shippingReturn\": false,\n    \"shippingCost\": 0,\n    \"items\": [\n        {\n            \"product_id\": \"1115221001_BEI_44\",\n            \"status\": \"erp_return_confirmed\",\n            \"quantity\": 1,\n            \"return_amount\": 25.95,\n            \"priceItem\": 25.95\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/return-orders/salesforce/"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\n    \"Status update is successful\",\n    \"\"\n]"}],"_postman_id":"f178fdd7-6f0e-461f-9d0b-bd537cb77db6"},{"name":"RO07 - Export RMAs","event":[{"listen":"prerequest","script":{"id":"c897414c-b158-4aca-9dd0-720cd70f0067","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"a763e795-8a29-4540-b3c1-4e06a9e06f1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Export RMAs to csv\",\n    \"description\": \"Export RMAs to csv process\",\n    \"action_type\": \"rma_export_csv\",\n    \"output_file\": \"rmas.csv\",\n    \"is_visible\": true,\n    \"kwargs\": {\n        \"filters\": {}\n    }\n}"},"url":"https://demo.smartie.io/api/v1/processes","urlObject":{"path":["v1","processes"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a763e795-8a29-4540-b3c1-4e06a9e06f1c"},{"name":"RO08 - Search return orders with sync","event":[{"listen":"prerequest","script":{"id":"80fe4632-2e28-4686-82e0-6a1eda67ac45","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"25f2149e-80fa-4582-ae93-6d3637291b8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"page\": 1,\n        \"page_size\": 20,\n        \"startRow\": 0,\n        \"endRow\": 20\n    },\n    \"sort\": [],\n    \"filters\": {}\n}"},"url":"/v1/return-orders/search/","urlObject":{"path":["v1","return-orders","search",""],"query":[],"variable":[]}},"response":[{"id":"79682808-a15a-4b6a-837f-8ef3d8cd41e8","name":"RO08 - Search return orders with synchronized sync","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"page\": 1,\n        \"page_size\": 20,\n        \"startRow\": 1,\n        \"endRow\": 20\n    },\n    \"filters\": {\n        \"syncs__status__in\": [\n            \"SYNCHRONIZED\"\n        ]\n    },\n    \"sort\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/return-orders/search/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 9,\n            \"return_order_lines\": [\n                {\n                    \"id\": 5,\n                    \"created_at\": \"2022-08-25T10:47:15.625234+02:00\",\n                    \"updated_at\": \"2022-08-25T10:47:15.625250+02:00\",\n                    \"reference\": \"MP04-33-Green\",\n                    \"quantity\": 1,\n                    \"reason\": null,\n                    \"currency\": null,\n                    \"unit_price_tax\": null,\n                    \"unit_price_with_tax\": null,\n                    \"unit_price_without_tax\": null,\n                    \"unit_price_tax_type\": null,\n                    \"total_without_tax\": null,\n                    \"total_tax\": null,\n                    \"total\": null,\n                    \"comments\": null,\n                    \"extra\": {\n                        \"request_creditmemo\": {}\n                    },\n                    \"order_line\": 5\n                }\n            ],\n            \"address\": {\n                \"id\": 15,\n                \"created_at\": \"2022-08-25T10:47:15.623164+02:00\",\n                \"updated_at\": \"2022-08-25T10:47:15.623188+02:00\",\n                \"email\": \"smartie@onestic.com\",\n                \"first_name\": \"Name5\",\n                \"last_name\": \"Surname\",\n                \"nif\": \"000000000\",\n                \"telephone\": \"111222333\",\n                \"country\": \"ES\",\n                \"region\": \"Valencia\",\n                \"city\": \"Ontinyent\",\n                \"postal_code\": \"46870\",\n                \"address\": \"C/ Roger de Lauria, 19\",\n                \"comments\": null,\n                \"extra\": {}\n            },\n            \"syncs\": [\n                {\n                    \"id\": 14226,\n                    \"integration_system\": {\n                        \"id\": 1,\n                        \"active\": true,\n                        \"created_at\": \"2021-06-15T14:01:16.465942+02:00\",\n                        \"updated_at\": \"2021-12-02T11:17:26.115369+01:00\",\n                        \"name\": \"Magento\",\n                        \"code\": \"magento2_v1\",\n                        \"type\": \"magento2_v1\",\n                        \"config\": {\n                            \"connection_profile_id\": 7,\n                            \"ERP_TO_MAGENTO2_ORDER_STATUS\": {},\n                            \"MAGENTO2_CHANNEL_STATUS_SENT\": \"erp_sent\"\n                        }\n                    },\n                    \"created_at\": \"2022-01-10T13:30:06.408893+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:06.412651+01:00\",\n                    \"status\": \"SYNCHRONIZED\",\n                    \"extra\": {},\n                    \"order\": 4856,\n                    \"return_order\": null,\n                    \"shipment\": null\n                }\n            ],\n            \"order\": {\n                \"reference\": \"000000020\"\n            },\n            \"created_at\": \"2022-08-25T10:47:15.624288+02:00\",\n            \"updated_at\": \"2022-08-25T10:47:15.624306+02:00\",\n            \"reference\": \"4\",\n            \"type\": \"CREDITMEMO\",\n            \"local_status\": \"PROCESSED\",\n            \"channel_status\": \"\",\n            \"reason\": null,\n            \"currency\": null,\n            \"total_without_tax\": null,\n            \"total_tax\": null,\n            \"shipping_price\": null,\n            \"shipping_price_tax_type\": null,\n            \"shipping_tax\": null,\n            \"shipping_with_tax\": null,\n            \"total\": null,\n            \"comments\": null,\n            \"extra\": {\n                \"request_creditmemo\": {}\n            },\n            \"channel_create_date\": \"2021-02-10T16:56:00+01:00\"\n        }\n    ]\n}"},{"id":"b3b5ff33-e0c5-4b20-86c5-1169a93fa2e7","name":"RO08 - Search return orders with error sync","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"page\": 1,\n        \"page_size\": 20,\n        \"startRow\": 1,\n        \"endRow\": 20\n    },\n    \"filters\": {\n        \"syncs__status__in\": [\n            \"ERROR\"\n        ]\n    },\n    \"sort\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/return-orders/search/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 9,\n            \"return_order_lines\": [\n                {\n                    \"id\": 5,\n                    \"created_at\": \"2022-08-25T10:47:15.625234+02:00\",\n                    \"updated_at\": \"2022-08-25T10:47:15.625250+02:00\",\n                    \"reference\": \"MP04-33-Green\",\n                    \"quantity\": 1,\n                    \"reason\": null,\n                    \"currency\": null,\n                    \"unit_price_tax\": null,\n                    \"unit_price_with_tax\": null,\n                    \"unit_price_without_tax\": null,\n                    \"unit_price_tax_type\": null,\n                    \"total_without_tax\": null,\n                    \"total_tax\": null,\n                    \"total\": null,\n                    \"comments\": null,\n                    \"extra\": {\n                        \"request_creditmemo\": {}\n                    },\n                    \"order_line\": 5\n                }\n            ],\n            \"address\": {\n                \"id\": 15,\n                \"created_at\": \"2022-08-25T10:47:15.623164+02:00\",\n                \"updated_at\": \"2022-08-25T10:47:15.623188+02:00\",\n                \"email\": \"smartie@onestic.com\",\n                \"first_name\": \"Name5\",\n                \"last_name\": \"Surname\",\n                \"nif\": \"000000000\",\n                \"telephone\": \"111222333\",\n                \"country\": \"ES\",\n                \"region\": \"Valencia\",\n                \"city\": \"Ontinyent\",\n                \"postal_code\": \"46870\",\n                \"address\": \"C/ Roger de Lauria, 19\",\n                \"comments\": null,\n                \"extra\": {}\n            },\n            \"syncs\": [\n                {\n                    \"id\": 14226,\n                    \"integration_system\": {\n                        \"id\": 1,\n                        \"active\": true,\n                        \"created_at\": \"2021-06-15T14:01:16.465942+02:00\",\n                        \"updated_at\": \"2021-12-02T11:17:26.115369+01:00\",\n                        \"name\": \"Magento\",\n                        \"code\": \"magento2_v1\",\n                        \"type\": \"magento2_v1\",\n                        \"config\": {\n                            \"connection_profile_id\": 7,\n                            \"ERP_TO_MAGENTO2_ORDER_STATUS\": {},\n                            \"MAGENTO2_CHANNEL_STATUS_SENT\": \"erp_sent\"\n                        }\n                    },\n                    \"created_at\": \"2022-01-10T13:30:06.408893+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:06.412651+01:00\",\n                    \"status\": \"ERROR\",\n                    \"extra\": {},\n                    \"order\": 4856,\n                    \"return_order\": null,\n                    \"shipment\": null\n                }\n            ],\n            \"order\": {\n                \"reference\": \"000000020\"\n            },\n            \"created_at\": \"2022-08-25T10:47:15.624288+02:00\",\n            \"updated_at\": \"2022-08-25T10:47:15.624306+02:00\",\n            \"reference\": \"4\",\n            \"type\": \"CREDITMEMO\",\n            \"local_status\": \"PROCESSED\",\n            \"channel_status\": \"\",\n            \"reason\": null,\n            \"currency\": null,\n            \"total_without_tax\": null,\n            \"total_tax\": null,\n            \"shipping_price\": null,\n            \"shipping_price_tax_type\": null,\n            \"shipping_tax\": null,\n            \"shipping_with_tax\": null,\n            \"total\": null,\n            \"comments\": null,\n            \"extra\": {\n                \"request_creditmemo\": {}\n            },\n            \"channel_create_date\": \"2021-02-10T16:56:00+01:00\"\n        }\n    ]\n}"},{"id":"518b102e-bac8-4bbe-a363-da1d8ea6363c","name":"RO08 - Search return orders with no sync","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"page\": 1,\n        \"page_size\": 20,\n        \"startRow\": 1,\n        \"endRow\": 20\n    },\n    \"filters\": {\n        \"syncs__isnull\": true\n    },\n    \"sort\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/return-orders/search/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 9,\n            \"return_order_lines\": [\n                {\n                    \"id\": 5,\n                    \"created_at\": \"2022-08-25T10:47:15.625234+02:00\",\n                    \"updated_at\": \"2022-08-25T10:47:15.625250+02:00\",\n                    \"reference\": \"MP04-33-Green\",\n                    \"quantity\": 1,\n                    \"reason\": null,\n                    \"currency\": null,\n                    \"unit_price_tax\": null,\n                    \"unit_price_with_tax\": null,\n                    \"unit_price_without_tax\": null,\n                    \"unit_price_tax_type\": null,\n                    \"total_without_tax\": null,\n                    \"total_tax\": null,\n                    \"total\": null,\n                    \"comments\": null,\n                    \"extra\": {\n                        \"request_creditmemo\": {}\n                    },\n                    \"order_line\": 5\n                }\n            ],\n            \"address\": {\n                \"id\": 15,\n                \"created_at\": \"2022-08-25T10:47:15.623164+02:00\",\n                \"updated_at\": \"2022-08-25T10:47:15.623188+02:00\",\n                \"email\": \"smartie@onestic.com\",\n                \"first_name\": \"Name5\",\n                \"last_name\": \"Surname\",\n                \"nif\": \"000000000\",\n                \"telephone\": \"111222333\",\n                \"country\": \"ES\",\n                \"region\": \"Valencia\",\n                \"city\": \"Ontinyent\",\n                \"postal_code\": \"46870\",\n                \"address\": \"C/ Roger de Lauria, 19\",\n                \"comments\": null,\n                \"extra\": {}\n            },\n            \"syncs\": [],\n            \"order\": {\n                \"reference\": \"000000020\"\n            },\n            \"created_at\": \"2022-08-25T10:47:15.624288+02:00\",\n            \"updated_at\": \"2022-08-25T10:47:15.624306+02:00\",\n            \"reference\": \"4\",\n            \"type\": \"CREDITMEMO\",\n            \"local_status\": \"PROCESSED\",\n            \"channel_status\": \"\",\n            \"reason\": null,\n            \"currency\": null,\n            \"total_without_tax\": null,\n            \"total_tax\": null,\n            \"shipping_price\": null,\n            \"shipping_price_tax_type\": null,\n            \"shipping_tax\": null,\n            \"shipping_with_tax\": null,\n            \"total\": null,\n            \"comments\": null,\n            \"extra\": {\n                \"request_creditmemo\": {}\n            },\n            \"channel_create_date\": \"2021-02-10T16:56:00+01:00\"\n        }\n    ]\n}"}],"_postman_id":"25f2149e-80fa-4582-ae93-6d3637291b8a"},{"name":"RO09 - Get sync","id":"ab00e996-cda1-4742-92aa-7e9338f1ede8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/return-orders/{{return_order_id}}/sync/{{sync_id}}","urlObject":{"path":["v1","return-orders","{{return_order_id}}","sync","{{sync_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"ab00e996-cda1-4742-92aa-7e9338f1ede8"},{"name":"RO10 - Update sync","id":"da24a43f-c310-4524-920b-928d2e220d83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"integration_system\": 1,\n    \"status\": \"SYNCHRONIZED\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/return-orders/{{return_order_id}}/sync/{{sync_id}}","urlObject":{"path":["v1","return-orders","{{return_order_id}}","sync","{{sync_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"da24a43f-c310-4524-920b-928d2e220d83"},{"name":"RO11 - Create sync","id":"aa2d3f1e-69ed-488b-908b-9b66cdc7ab45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"integration_system\": 1,\n    \"status\": \"SYNCHRONIZED\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/return-orders/{{return_order_id}}/sync","urlObject":{"path":["v1","return-orders","{{return_order_id}}","sync"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"aa2d3f1e-69ed-488b-908b-9b66cdc7ab45"}],"id":"f19c496a-df2d-44bf-9dda-c18f652025fb","_postman_id":"f19c496a-df2d-44bf-9dda-c18f652025fb","description":""},{"name":"Shipments","item":[{"name":"S01 - Update shipment","event":[{"listen":"prerequest","script":{"id":"ab0b065e-0f36-40c1-a3fb-b7f8db6c059a","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"bb6199bc-aa5e-430f-8072-fdb8f5810fc0","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"tracking_number\": \"{{ shipment tracking url }}\", // optional\n    \"tracking_url\": \"{{ shipment tracking url }}\", // optional\n    \"status\" : \"{{ shipment smartie status }}\", // optional\n    \"shipped_date\": \"{{ shipment shipped date }}\", // optional\n    \"delivered_date\": \"{{ shipment delivered date }}\" // optional\n}"},"url":"https://demo.smartie.io/api/v1/shipments/{{shipment_id}}","urlObject":{"path":["v1","shipments","{{shipment_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"62759b1b-6d64-491b-ab14-4618a8be8a10","name":"S01 - Update shipment status","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwianRpIjoiZTYxMWYzZTcxOWMxNDFiNmE5YmZmZTk0ZWRjYzUzN2IiLCJ1c2VyX2lkIjo0LCJleHAiOjE2MDA3NjI4Mjh9.pPmbBBfZ4Y2jGR6i6eBhxqK1wOED99cTWe9NrNangxg","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"status\" : \"DELIVERED\",\n\t\"delivered_date\": \"2021-05-25T16:56\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/shipments/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"shipping_label\": null,\n    \"created_at\": \"2021-09-29T14:58:41.925515+02:00\",\n    \"updated_at\": \"2021-09-29T14:58:41.925537+02:00\",\n    \"reference\": \"O-12314235235\",\n    \"tracking_number\": \"12314235235\",\n    \"tracking_url\": \"http://test.carrier12314235235\",\n    \"status\": \"DELIVERED\",\n    \"carrier_status\": \"Entregado\",\n    \"is_partial\": false,\n    \"comments\": \"Comentarios de prueba\",\n    \"extra\": null,\n    \"shipped_date\": \"2021-05-21T16:56:00+02:00\",\n    \"delivered_date\": \"2021-05-25T16:56:00+02:00\",\n    \"address\": 1\n}"},{"id":"a72fcd37-530a-4e5f-9ab4-45f8253bc2fa","name":"S01 - Update tracking number and tracking url","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwianRpIjoiZTYxMWYzZTcxOWMxNDFiNmE5YmZmZTk0ZWRjYzUzN2IiLCJ1c2VyX2lkIjo0LCJleHAiOjE2MDA3NjI4Mjh9.pPmbBBfZ4Y2jGR6i6eBhxqK1wOED99cTWe9NrNangxg","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"tracking_number\": \"12345\",\n    \"tracking_url\": \"http://wwww.tracking-test.com/12345\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/shipments/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"shipping_label\": null,\n    \"created_at\": \"2021-09-29T14:58:41.925515+02:00\",\n    \"updated_at\": \"2021-09-29T14:58:41.925537+02:00\",\n    \"reference\": \"O-12314235235\",\n    \"tracking_number\": \"12314235235\",\n    \"tracking_url\": \"http://test.carrier12314235235\",\n    \"status\": \"DELIVERED\",\n    \"carrier_status\": \"Entregado\",\n    \"is_partial\": false,\n    \"comments\": \"Comentarios de prueba\",\n    \"extra\": null,\n    \"shipped_date\": \"2021-05-21T16:56:00+02:00\",\n    \"delivered_date\": \"2021-05-25T16:56:00+02:00\",\n    \"address\": 1\n}"}],"_postman_id":"bb6199bc-aa5e-430f-8072-fdb8f5810fc0"},{"name":"S02 - List shipments","event":[{"listen":"prerequest","script":{"id":"3e6d359c-d43f-4413-ad0a-3aecf4782ee4","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"41a6daec-07cf-4e0c-a2fc-78046b2584de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/shipments/","urlObject":{"path":["v1","shipments",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"7b7a3ea3-020f-4c38-af1b-cd87ac4900fe","name":"S02 - Get shipments with PENDING status","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2MDQ5MjE2ODQsInRva2VuX3R5cGUiOiJhY2Nlc3MiLCJqdGkiOiI2MmE1YWE5MTkwZGQ0ZDBhOWU1NDFlY2ZiZjQ4NzFiOCIsInVzZXJfaWQiOjIyfQ.cnuTPoaS3rcu1U8FLQqTg55dQzPtQlWjN8ca7hJtveY","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://demo.smartie.io/api/v1/shipments/?status__icontains=PENDING","host":["https://demo.smartie.io/api"],"path":["v1","shipments",""],"query":[{"key":"status__icontains","value":"PENDING"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 11,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 42,\n            \"shipment_lines\": [\n                {\n                    \"id\": 6,\n                    \"created_at\": \"2021-09-23T13:18:30.293617+02:00\",\n                    \"updated_at\": \"2021-09-23T13:18:30.293713+02:00\",\n                    \"quantity\": 1,\n                    \"comments\": null,\n                    \"extra\": null,\n                    \"order_line\": 31,\n                    \"return_order_line\": null\n                },\n                {\n                    \"id\": 7,\n                    \"created_at\": \"2021-09-23T13:18:31.199637+02:00\",\n                    \"updated_at\": \"2021-09-23T13:18:31.199734+02:00\",\n                    \"quantity\": 1,\n                    \"comments\": null,\n                    \"extra\": null,\n                    \"order_line\": 32,\n                    \"return_order_line\": null\n                },\n                {\n                    \"id\": 8,\n                    \"created_at\": \"2021-09-23T13:18:31.809577+02:00\",\n                    \"updated_at\": \"2021-09-23T13:18:31.809720+02:00\",\n                    \"quantity\": 1,\n                    \"comments\": null,\n                    \"extra\": null,\n                    \"order_line\": 33,\n                    \"return_order_line\": null\n                }\n            ],\n            \"syncs\": [],\n            \"order\": {\n                \"id\": 27,\n                \"created_at\": \"2021-08-11T10:50:53.660729+02:00\",\n                \"updated_at\": \"2021-08-11T10:50:53.660741+02:00\",\n                \"reference\": \"T300088188\",\n                \"local_status\": \"PENDING\",\n                \"channel_status\": \"new\",\n                \"currency\": \"EUR\",\n                \"total_without_tax\": \"341.32\",\n                \"total_tax\": \"71.67\",\n                \"shipping_price\": \"0.00\",\n                \"shipping_price_tax_type\": null,\n                \"discount\": \"0.00\",\n                \"total\": \"412.99\",\n                \"payment_method\": \"PayPal\",\n                \"shipping_method\": \"Envio a Casa\",\n                \"shipping_tax\": \"0.00\",\n                \"shipping_with_tax\": \"0.00\",\n                \"coupons\": null,\n                \"comments\": null,\n                \"extra\": {},\n                \"channel_create_date\": \"2021-08-11T10:49:56.098000+02:00\",\n                \"store_pickup\": false,\n                \"view\": 1,\n                \"customer\": 27,\n                \"shipping_address\": 83,\n                \"billing_address\": 84\n            },\n            \"return_order\": null,\n            \"carrier\": {\n                \"id\": 1,\n                \"created_at\": \"2021-03-24T09:22:31+01:00\",\n                \"updated_at\": \"2021-03-24T09:22:31+01:00\",\n                \"code\": \"1\",\n                \"name\": \"ABCUSTOM\",\n                \"web\": \"https://www.abcustom.es/portal/es/seguimiento-clientes?OTSREF=T0016798&OTSARRUSRVILCP=\"\n            },\n            \"address\": {\n                \"id\": 105,\n                \"created_at\": \"2021-09-23T13:17:41.262194+02:00\",\n                \"updated_at\": \"2021-09-23T13:17:41.262455+02:00\",\n                \"email\": \"\",\n                \"first_name\": \"test name\",\n                \"last_name\": \"\",\n                \"nif\": \"\",\n                \"telephone\": \"600300300\",\n                \"country\": \"ES\",\n                \"region\": \"\",\n                \"city\": \"valencia\",\n                \"postal_code\": \"46002\",\n                \"address\": \"Calle prueba 1\",\n                \"comments\": null,\n                \"extra\": null\n            },\n            \"shipping_label\": null,\n            \"created_at\": \"2021-09-23T13:18:29.276096+02:00\",\n            \"updated_at\": \"2021-09-23T13:18:29.276299+02:00\",\n            \"reference\": \"T300088188\",\n            \"tracking_number\": \"\",\n            \"tracking_url\": \"\",\n            \"status\": \"PENDING\",\n            \"carrier_status\": \"PENDING\",\n            \"is_partial\": false,\n            \"comments\": \"\",\n            \"extra\": {},\n            \"shipped_date\": \"2021-09-23T13:17:50.665500+02:00\",\n            \"delivered_date\": null\n        }\n    ]\n}"},{"id":"a045c7c4-5419-4377-b4ec-59c6122be362","name":"S02 - Get shipment by reference","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2MDQ5MjE2ODQsInRva2VuX3R5cGUiOiJhY2Nlc3MiLCJqdGkiOiI2MmE1YWE5MTkwZGQ0ZDBhOWU1NDFlY2ZiZjQ4NzFiOCIsInVzZXJfaWQiOjIyfQ.cnuTPoaS3rcu1U8FLQqTg55dQzPtQlWjN8ca7hJtveY","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://demo.smartie.io/api/v1/shipments/?reference=T300088188","host":["https://demo.smartie.io/api"],"path":["v1","shipments",""],"query":[{"key":"reference","value":"T300088188"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 11,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 42,\n            \"shipment_lines\": [\n                {\n                    \"id\": 6,\n                    \"created_at\": \"2021-09-23T13:18:30.293617+02:00\",\n                    \"updated_at\": \"2021-09-23T13:18:30.293713+02:00\",\n                    \"quantity\": 1,\n                    \"comments\": null,\n                    \"extra\": null,\n                    \"order_line\": 31,\n                    \"return_order_line\": null\n                },\n                {\n                    \"id\": 7,\n                    \"created_at\": \"2021-09-23T13:18:31.199637+02:00\",\n                    \"updated_at\": \"2021-09-23T13:18:31.199734+02:00\",\n                    \"quantity\": 1,\n                    \"comments\": null,\n                    \"extra\": null,\n                    \"order_line\": 32,\n                    \"return_order_line\": null\n                },\n                {\n                    \"id\": 8,\n                    \"created_at\": \"2021-09-23T13:18:31.809577+02:00\",\n                    \"updated_at\": \"2021-09-23T13:18:31.809720+02:00\",\n                    \"quantity\": 1,\n                    \"comments\": null,\n                    \"extra\": null,\n                    \"order_line\": 33,\n                    \"return_order_line\": null\n                }\n            ],\n            \"syncs\": [],\n            \"order\": {\n                \"id\": 27,\n                \"created_at\": \"2021-08-11T10:50:53.660729+02:00\",\n                \"updated_at\": \"2021-08-11T10:50:53.660741+02:00\",\n                \"reference\": \"T300088188\",\n                \"local_status\": \"PENDING\",\n                \"channel_status\": \"new\",\n                \"currency\": \"EUR\",\n                \"total_without_tax\": \"341.32\",\n                \"total_tax\": \"71.67\",\n                \"shipping_price\": \"0.00\",\n                \"shipping_price_tax_type\": null,\n                \"discount\": \"0.00\",\n                \"total\": \"412.99\",\n                \"payment_method\": \"PayPal\",\n                \"shipping_method\": \"Envio a Casa\",\n                \"shipping_tax\": \"0.00\",\n                \"shipping_with_tax\": \"0.00\",\n                \"coupons\": null,\n                \"comments\": null,\n                \"extra\": {},\n                \"channel_create_date\": \"2021-08-11T10:49:56.098000+02:00\",\n                \"store_pickup\": false,\n                \"view\": 1,\n                \"customer\": 27,\n                \"shipping_address\": 83,\n                \"billing_address\": 84\n            },\n            \"return_order\": null,\n            \"carrier\": {\n                \"id\": 1,\n                \"created_at\": \"2021-03-24T09:22:31+01:00\",\n                \"updated_at\": \"2021-03-24T09:22:31+01:00\",\n                \"code\": \"1\",\n                \"name\": \"ABCUSTOM\",\n                \"web\": \"https://www.abcustom.es/portal/es/seguimiento-clientes?OTSREF=T0016798&OTSARRUSRVILCP=\"\n            },\n            \"address\": {\n                \"id\": 105,\n                \"created_at\": \"2021-09-23T13:17:41.262194+02:00\",\n                \"updated_at\": \"2021-09-23T13:17:41.262455+02:00\",\n                \"email\": \"\",\n                \"first_name\": \"test name\",\n                \"last_name\": \"\",\n                \"nif\": \"\",\n                \"telephone\": \"600300300\",\n                \"country\": \"ES\",\n                \"region\": \"\",\n                \"city\": \"valencia\",\n                \"postal_code\": \"46002\",\n                \"address\": \"Calle prueba 1\",\n                \"comments\": null,\n                \"extra\": null\n            }\n            ,\"shipping_label\":{\"id\":17341,\"file_name\":\"file/5ed2/label_TEST.pdf\",\"created_at\":\"2023-04-12T14:35:53.522778+02:00\",\"updated_at\":\"2023-04-12T14:35:53.522804+02:00\",\"name\":\"label_TEST.pdf\",\"file\":\"https://server/medias/file/5ed2/label_TEST.pdf\",\"hash\":\"5ed2452c065908d9e7f739d3303a953aa7c9ba040d1560e17b2b587f4b9e264745c5f13a4f793932a03fbfb0761c0dac634daee4ff0e6ff8b38881cb897840f8\",\"type\":\"FILE\"},\n\n            \"created_at\": \"2021-09-23T13:18:29.276096+02:00\",\n            \"updated_at\": \"2021-09-23T13:18:29.276299+02:00\",\n            \"reference\": \"T300088188\",\n            \"tracking_number\": \"\",\n            \"tracking_url\": \"\",\n            \"status\": \"PENDING\",\n            \"carrier_status\": \"PENDING\",\n            \"is_partial\": false,\n            \"comments\": \"\",\n            \"extra\": {},\n            \"shipped_date\": \"2021-09-23T13:17:50.665500+02:00\",\n            \"delivered_date\": null\n        }\n    ]\n}"},{"id":"07e8c6a6-1837-42d7-a70c-55f701a00134","name":"S02 - Get shipments by order_id","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2MDQ5MjE2ODQsInRva2VuX3R5cGUiOiJhY2Nlc3MiLCJqdGkiOiI2MmE1YWE5MTkwZGQ0ZDBhOWU1NDFlY2ZiZjQ4NzFiOCIsInVzZXJfaWQiOjIyfQ.cnuTPoaS3rcu1U8FLQqTg55dQzPtQlWjN8ca7hJtveY","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://demo.smartie.io/api/v1/shipments/?order_id=27","host":["https://demo.smartie.io/api"],"path":["v1","shipments",""],"query":[{"key":"order_id","value":"27"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 11,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 42,\n            \"shipment_lines\": [\n                {\n                    \"id\": 6,\n                    \"created_at\": \"2021-09-23T13:18:30.293617+02:00\",\n                    \"updated_at\": \"2021-09-23T13:18:30.293713+02:00\",\n                    \"quantity\": 1,\n                    \"comments\": null,\n                    \"extra\": null,\n                    \"order_line\": 31,\n                    \"return_order_line\": null\n                },\n                {\n                    \"id\": 7,\n                    \"created_at\": \"2021-09-23T13:18:31.199637+02:00\",\n                    \"updated_at\": \"2021-09-23T13:18:31.199734+02:00\",\n                    \"quantity\": 1,\n                    \"comments\": null,\n                    \"extra\": null,\n                    \"order_line\": 32,\n                    \"return_order_line\": null\n                },\n                {\n                    \"id\": 8,\n                    \"created_at\": \"2021-09-23T13:18:31.809577+02:00\",\n                    \"updated_at\": \"2021-09-23T13:18:31.809720+02:00\",\n                    \"quantity\": 1,\n                    \"comments\": null,\n                    \"extra\": null,\n                    \"order_line\": 33,\n                    \"return_order_line\": null\n                }\n            ],\n            \"syncs\": [],\n            \"order\": {\n                \"id\": 27,\n                \"created_at\": \"2021-08-11T10:50:53.660729+02:00\",\n                \"updated_at\": \"2021-08-11T10:50:53.660741+02:00\",\n                \"reference\": \"T300088188\",\n                \"local_status\": \"PENDING\",\n                \"channel_status\": \"new\",\n                \"currency\": \"EUR\",\n                \"total_without_tax\": \"341.32\",\n                \"total_tax\": \"71.67\",\n                \"shipping_price\": \"0.00\",\n                \"shipping_price_tax_type\": null,\n                \"discount\": \"0.00\",\n                \"total\": \"412.99\",\n                \"payment_method\": \"PayPal\",\n                \"shipping_method\": \"Envio a Casa\",\n                \"shipping_tax\": \"0.00\",\n                \"shipping_with_tax\": \"0.00\",\n                \"coupons\": null,\n                \"comments\": null,\n                \"extra\": {},\n                \"channel_create_date\": \"2021-08-11T10:49:56.098000+02:00\",\n                \"store_pickup\": false,\n                \"view\": 1,\n                \"customer\": 27,\n                \"shipping_address\": 83,\n                \"billing_address\": 84\n            },\n            \"return_order\": null,\n            \"carrier\": {\n                \"id\": 1,\n                \"created_at\": \"2021-03-24T09:22:31+01:00\",\n                \"updated_at\": \"2021-03-24T09:22:31+01:00\",\n                \"code\": \"1\",\n                \"name\": \"ABCUSTOM\",\n                \"web\": \"https://www.abcustom.es/portal/es/seguimiento-clientes?OTSREF=T0016798&OTSARRUSRVILCP=\"\n            },\n            \"address\": {\n                \"id\": 105,\n                \"created_at\": \"2021-09-23T13:17:41.262194+02:00\",\n                \"updated_at\": \"2021-09-23T13:17:41.262455+02:00\",\n                \"email\": \"\",\n                \"first_name\": \"test name\",\n                \"last_name\": \"\",\n                \"nif\": \"\",\n                \"telephone\": \"600300300\",\n                \"country\": \"ES\",\n                \"region\": \"\",\n                \"city\": \"valencia\",\n                \"postal_code\": \"46002\",\n                \"address\": \"Calle prueba 1\",\n                \"comments\": null,\n                \"extra\": null\n            },\n            \"shipping_label\": null,\n            \"created_at\": \"2021-09-23T13:18:29.276096+02:00\",\n            \"updated_at\": \"2021-09-23T13:18:29.276299+02:00\",\n            \"reference\": \"T300088188\",\n            \"tracking_number\": \"\",\n            \"tracking_url\": \"\",\n            \"status\": \"PENDING\",\n            \"carrier_status\": \"PENDING\",\n            \"is_partial\": false,\n            \"comments\": \"\",\n            \"extra\": {},\n            \"shipped_date\": \"2021-09-23T13:17:50.665500+02:00\",\n            \"delivered_date\": null\n        }\n    ]\n}"},{"id":"b45a9795-e5f0-4773-808f-8211d46453cd","name":"S02 - Get shipment with label","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2MDQ5MjE2ODQsInRva2VuX3R5cGUiOiJhY2Nlc3MiLCJqdGkiOiI2MmE1YWE5MTkwZGQ0ZDBhOWU1NDFlY2ZiZjQ4NzFiOCIsInVzZXJfaWQiOjIyfQ.cnuTPoaS3rcu1U8FLQqTg55dQzPtQlWjN8ca7hJtveY","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://demo.smartie.io/api/v1/shipments/?reference=O0-8550","host":["https://demo.smartie.io/api"],"path":["v1","shipments",""],"query":[{"key":"reference","value":"O0-8550"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"count\": 1,\n  \"next\": null,\n  \"previous\": null,\n  \"results\": [\n    {\n      \"id\": 7,\n      \"shipment_lines\": [\n        {\n          \"id\": 4,\n          \"created_at\": \"2023-02-08T11:42:37.438978+01:00\",\n          \"updated_at\": \"2023-02-08T11:42:37.438992+01:00\",\n          \"quantity\": 5,\n          \"comments\": \"\",\n          \"extra\": {},\n          \"order_line\": 14838,\n          \"return_order_line\": null\n        }\n      ],\n      \"syncs\": [],\n      \"order\": {\n        \"id\": 14840,\n        \"created_at\": \"2023-02-06T10:11:33.525039+01:00\",\n        \"updated_at\": \"2023-02-06T10:11:33.525055+01:00\",\n        \"reference\": \"8550\",\n        \"local_status\": \"ACCEPTED\",\n        \"channel_status\": \"processing\",\n        \"currency\": \"EUR\",\n        \"total_without_tax\": \"23.65\",\n        \"total_tax\": \"4.22\",\n        \"shipping_price\": \"0.00\",\n        \"shipping_price_tax_type\": \"0.00\",\n        \"discount\": \"0.00\",\n        \"total\": \"329.49\",\n        \"payment_method\": \"redsys\",\n        \"shipping_method\": \"Envíos - Envío estándar\",\n        \"shipping_tax\": \"0.00\",\n        \"shipping_with_tax\": \"0.00\",\n        \"coupons\": null,\n        \"comments\": null,\n        \"extra\": null,\n        \"channel_create_date\": \"2023-01-01T13:53:09+01:00\",\n        \"store_pickup\": false,\n        \"view\": 4,\n        \"customer\": 106,\n        \"shipping_address\": 215,\n        \"billing_address\": 216\n      },\n      \"return_order\": null,\n      \"carrier\": {\n        \"id\": 6,\n        \"created_at\": \"2022-12-22T19:43:22.246771+01:00\",\n        \"updated_at\": \"2022-12-22T19:43:22.246794+01:00\",\n        \"icon_code\": \"\",\n        \"code\": \"CORREOS EXPRESS\",\n        \"name\": \"CORREOS EXPRESS\",\n        \"web\": \"https://www.correos.com/\"\n      },\n      \"address\": {\n        \"id\": 227,\n        \"created_at\": \"2023-02-08T11:42:37.436079+01:00\",\n        \"updated_at\": \"2023-02-08T11:42:37.436100+01:00\",\n        \"email\": \"test@email.com\",\n        \"first_name\": \"test\",\n        \"last_name\": \"name\",\n        \"nif\": null,\n        \"telephone\": \"666666666\",\n        \"country\": \"ES\",\n        \"region\": \"Barcelona\",\n        \"city\": \"HOSPITALET DE LLOBREGAT\",\n        \"postal_code\": \"08906\",\n        \"address\": \"calle test 1\",\n        \"comments\": null,\n        \"extra\": null\n      },\n      \"shipping_label\": {\n        \"id\": 28376,\n        \"file_name\": \"image/0e36/LABEL_bawj9ex8.txt\",\n        \"created_at\": \"2023-03-01T10:57:41.578813+01:00\",\n        \"updated_at\": \"2023-03-01T10:57:41.578838+01:00\",\n        \"name\": \"LABEL_bawj9ex8.txt\",\n        \"file\": \"https://demo.smartie.io/medias/image/0e36/LABEL_bawj9ex8.txt\",\n        \"hash\": \"0e36f2ac7ee3d9d7bd9b29d3ee726265b0be4e4c4b0dca0249ead4069e5411c24bdf600cba47a68c94476e71899e1d695866fec3432522d869e14471b43f9591\",\n        \"type\": \"IMAGE\"\n      },\n      \"shipping_label_2\": {\n        \"id\": 28376,\n        \"file_name\": \"image/0e36/LABEL_bawj9ex8.txt\",\n        \"created_at\": \"2023-03-01T10:57:41.578813+01:00\",\n        \"updated_at\": \"2023-03-01T10:57:41.578838+01:00\",\n        \"name\": \"LABEL_bawj9ex8.txt\",\n        \"file\": \"https://demo.smartie.io/medias/image/0e36/LABEL_bawj9ex8.txt\",\n        \"hash\": \"0e36f2ac7ee3d9d7bd9b29d3ee726265b0be4e4c4b0dca0249ead4069e5411c24bdf600cba47a68c94476e71899e1d695866fec3432522d869e14471b43f9591\",\n        \"type\": \"IMAGE\"\n      },\n      \"created_at\": \"2023-02-08T11:42:37.438000+01:00\",\n      \"updated_at\": \"2023-02-08T11:42:37.438018+01:00\",\n      \"reference\": \"O0-8550\",\n      \"tracking_number\": \"\",\n      \"tracking_url\": null,\n      \"status\": \"PROCESSING\",\n      \"carrier_status\": \"PROCESSING\",\n      \"is_partial\": false,\n      \"comments\": null,\n      \"extra\": null,\n      \"shipped_date\": \"2023-02-08T11:42:37.395000+01:00\",\n      \"delivered_date\": null\n    }\n  ]\n}"}],"_postman_id":"41a6daec-07cf-4e0c-a2fc-78046b2584de"},{"name":"S03 - Create shipment","event":[{"listen":"prerequest","script":{"id":"b9fdc22e-e4cd-4de6-a81e-1d31a2cbb043","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"49bb996d-1e99-4fd9-bbbc-200620a35f42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"order\": \"1234\",\n  \"carrier_code\": \"Seur\",\n  \"tracking_number\": \"2935701010\",\n  \"reference\": \"1234A\",\n  \"status\": \"PROCESSED\",\n  \"carrier_status\": \"PROCESSED\",\n  \"comments\": \"-\",\n  \"shipped_date\": \"2025-10-14 17:05:04\",\n  \"delivered_date\": \"\",\n  \"is_partial\": \"false\",\n  \"shipment_lines\": [\n    {\n      \"quantity\": 1,\n      \"comments\": \"\",\n      \"extra\": {},\n      \"reference\": \"SKU-1\"\n    }\n  ],\n  \"extra\": {}\n}"},"url":"https://demo.smartie.io/api/v1/shipments/","urlObject":{"path":["v1","shipments",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"09d3263c-4cda-476f-bbd4-bfa950da812c","name":"S03 - Create shipment with lines","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwianRpIjoiZTYxMWYzZTcxOWMxNDFiNmE5YmZmZTk0ZWRjYzUzN2IiLCJ1c2VyX2lkIjo0LCJleHAiOjE2MDA3NjI4Mjh9.pPmbBBfZ4Y2jGR6i6eBhxqK1wOED99cTWe9NrNangxg ","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"order\" : \"27\",\n    \"carrier\": \"2\",\n    \"tracking_number\": \"12314235235\",\n    \"reference\": \"O-12314235235\",\n    \"status\": \"PROCESSING\",\n    \"carrier_status\": \"PROCESSING\",\n    \"comments\": \"Comentarios de prueba\",\n    \"shipped_date\": \"2021-05-21 16:56:00\",\n    \"delivered_date\": \"2021-05-24 16:56:00\",\n    \"is_partial\": false,\n    \"shipment_lines\": [\n        {\n            \"quantity\": 1,\n            \"comments\": \"\",\n            \"extra\": {},\n            \"reference\": \"test-sku1\"\n        }\n    ],\n    \"extra\": {}\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/shipments/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": 42,\n    \"shipment_lines\": [\n        {\n            \"id\": 6,\n            \"created_at\": \"2021-09-23T13:18:30.293617+02:00\",\n            \"updated_at\": \"2021-09-23T13:18:30.293713+02:00\",\n            \"quantity\": 1,\n            \"comments\": null,\n            \"extra\": null,\n            \"order_line\": 31,\n            \"return_order_line\": null\n        }\n    ],\n    \"syncs\": [],\n    \"order\": {\n        \"id\": 27,\n        \"created_at\": \"2021-08-11T10:50:53.660729+02:00\",\n        \"updated_at\": \"2021-08-11T10:50:53.660741+02:00\",\n        \"reference\": \"T300088188\",\n        \"local_status\": \"PENDING\",\n        \"channel_status\": \"new\",\n        \"currency\": \"EUR\",\n        \"total_without_tax\": \"341.32\",\n        \"total_tax\": \"71.67\",\n        \"shipping_price\": \"0.00\",\n        \"shipping_price_tax_type\": null,\n        \"discount\": \"0.00\",\n        \"total\": \"412.99\",\n        \"payment_method\": \"PayPal\",\n        \"shipping_method\": \"Envio a Casa\",\n        \"shipping_tax\": \"0.00\",\n        \"shipping_with_tax\": \"0.00\",\n        \"coupons\": null,\n        \"comments\": null,\n        \"extra\": {},\n        \"channel_create_date\": \"2021-08-11T10:49:56.098000+02:00\",\n        \"store_pickup\": false,\n        \"view\": 1,\n        \"customer\": 27,\n        \"shipping_address\": 83,\n        \"billing_address\": 84\n    },\n    \"return_order\": null,\n    \"carrier\": {\n        \"id\": 1,\n        \"created_at\": \"2021-03-24T09:22:31+01:00\",\n        \"updated_at\": \"2021-03-24T09:22:31+01:00\",\n        \"code\": \"1\",\n        \"name\": \"ABCUSTOM\",\n        \"web\": \"https://www.abcustom.es/portal/es/seguimiento-clientes?OTSREF=T0016798&OTSARRUSRVILCP=\"\n    },\n    \"address\": {\n        \"id\": 105,\n        \"created_at\": \"2021-09-23T13:17:41.262194+02:00\",\n        \"updated_at\": \"2021-09-23T13:17:41.262455+02:00\",\n        \"email\": \"\",\n        \"first_name\": \"test name\",\n        \"last_name\": \"\",\n        \"nif\": \"\",\n        \"telephone\": \"600300300\",\n        \"country\": \"ES\",\n        \"region\": \"\",\n        \"city\": \"valencia\",\n        \"postal_code\": \"46002\",\n        \"address\": \"Calle prueba 1\",\n        \"comments\": null,\n        \"extra\": null\n    },\n    \"shipping_label\": null,\n    \"created_at\": \"2021-09-23T13:18:29.276096+02:00\",\n    \"updated_at\": \"2021-09-23T13:18:29.276299+02:00\",\n    \"reference\": \"O-12314235235\",\n    \"tracking_number\": \"12314235235\",\n    \"tracking_url\": \"\",\n    \"status\": \"PROCESSING\",\n    \"carrier_status\": \"PROCESSING\",\n    \"is_partial\": false,\n    \"comments\": \"Comentarios de prueba\",\n    \"extra\": {},\n    \"shipped_date\": \"2021-09-23T13:17:50.665500+02:00\",\n    \"delivered_date\": null\n}"},{"id":"9f155700-6b0c-4a39-b357-8a086c3aece7","name":"S03 - Create shipment without lines","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwianRpIjoiZTYxMWYzZTcxOWMxNDFiNmE5YmZmZTk0ZWRjYzUzN2IiLCJ1c2VyX2lkIjo0LCJleHAiOjE2MDA3NjI4Mjh9.pPmbBBfZ4Y2jGR6i6eBhxqK1wOED99cTWe9NrNangxg","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"order\" : \"27\",\n    \"carrier\": \"2\",\n    \"tracking_number\": \"12314235235\",\n    \"reference\": \"O-12314235235\",\n    \"status\": \"PROCESSING\",\n    \"carrier_status\": \"PROCESSING\",\n    \"comments\": \"Comentarios de prueba\",\n    \"shipped_date\": \"2021-05-21 16:56:00\",\n    \"delivered_date\": \"2021-05-24 16:56:00\",\n    \"is_partial\": true,\n    \"shipment_lines\": [],\n    \"extra\": {}\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/shipments/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": 42,\n    \"shipment_lines\": [\n        {\n            \"id\": 6,\n            \"created_at\": \"2021-09-23T13:18:30.293617+02:00\",\n            \"updated_at\": \"2021-09-23T13:18:30.293713+02:00\",\n            \"quantity\": 1,\n            \"comments\": null,\n            \"extra\": null,\n            \"order_line\": 31,\n            \"return_order_line\": null\n        }\n    ],\n    \"syncs\": [],\n    \"order\": {\n        \"id\": 27,\n        \"created_at\": \"2021-08-11T10:50:53.660729+02:00\",\n        \"updated_at\": \"2021-08-11T10:50:53.660741+02:00\",\n        \"reference\": \"T300088188\",\n        \"local_status\": \"PENDING\",\n        \"channel_status\": \"new\",\n        \"currency\": \"EUR\",\n        \"total_without_tax\": \"341.32\",\n        \"total_tax\": \"71.67\",\n        \"shipping_price\": \"0.00\",\n        \"shipping_price_tax_type\": null,\n        \"discount\": \"0.00\",\n        \"total\": \"412.99\",\n        \"payment_method\": \"PayPal\",\n        \"shipping_method\": \"Envio a Casa\",\n        \"shipping_tax\": \"0.00\",\n        \"shipping_with_tax\": \"0.00\",\n        \"coupons\": null,\n        \"comments\": null,\n        \"extra\": {},\n        \"channel_create_date\": \"2021-08-11T10:49:56.098000+02:00\",\n        \"store_pickup\": false,\n        \"view\": 1,\n        \"customer\": 27,\n        \"shipping_address\": 83,\n        \"billing_address\": 84\n    },\n    \"return_order\": null,\n    \"carrier\": {\n        \"id\": 1,\n        \"created_at\": \"2021-03-24T09:22:31+01:00\",\n        \"updated_at\": \"2021-03-24T09:22:31+01:00\",\n        \"code\": \"1\",\n        \"name\": \"ABCUSTOM\",\n        \"web\": \"https://www.abcustom.es/portal/es/seguimiento-clientes?OTSREF=T0016798&OTSARRUSRVILCP=\"\n    },\n    \"address\": {\n        \"id\": 105,\n        \"created_at\": \"2021-09-23T13:17:41.262194+02:00\",\n        \"updated_at\": \"2021-09-23T13:17:41.262455+02:00\",\n        \"email\": \"\",\n        \"first_name\": \"test name\",\n        \"last_name\": \"\",\n        \"nif\": \"\",\n        \"telephone\": \"600300300\",\n        \"country\": \"ES\",\n        \"region\": \"\",\n        \"city\": \"valencia\",\n        \"postal_code\": \"46002\",\n        \"address\": \"Calle prueba 1\",\n        \"comments\": null,\n        \"extra\": null\n    },\n    \"shipping_label\": null,\n    \"created_at\": \"2021-09-23T13:18:29.276096+02:00\",\n    \"updated_at\": \"2021-09-23T13:18:29.276299+02:00\",\n    \"reference\": \"O-12314235235\",\n    \"tracking_number\": \"12314235235\",\n    \"tracking_url\": \"\",\n    \"status\": \"PROCESSING\",\n    \"carrier_status\": \"PROCESSING\",\n    \"is_partial\": false,\n    \"comments\": \"Comentarios de prueba\",\n    \"extra\": {},\n    \"shipped_date\": \"2021-09-23T13:17:50.665500+02:00\",\n    \"delivered_date\": null\n}"},{"id":"38188271-8217-4e9c-a0b0-cae61f337974","name":"S03 - Create shipment with carrier code","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwianRpIjoiZTYxMWYzZTcxOWMxNDFiNmE5YmZmZTk0ZWRjYzUzN2IiLCJ1c2VyX2lkIjo0LCJleHAiOjE2MDA3NjI4Mjh9.pPmbBBfZ4Y2jGR6i6eBhxqK1wOED99cTWe9NrNangxg","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"order\" : \"27\",\n    \"carrier_code\": \"SEUR\",\n    \"tracking_number\": \"12314235235\",\n    \"reference\": \"O-12314235235\",\n    \"status\": \"PROCESSING\",\n    \"carrier_status\": \"PROCESSING\",\n    \"comments\": \"Comentarios de prueba\",\n    \"shipped_date\": \"2021-05-21 16:56:00\",\n    \"delivered_date\": \"2021-05-24 16:56:00\",\n    \"is_partial\": true,\n    \"shipment_lines\": [],\n    \"extra\": {}\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/shipments/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": 42,\n    \"shipment_lines\": [\n        {\n            \"id\": 6,\n            \"created_at\": \"2021-09-23T13:18:30.293617+02:00\",\n            \"updated_at\": \"2021-09-23T13:18:30.293713+02:00\",\n            \"quantity\": 1,\n            \"comments\": null,\n            \"extra\": null,\n            \"order_line\": 31,\n            \"return_order_line\": null\n        }\n    ],\n    \"syncs\": [],\n    \"order\": {\n        \"id\": 27,\n        \"created_at\": \"2021-08-11T10:50:53.660729+02:00\",\n        \"updated_at\": \"2021-08-11T10:50:53.660741+02:00\",\n        \"reference\": \"T300088188\",\n        \"local_status\": \"PENDING\",\n        \"channel_status\": \"new\",\n        \"currency\": \"EUR\",\n        \"total_without_tax\": \"341.32\",\n        \"total_tax\": \"71.67\",\n        \"shipping_price\": \"0.00\",\n        \"shipping_price_tax_type\": null,\n        \"discount\": \"0.00\",\n        \"total\": \"412.99\",\n        \"payment_method\": \"PayPal\",\n        \"shipping_method\": \"Envio a Casa\",\n        \"shipping_tax\": \"0.00\",\n        \"shipping_with_tax\": \"0.00\",\n        \"coupons\": null,\n        \"comments\": null,\n        \"extra\": {},\n        \"channel_create_date\": \"2021-08-11T10:49:56.098000+02:00\",\n        \"store_pickup\": false,\n        \"view\": 1,\n        \"customer\": 27,\n        \"shipping_address\": 83,\n        \"billing_address\": 84\n    },\n    \"return_order\": null,\n    \"carrier\": {\n        \"id\": 1,\n        \"created_at\": \"2021-03-24T09:22:31+01:00\",\n        \"updated_at\": \"2021-03-24T09:22:31+01:00\",\n        \"code\": \"1\",\n        \"name\": \"ABCUSTOM\",\n        \"web\": \"https://www.abcustom.es/portal/es/seguimiento-clientes?OTSREF=T0016798&OTSARRUSRVILCP=\"\n    },\n    \"address\": {\n        \"id\": 105,\n        \"created_at\": \"2021-09-23T13:17:41.262194+02:00\",\n        \"updated_at\": \"2021-09-23T13:17:41.262455+02:00\",\n        \"email\": \"\",\n        \"first_name\": \"test name\",\n        \"last_name\": \"\",\n        \"nif\": \"\",\n        \"telephone\": \"600300300\",\n        \"country\": \"ES\",\n        \"region\": \"\",\n        \"city\": \"valencia\",\n        \"postal_code\": \"46002\",\n        \"address\": \"Calle prueba 1\",\n        \"comments\": null,\n        \"extra\": null\n    },\n    \"shipping_label\": null,\n    \"created_at\": \"2021-09-23T13:18:29.276096+02:00\",\n    \"updated_at\": \"2021-09-23T13:18:29.276299+02:00\",\n    \"reference\": \"O-12314235235\",\n    \"tracking_number\": \"12314235235\",\n    \"tracking_url\": \"\",\n    \"status\": \"PROCESSING\",\n    \"carrier_status\": \"PROCESSING\",\n    \"is_partial\": false,\n    \"comments\": \"Comentarios de prueba\",\n    \"extra\": {},\n    \"shipped_date\": \"2021-09-23T13:17:50.665500+02:00\",\n    \"delivered_date\": null\n}"},{"id":"3ec56ccf-f609-4c9f-8d02-89c36df9ab9e","name":"S03 - Create shipment with different address","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwianRpIjoiZTYxMWYzZTcxOWMxNDFiNmE5YmZmZTk0ZWRjYzUzN2IiLCJ1c2VyX2lkIjo0LCJleHAiOjE2MDA3NjI4Mjh9.pPmbBBfZ4Y2jGR6i6eBhxqK1wOED99cTWe9NrNangxg","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"order\" : \"27\",\n    \"carrier\": \"2\",\n    \"tracking_number\": \"12314235235\",\n    \"reference\": \"O-12314235235\",\n    \"status\": \"PROCESSING\",\n    \"carrier_status\": \"PROCESSING\",\n    \"comments\": \"Comentarios de prueba\",\n    \"shipped_date\": \"2021-05-21 16:56:00\",\n    \"delivered_date\": \"2021-05-24 16:56:00\",\n    \"is_partial\": false,\n    \"address\": {\n        \"address\": \"120 W 44th St\",\n        \"first_name\": \"Aitor\",\n        \"region\": \"05\",\n        \"city\": \"ertert\",\n        \"postal_code\": \"10036\",\n        \"last_name\": \"EEUU\",\n        \"email\": \"\",\n        \"telephone\": \"66622221111\",\n        \"country\": \"ES\"\n    },\n    \"shipment_lines\": [\n        {\n            \"quantity\": 1,\n            \"comments\": \"\",\n            \"extra\": {},\n            \"reference\": \"test-sku1\"\n        }\n    ],\n    \"extra\": {}\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/shipments/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": 42,\n    \"shipment_lines\": [\n        {\n            \"id\": 6,\n            \"created_at\": \"2021-09-23T13:18:30.293617+02:00\",\n            \"updated_at\": \"2021-09-23T13:18:30.293713+02:00\",\n            \"quantity\": 1,\n            \"comments\": null,\n            \"extra\": null,\n            \"order_line\": 31,\n            \"return_order_line\": null\n        }\n    ],\n    \"syncs\": [],\n    \"order\": {\n        \"id\": 27,\n        \"created_at\": \"2021-08-11T10:50:53.660729+02:00\",\n        \"updated_at\": \"2021-08-11T10:50:53.660741+02:00\",\n        \"reference\": \"T300088188\",\n        \"local_status\": \"PENDING\",\n        \"channel_status\": \"new\",\n        \"currency\": \"EUR\",\n        \"total_without_tax\": \"341.32\",\n        \"total_tax\": \"71.67\",\n        \"shipping_price\": \"0.00\",\n        \"shipping_price_tax_type\": null,\n        \"discount\": \"0.00\",\n        \"total\": \"412.99\",\n        \"payment_method\": \"PayPal\",\n        \"shipping_method\": \"Envio a Casa\",\n        \"shipping_tax\": \"0.00\",\n        \"shipping_with_tax\": \"0.00\",\n        \"coupons\": null,\n        \"comments\": null,\n        \"extra\": {},\n        \"channel_create_date\": \"2021-08-11T10:49:56.098000+02:00\",\n        \"store_pickup\": false,\n        \"view\": 1,\n        \"customer\": 27,\n        \"shipping_address\": 83,\n        \"billing_address\": 84\n    },\n    \"return_order\": null,\n    \"carrier\": {\n        \"id\": 1,\n        \"created_at\": \"2021-03-24T09:22:31+01:00\",\n        \"updated_at\": \"2021-03-24T09:22:31+01:00\",\n        \"code\": \"1\",\n        \"name\": \"ABCUSTOM\",\n        \"web\": \"https://www.abcustom.es/portal/es/seguimiento-clientes?OTSREF=T0016798&OTSARRUSRVILCP=\"\n    },\n    \"address\": {\n        \"id\": 105,\n        \"created_at\": \"2021-09-23T13:17:41.262194+02:00\",\n        \"updated_at\": \"2021-09-23T13:17:41.262455+02:00\",\n        \"email\": \"\",\n        \"first_name\": \"Aitor\",\n        \"last_name\": \"EEUU\",\n        \"nif\": \"\",\n        \"telephone\": \"66622221111\",\n        \"country\": \"ES\",\n        \"region\": \"\",\n        \"city\": \"ertert\",\n        \"postal_code\": \"10036\",\n        \"address\": \"120 W 44th St\",\n        \"comments\": null,\n        \"extra\": null\n    },\n    \"shipping_label\": null,\n    \"created_at\": \"2021-09-23T13:18:29.276096+02:00\",\n    \"updated_at\": \"2021-09-23T13:18:29.276299+02:00\",\n    \"reference\": \"O-12314235235\",\n    \"tracking_number\": \"12314235235\",\n    \"tracking_url\": \"\",\n    \"status\": \"PROCESSING\",\n    \"carrier_status\": \"PROCESSING\",\n    \"is_partial\": false,\n    \"comments\": \"Comentarios de prueba\",\n    \"extra\": {},\n    \"shipped_date\": \"2021-09-23T13:17:50.665500+02:00\",\n    \"delivered_date\": null\n}"},{"id":"6b6a5174-2414-4e78-86b6-50731e27e3dd","name":"S03 - Create shipment with lines for return order","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwianRpIjoiZTYxMWYzZTcxOWMxNDFiNmE5YmZmZTk0ZWRjYzUzN2IiLCJ1c2VyX2lkIjo0LCJleHAiOjE2MDA3NjI4Mjh9.pPmbBBfZ4Y2jGR6i6eBhxqK1wOED99cTWe9NrNangxg","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"return_order\" : \"27\",\n    \"carrier\": \"2\",\n    \"tracking_number\": \"12314235235\",\n    \"reference\": \"O-12314235235\",\n    \"status\": \"PROCESSING\",\n    \"carrier_status\": \"PROCESSING\",\n    \"comments\": \"Comentarios de prueba\",\n    \"shipped_date\": \"2021-05-21 16:56:00\",\n    \"delivered_date\": \"2021-05-24 16:56:00\",\n    \"is_partial\": false,\n    \"shipment_lines\": [\n        {\n            \"quantity\": 1,\n            \"comments\": \"\",\n            \"extra\": {},\n            \"reference\": \"test-sku1\"\n        }\n    ],\n    \"extra\": {}\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/shipments/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":""},{"id":"70b1cbfc-b0c0-4276-b072-828c3e6ecab2","name":"S03 - Create shipment without lines for return order","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwianRpIjoiZTYxMWYzZTcxOWMxNDFiNmE5YmZmZTk0ZWRjYzUzN2IiLCJ1c2VyX2lkIjo0LCJleHAiOjE2MDA3NjI4Mjh9.pPmbBBfZ4Y2jGR6i6eBhxqK1wOED99cTWe9NrNangxg","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"return_order\" : \"27\",\n    \"carrier\": \"2\",\n    \"tracking_number\": \"12314235235\",\n    \"reference\": \"O-12314235235\",\n    \"status\": \"PROCESSING\",\n    \"carrier_status\": \"PROCESSING\",\n    \"comments\": \"Comentarios de prueba\",\n    \"shipped_date\": \"2021-05-21 16:56:00\",\n    \"delivered_date\": \"2021-05-24 16:56:00\",\n    \"is_partial\": true,\n    \"shipment_lines\": [],\n    \"extra\": {}\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/shipments/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":""},{"id":"9f419a93-5e5a-4404-a8b7-331ce8230486","name":"S03 - Create shipment with different address for return order","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwianRpIjoiZTYxMWYzZTcxOWMxNDFiNmE5YmZmZTk0ZWRjYzUzN2IiLCJ1c2VyX2lkIjo0LCJleHAiOjE2MDA3NjI4Mjh9.pPmbBBfZ4Y2jGR6i6eBhxqK1wOED99cTWe9NrNangxg","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"return_order\" : \"27\",\n    \"carrier\": \"2\",\n    \"tracking_number\": \"12314235235\",\n    \"reference\": \"O-12314235235\",\n    \"status\": \"PROCESSING\",\n    \"carrier_status\": \"PROCESSING\",\n    \"comments\": \"Comentarios de prueba\",\n    \"shipped_date\": \"2021-05-21 16:56:00\",\n    \"delivered_date\": \"2021-05-24 16:56:00\",\n    \"is_partial\": false,\n    \"address\": {\n        \"address\": \"120 W 44th St\",\n        \"first_name\": \"Aitor\",\n        \"region\": \"05\",\n        \"city\": \"ertert\",\n        \"postal_code\": \"10036\",\n        \"last_name\": \"EEUU\",\n        \"email\": \"\",\n        \"telephone\": \"66622221111\",\n        \"country\": \"ES\"\n    },\n    \"shipment_lines\": [\n        {\n            \"quantity\": 1,\n            \"comments\": \"\",\n            \"extra\": {},\n            \"reference\": \"test-sku1\"\n        }\n    ],\n    \"extra\": {}\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/shipments/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":""}],"_postman_id":"49bb996d-1e99-4fd9-bbbc-200620a35f42"},{"name":"S04 - List carriers","id":"f2a1eb19-375c-4187-92b8-351ff6242328","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"{{access_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://demo.smartie.io/api/v1/carriers/","urlObject":{"path":["v1","carriers",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"7c4cc5e3-f50d-4cff-b051-c5eeb765d8cc","name":"S04 - Get carriers","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwianRpIjoiZTYxMWYzZTcxOWMxNDFiNmE5YmZmZTk0ZWRjYzUzN2IiLCJ1c2VyX2lkIjo0LCJleHAiOjE2MDA3NjI4Mjh9.pPmbBBfZ4Y2jGR6i6eBhxqK1wOED99cTWe9NrNangxg","type":"text"}],"url":"https://demo.smartie.io/api/v1/carriers/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 1,\n            \"created_at\": \"2021-09-29T14:58:22.386284+02:00\",\n            \"updated_at\": \"2021-09-29T14:58:22.386311+02:00\",\n            \"code\": null,\n            \"name\": \"test carrier\",\n            \"web\": \"http://test.carrier\"\n        }\n    ]\n}"},{"id":"4c7a19f2-185e-4aeb-913a-7d406f7727bf","name":"S04 - Get carrier by name","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwianRpIjoiZTYxMWYzZTcxOWMxNDFiNmE5YmZmZTk0ZWRjYzUzN2IiLCJ1c2VyX2lkIjo0LCJleHAiOjE2MDA3NjI4Mjh9.pPmbBBfZ4Y2jGR6i6eBhxqK1wOED99cTWe9NrNangxg","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://demo.smartie.io/api/v1/carriers/?name=CORREOS EXPRESS","host":["https://demo.smartie.io/api"],"path":["v1","carriers",""],"query":[{"key":"name","value":"CORREOS EXPRESS"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 6,\n            \"created_at\": \"2022-12-22T19:43:22.246771+01:00\",\n            \"updated_at\": \"2022-12-22T19:43:22.246794+01:00\",\n            \"icon_code\": \"\",\n            \"code\": \"CORREOS EXPRESS\",\n            \"name\": \"CORREOS EXPRESS\",\n            \"web\": \"https://www.correos.com/\"\n        }\n    ]\n}"}],"_postman_id":"f2a1eb19-375c-4187-92b8-351ff6242328"},{"name":"S05 - Export shipments","event":[{"listen":"prerequest","script":{"id":"2472a4e4-75eb-41b8-aff7-6b26beab8913","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"7f8673f8-4fbe-4c9a-b3eb-7edbc068ec48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Export shipments to csv\",\n    \"description\": \"Export shipments to csv process\",\n    \"action_type\": \"shipments_export_csv\",\n    \"output_file\": \"shipments.csv\",\n    \"is_visible\": true,\n    \"kwargs\": {\n        \"filters\": {}\n    }\n}"},"url":"https://demo.smartie.io/api/v1/processes","urlObject":{"path":["v1","processes"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"7f8673f8-4fbe-4c9a-b3eb-7edbc068ec48"},{"name":"S06 - Search shipments with sync","event":[{"listen":"prerequest","script":{"id":"80fe4632-2e28-4686-82e0-6a1eda67ac45","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"a4ba04a4-20a8-4676-b623-416161def6e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"page\": 1,\n        \"page_size\": 20,\n        \"startRow\": 0,\n        \"endRow\": 20\n    },\n    \"sort\": [],\n    \"filters\": {}\n}"},"url":"/v1/shipments/search/","urlObject":{"path":["v1","shipments","search",""],"query":[],"variable":[]}},"response":[{"id":"dcb71aa0-7c4c-4e09-8471-7c2bf6b68ffa","name":"S06 - Search shipments with synchronized sync","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"page\": 1,\n        \"page_size\": 20,\n        \"startRow\": 1,\n        \"endRow\": 20\n    },\n    \"filters\": {\n        \"syncs__status__in\": [\n            \"SYNCHRONIZED\"\n        ]\n    },\n    \"sort\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/shipments/search/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 11,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 42,\n            \"shipment_lines\": [\n                {\n                    \"id\": 6,\n                    \"created_at\": \"2021-09-23T13:18:30.293617+02:00\",\n                    \"updated_at\": \"2021-09-23T13:18:30.293713+02:00\",\n                    \"quantity\": 1,\n                    \"comments\": null,\n                    \"extra\": null,\n                    \"order_line\": 31,\n                    \"return_order_line\": null\n                },\n                {\n                    \"id\": 7,\n                    \"created_at\": \"2021-09-23T13:18:31.199637+02:00\",\n                    \"updated_at\": \"2021-09-23T13:18:31.199734+02:00\",\n                    \"quantity\": 1,\n                    \"comments\": null,\n                    \"extra\": null,\n                    \"order_line\": 32,\n                    \"return_order_line\": null\n                },\n                {\n                    \"id\": 8,\n                    \"created_at\": \"2021-09-23T13:18:31.809577+02:00\",\n                    \"updated_at\": \"2021-09-23T13:18:31.809720+02:00\",\n                    \"quantity\": 1,\n                    \"comments\": null,\n                    \"extra\": null,\n                    \"order_line\": 33,\n                    \"return_order_line\": null\n                }\n            ],\n            \"syncs\": [\n                {\n                    \"id\": 14226,\n                    \"integration_system\": {\n                        \"id\": 1,\n                        \"active\": true,\n                        \"created_at\": \"2021-06-15T14:01:16.465942+02:00\",\n                        \"updated_at\": \"2021-12-02T11:17:26.115369+01:00\",\n                        \"name\": \"Magento\",\n                        \"code\": \"magento2_v1\",\n                        \"type\": \"magento2_v1\",\n                        \"config\": {\n                            \"connection_profile_id\": 7,\n                            \"ERP_TO_MAGENTO2_ORDER_STATUS\": {},\n                            \"MAGENTO2_CHANNEL_STATUS_SENT\": \"erp_sent\"\n                        }\n                    },\n                    \"created_at\": \"2022-01-10T13:30:06.408893+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:06.412651+01:00\",\n                    \"status\": \"SYNCHRONIZED\",\n                    \"extra\": {},\n                    \"order\": 4856,\n                    \"return_order\": null,\n                    \"shipment\": null\n                }\n            ],\n            \"order\": {\n                \"id\": 27,\n                \"created_at\": \"2021-08-11T10:50:53.660729+02:00\",\n                \"updated_at\": \"2021-08-11T10:50:53.660741+02:00\",\n                \"reference\": \"T300088188\",\n                \"local_status\": \"PENDING\",\n                \"channel_status\": \"new\",\n                \"currency\": \"EUR\",\n                \"total_without_tax\": \"341.32\",\n                \"total_tax\": \"71.67\",\n                \"shipping_price\": \"0.00\",\n                \"shipping_price_tax_type\": null,\n                \"discount\": \"0.00\",\n                \"total\": \"412.99\",\n                \"payment_method\": \"PayPal\",\n                \"shipping_method\": \"Envio a Casa\",\n                \"shipping_tax\": \"0.00\",\n                \"shipping_with_tax\": \"0.00\",\n                \"coupons\": null,\n                \"comments\": null,\n                \"extra\": {},\n                \"channel_create_date\": \"2021-08-11T10:49:56.098000+02:00\",\n                \"store_pickup\": false,\n                \"view\": 1,\n                \"customer\": 27,\n                \"shipping_address\": 83,\n                \"billing_address\": 84\n            },\n            \"return_order\": null,\n            \"carrier\": {\n                \"id\": 1,\n                \"created_at\": \"2021-03-24T09:22:31+01:00\",\n                \"updated_at\": \"2021-03-24T09:22:31+01:00\",\n                \"code\": \"1\",\n                \"name\": \"ABCUSTOM\",\n                \"web\": \"https://www.abcustom.es/portal/es/seguimiento-clientes?OTSREF=T0016798&OTSARRUSRVILCP=\"\n            },\n            \"address\": {\n                \"id\": 105,\n                \"created_at\": \"2021-09-23T13:17:41.262194+02:00\",\n                \"updated_at\": \"2021-09-23T13:17:41.262455+02:00\",\n                \"email\": \"\",\n                \"first_name\": \"test name\",\n                \"last_name\": \"\",\n                \"nif\": \"\",\n                \"telephone\": \"600300300\",\n                \"country\": \"ES\",\n                \"region\": \"\",\n                \"city\": \"valencia\",\n                \"postal_code\": \"46002\",\n                \"address\": \"Calle prueba 1\",\n                \"comments\": null,\n                \"extra\": null\n            },\n            \"shipping_label\": null,\n            \"created_at\": \"2021-09-23T13:18:29.276096+02:00\",\n            \"updated_at\": \"2021-09-23T13:18:29.276299+02:00\",\n            \"reference\": \"T300088188\",\n            \"tracking_number\": \"\",\n            \"tracking_url\": \"\",\n            \"status\": \"PENDING\",\n            \"carrier_status\": \"PENDING\",\n            \"is_partial\": false,\n            \"comments\": \"\",\n            \"extra\": {},\n            \"shipped_date\": \"2021-09-23T13:17:50.665500+02:00\",\n            \"delivered_date\": null\n        }\n    ]\n}"},{"id":"afe66e77-2021-46bc-aa1f-815332399ae3","name":"S06 - Search shipments with error sync","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"page\": 1,\n        \"page_size\": 20,\n        \"startRow\": 1,\n        \"endRow\": 20\n    },\n    \"filters\": {\n        \"syncs__status__in\": [\n            \"ERROR\"\n        ]\n    },\n    \"sort\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/shipments/search/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 11,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 42,\n            \"shipment_lines\": [\n                {\n                    \"id\": 6,\n                    \"created_at\": \"2021-09-23T13:18:30.293617+02:00\",\n                    \"updated_at\": \"2021-09-23T13:18:30.293713+02:00\",\n                    \"quantity\": 1,\n                    \"comments\": null,\n                    \"extra\": null,\n                    \"order_line\": 31,\n                    \"return_order_line\": null\n                },\n                {\n                    \"id\": 7,\n                    \"created_at\": \"2021-09-23T13:18:31.199637+02:00\",\n                    \"updated_at\": \"2021-09-23T13:18:31.199734+02:00\",\n                    \"quantity\": 1,\n                    \"comments\": null,\n                    \"extra\": null,\n                    \"order_line\": 32,\n                    \"return_order_line\": null\n                },\n                {\n                    \"id\": 8,\n                    \"created_at\": \"2021-09-23T13:18:31.809577+02:00\",\n                    \"updated_at\": \"2021-09-23T13:18:31.809720+02:00\",\n                    \"quantity\": 1,\n                    \"comments\": null,\n                    \"extra\": null,\n                    \"order_line\": 33,\n                    \"return_order_line\": null\n                }\n            ],\n            \"syncs\": [\n                {\n                    \"id\": 14226,\n                    \"integration_system\": {\n                        \"id\": 1,\n                        \"active\": true,\n                        \"created_at\": \"2021-06-15T14:01:16.465942+02:00\",\n                        \"updated_at\": \"2021-12-02T11:17:26.115369+01:00\",\n                        \"name\": \"Magento\",\n                        \"code\": \"magento2_v1\",\n                        \"type\": \"magento2_v1\",\n                        \"config\": {\n                            \"connection_profile_id\": 7,\n                            \"ERP_TO_MAGENTO2_ORDER_STATUS\": {},\n                            \"MAGENTO2_CHANNEL_STATUS_SENT\": \"erp_sent\"\n                        }\n                    },\n                    \"created_at\": \"2022-01-10T13:30:06.408893+01:00\",\n                    \"updated_at\": \"2022-01-10T13:30:06.412651+01:00\",\n                    \"status\": \"ERROR\",\n                    \"extra\": {},\n                    \"order\": 4856,\n                    \"return_order\": null,\n                    \"shipment\": null\n                }\n            ],\n            \"order\": {\n                \"id\": 27,\n                \"created_at\": \"2021-08-11T10:50:53.660729+02:00\",\n                \"updated_at\": \"2021-08-11T10:50:53.660741+02:00\",\n                \"reference\": \"T300088188\",\n                \"local_status\": \"PENDING\",\n                \"channel_status\": \"new\",\n                \"currency\": \"EUR\",\n                \"total_without_tax\": \"341.32\",\n                \"total_tax\": \"71.67\",\n                \"shipping_price\": \"0.00\",\n                \"shipping_price_tax_type\": null,\n                \"discount\": \"0.00\",\n                \"total\": \"412.99\",\n                \"payment_method\": \"PayPal\",\n                \"shipping_method\": \"Envio a Casa\",\n                \"shipping_tax\": \"0.00\",\n                \"shipping_with_tax\": \"0.00\",\n                \"coupons\": null,\n                \"comments\": null,\n                \"extra\": {},\n                \"channel_create_date\": \"2021-08-11T10:49:56.098000+02:00\",\n                \"store_pickup\": false,\n                \"view\": 1,\n                \"customer\": 27,\n                \"shipping_address\": 83,\n                \"billing_address\": 84\n            },\n            \"return_order\": null,\n            \"carrier\": {\n                \"id\": 1,\n                \"created_at\": \"2021-03-24T09:22:31+01:00\",\n                \"updated_at\": \"2021-03-24T09:22:31+01:00\",\n                \"code\": \"1\",\n                \"name\": \"ABCUSTOM\",\n                \"web\": \"https://www.abcustom.es/portal/es/seguimiento-clientes?OTSREF=T0016798&OTSARRUSRVILCP=\"\n            },\n            \"address\": {\n                \"id\": 105,\n                \"created_at\": \"2021-09-23T13:17:41.262194+02:00\",\n                \"updated_at\": \"2021-09-23T13:17:41.262455+02:00\",\n                \"email\": \"\",\n                \"first_name\": \"test name\",\n                \"last_name\": \"\",\n                \"nif\": \"\",\n                \"telephone\": \"600300300\",\n                \"country\": \"ES\",\n                \"region\": \"\",\n                \"city\": \"valencia\",\n                \"postal_code\": \"46002\",\n                \"address\": \"Calle prueba 1\",\n                \"comments\": null,\n                \"extra\": null\n            },\n            \"shipping_label\": null,\n            \"created_at\": \"2021-09-23T13:18:29.276096+02:00\",\n            \"updated_at\": \"2021-09-23T13:18:29.276299+02:00\",\n            \"reference\": \"T300088188\",\n            \"tracking_number\": \"\",\n            \"tracking_url\": \"\",\n            \"status\": \"PENDING\",\n            \"carrier_status\": \"PENDING\",\n            \"is_partial\": false,\n            \"comments\": \"\",\n            \"extra\": {},\n            \"shipped_date\": \"2021-09-23T13:17:50.665500+02:00\",\n            \"delivered_date\": null\n        }\n    ]\n}"},{"id":"4dd66651-b029-4d91-bad0-dc81812bf044","name":"S06 - Search shipments with no sync","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"page\": 1,\n        \"page_size\": 20,\n        \"startRow\": 1,\n        \"endRow\": 20\n    },\n    \"filters\": {\n        \"syncs__isnull\": true\n    },\n    \"sort\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/shipments/search/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 11,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 42,\n            \"shipment_lines\": [\n                {\n                    \"id\": 6,\n                    \"created_at\": \"2021-09-23T13:18:30.293617+02:00\",\n                    \"updated_at\": \"2021-09-23T13:18:30.293713+02:00\",\n                    \"quantity\": 1,\n                    \"comments\": null,\n                    \"extra\": null,\n                    \"order_line\": 31,\n                    \"return_order_line\": null\n                },\n                {\n                    \"id\": 7,\n                    \"created_at\": \"2021-09-23T13:18:31.199637+02:00\",\n                    \"updated_at\": \"2021-09-23T13:18:31.199734+02:00\",\n                    \"quantity\": 1,\n                    \"comments\": null,\n                    \"extra\": null,\n                    \"order_line\": 32,\n                    \"return_order_line\": null\n                },\n                {\n                    \"id\": 8,\n                    \"created_at\": \"2021-09-23T13:18:31.809577+02:00\",\n                    \"updated_at\": \"2021-09-23T13:18:31.809720+02:00\",\n                    \"quantity\": 1,\n                    \"comments\": null,\n                    \"extra\": null,\n                    \"order_line\": 33,\n                    \"return_order_line\": null\n                }\n            ],\n            \"syncs\": [],\n            \"order\": {\n                \"id\": 27,\n                \"created_at\": \"2021-08-11T10:50:53.660729+02:00\",\n                \"updated_at\": \"2021-08-11T10:50:53.660741+02:00\",\n                \"reference\": \"T300088188\",\n                \"local_status\": \"PENDING\",\n                \"channel_status\": \"new\",\n                \"currency\": \"EUR\",\n                \"total_without_tax\": \"341.32\",\n                \"total_tax\": \"71.67\",\n                \"shipping_price\": \"0.00\",\n                \"shipping_price_tax_type\": null,\n                \"discount\": \"0.00\",\n                \"total\": \"412.99\",\n                \"payment_method\": \"PayPal\",\n                \"shipping_method\": \"Envio a Casa\",\n                \"shipping_tax\": \"0.00\",\n                \"shipping_with_tax\": \"0.00\",\n                \"coupons\": null,\n                \"comments\": null,\n                \"extra\": {},\n                \"channel_create_date\": \"2021-08-11T10:49:56.098000+02:00\",\n                \"store_pickup\": false,\n                \"view\": 1,\n                \"customer\": 27,\n                \"shipping_address\": 83,\n                \"billing_address\": 84\n            },\n            \"return_order\": null,\n            \"carrier\": {\n                \"id\": 1,\n                \"created_at\": \"2021-03-24T09:22:31+01:00\",\n                \"updated_at\": \"2021-03-24T09:22:31+01:00\",\n                \"code\": \"1\",\n                \"name\": \"ABCUSTOM\",\n                \"web\": \"https://www.abcustom.es/portal/es/seguimiento-clientes?OTSREF=T0016798&OTSARRUSRVILCP=\"\n            },\n            \"address\": {\n                \"id\": 105,\n                \"created_at\": \"2021-09-23T13:17:41.262194+02:00\",\n                \"updated_at\": \"2021-09-23T13:17:41.262455+02:00\",\n                \"email\": \"\",\n                \"first_name\": \"test name\",\n                \"last_name\": \"\",\n                \"nif\": \"\",\n                \"telephone\": \"600300300\",\n                \"country\": \"ES\",\n                \"region\": \"\",\n                \"city\": \"valencia\",\n                \"postal_code\": \"46002\",\n                \"address\": \"Calle prueba 1\",\n                \"comments\": null,\n                \"extra\": null\n            },\n            \"shipping_label\": null,\n            \"created_at\": \"2021-09-23T13:18:29.276096+02:00\",\n            \"updated_at\": \"2021-09-23T13:18:29.276299+02:00\",\n            \"reference\": \"T300088188\",\n            \"tracking_number\": \"\",\n            \"tracking_url\": \"\",\n            \"status\": \"PENDING\",\n            \"carrier_status\": \"PENDING\",\n            \"is_partial\": false,\n            \"comments\": \"\",\n            \"extra\": {},\n            \"shipped_date\": \"2021-09-23T13:17:50.665500+02:00\",\n            \"delivered_date\": null\n        }\n    ]\n}"}],"_postman_id":"a4ba04a4-20a8-4676-b623-416161def6e8"},{"name":"S07 - Get sync","id":"a500adb3-2611-407d-ae27-b3200d96519b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/shipments/{{shipment_id}}/sync/{{sync_id}}","urlObject":{"path":["v1","shipments","{{shipment_id}}","sync","{{sync_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a500adb3-2611-407d-ae27-b3200d96519b"},{"name":"S08 - Update sync","id":"bb1b6e97-269f-41d7-9504-75ef37b80d30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"integration_system\": 1,\n    \"status\": \"SYNCHRONIZED\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/shipments/{{shipment_id}}/sync/{{sync_id}}","urlObject":{"path":["v1","shipments","{{shipment_id}}","sync","{{sync_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"bb1b6e97-269f-41d7-9504-75ef37b80d30"},{"name":"S09 - Create sync","id":"8f1c00e9-fb07-412e-9a74-175c7ffe8fda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"integration_system\": 1,\n    \"status\": \"SYNCHRONIZED\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/shipments/{{shipment_id}}/sync","urlObject":{"path":["v1","shipments","{{shipment_id}}","sync"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"8f1c00e9-fb07-412e-9a74-175c7ffe8fda"},{"name":"S10 - Send Email","id":"8b6b2f6c-7c0a-4050-9520-662c05bdf12a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"url":"https://demo.smartie.io/api/v1/shipments/{{shipment_id}}/send-mail","description":"<p>Currently in development.</p>\n","urlObject":{"path":["v1","shipments","{{shipment_id}}","send-mail"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"8b6b2f6c-7c0a-4050-9520-662c05bdf12a"}],"id":"ce684d90-4a12-4629-accf-3be06d939ecf","_postman_id":"ce684d90-4a12-4629-accf-3be06d939ecf","description":""},{"name":"Carriers","item":[{"name":"C01 - Get carriers","event":[{"listen":"prerequest","script":{"id":"b8fef01f-3d19-49dd-8088-18786c0cb6af","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"7b213636-cb25-4a9b-befa-b84f832a4f4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/carriers/","urlObject":{"path":["v1","carriers",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"7b213636-cb25-4a9b-befa-b84f832a4f4c"},{"name":"C02 - Get carrier","event":[{"listen":"prerequest","script":{"id":"fdba3415-59e5-476d-82fa-6689c483f70d","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"e563d9e4-b5ad-41f6-a79b-6931390f27e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/carriers/{{carrier_id}}/","urlObject":{"path":["v1","carriers","{{carrier_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e563d9e4-b5ad-41f6-a79b-6931390f27e7"},{"name":"C03 - Create carrier","event":[{"listen":"prerequest","script":{"id":"128c1548-aba9-48eb-a881-c93f76a7ac18","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"3e9f57ec-b730-4786-9edc-a9747a20d63e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"test\",\n    \"web\": \"http://my-web.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/carriers/","urlObject":{"path":["v1","carriers",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3e9f57ec-b730-4786-9edc-a9747a20d63e"},{"name":"C04 - Update carriers","event":[{"listen":"prerequest","script":{"id":"a965d515-93ac-4b21-8731-e750c0a2146f","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"5ac2a381-5d88-49a4-9caa-97d29ba77297","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"test\",\n    \"web\": \"http://my-testing.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/carriers/{{carrier_id}}/","urlObject":{"path":["v1","carriers","{{carrier_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"5ac2a381-5d88-49a4-9caa-97d29ba77297"},{"name":"C05 - Delete carriers","event":[{"listen":"prerequest","script":{"id":"52347f56-a740-4ed1-add7-91c349b3453f","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"08a8dad0-5692-455d-9734-1008a9068a9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/carriers/{{carrier_id}}/","urlObject":{"path":["v1","carriers","{{carrier_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"08a8dad0-5692-455d-9734-1008a9068a9a"},{"name":"C06 - Duplicate carrier","event":[{"listen":"prerequest","script":{"id":"a965d515-93ac-4b21-8731-e750c0a2146f","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"e06634be-a7e0-40b5-a932-a922adbb9c49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"https://demo.smartie.io/api/v1/carriers/{{carrier_id}}/duplicate/","urlObject":{"path":["v1","carriers","{{carrier_id}}","duplicate",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e06634be-a7e0-40b5-a932-a922adbb9c49"}],"id":"884c5250-b60d-4eab-8ac4-b3dc8a4e096b","_postman_id":"884c5250-b60d-4eab-8ac4-b3dc8a4e096b","description":""},{"name":"Integration systems","item":[{"name":"IS01 - List integration systems","event":[{"listen":"prerequest","script":{"id":"8a5470df-303d-4e10-b3af-f033329333fa","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"b7491083-e85b-4307-ad6c-c90846bff6e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/integration-systems/","urlObject":{"path":["v1","integration-systems",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b7491083-e85b-4307-ad6c-c90846bff6e1"},{"name":"IS02 - Get integration system","event":[{"listen":"prerequest","script":{"id":"af1ab18e-6776-4ab9-bb05-d7c7e6087346","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"d933c6a5-ea31-49b8-9c7d-3d49ca8778a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Accept-Language","value":"es-es","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/integration-systems/{{integration_system_id}}","urlObject":{"path":["v1","integration-systems","{{integration_system_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d933c6a5-ea31-49b8-9c7d-3d49ca8778a3"},{"name":"IS03 - Create integration system","event":[{"listen":"prerequest","script":{"id":"42cb5bb6-83cf-4234-9007-4008f111fd36","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"cc5e1061-20ee-42d3-8de0-8b9e344a6860","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"new system\",\n    \"type\": \"REST\",\n    \"code\": \"new code\"\n}"},"url":"https://demo.smartie.io/api/v1/integration-systems/","urlObject":{"path":["v1","integration-systems",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"cc5e1061-20ee-42d3-8de0-8b9e344a6860"},{"name":"IS04 - Update integration system","event":[{"listen":"prerequest","script":{"id":"603de1fb-0dce-4edb-ae78-17c17351c50f","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"06634c95-dddd-4ce4-8ed1-8d6d8d13c2b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"new system\",\n    \"type\": \"REST\",\n    \"code\": \"new new code\",\n    \"id\": \"1\",\n    \"config\": null\n}"},"url":"https://demo.smartie.io/api/v1/integration-systems/{{integration_system_id}}","urlObject":{"path":["v1","integration-systems","{{integration_system_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"06634c95-dddd-4ce4-8ed1-8d6d8d13c2b1"},{"name":"IS05 - Delete integration system","event":[{"listen":"prerequest","script":{"id":"11c868b6-8c05-4a7a-84b6-334dd0fd8ae7","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"c67d31ce-d3cc-4bc1-a6b4-f7827347ea3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/integration-systems/{{integration_system_id}}","urlObject":{"path":["v1","integration-systems","{{integration_system_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c67d31ce-d3cc-4bc1-a6b4-f7827347ea3b"},{"name":"IS03 - Duplicate integration system","event":[{"listen":"prerequest","script":{"id":"42cb5bb6-83cf-4234-9007-4008f111fd36","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"c3c28ef0-056a-4b1a-b802-c1bbf24a5382","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"https://demo.smartie.io/api/v1/integration-systems/{{integration_system_id}}/duplicate/","urlObject":{"path":["v1","integration-systems","{{integration_system_id}}","duplicate",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3c28ef0-056a-4b1a-b802-c1bbf24a5382"}],"id":"cf4a369c-4b84-4495-a180-f484bc4c0cea","_postman_id":"cf4a369c-4b84-4495-a180-f484bc4c0cea","description":""},{"name":"Get entities to export","event":[{"listen":"test","script":{"id":"25cf91e6-306f-4fef-9233-6e1126643108","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"de6b8354-c164-4873-bddb-97cb7395cf33","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"c27f7ba4-7092-4663-992a-f5d607f3254b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":"https://demo.smartie.io/api/v1/processes/export/fixture/entities","urlObject":{"path":["v1","processes","export","fixture","entities"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c27f7ba4-7092-4663-992a-f5d607f3254b"}],"id":"e80a8560-114b-46be-be4b-a452e18a08fc","_postman_id":"e80a8560-114b-46be-be4b-a452e18a08fc","description":""},{"name":"Activity","item":[{"name":"Tasks","item":[{"name":"T01 - Search executed tasks","event":[{"listen":"test","script":{"id":"baf1eaef-5abc-4e81-9aa5-25c88535fd27","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"6b641630-2807-4137-8cf6-8dac8c88eb31","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"a2fcd3c2-665a-41bc-846d-589c58748c78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"page\": 1,\n        \"page_size\": 20,\n        \"startRow\": 0,\n        \"endRow\": 20\n    },\n    \"sort\": [],\n    \"filters\": {\n        \"state__iexact\": \"RUNNING\"\n    }\n}"},"url":"https://demo.smartie.io/api/ui/processes/search","urlObject":{"path":["ui","processes","search"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a2fcd3c2-665a-41bc-846d-589c58748c78"},{"name":"T02 - Execute task","event":[{"listen":"test","script":{"id":"ee67eeee-d575-4e90-a337-35a427f3cd0e","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"b26054c4-d688-4616-b7db-a32356c70f36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"https://demo.smartie.io/api/v1/action-buttons/{{action_button_id}}/execute","description":"<p>Permite lanzar una tarea conociendo su identificador.</p>\n<p>Es posible que no sea ejecutada inmediatamente debido a que pueden haber otras cosas en ejecución que bloqueen su ejecución hasta que se liberen los recursos.</p>\n","urlObject":{"path":["v1","action-buttons","{{action_button_id}}","execute"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"1b51aeb9-6e63-418f-8429-e9bacca71e67","name":"T02 - Execute the task with ID 112","originalRequest":{"method":"POST","header":[],"url":"https://demo.smartie.io/api/api/action-buttons/112/execute"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 20 May 2022 09:58:17 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=15"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept, Accept-Language, Cookie"},{"key":"Content-Language","value":"en"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"The task has been queued\"\n}"}],"_postman_id":"b26054c4-d688-4616-b7db-a32356c70f36"},{"name":"T03- Get task by name","event":[{"listen":"prerequest","script":{"id":"35c4dd21-673e-488f-874b-2e2ce3f5c7f6","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"2e8b24bd-b2e8-407b-be7f-793f0acc5438","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/ui/action-buttons?name__icontains=wait","description":"<p>Permite buscar tareas aplicando cualquier filtro. En el ejemplo se busca por name.</p>\n","urlObject":{"path":["ui","action-buttons"],"host":["https://demo.smartie.io/api"],"query":[{"key":"name__icontains","value":"wait"}],"variable":[]}},"response":[],"_postman_id":"2e8b24bd-b2e8-407b-be7f-793f0acc5438"},{"name":"T04 - Create scheduled task","event":[{"listen":"test","script":{"id":"60d5d659-f938-4816-b216-3a8156626b65","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"4c8c7239-39b5-428d-a741-7661dc50967a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": {{string}},\n    \"scheduled_date\": {{string}},\n    \"is_visible\": {{boolean}}\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/action-buttons/{{action_button_id}}/schedule","description":"<p>Permite crear una tarea programada conociendo su identificador.</p>\n","urlObject":{"path":["v1","action-buttons","{{action_button_id}}","schedule"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"1a8c5158-c1bd-4c4e-90b4-07317a607e94","name":"T03 - Execute the task with ID 13","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"scheduled\",\n    \"scheduled_date\": \"2022-08-19 12:52:05.030619+02\",\n    \"is_visible\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/api/action-buttons/13/schedule"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 20 May 2022 09:58:17 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=15"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept, Accept-Language, Cookie"},{"key":"Content-Language","value":"en"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"The task has been scheduled.\"\n}"}],"_postman_id":"4c8c7239-39b5-428d-a741-7661dc50967a"},{"name":"T05 - Create periodic task","event":[{"listen":"test","script":{"id":"e0053982-0034-47d6-97ee-362d66096be4","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"0e691aa3-09c6-4897-ba6e-027bf6f895fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": {{string}},\n    \"crontab\": {{crontab_id}},\n    \"enabled\": {{boolean}},\n    \"is_visible\": {{boolean}}\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/action-buttons/{{action_button_id}}/schedule","description":"<p>Permite crear una tarea periódica conociendo su identificador y el del crontab deseado.</p>\n","urlObject":{"path":["v1","action-buttons","{{action_button_id}}","schedule"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"b2531b0f-8929-4569-a547-155f9654fa87","name":"T05 -Create a periodic task for action with id 13","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"periodic\",\n    \"crontab\": 1,\n    \"enabled\": true,\n    \"is_visible\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/api/action-buttons/13/periodic_process"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 20 May 2022 09:58:17 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=15"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept, Accept-Language, Cookie"},{"key":"Content-Language","value":"en"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"The task has been scheduled periodically.\"\n}"},{"id":"9aa5be9e-ffbd-4aef-a3ba-86f58b4af480","name":"T05.2 - Create disabled periodic task with action id 13","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"periodic\",\n    \"crontab\": 1,\n    \"enabled\": false,\n    \"is_visible\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/action-buttons/13/execute"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"The task has been scheduled periodically.\"\n}"}],"_postman_id":"0e691aa3-09c6-4897-ba6e-027bf6f895fb"}],"id":"4aad81f9-9bb3-4990-bf7d-4579872b2937","_postman_id":"4aad81f9-9bb3-4990-bf7d-4579872b2937","description":""}],"id":"9704d78b-5621-41c8-ae4a-16c4cdc6ca79","_postman_id":"9704d78b-5621-41c8-ae4a-16c4cdc6ca79","description":""},{"name":"Catalog","item":[{"name":"Attributes","item":[{"name":"AT02 - Get attributes with list values data","event":[{"listen":"prerequest","script":{"id":"4ae92971-0382-4a1e-acc0-f1dda2ed369f","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"a7f91389-5639-4692-8e63-8890c35b0785","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"filters\": {\n        {{filters to apply}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/template-attributes/search","urlObject":{"path":["v2","template-attributes","search"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"f9e5d72b-9992-4182-a1fc-ecdc1f42605f","name":"AT02 - Get attributes from view 1 and template type Product","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"filters\": {\n        \"template__channels__views__id\": 1,\n        \"template__type\": \"PRODUCT\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/template-attributes/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 108,\n    \"next\": \"\",\n    \"previous\": \"\",\n    \"results\": [\n        {\n            \"id\": 1,\n            \"active\": true,\n            \"created_at\": \"2022-10-06T16:35:35.273640Z\",\n            \"updated_at\": \"2022-10-06T16:35:35.273647Z\",\n            \"size\": 50,\n            \"group_collapsed_mode\": \"EXPANDED\",\n            \"position\": 1,\n            \"group\": \"General\",\n            \"template\": 1,\n            \"attribute\": 1\n        },\n        {\n            \"id\": 2,\n            \"active\": true,\n            \"created_at\": \"2022-10-06T16:35:35.277039Z\",\n            \"updated_at\": \"2022-10-06T16:35:35.277052Z\",\n            \"size\": 50,\n            \"group_collapsed_mode\": \"EXPANDED\",\n            \"position\": 2,\n            \"group\": \"General\",\n            \"template\": 7,\n            \"attribute\": 2\n        },\n        {\n            \"id\": 2,\n            \"active\": true,\n            \"created_at\": \"2022-10-06T16:35:35.277039Z\",\n            \"updated_at\": \"2022-10-06T16:35:35.277052Z\",\n            \"size\": 50,\n            \"group_collapsed_mode\": \"EXPANDED\",\n            \"position\": 2,\n            \"group\": \"General\",\n            \"template\": 1,\n            \"attribute\": 2\n        },\n        {\n            \"id\": 28,\n            \"active\": true,\n            \"created_at\": \"2022-10-06T16:35:35.331523Z\",\n            \"updated_at\": \"2024-04-29T13:29:52.009395Z\",\n            \"size\": 50,\n            \"group_collapsed_mode\": \"EXPANDED\",\n            \"position\": 28,\n            \"group\": \"General\",\n            \"template\": 1,\n            \"attribute\": 28\n        }\n    ]\n}"},{"id":"e2501291-ad70-4f08-979d-856c29b7255d","name":"AT02 - Get all attributes from products","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"filters\": {\n        \"template__type\": \"PRODUCT\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/template-attributes/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 108,\n    \"next\": \"\",\n    \"previous\": \"\",\n    \"results\": [\n        {\n            \"id\": 1,\n            \"active\": true,\n            \"created_at\": \"2022-10-06T16:35:35.273640Z\",\n            \"updated_at\": \"2022-10-06T16:35:35.273647Z\",\n            \"size\": 50,\n            \"group_collapsed_mode\": \"EXPANDED\",\n            \"position\": 1,\n            \"group\": \"General\",\n            \"template\": 1,\n            \"attribute\": 1\n        },\n        {\n            \"id\": 2,\n            \"active\": true,\n            \"created_at\": \"2022-10-06T16:35:35.277039Z\",\n            \"updated_at\": \"2022-10-06T16:35:35.277052Z\",\n            \"size\": 50,\n            \"group_collapsed_mode\": \"EXPANDED\",\n            \"position\": 2,\n            \"group\": \"General\",\n            \"template\": 7,\n            \"attribute\": 2\n        },\n        {\n            \"id\": 2,\n            \"active\": true,\n            \"created_at\": \"2022-10-06T16:35:35.277039Z\",\n            \"updated_at\": \"2022-10-06T16:35:35.277052Z\",\n            \"size\": 50,\n            \"group_collapsed_mode\": \"EXPANDED\",\n            \"position\": 2,\n            \"group\": \"General\",\n            \"template\": 1,\n            \"attribute\": 2\n        },\n        {\n            \"id\": 28,\n            \"active\": true,\n            \"created_at\": \"2022-10-06T16:35:35.331523Z\",\n            \"updated_at\": \"2024-04-29T13:29:52.009395Z\",\n            \"size\": 50,\n            \"group_collapsed_mode\": \"EXPANDED\",\n            \"position\": 28,\n            \"group\": \"General\",\n            \"template\": 1,\n            \"attribute\": 28\n        }\n    ]\n}"}],"_postman_id":"a7f91389-5639-4692-8e63-8890c35b0785"},{"name":"AT03 - Get attributes with list values data Alternative","event":[{"listen":"prerequest","script":{"id":"4ae92971-0382-4a1e-acc0-f1dda2ed369f","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"34c0b96b-4977-465d-9cc9-dd671b8f28c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/template-attributes/?{{filters}}","urlObject":{"path":["v2","template-attributes",""],"host":["https://demo.smartie.io/api"],"query":[{"key":"{{filters}}","value":null}],"variable":[]}},"response":[{"id":"22003099-2380-4a66-9926-42bf2e707cc0","name":"AT03 - Get attributes from view 1 and template type Product","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"filters\": {\n        \"template__channels__views__id\": 1,\n        \"template__type\": \"PRODUCT\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://demo.smartie.io/api/v2/template-attributes/?template__channels__views__id=1&template__type=PRODUCT","host":["https://demo.smartie.io/api"],"path":["v2","template-attributes",""],"query":[{"key":"template__channels__views__id","value":"1"},{"key":"template__type","value":"PRODUCT"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 108,\n    \"next\": \"\",\n    \"previous\": \"\",\n    \"results\": [\n        {\n            \"id\": 1,\n            \"active\": true,\n            \"created_at\": \"2022-10-06T16:35:35.273640Z\",\n            \"updated_at\": \"2022-10-06T16:35:35.273647Z\",\n            \"size\": 50,\n            \"group_collapsed_mode\": \"EXPANDED\",\n            \"position\": 1,\n            \"group\": \"General\",\n            \"template\": 1,\n            \"attribute\": 1\n        },\n        {\n            \"id\": 2,\n            \"active\": true,\n            \"created_at\": \"2022-10-06T16:35:35.277039Z\",\n            \"updated_at\": \"2022-10-06T16:35:35.277052Z\",\n            \"size\": 50,\n            \"group_collapsed_mode\": \"EXPANDED\",\n            \"position\": 2,\n            \"group\": \"General\",\n            \"template\": 7,\n            \"attribute\": 2\n        },\n        {\n            \"id\": 2,\n            \"active\": true,\n            \"created_at\": \"2022-10-06T16:35:35.277039Z\",\n            \"updated_at\": \"2022-10-06T16:35:35.277052Z\",\n            \"size\": 50,\n            \"group_collapsed_mode\": \"EXPANDED\",\n            \"position\": 2,\n            \"group\": \"General\",\n            \"template\": 1,\n            \"attribute\": 2\n        },\n        {\n            \"id\": 28,\n            \"active\": true,\n            \"created_at\": \"2022-10-06T16:35:35.331523Z\",\n            \"updated_at\": \"2024-04-29T13:29:52.009395Z\",\n            \"size\": 50,\n            \"group_collapsed_mode\": \"EXPANDED\",\n            \"position\": 28,\n            \"group\": \"General\",\n            \"template\": 1,\n            \"attribute\": 28\n        }\n    ]\n}"},{"id":"63ac96e2-3212-4420-b90c-c4aeffe9e7bb","name":"AT03 - Get all attributes from products","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"filters\": {\n        \"template__channels__views__id\": 1,\n        \"template__type\": \"PRODUCT\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://demo.smartie.io/api/v2/template-attributes/?template__type=PRODUCT","host":["https://demo.smartie.io/api"],"path":["v2","template-attributes",""],"query":[{"key":"template__type","value":"PRODUCT"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 108,\n    \"next\": \"\",\n    \"previous\": \"\",\n    \"results\": [\n        {\n            \"id\": 1,\n            \"active\": true,\n            \"created_at\": \"2022-10-06T16:35:35.273640Z\",\n            \"updated_at\": \"2022-10-06T16:35:35.273647Z\",\n            \"size\": 50,\n            \"group_collapsed_mode\": \"EXPANDED\",\n            \"position\": 1,\n            \"group\": \"General\",\n            \"template\": 1,\n            \"attribute\": 1\n        },\n        {\n            \"id\": 2,\n            \"active\": true,\n            \"created_at\": \"2022-10-06T16:35:35.277039Z\",\n            \"updated_at\": \"2022-10-06T16:35:35.277052Z\",\n            \"size\": 50,\n            \"group_collapsed_mode\": \"EXPANDED\",\n            \"position\": 2,\n            \"group\": \"General\",\n            \"template\": 7,\n            \"attribute\": 2\n        },\n        {\n            \"id\": 2,\n            \"active\": true,\n            \"created_at\": \"2022-10-06T16:35:35.277039Z\",\n            \"updated_at\": \"2022-10-06T16:35:35.277052Z\",\n            \"size\": 50,\n            \"group_collapsed_mode\": \"EXPANDED\",\n            \"position\": 2,\n            \"group\": \"General\",\n            \"template\": 1,\n            \"attribute\": 2\n        },\n        {\n            \"id\": 28,\n            \"active\": true,\n            \"created_at\": \"2022-10-06T16:35:35.331523Z\",\n            \"updated_at\": \"2024-04-29T13:29:52.009395Z\",\n            \"size\": 50,\n            \"group_collapsed_mode\": \"EXPANDED\",\n            \"position\": 28,\n            \"group\": \"General\",\n            \"template\": 1,\n            \"attribute\": 28\n        }\n    ]\n}"}],"_postman_id":"34c0b96b-4977-465d-9cc9-dd671b8f28c5"}],"id":"f1d80e7e-740a-422a-bbb5-c3e9e7d504f8","_postman_id":"f1d80e7e-740a-422a-bbb5-c3e9e7d504f8","description":""},{"name":"Bulk actions","item":[{"name":"Edit attributes in bulk","id":"da36f26f-bb82-4e48-8ce3-7e13e9913596","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Edit attribute values","type":"text"},{"key":"description","value":"Edit attribute values","type":"text"},{"key":"action_type","value":"edit_attribute_values","type":"text"},{"key":"active","value":"True","type":"text"},{"key":"is_visible","value":"False","type":"text"},{"key":"kwargs","value":"{\"product_ids\":[49042,49040],\"view_id\": 6,\"update\": {\"information\":{\"display-name\": \"test bulk name\", \"ean\": \"1234567891234\"}}}","type":"text"}]},"url":"https://demo.smartie.io/api/v1/processes","urlObject":{"path":["v1","processes"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"da36f26f-bb82-4e48-8ce3-7e13e9913596"},{"name":"Modify prices in bulk","id":"53730b2c-1385-45f4-a7d6-e34e71243ce4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Edit attribute values","type":"text"},{"key":"description","value":"Edit attribute values","type":"text"},{"key":"action_type","value":"edit_attribute_values","type":"text"},{"key":"active","value":"True","type":"text"},{"key":"is_visible","value":"False","type":"text"},{"key":"kwargs","value":"{\"product_ids\":[49042,49040],\"view_id\": 6,\"update\": {\"information\":{\"display-name\": \"test bulk name\", \"ean\": \"1234567891234\"}}}","type":"text"}]},"url":"https://demo.smartie.io/api/v1/processes","urlObject":{"path":["v1","processes"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"53730b2c-1385-45f4-a7d6-e34e71243ce4"},{"name":"Add to category in bulk","id":"f80926fb-30bf-477b-bdf8-6e893031e438","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Add to category","type":"text"},{"key":"description","value":"Add products to category","type":"text"},{"key":"action_type","value":"add_products_to_category","type":"text"},{"key":"active","value":"True","type":"text"},{"key":"is_visible","value":"False","type":"text"},{"key":"kwargs","value":"{\"product_ids\":[49042,49040],\"view_id\": 6,\"category_ids\":[3406,3419]}","type":"text"}]},"url":"https://demo.smartie.io/api/v1/processes","urlObject":{"path":["v1","processes"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f80926fb-30bf-477b-bdf8-6e893031e438"},{"name":"Remove from category in bulk","id":"224e32e5-b23e-44da-917e-691be161526e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Remove from category","type":"text"},{"key":"description","value":"Remove products from category","type":"text"},{"key":"action_type","value":"remove_products_from_category","type":"text"},{"key":"active","value":"True","type":"text"},{"key":"is_visible","value":"False","type":"text"},{"key":"kwargs","value":"{\"product_ids\":[49042,49040],\"view_id\": 6,\"category_ids\":[3406,3419]}","type":"text"}]},"url":"https://demo.smartie.io/api/v1/processes","urlObject":{"path":["v1","processes"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"224e32e5-b23e-44da-917e-691be161526e"},{"name":"Sync_request in bulk","id":"6190b2d8-c0b5-4d1a-bfe9-11904fc2f444","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"PUBLISH sync_request for XXXX products","type":"text"},{"key":"description","value":"PUBLISH sync_request for XXXX products","type":"text"},{"key":"action_type","value":"product_sync_request_bulk","type":"text"},{"key":"active","value":"True","type":"text"},{"key":"is_visible","value":"False","type":"text"},{"key":"kwargs","value":"{ \"sync_request\": \"PUBLISH\",\"product_ids\":[49042,49040],\"view_id\": 6}","type":"text"}]},"url":"https://demo.smartie.io/api/v1/processes","description":"<p>bulk action </p>\n","urlObject":{"path":["v1","processes"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6190b2d8-c0b5-4d1a-bfe9-11904fc2f444"},{"name":"Duplicate product (1 product)","event":[{"listen":"prerequest","script":{"id":"cb6b748b-d5af-41fa-992d-a71b68065744","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"998dea37-dbbc-42c5-bca2-d77bda02ac53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{access_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":"{\"target_sku\": \"L-006-copy\"}"},"url":"https://demo.smartie.io/api/v1/products/61355/duplicate","urlObject":{"path":["v1","products","61355","duplicate"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"998dea37-dbbc-42c5-bca2-d77bda02ac53"},{"name":"Duplicate product (File Upload)","event":[{"listen":"prerequest","script":{"id":"fe42d9ec-1228-4f56-8ce1-c341079a7f6e","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"25fd2b22-6714-44ec-9dc6-272929308c98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{access_token}}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"body":{"mode":"raw","raw":"{\n\"name\": \"Duplicate products\",\n\"is_visible\": true,\n\"action_type\": \"duplicate_products\",\n\"description\": \"Duplicating products\",\n\"active\": true,\n\"kwargs\": {}\n}"},"url":"https://demo.smartie.io/api/v1/products/61355/duplicate","urlObject":{"path":["v1","products","61355","duplicate"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"25fd2b22-6714-44ec-9dc6-272929308c98"}],"id":"42eee00a-1678-405c-b429-03a8f516587c","_postman_id":"42eee00a-1678-405c-b429-03a8f516587c","description":""},{"name":"Category Trees","item":[{"name":"CT01 - Search category trees","event":[{"listen":"test","script":{"id":"6545bcab-0f18-4d5c-8ca3-2464ebd935e6","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"64ba30fd-9ad3-40e1-8c3a-b298256a913b","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"f9ea0d72-2c5e-4db3-8d1f-4be706769b9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v2/category-trees/?views=4&all=false&channel={{channel_id}}","urlObject":{"path":["v2","category-trees",""],"host":["https://demo.smartie.io/api"],"query":[{"key":"views","value":"4"},{"key":"all","value":"false"},{"key":"channel","value":"{{channel_id}}"}],"variable":[]}},"response":[],"_postman_id":"f9ea0d72-2c5e-4db3-8d1f-4be706769b9f"},{"name":"CT02 - Create category tree","event":[{"listen":"test","script":{"id":"223ddca7-f1af-4e6f-a40c-00f12c84f9e9","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"a9d4d898-a108-430c-b090-fd23c5bb5246","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"6156db8d-c4b1-43e5-bff5-a7e711e8c427","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"active\": true, \"name\": \"YAYAI\", \"channel\": {{channel_id}}\n}"},"url":"https://demo.smartie.io/api/v1/category-trees","urlObject":{"path":["v1","category-trees"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6156db8d-c4b1-43e5-bff5-a7e711e8c427"},{"name":"CT03 - Update category tree","event":[{"listen":"test","script":{"id":"eb065539-da76-404f-8ea8-58f0b30a625f","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"539e7b67-0136-43d2-88fc-2a0ae8f2dcb6","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"fe4cd387-1281-48ca-97fc-c6ec21f6d47d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"name\": \"Pantalones\"}"},"url":"https://demo.smartie.io/api/v1/category-trees/{{category_tree_id}}","urlObject":{"path":["v1","category-trees","{{category_tree_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"fe4cd387-1281-48ca-97fc-c6ec21f6d47d"},{"name":"CT04 - Delete category tree","event":[{"listen":"test","script":{"id":"e76ff980-b75f-451c-9211-e3c5da68170f","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"1274fe85-2413-4bd7-a97a-a435b6016dc3","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"418415a7-7c7f-4c9f-ad7a-42fcf19a9154","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/category-trees/{{category_tree_id}}","urlObject":{"path":["v1","category-trees","{{category_tree_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"418415a7-7c7f-4c9f-ad7a-42fcf19a9154"},{"name":"CT05 - Create sub category","event":[{"listen":"test","script":{"id":"62afb590-c189-4bf1-9368-ef92e9a0586b","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"eac0950f-2a04-4264-8099-7cc0510faf33","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"16162c8c-f67c-409f-91ff-6f3d06967d31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"category_tree\": 2585,\n    \"code\": \"shashi_hijo_2\",\n    \"name\": \"shashi_hijo_2\",\n    \"parent\": null,\n    \"position\": null,\n    \"template\": 2\n}"},"url":"https://demo.smartie.io/api/v1/categories","urlObject":{"path":["v1","categories"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"16162c8c-f67c-409f-91ff-6f3d06967d31"},{"name":"CT06 - Copy category tree","event":[{"listen":"test","script":{"id":"0302d039-a9da-4797-8913-c4182f82e574","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"e377fd57-9ee4-4ccc-960d-b7312cc00090","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"09b065e0-ab5e-4098-bb7e-2f10145d917c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/category-trees/{{category_tree_id}}/copy","urlObject":{"path":["v1","category-trees","{{category_tree_id}}","copy"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"09b065e0-ab5e-4098-bb7e-2f10145d917c"}],"id":"fce0f0b4-c7ac-4c25-a344-0c8799257565","_postman_id":"fce0f0b4-c7ac-4c25-a344-0c8799257565","description":""},{"name":"Categories","item":[{"name":"C04 - Search category by code","event":[{"listen":"test","script":{"id":"41255853-e944-4f9e-9e1a-c2363966dbd4","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"c055b0a1-04c8-4652-b409-990e58143858","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"a459ac70-e750-4420-b7ad-7b28a2f51497","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/categories/?code={{category_code}}","urlObject":{"path":["v1","categories",""],"host":["https://demo.smartie.io/api"],"query":[{"key":"code","value":"{{category_code}}"}],"variable":[]}},"response":[{"id":"a0861e67-1d07-40ac-9346-8087a7c565b9","name":"C04 - Search category by code","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://demo.smartie.io/api/v1/categories/?code=TEST_CATEGORY_NEW331","host":["https://demo.smartie.io/api"],"path":["v1","categories",""],"query":[{"key":"code","value":"TEST_CATEGORY_NEW331"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 8,\n            \"children\": null,\n            \"category_view\": null,\n            \"active\": true,\n            \"created_at\": \"2024-04-03T17:11:00.434529+02:00\",\n            \"updated_at\": \"2024-04-03T17:11:00.434561+02:00\",\n            \"position\": 1,\n            \"code\": \"TEST_CATEGORY_NEW331\",\n            \"name\": \"A new category1\",\n            \"path\": \"category_1/TEST_CATEGORY_NEW331\",\n            \"information\": {},\n            \"category_tree\": 1,\n            \"parent\": 1,\n            \"root\": 1,\n            \"template\": 9,\n            \"medias\": []\n        }\n    ]\n}"}],"_postman_id":"a459ac70-e750-4420-b7ad-7b28a2f51497"},{"name":"C05 - Create category","event":[{"listen":"test","script":{"id":"41255853-e944-4f9e-9e1a-c2363966dbd4","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"c055b0a1-04c8-4652-b409-990e58143858","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"e057c9cd-cfcc-4c67-b43a-4d6a8c5a01c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"code\": \"{{category code}}\",\n  \"name\": \"{{category name}}\",\n  \"category_tree\": {{category tree id}},\n  \"template\": {{template id}},\n  \"parent\": \"{{parent category id or empty, hierarchy is autocalculated}}\"\n}"},"url":"https://demo.smartie.io/api/v1/categories/","urlObject":{"path":["v1","categories",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"c90eacf0-7bcc-49c6-aea3-27208bc86cc0","name":"C05 - Create category","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"code\": \"TEST_CATEGORY_NEW331\",\n  \"name\": \"A new category331\",\n  \"category_tree\": 1,\n  \"template\": 9,\n  \"parent\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/categories/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 10,\n    \"children\": null,\n    \"category_view\": null,\n    \"active\": true,\n    \"created_at\": \"2024-04-03T17:21:26.825352+02:00\",\n    \"updated_at\": \"2024-04-03T17:21:26.825393+02:00\",\n    \"position\": 2,\n    \"code\": \"TEST_CATEGORY_NEW331\",\n    \"name\": \"A new category331\",\n    \"path\": \"category_1/TEST_CATEGORY_NEW331\",\n    \"information\": {},\n    \"category_tree\": 1,\n    \"parent\": 1,\n    \"root\": 1,\n    \"template\": 9,\n    \"medias\": []\n}"}],"_postman_id":"e057c9cd-cfcc-4c67-b43a-4d6a8c5a01c8"},{"name":"C06 - Update category","event":[{"listen":"test","script":{"id":"41255853-e944-4f9e-9e1a-c2363966dbd4","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"c055b0a1-04c8-4652-b409-990e58143858","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"acb19a13-f0ec-44bc-9e6f-02824672b5e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"code\": \"{{category code}}\",\n  \"name\": \"{{category name}}\",\n  \"category_tree\": {{category tree id}},\n  \"template\": {{template id}},\n  \"parent\": \"{{parent category id or empty, hierarchy is autocalculated}}\"\n}"},"url":"https://demo.smartie.io/api/v1/categories/{{category id}}","urlObject":{"path":["v1","categories","{{category id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"8ed7c1c8-d998-4e31-acce-f0d80ca261b3","name":"C06 - Update category","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"code\": \"TEST_CATEGORY_NEW331\",\n  \"name\": \"A new category331\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/categories/9"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 10,\n    \"children\": null,\n    \"category_view\": null,\n    \"active\": true,\n    \"created_at\": \"2024-04-03T17:21:26.825352+02:00\",\n    \"updated_at\": \"2024-04-03T17:21:26.825393+02:00\",\n    \"position\": 2,\n    \"code\": \"TEST_CATEGORY_NEW331\",\n    \"name\": \"A new category331\",\n    \"path\": \"category_1/TEST_CATEGORY_NEW331\",\n    \"information\": {},\n    \"category_tree\": 1,\n    \"parent\": 1,\n    \"root\": 1,\n    \"template\": 9,\n    \"medias\": []\n}"}],"_postman_id":"acb19a13-f0ec-44bc-9e6f-02824672b5e2"},{"name":"C07 - Delete category","event":[{"listen":"test","script":{"id":"41255853-e944-4f9e-9e1a-c2363966dbd4","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"c055b0a1-04c8-4652-b409-990e58143858","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"810ba1ea-4dc3-4ab1-bac6-c15399b02bf6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/categories/{{category id}}","urlObject":{"path":["v1","categories","{{category id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"7368d17a-b9b2-454f-98db-eeb7feb3ae31","name":"C07 - Delete category","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"active\": true,\n  \"code\": \"TEST_CATEGORY_NEW331\",\n  \"name\": \"A new category331\",\n  \"category_tree\": 1,\n  \"template\": 9,\n  \"parent\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/categories/1"},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"810ba1ea-4dc3-4ab1-bac6-c15399b02bf6"}],"id":"e7060fc0-85b8-4299-af04-a716a3d0dc71","_postman_id":"e7060fc0-85b8-4299-af04-a716a3d0dc71","description":""},{"name":"Category Views","item":[{"name":"CV01 - Get category view with filters","event":[{"listen":"test","script":{"id":"13d971b4-9615-41a4-958c-88f385b59d5e","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"118c99a3-c0a5-4cc5-bb33-9f05b90bc966","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"12cf6885-ddab-4886-b169-3e006d2b0b0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/category-views/?category__code={{category__code}}&view_id=4","description":"<p>if there is a media/file type attribute on <em>information</em> field, it would be shown as an object id (see response example). To download the file you have to use <a href=\"https://apidocs.smartie.io/#6cb83771-0ec0-4ad9-833f-2bd198ba9aba\">M06 - Download media file</a> request with that id</p>\n","urlObject":{"path":["v1","category-views",""],"host":["https://demo.smartie.io/api"],"query":[{"key":"category__code","value":"{{category__code}}"},{"key":"view_id","value":"4"}],"variable":[]}},"response":[{"id":"b9e6af8e-3f56-490c-9a83-78dfabf15cd7","name":"CV02 - Get category view with filters","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://demo.smartie.io/api/v1/category-views/?category_code=CCTV&view_id=2","host":["https://demo.smartie.io/api"],"path":["v1","category-views",""],"query":[{"key":"category_code","value":"CCTV"},{"key":"view_id","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"count\": 1,\n  \"next\": null,\n  \"previous\": null,\n  \"results\": [\n    {\n      \"id\": 111,\n      \"active\": true,\n      \"created_at\": \"2022-08-08T12:49:51.343316+02:00\",\n      \"updated_at\": \"2022-12-21T16:12:50.470309+01:00\",\n      \"information\": {\n        \"meta_keywords\": \"CCTV,ip camera,instalacion de camaras de seguridad\",\n        \"bottom_description\": \"\",\n        \"description\": \"<p>Los elementos de CCTV que componen los sistemas de videovigilancia permiten controlar grandes &aacute;reas, per&iacute;metros, estancias o zonas cr&iacute;ticas, tanto en interior como en exterior. En Hommax disponemos de una gran variedad de tecnolog&iacute;as que permiten ir m&aacute;s all&aacute; y crear sistemas inteligentes capaces de realizar multitud de funciones. Descubre todo lo que podemos aportar a tu negocio.</p>\",\n        \"meta_robots\": \"\",\n        \"is_anchor\": true,\n        \"category_name\": \"CCTV\",\n        \"storyblok_slug\": \"\",\n        \"seo_name\": \"CCTV\",\n        \"meta_title\": \"CCTV - Cámaras IP - Cámaras HD | Hommax\",\n        \"available_sort_by\": [\n\n        ],\n        \"image\": 2734,\n        \"meta_description\": \"Encuentra todos los productos CCTV que buscas. Cámaras y Grabadores tanto IP como HD. Accesorios CCTV. Líderes nacionales en distribución de Productos Electrónicos de Seguridad.\",\n        \"url_key\": \"sistemas_cctv\",\n        \"is_active\": true,\n        \"include_in_menu\": true,\n        \"breadcrumbs_priority\": \"\",\n        \"display_mode\": \"\"\n      },\n      \"local_status\": \"COMPLETE\",\n      \"local_message\": {\n\n      },\n      \"category\": 56,\n      \"template\": 11,\n      \"view\": 2\n    }\n  ]\n}"},{"id":"654b82de-7ffe-47a3-88aa-a26b6ca8cfba","name":"CV02 - Get category view with category tree filter","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://demo.smartie.io/api/v1/category-views/?category_tree__name=Default Category","host":["https://demo.smartie.io/api"],"path":["v1","category-views",""],"query":[{"key":"category_tree__name","value":"Default Category"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"count\": 1,\n  \"next\": null,\n  \"previous\": null,\n  \"results\": [\n    {\n      \"id\": 296,\n      \"active\": true,\n      \"created_at\": \"2022-12-20T15:47:19.756580+01:00\",\n      \"updated_at\": \"2022-12-21T16:12:53.613153+01:00\",\n      \"information\": {\n        \"bottom_description\": \"\",\n        \"description\": \"\",\n        \"url_key\": \"cctv_system_electronic_repeaters\",\n        \"meta_title\": \"Repeaters\",\n        \"meta_robots\": \"\",\n        \"storyblok_slug\": \"\",\n        \"seo_name\": \"Repeaters\",\n        \"is_anchor\": null,\n        \"category_name\": \"Repeaters\",\n        \"breadcrumbs_priority\": \"\",\n        \"include_in_menu\": null,\n        \"is_active\": null,\n        \"meta_keywords\": \"\",\n        \"available_sort_by\": [\n\n        ],\n        \"image\": null,\n        \"display_mode\": \"\",\n        \"meta_description\": \"\"\n      },\n      \"local_status\": \"COMPLETE\",\n      \"local_message\": {\n\n      },\n      \"category\": 117,\n      \"template\": 11,\n      \"view\": 4\n    },\n    {\n      \"id\": 295,\n      \"active\": true,\n      \"created_at\": \"2022-12-20T15:47:19.755975+01:00\",\n      \"updated_at\": \"2022-12-21T16:12:52.230922+01:00\",\n      \"information\": {\n        \"bottom_description\": \"\",\n        \"description\": \"\",\n        \"url_key\": \"cctv_system_acessorios_repetidores\",\n        \"meta_title\": \"Repetidores\",\n        \"meta_robots\": \"\",\n        \"storyblok_slug\": \"\",\n        \"seo_name\": \"Repetidores\",\n        \"is_anchor\": null,\n        \"category_name\": \"Repetidores\",\n        \"breadcrumbs_priority\": \"\",\n        \"include_in_menu\": null,\n        \"is_active\": null,\n        \"meta_keywords\": \"\",\n        \"available_sort_by\": [\n\n        ],\n        \"image\": null,\n        \"display_mode\": \"\",\n        \"meta_description\": \"\"\n      },\n      \"local_status\": \"COMPLETE\",\n      \"local_message\": {\n\n      },\n      \"category\": 117,\n      \"template\": 11,\n      \"view\": 3\n    },\n    {\n      \"id\": 294,\n      \"active\": true,\n      \"created_at\": \"2022-12-20T15:47:19.755091+01:00\",\n      \"updated_at\": \"2022-12-21T17:26:36.153470+01:00\",\n      \"information\": {\n        \"bottom_description\": \"\",\n        \"description\": \"\",\n        \"url_key\": \"sistemas_cctv_electronica_repetidores\",\n        \"meta_title\": \"\",\n        \"meta_robots\": \"\",\n        \"storyblok_slug\": \"\",\n        \"seo_name\": \"\",\n        \"is_anchor\": true,\n        \"category_name\": \"Repetidores\",\n        \"breadcrumbs_priority\": \"\",\n        \"include_in_menu\": true,\n        \"is_active\": true,\n        \"meta_keywords\": \"\",\n        \"available_sort_by\": [\n\n        ],\n        \"image\": 3013,\n        \"display_mode\": \"\",\n        \"meta_description\": \"\"\n      },\n      \"local_status\": \"COMPLETE\",\n      \"local_message\": {\n\n      },\n      \"category\": 117,\n      \"template\": 11,\n      \"view\": 2\n    },\n    {\n      \"id\": 293,\n      \"active\": true,\n      \"created_at\": \"2022-12-20T15:46:38.350509+01:00\",\n      \"updated_at\": \"2022-12-21T16:12:53.570207+01:00\",\n      \"information\": {\n        \"bottom_description\": \"\",\n        \"description\": \"\",\n        \"url_key\": \"cctv_system_electronic_receiver_and_transmitter\",\n        \"meta_title\": \"Receivers and Rransmitters\",\n        \"meta_robots\": \"\",\n        \"storyblok_slug\": \"\",\n        \"seo_name\": \"Receivers and Rransmitters\",\n        \"is_anchor\": null,\n        \"category_name\": \"Receivers and Transmitters\",\n        \"breadcrumbs_priority\": \"\",\n        \"include_in_menu\": null,\n        \"is_active\": null,\n        \"meta_keywords\": \"\",\n        \"available_sort_by\": [\n\n        ],\n        \"image\": null,\n        \"display_mode\": \"\",\n        \"meta_description\": \"\"\n      },\n      \"local_status\": \"COMPLETE\",\n      \"local_message\": {\n\n      },\n      \"category\": 116,\n      \"template\": 11,\n      \"view\": 4\n    }\n  ]\n}"}],"_postman_id":"12cf6885-ddab-4886-b169-3e006d2b0b0a"}],"id":"d8e0644b-4f98-4fe8-92e3-0a75c1ed78a1","_postman_id":"d8e0644b-4f98-4fe8-92e3-0a75c1ed78a1","description":""},{"name":"Product","item":[{"name":"P01 - Create product","event":[{"listen":"test","script":{"id":"6442776f-2f9b-4cb1-b712-c81fd3c2ce30","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"ea329676-3626-4e4f-b7f9-34e4c898a40c","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"a9d61f95-14b8-4d88-ac49-82e18f2d77d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sku\": \"{{sku}}\",\n    \"active\": true,\n    \"type\": \"{{product type}}\"\n}"},"url":"https://demo.smartie.io/api/v1/products","description":"<p><a href=\"https://onestic.atlassian.net/wiki/spaces/MANSMAR/pages/300482902/1.-+Creaci+n+de+productos\">Manual de creación de productos</a></p>\n","urlObject":{"path":["v1","products"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"da59728a-61f6-4e33-b3db-50b697c702fe","name":"P01 - Create simple product","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sku\": \"12345\",\n    \"active\": true,\n    \"type\": \"SIMPLE\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/products"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 15091,\n    \"active\": true,\n    \"created_at\": \"2022-02-11T13:57:21.305740+01:00\",\n    \"updated_at\": \"2022-02-11T13:57:21.305775+01:00\",\n    \"sku\": \"12345\",\n    \"type\": \"SIMPLE\"\n}"},{"id":"9d646f18-d4f8-495b-a2b4-c9741829b8e3","name":"P01 - Create abstract product","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sku\": \"12345\",\n    \"active\": true,\n    \"type\": \"ABSTRACT\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/products"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 15091,\n    \"active\": true,\n    \"created_at\": \"2022-02-11T13:57:21.305740+01:00\",\n    \"updated_at\": \"2022-02-11T13:57:21.305775+01:00\",\n    \"sku\": \"12345\",\n    \"type\": \"ABSTRACT\"\n}"}],"_postman_id":"a9d61f95-14b8-4d88-ac49-82e18f2d77d7"},{"name":"P02 - Assign views to products bulk","id":"7672e594-d71b-43cc-81a4-f4321ae78c8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"product_ids\": [\n    {{product_id}},{{product_id}},{{product_id}}\n  ],\n  \"views\": [\n    {\n      \"id\": 4,\n      \"template\": {{template_id}}\n    },\n    {\n      \"id\": 4,\n      \"template\": {{template_id}}\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/products/views/","urlObject":{"path":["v1","products","views",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"16e3bc9e-ee66-4773-99bb-9b45744c769e","name":"P02 - Assign views to products bulk","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"product_ids\":[1199, 1169, 1214, 1146, 1135, 25412, 1196, 1239, 1241, 1177, 1197, 1188, 1172, 1230],\n\"views\": [\n    {\n        \"id\": 78,\n        \"template\": 43 \n    }\n]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/products/views/"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"7672e594-d71b-43cc-81a4-f4321ae78c8a"},{"name":"P03 - Assign views to product","event":[{"listen":"prerequest","script":{"id":"ecadce02-88f7-4e8f-b58f-b23982b4bbad","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"56eb323b-e325-4cc7-934e-e04e497c2679","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"views\": [\n        {\n            \"id\": 78, \n            \"template\": 43 \n            },\n        {\n            \"id\": 75, \n            \"template\": 41 \n            }\n        ]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/products/1/views/","urlObject":{"path":["v1","products","1","views",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"56eb323b-e325-4cc7-934e-e04e497c2679"},{"name":"P04 - Get assigned views","id":"0ced4b54-6ccd-4145-acff-d379db6f4988","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://demo.smartie.io/api/v1/products/1135/assigned-views","urlObject":{"path":["v1","products","1135","assigned-views"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"0ced4b54-6ccd-4145-acff-d379db6f4988"},{"name":"P05 - Get product by sku","id":"27888a0b-ee99-43e2-8d8b-f060f06c96c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://demo.smartie.io/api/v1/products/?sku={{product_sku}}","urlObject":{"path":["v1","products",""],"host":["https://demo.smartie.io/api"],"query":[{"key":"sku","value":"{{product_sku}}"}],"variable":[]}},"response":[{"id":"28c97323-a953-4bee-bb2b-334080f95300","name":"P05 - Get product by sku","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://demo.smartie.io/api/v1/products/?sku=test","host":["https://demo.smartie.io/api"],"path":["v1","products",""],"query":[{"key":"sku","value":"test"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 15090,\n            \"active\": true,\n            \"created_at\": \"2021-10-01T11:15:36.611835+02:00\",\n            \"updated_at\": \"2021-10-01T11:15:36.611888+02:00\",\n            \"sku\": \"test\",\n            \"type\": \"ABSTRACT\"\n        }\n    ]\n}"}],"_postman_id":"27888a0b-ee99-43e2-8d8b-f060f06c96c8"},{"name":"P06 - Delete product by ID","event":[{"listen":"prerequest","script":{"id":"53cdb3e4-5b61-4fcf-8f99-075287584f75","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"97db3f0d-2812-4ac6-b330-081f9af54764","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://demo.smartie.io/api/v1/products/{{product_id}}","urlObject":{"path":["v1","products","{{product_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"113ccf9a-5927-4afc-8f2b-abb93aa03f4b","name":"P06 - Delete product by ID","originalRequest":{"method":"DELETE","header":[],"url":"https://demo.smartie.io/api/v1/products/123"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":""}],"_postman_id":"97db3f0d-2812-4ac6-b330-081f9af54764"},{"name":"P07 - Delete product by SKU","event":[{"listen":"prerequest","script":{"id":"07588a5d-388f-463c-bff1-3324d2ff31ca","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"3b3a3724-2d42-486f-96ef-35d4cd01f412","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"sku\": \"{{prouct_sku}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/products/delete-by-sku/","urlObject":{"path":["v1","products","delete-by-sku",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"c975e0cb-de3b-4805-924c-67dbc75e6ab0","name":"P07 - Delete product by SKU","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sku\": \"123456\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/products/delete-by-sku/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"detail\": [\n        \"successful request\"\n    ]\n}"}],"_postman_id":"3b3a3724-2d42-486f-96ef-35d4cd01f412"},{"name":"P08 - Bulk delete product by ID","event":[{"listen":"prerequest","script":{"id":"adffed85-cf52-4081-b805-14c22638fd39","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"1e896cd4-7809-400d-ba46-1ea1617b0bd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product_ids\": [\n        {{products_ids}}\n    ],\n    \"synchronous\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/products/delete-bulk/","urlObject":{"path":["v1","products","delete-bulk",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"63a36f89-8922-449f-b0d3-ae08f214c6b2","name":"P08 - Bulk delete product by ID","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_ids\": [\n        123,\n        345\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/products/delete-bulk/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"detail\": \"Items are successfully deleted.\"\n}"}],"_postman_id":"1e896cd4-7809-400d-ba46-1ea1617b0bd1"},{"name":"P09 - Add views to products bulk","id":"c02c7950-b62d-47e4-a3d1-390cf433605c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"product_ids\": [\n    {{product_id}},{{product_id}},{{product_id}}\n  ],\n  \"views\": [\n    {\n      \"view_id\": 4,\n      \"template_id\": {{template_id}}\n    },\n    {\n      \"view_id\": 4,\n      \"template_id\": {{template_id}}\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/products/views/add-to-catalogs","urlObject":{"path":["v1","products","views","add-to-catalogs"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"bef2f37f-8b30-4d84-aaa7-8942c660e970","name":"P09 - Add views to products bulk","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product_ids\": [\n        1199,\n        1169,\n        1214,\n        1146,\n        1135,\n        25412,\n        1196,\n        1239,\n        1241,\n        1177,\n        1197,\n        1188,\n        1172,\n        1230\n    ],\n    \"views\": [\n        {\n            \"view_id\": 78,\n            \"template_id\": 43\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/products/views/add-to-catalogs"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"c02c7950-b62d-47e4-a3d1-390cf433605c"},{"name":"P10 - Remove views to products bulk","id":"b32e2851-6286-4ac0-b8cc-70d5f75df404","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"product_ids\": [\n    {{product_id1}},{{product_id2}},{{product_id3}}\n  ],\n  \"views_ids\": [{{view_id1}},{{view_id2}}]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/products/views/remove-from-catalogs","urlObject":{"path":["v1","products","views","remove-from-catalogs"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"22d088a5-b16b-4824-80f1-bf8f3721d3fa","name":"P10 - Remove views to products bulk","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product_ids\": [\n        1199,\n        1169,\n        1214,\n        1146,\n        1135,\n        25412,\n        1196,\n        1239,\n        1241,\n        1177,\n        1197,\n        1188,\n        1172,\n        1230\n    ],\n    \"views_ids\": [\n        78\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/products/views/remove-from-catalogs"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"b32e2851-6286-4ac0-b8cc-70d5f75df404"},{"name":"P11 - Add products to categories","event":[{"listen":"prerequest","script":{"id":"16ad9d2e-6508-45ff-884d-811d9d336995","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"9661d05d-b6dc-4025-a895-7d9ca1a61487","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"view_id\": 4,\n    \"product_ids\": [{{pproduct_ids}}],\n    \"category_ids\": [{{category_ids to add}}]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/products/categories/add","urlObject":{"path":["v2","products","categories","add"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"aec2060d-c706-44f6-84ff-cbf581c0ae20","name":"P11 - Add products to categories","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"view_id\": 1,\n    \"product_ids\": [1,2,3],\n    \"category_ids\": [1,2,3,5]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/products/categories/add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": [\n        \"successful request\"\n    ]\n}"}],"_postman_id":"9661d05d-b6dc-4025-a895-7d9ca1a61487"},{"name":"P12 - Remove products from categories","event":[{"listen":"prerequest","script":{"id":"16ad9d2e-6508-45ff-884d-811d9d336995","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"5cc90f0d-310b-43ae-8492-69c915b04f65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"view_id\": 4,\n    \"product_ids\": [{{pproduct_ids}}],\n    \"category_ids\": [{{category_ids to remove}}]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/products/categories/remove","urlObject":{"path":["v2","products","categories","remove"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"1b6bcf04-9b0b-4c2a-b877-9a48bb69e0d3","name":"P12 - Remove products from categories","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"view_id\": 1,\n    \"product_ids\": [1,2,3],\n    \"category_ids\": [1,5]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/products/categories/remove"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": [\n        \"successful request\"\n    ]\n}"}],"_postman_id":"5cc90f0d-310b-43ae-8492-69c915b04f65"},{"name":"P13 - Product actions","event":[{"listen":"prerequest","script":{"id":"adffed85-cf52-4081-b805-14c22638fd39","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"55f353e9-e7a6-4188-bdbc-8ec301427e6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"views_ids\": [\n        1, 2\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/products/1/publish","urlObject":{"path":["v1","products","1","publish"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"e3f459a0-ff58-48a1-a92e-ef67766b762c","name":"P08 - Bulk delete product by ID","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_ids\": [\n        123,\n        345\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/products/delete-bulk/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"detail\": \"Items are successfully deleted.\"\n}"}],"_postman_id":"55f353e9-e7a6-4188-bdbc-8ec301427e6f"},{"name":"P14 - Product bulk actions","event":[{"listen":"prerequest","script":{"id":"adffed85-cf52-4081-b805-14c22638fd39","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"88b66638-750f-485b-b57d-082fa117e68c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{   \n    \"product_ids\": [1, 2, 3],\n    \"view_ids\": [4, 5]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/products/validate","urlObject":{"path":["v1","products","validate"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"5c0e1ec8-132a-45ad-96a5-6b55513a3be8","name":"P08 - Bulk delete product by ID","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_ids\": [\n        123,\n        345\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/products/delete-bulk/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"detail\": \"Items are successfully deleted.\"\n}"}],"_postman_id":"88b66638-750f-485b-b57d-082fa117e68c"},{"name":"P15 - Product stock update","event":[{"listen":"prerequest","script":{"id":"adffed85-cf52-4081-b805-14c22638fd39","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"2690109b-d8e1-4193-bf58-2c35e8cd7ea1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n    \"warehouse\": 3,\n    \"quantity\": 25\n    },\n    {\n    \"warehouse\": 1,\n    \"quantity\": 50\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/products/{{product_id}}/stock","urlObject":{"path":["v1","products","{{product_id}}","stock"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"2690109b-d8e1-4193-bf58-2c35e8cd7ea1"}],"id":"6ca5893b-0000-4436-bc48-07075cba66cb","description":"<p><a href=\"https://onestic.atlassian.net/wiki/spaces/MANSMAR/pages/297271323/Productos\">Documentación sobre productos</a></p>\n","_postman_id":"6ca5893b-0000-4436-bc48-07075cba66cb"},{"name":"Product Views","item":[{"name":"PV01 - Search product views","event":[{"listen":"test","script":{"id":"3c339e9c-4425-4684-b910-208a4d51b425","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"f0b79374-f424-4463-a8ad-a7b87a0a3aba","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"f935a34d-52d5-44ce-8def-76647e3c6a83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"pagination\":{\n        \"page\":1,\n        \"page_size\":20,\n        \"startRow\":0,\n        \"endRow\":20\n    },\n    \"sort\":[\"product_view_categories__position\"],\n    \"filters\":{}\n}"},"url":"https://demo.smartie.io/api/ui/views/4/product-views/search/","urlObject":{"path":["ui","views","4","product-views","search",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"92bbad81-61c3-4795-9776-5b1c60df1c04","name":"PV01 - Search product views - Get product views for a list of skus","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"pagination\":{\n        \"page\":1,\n        \"page_size\":20,\n        \"startRow\":0,\n        \"endRow\":20\n    },\n    \"filters\":{\n        \"product__sku__in\": [\"test\", \"3029481\", \"2020195\"]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/ui/views/1/product-views/search/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 3,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 15090,\n            \"main_image\": null,\n            \"has_any_categories\": false,\n            \"position_in_category\": 0,\n            \"product\": {\n                \"id\": 15090,\n                \"product_view_information\": {\n                    \"brand\": \"\",\n                    \"videoUrl\": \"\",\n                    \"coleccion\": \"\",\n                    \"page-description\": \"\",\n                    \"unidadMedidas\": \"\",\n                    \"size\": \"\",\n                    \"ventas\": null,\n                    \"refinementColor\": \"\",\n                    \"composition\": \"\",\n                    \"packs\": \"\",\n                    \"ean\": \"\",\n                    \"features\": [],\n                    \"Marca\": \"\",\n                    \"manufacturer-sku\": \"\",\n                    \"collection\": \"\",\n                    \"volumen\": \"\",\n                    \"color\": \"\",\n                    \"product_type\": \"\",\n                    \"sitemap-included-flag\": true,\n                    \"min-order-quantity\": 1.0,\n                    \"assembly_time\": \"\",\n                    \"weight_unit\": \"\",\n                    \"productIcons\": [],\n                    \"searchable-if-unavailable-flag\": true,\n                    \"model\": \"\",\n                    \"label\": [],\n                    \"temporada\": \"\",\n                    \"specifications\": \"\",\n                    \"deliveryTime\": 2,\n                    \"dimDepth2\": null,\n                    \"erp-name\": \"\",\n                    \"measure_of_each_part\": \"\",\n                    \"assembly_instruccions\": \"\",\n                    \"page-title\": \"\",\n                    \"step-quantity\": 1.0,\n                    \"special_price\": null,\n                    \"dimWeight2\": null,\n                    \"special_price_to\": null,\n                    \"tax-class-id\": \"\",\n                    \"material\": \"\",\n                    \"price\": null,\n                    \"status\": \"\",\n                    \"dimHeight2\": null,\n                    \"unit\": \"\",\n                    \"page-url\": \"\",\n                    \"searchable-flag\": true,\n                    \"unidadVolumen\": \"\",\n                    \"deliveryType\": \"\",\n                    \"care\": [],\n                    \"unidad-base\": \"\",\n                    \"dimWidth2\": null,\n                    \"estancias\": [],\n                    \"manufacturer-name\": \"\",\n                    \"long-description\": \"\",\n                    \"page-keywords\": \"\",\n                    \"availableForInStorePickup\": true,\n                    \"display-name\": \"\",\n                    \"short-description\": \"\",\n                    \"dimHeight\": \"\",\n                    \"style\": [],\n                    \"special_price_from\": null\n                },\n                \"sku\": \"test\",\n                \"type\": \"ABSTRACT\",\n                \"active\": true,\n                \"stocks__quantity\": 0,\n                \"created_at\": \"2021-10-01T11:15:36.611835+02:00\",\n                \"updated_at\": \"2021-10-01T11:15:36.611888+02:00\"\n            },\n            \"active\": true,\n            \"created_at\": \"2021-10-01T11:15:43.124839+02:00\",\n            \"updated_at\": \"2021-10-01T11:15:43.124914+02:00\",\n            \"information\": {\n                \"brand\": \"\",\n                \"videoUrl\": \"\",\n                \"coleccion\": \"\",\n                \"page-description\": \"\",\n                \"unidadMedidas\": \"\",\n                \"size\": \"\",\n                \"ventas\": null,\n                \"refinementColor\": \"\",\n                \"composition\": \"\",\n                \"packs\": \"\",\n                \"ean\": \"\",\n                \"features\": [],\n                \"Marca\": \"\",\n                \"manufacturer-sku\": \"\",\n                \"collection\": \"\",\n                \"volumen\": \"\",\n                \"color\": \"\",\n                \"product_type\": \"\",\n                \"sitemap-included-flag\": true,\n                \"min-order-quantity\": 1.0,\n                \"assembly_time\": \"\",\n                \"weight_unit\": \"\",\n                \"productIcons\": [],\n                \"searchable-if-unavailable-flag\": true,\n                \"model\": \"\",\n                \"label\": [],\n                \"temporada\": \"\",\n                \"specifications\": \"\",\n                \"deliveryTime\": 2,\n                \"dimDepth2\": null,\n                \"erp-name\": \"\",\n                \"measure_of_each_part\": \"\",\n                \"assembly_instruccions\": \"\",\n                \"page-title\": \"\",\n                \"step-quantity\": 1.0,\n                \"special_price\": null,\n                \"dimWeight2\": null,\n                \"special_price_to\": null,\n                \"tax-class-id\": \"\",\n                \"material\": \"\",\n                \"price\": null,\n                \"status\": \"\",\n                \"dimHeight2\": null,\n                \"unit\": \"\",\n                \"page-url\": \"\",\n                \"searchable-flag\": true,\n                \"unidadVolumen\": \"\",\n                \"deliveryType\": \"\",\n                \"care\": [],\n                \"unidad-base\": \"\",\n                \"dimWidth2\": null,\n                \"estancias\": [],\n                \"manufacturer-name\": \"\",\n                \"long-description\": \"\",\n                \"page-keywords\": \"\",\n                \"availableForInStorePickup\": true,\n                \"display-name\": \"\",\n                \"short-description\": \"\",\n                \"dimHeight\": \"\",\n                \"style\": [],\n                \"special_price_from\": null\n            },\n            \"sync_request\": \"\",\n            \"sync_status\": \"UNSYNCHRONIZED\",\n            \"local_status\": \"COMPLETE\",\n            \"sync_message\": {},\n            \"local_message\": {},\n            \"is_locked\": false,\n            \"template\": 1,\n            \"view\": 1,\n            \"medias\": [],\n            \"categories\": []\n        },\n        {\n            \"id\": 15087,\n            \"main_image\": null,\n            \"has_any_categories\": false,\n            \"position_in_category\": 0,\n            \"product\": {\n                \"id\": 15087,\n                \"product_view_information\": {\n                    \"brand\": \"\",\n                    \"videoUrl\": \"\",\n                    \"coleccion\": \"\",\n                    \"page-description\": \"\",\n                    \"unidadMedidas\": \"\",\n                    \"size\": \"\",\n                    \"ventas\": 30.0,\n                    \"refinementColor\": \"NEGRO\",\n                    \"composition\": \"\",\n                    \"packs\": \"\",\n                    \"ean\": \"719812019611\",\n                    \"features\": [],\n                    \"Marca\": \"\",\n                    \"manufacturer-sku\": \"\",\n                    \"collection\": \"\",\n                    \"volumen\": \"0.000\",\n                    \"color\": \"\",\n                    \"product_type\": \"\",\n                    \"sitemap-included-flag\": true,\n                    \"min-order-quantity\": 1.0,\n                    \"assembly_time\": \"\",\n                    \"weight_unit\": \"KG\",\n                    \"productIcons\": [],\n                    \"searchable-if-unavailable-flag\": true,\n                    \"model\": \"\",\n                    \"label\": [],\n                    \"temporada\": \"\",\n                    \"specifications\": \"\",\n                    \"deliveryTime\": 2,\n                    \"dimDepth2\": null,\n                    \"erp-name\": \"Tijeras Cocina\",\n                    \"measure_of_each_part\": \"\",\n                    \"assembly_instruccions\": \"\",\n                    \"page-title\": \"\",\n                    \"step-quantity\": 1.0,\n                    \"special_price\": 0.0,\n                    \"dimWeight2\": null,\n                    \"special_price_to\": null,\n                    \"tax-class-id\": \"standard\",\n                    \"material\": \"ACERO INOXIDABLE\",\n                    \"price\": 19.95,\n                    \"status\": \"Z3\",\n                    \"dimHeight2\": null,\n                    \"unit\": \"\",\n                    \"page-url\": \"\",\n                    \"searchable-flag\": true,\n                    \"unidadVolumen\": \"\",\n                    \"deliveryType\": \"\",\n                    \"care\": [],\n                    \"unidad-base\": \"ST\",\n                    \"dimWidth2\": null,\n                    \"estancias\": [],\n                    \"manufacturer-name\": \"\",\n                    \"long-description\": \"\",\n                    \"page-keywords\": \"\",\n                    \"availableForInStorePickup\": true,\n                    \"display-name\": \"\",\n                    \"short-description\": \"\",\n                    \"dimHeight\": \"0.000\",\n                    \"style\": [],\n                    \"special_price_from\": null\n                },\n                \"sku\": \"3029481\",\n                \"type\": \"SIMPLE\",\n                \"active\": true,\n                \"stocks__quantity\": 0,\n                \"created_at\": \"2021-08-12T17:03:42.383695+02:00\",\n                \"updated_at\": \"2021-08-12T17:03:42.383712+02:00\"\n            },\n            \"active\": true,\n            \"created_at\": \"2021-08-12T17:03:43.755928+02:00\",\n            \"updated_at\": \"2021-08-12T17:03:43.755945+02:00\",\n            \"information\": {\n                \"brand\": \"\",\n                \"videoUrl\": \"\",\n                \"coleccion\": \"\",\n                \"page-description\": \"\",\n                \"unidadMedidas\": \"\",\n                \"size\": \"\",\n                \"ventas\": 30.0,\n                \"refinementColor\": \"NEGRO\",\n                \"composition\": \"\",\n                \"packs\": \"\",\n                \"ean\": \"719812019611\",\n                \"features\": [],\n                \"Marca\": \"\",\n                \"manufacturer-sku\": \"\",\n                \"collection\": \"\",\n                \"volumen\": \"0.000\",\n                \"color\": \"\",\n                \"product_type\": \"\",\n                \"sitemap-included-flag\": true,\n                \"min-order-quantity\": 1.0,\n                \"assembly_time\": \"\",\n                \"weight_unit\": \"KG\",\n                \"productIcons\": [],\n                \"searchable-if-unavailable-flag\": true,\n                \"model\": \"\",\n                \"label\": [],\n                \"temporada\": \"\",\n                \"specifications\": \"\",\n                \"deliveryTime\": 2,\n                \"dimDepth2\": null,\n                \"erp-name\": \"Tijeras Cocina\",\n                \"measure_of_each_part\": \"\",\n                \"assembly_instruccions\": \"\",\n                \"page-title\": \"\",\n                \"step-quantity\": 1.0,\n                \"special_price\": 0.0,\n                \"dimWeight2\": null,\n                \"special_price_to\": null,\n                \"tax-class-id\": \"standard\",\n                \"material\": \"ACERO INOXIDABLE\",\n                \"price\": 19.95,\n                \"status\": \"Z3\",\n                \"dimHeight2\": null,\n                \"unit\": \"\",\n                \"page-url\": \"\",\n                \"searchable-flag\": true,\n                \"unidadVolumen\": \"\",\n                \"deliveryType\": \"\",\n                \"care\": [],\n                \"unidad-base\": \"ST\",\n                \"dimWidth2\": null,\n                \"estancias\": [],\n                \"manufacturer-name\": \"\",\n                \"long-description\": \"\",\n                \"page-keywords\": \"\",\n                \"availableForInStorePickup\": true,\n                \"display-name\": \"\",\n                \"short-description\": \"\",\n                \"dimHeight\": \"0.000\",\n                \"style\": [],\n                \"special_price_from\": null\n            },\n            \"sync_request\": \"\",\n            \"sync_status\": \"UNSYNCHRONIZED\",\n            \"local_status\": \"COMPLETE\",\n            \"sync_message\": {},\n            \"local_message\": {},\n            \"is_locked\": false,\n            \"template\": 1,\n            \"view\": 1,\n            \"medias\": [],\n            \"categories\": []\n        },\n        {\n            \"id\": 15084,\n            \"main_image\": null,\n            \"has_any_categories\": false,\n            \"position_in_category\": 0,\n            \"product\": {\n                \"id\": 15084,\n                \"product_view_information\": {\n                    \"brand\": \"\",\n                    \"videoUrl\": \"\",\n                    \"coleccion\": \"Alice\",\n                    \"page-description\": \"\",\n                    \"unidadMedidas\": \"CM\",\n                    \"size\": \"\",\n                    \"ventas\": 0.0,\n                    \"refinementColor\": \"ROSA\",\n                    \"composition\": \"\",\n                    \"packs\": \"\",\n                    \"ean\": \"8414061468198\",\n                    \"features\": [],\n                    \"Marca\": \"\",\n                    \"manufacturer-sku\": \"\",\n                    \"collection\": \"\",\n                    \"volumen\": \"1.983\",\n                    \"color\": \"\",\n                    \"product_type\": \"\",\n                    \"sitemap-included-flag\": true,\n                    \"min-order-quantity\": 1.0,\n                    \"assembly_time\": \"\",\n                    \"weight_unit\": \"KG\",\n                    \"productIcons\": [],\n                    \"searchable-if-unavailable-flag\": true,\n                    \"model\": \"\",\n                    \"label\": [],\n                    \"temporada\": \"\",\n                    \"specifications\": \"\",\n                    \"deliveryTime\": 2,\n                    \"dimDepth2\": null,\n                    \"erp-name\": \"Silla plástico rosa Alice 47x52cm\",\n                    \"measure_of_each_part\": \"\",\n                    \"assembly_instruccions\": \"\",\n                    \"page-title\": \"\",\n                    \"step-quantity\": 1.0,\n                    \"special_price\": 49.99,\n                    \"dimWeight2\": null,\n                    \"special_price_to\": null,\n                    \"tax-class-id\": \"standard\",\n                    \"material\": \"POLIPROPILENO\",\n                    \"price\": 59.99,\n                    \"status\": \"Z1\",\n                    \"dimHeight2\": null,\n                    \"unit\": \"\",\n                    \"page-url\": \"\",\n                    \"searchable-flag\": true,\n                    \"unidadVolumen\": \"HL\",\n                    \"deliveryType\": \"\",\n                    \"care\": [],\n                    \"unidad-base\": \"ST\",\n                    \"dimWidth2\": null,\n                    \"estancias\": [],\n                    \"manufacturer-name\": \"\",\n                    \"long-description\": \"\",\n                    \"page-keywords\": \"\",\n                    \"availableForInStorePickup\": true,\n                    \"display-name\": \"\",\n                    \"short-description\": \"\",\n                    \"dimHeight\": \"82.000\",\n                    \"style\": [],\n                    \"special_price_from\": null\n                },\n                \"sku\": \"2020195\",\n                \"type\": \"SIMPLE\",\n                \"active\": true,\n                \"stocks__quantity\": 0,\n                \"created_at\": \"2021-08-12T17:03:39.238277+02:00\",\n                \"updated_at\": \"2021-08-12T17:03:39.238282+02:00\"\n            },\n            \"active\": true,\n            \"created_at\": \"2021-08-12T17:03:40.661479+02:00\",\n            \"updated_at\": \"2021-08-12T17:03:40.661485+02:00\",\n            \"information\": {\n                \"brand\": \"\",\n                \"videoUrl\": \"\",\n                \"coleccion\": \"Alice\",\n                \"page-description\": \"\",\n                \"unidadMedidas\": \"CM\",\n                \"size\": \"\",\n                \"ventas\": 0.0,\n                \"refinementColor\": \"ROSA\",\n                \"composition\": \"\",\n                \"packs\": \"\",\n                \"ean\": \"8414061468198\",\n                \"features\": [],\n                \"Marca\": \"\",\n                \"manufacturer-sku\": \"\",\n                \"collection\": \"\",\n                \"volumen\": \"1.983\",\n                \"color\": \"\",\n                \"product_type\": \"\",\n                \"sitemap-included-flag\": true,\n                \"min-order-quantity\": 1.0,\n                \"assembly_time\": \"\",\n                \"weight_unit\": \"KG\",\n                \"productIcons\": [],\n                \"searchable-if-unavailable-flag\": true,\n                \"model\": \"\",\n                \"label\": [],\n                \"temporada\": \"\",\n                \"specifications\": \"\",\n                \"deliveryTime\": 2,\n                \"dimDepth2\": null,\n                \"erp-name\": \"Silla plástico rosa Alice 47x52cm\",\n                \"measure_of_each_part\": \"\",\n                \"assembly_instruccions\": \"\",\n                \"page-title\": \"\",\n                \"step-quantity\": 1.0,\n                \"special_price\": 49.99,\n                \"dimWeight2\": null,\n                \"special_price_to\": null,\n                \"tax-class-id\": \"standard\",\n                \"material\": \"POLIPROPILENO\",\n                \"price\": 59.99,\n                \"status\": \"Z1\",\n                \"dimHeight2\": null,\n                \"unit\": \"\",\n                \"page-url\": \"\",\n                \"searchable-flag\": true,\n                \"unidadVolumen\": \"HL\",\n                \"deliveryType\": \"\",\n                \"care\": [],\n                \"unidad-base\": \"ST\",\n                \"dimWidth2\": null,\n                \"estancias\": [],\n                \"manufacturer-name\": \"\",\n                \"long-description\": \"\",\n                \"page-keywords\": \"\",\n                \"availableForInStorePickup\": true,\n                \"display-name\": \"\",\n                \"short-description\": \"\",\n                \"dimHeight\": \"82.000\",\n                \"style\": [],\n                \"special_price_from\": null\n            },\n            \"sync_request\": \"\",\n            \"sync_status\": \"UNSYNCHRONIZED\",\n            \"local_status\": \"COMPLETE\",\n            \"sync_message\": {},\n            \"local_message\": {},\n            \"is_locked\": false,\n            \"template\": 1,\n            \"view\": 1,\n            \"medias\": [],\n            \"categories\": []\n        }\n    ]\n}"},{"id":"de8dc23b-3fd5-4a25-9be8-d096abc652e1","name":"PV01 - Search product views - Get product views for a list of skus Copy","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"pagination\":{\n        \"page\":1,\n        \"page_size\":20,\n        \"startRow\":0,\n        \"endRow\":20\n    },\n    \"filters\":{\n        \"product__sku\": \"test\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/ui/views/4/product-views/search/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 15090,\n            \"main_image\": null,\n            \"has_any_categories\": false,\n            \"position_in_category\": 0,\n            \"product\": {\n                \"id\": 15090,\n                \"product_view_information\": {\n                    \"brand\": \"\",\n                    \"videoUrl\": \"\",\n                    \"coleccion\": \"\",\n                    \"page-description\": \"\",\n                    \"unidadMedidas\": \"\",\n                    \"size\": \"\",\n                    \"ventas\": null,\n                    \"refinementColor\": \"\",\n                    \"composition\": \"\",\n                    \"packs\": \"\",\n                    \"ean\": \"\",\n                    \"features\": [],\n                    \"Marca\": \"\",\n                    \"manufacturer-sku\": \"\",\n                    \"collection\": \"\",\n                    \"volumen\": \"\",\n                    \"color\": \"\",\n                    \"product_type\": \"\",\n                    \"sitemap-included-flag\": true,\n                    \"min-order-quantity\": 1,\n                    \"assembly_time\": \"\",\n                    \"weight_unit\": \"\",\n                    \"productIcons\": [],\n                    \"searchable-if-unavailable-flag\": true,\n                    \"model\": \"\",\n                    \"label\": [],\n                    \"temporada\": \"\",\n                    \"specifications\": \"\",\n                    \"deliveryTime\": 2,\n                    \"dimDepth2\": null,\n                    \"erp-name\": \"\",\n                    \"measure_of_each_part\": \"\",\n                    \"assembly_instruccions\": \"\",\n                    \"page-title\": \"\",\n                    \"step-quantity\": 1,\n                    \"special_price\": null,\n                    \"dimWeight2\": null,\n                    \"special_price_to\": null,\n                    \"tax-class-id\": \"\",\n                    \"material\": \"\",\n                    \"price\": null,\n                    \"status\": \"\",\n                    \"dimHeight2\": null,\n                    \"unit\": \"\",\n                    \"page-url\": \"\",\n                    \"searchable-flag\": true,\n                    \"unidadVolumen\": \"\",\n                    \"deliveryType\": \"\",\n                    \"care\": [],\n                    \"unidad-base\": \"\",\n                    \"dimWidth2\": null,\n                    \"estancias\": [],\n                    \"manufacturer-name\": \"\",\n                    \"long-description\": \"\",\n                    \"page-keywords\": \"\",\n                    \"availableForInStorePickup\": true,\n                    \"display-name\": \"\",\n                    \"short-description\": \"\",\n                    \"dimHeight\": \"\",\n                    \"style\": [],\n                    \"special_price_from\": null\n                },\n                \"sku\": \"test\",\n                \"type\": \"ABSTRACT\",\n                \"active\": true,\n                \"stocks__quantity\": 0,\n                \"created_at\": \"2021-10-01T11:15:36.611835+02:00\",\n                \"updated_at\": \"2021-10-01T11:15:36.611888+02:00\"\n            },\n            \"active\": true,\n            \"created_at\": \"2021-10-01T11:15:43.124839+02:00\",\n            \"updated_at\": \"2021-10-01T11:15:43.124914+02:00\",\n            \"information\": {\n                \"brand\": \"\",\n                \"videoUrl\": \"\",\n                \"coleccion\": \"\",\n                \"page-description\": \"\",\n                \"unidadMedidas\": \"\",\n                \"size\": \"\",\n                \"ventas\": null,\n                \"refinementColor\": \"\",\n                \"composition\": \"\",\n                \"packs\": \"\",\n                \"ean\": \"\",\n                \"features\": [],\n                \"Marca\": \"\",\n                \"manufacturer-sku\": \"\",\n                \"collection\": \"\",\n                \"volumen\": \"\",\n                \"color\": \"\",\n                \"product_type\": \"\",\n                \"sitemap-included-flag\": true,\n                \"min-order-quantity\": 1,\n                \"assembly_time\": \"\",\n                \"weight_unit\": \"\",\n                \"productIcons\": [],\n                \"searchable-if-unavailable-flag\": true,\n                \"model\": \"\",\n                \"label\": [],\n                \"temporada\": \"\",\n                \"specifications\": \"\",\n                \"deliveryTime\": 2,\n                \"dimDepth2\": null,\n                \"erp-name\": \"\",\n                \"measure_of_each_part\": \"\",\n                \"assembly_instruccions\": \"\",\n                \"page-title\": \"\",\n                \"step-quantity\": 1,\n                \"special_price\": null,\n                \"dimWeight2\": null,\n                \"special_price_to\": null,\n                \"tax-class-id\": \"\",\n                \"material\": \"\",\n                \"price\": null,\n                \"status\": \"\",\n                \"dimHeight2\": null,\n                \"unit\": \"\",\n                \"page-url\": \"\",\n                \"searchable-flag\": true,\n                \"unidadVolumen\": \"\",\n                \"deliveryType\": \"\",\n                \"care\": [],\n                \"unidad-base\": \"\",\n                \"dimWidth2\": null,\n                \"estancias\": [],\n                \"manufacturer-name\": \"\",\n                \"long-description\": \"\",\n                \"page-keywords\": \"\",\n                \"availableForInStorePickup\": true,\n                \"display-name\": \"\",\n                \"short-description\": \"\",\n                \"dimHeight\": \"\",\n                \"style\": [],\n                \"special_price_from\": null\n            },\n            \"sync_request\": \"\",\n            \"sync_status\": \"UNSYNCHRONIZED\",\n            \"local_status\": \"COMPLETE\",\n            \"sync_message\": {},\n            \"local_message\": {},\n            \"is_locked\": false,\n            \"template\": 1,\n            \"view\": 1,\n            \"medias\": [],\n            \"categories\": []\n        }\n    ]\n}"},{"id":"a0a96a49-8175-4101-a74f-d333c336aadc","name":"PV01 - Search product views - Get product views with locale to get translations","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"pagination\":{\n        \"page\":1,\n        \"page_size\":20,\n        \"startRow\":0,\n        \"endRow\":20\n    },\n    \"filters\":{\n        \"product__sku\": \"test\"\n    },\n    \"locale\": \"EN\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/ui/views/4/product-views/search/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 15090,\n            \"main_image\": null,\n            \"has_any_categories\": false,\n            \"position_in_category\": 0,\n            \"product\": {\n                \"id\": 15090,\n                \"product_view_information\": {\n                    \"brand\": \"\",\n                    \"videoUrl\": \"\",\n                    \"coleccion\": \"\",\n                    \"page-description\": \"\",\n                    \"unidadMedidas\": \"\",\n                    \"size\": \"\",\n                    \"ventas\": null,\n                    \"refinementColor\": \"\",\n                    \"composition\": \"\",\n                    \"packs\": \"\",\n                    \"ean\": \"\",\n                    \"features\": [],\n                    \"Marca\": \"\",\n                    \"manufacturer-sku\": \"\",\n                    \"collection\": \"\",\n                    \"volumen\": \"\",\n                    \"color\": \"\",\n                    \"product_type\": \"\",\n                    \"sitemap-included-flag\": true,\n                    \"min-order-quantity\": 1,\n                    \"assembly_time\": \"\",\n                    \"weight_unit\": \"\",\n                    \"productIcons\": [],\n                    \"searchable-if-unavailable-flag\": true,\n                    \"model\": \"\",\n                    \"label\": [],\n                    \"temporada\": \"\",\n                    \"specifications\": \"\",\n                    \"deliveryTime\": 2,\n                    \"dimDepth2\": null,\n                    \"erp-name\": \"\",\n                    \"measure_of_each_part\": \"\",\n                    \"assembly_instruccions\": \"\",\n                    \"page-title\": \"\",\n                    \"step-quantity\": 1,\n                    \"special_price\": null,\n                    \"dimWeight2\": null,\n                    \"special_price_to\": null,\n                    \"tax-class-id\": \"\",\n                    \"material\": \"\",\n                    \"price\": null,\n                    \"status\": \"\",\n                    \"dimHeight2\": null,\n                    \"unit\": \"\",\n                    \"page-url\": \"\",\n                    \"searchable-flag\": true,\n                    \"unidadVolumen\": \"\",\n                    \"deliveryType\": \"\",\n                    \"care\": [],\n                    \"unidad-base\": \"\",\n                    \"dimWidth2\": null,\n                    \"estancias\": [],\n                    \"manufacturer-name\": \"\",\n                    \"long-description\": \"\",\n                    \"page-keywords\": \"\",\n                    \"availableForInStorePickup\": true,\n                    \"display-name\": \"\",\n                    \"short-description\": \"\",\n                    \"dimHeight\": \"\",\n                    \"style\": [],\n                    \"special_price_from\": null\n                },\n                \"sku\": \"test\",\n                \"type\": \"ABSTRACT\",\n                \"active\": true,\n                \"stocks__quantity\": 0,\n                \"created_at\": \"2021-10-01T11:15:36.611835+02:00\",\n                \"updated_at\": \"2021-10-01T11:15:36.611888+02:00\"\n            },\n            \"active\": true,\n            \"created_at\": \"2021-10-01T11:15:43.124839+02:00\",\n            \"updated_at\": \"2021-10-01T11:15:43.124914+02:00\",\n            \"information\": {\n                \"brand\": \"\",\n                \"videoUrl\": \"\",\n                \"coleccion\": \"\",\n                \"page-description\": \"\",\n                \"unidadMedidas\": \"\",\n                \"size\": \"\",\n                \"ventas\": null,\n                \"refinementColor\": \"\",\n                \"composition\": \"\",\n                \"packs\": \"\",\n                \"ean\": \"\",\n                \"features\": [],\n                \"Marca\": \"\",\n                \"manufacturer-sku\": \"\",\n                \"collection\": \"\",\n                \"volumen\": \"\",\n                \"color\": \"\",\n                \"product_type\": \"\",\n                \"sitemap-included-flag\": true,\n                \"min-order-quantity\": 1,\n                \"assembly_time\": \"\",\n                \"weight_unit\": \"\",\n                \"productIcons\": [],\n                \"searchable-if-unavailable-flag\": true,\n                \"model\": \"\",\n                \"label\": [],\n                \"temporada\": \"\",\n                \"specifications\": \"\",\n                \"deliveryTime\": 2,\n                \"dimDepth2\": null,\n                \"erp-name\": \"\",\n                \"measure_of_each_part\": \"\",\n                \"assembly_instruccions\": \"\",\n                \"page-title\": \"\",\n                \"step-quantity\": 1,\n                \"special_price\": null,\n                \"dimWeight2\": null,\n                \"special_price_to\": null,\n                \"tax-class-id\": \"\",\n                \"material\": \"\",\n                \"price\": null,\n                \"status\": \"\",\n                \"dimHeight2\": null,\n                \"unit\": \"\",\n                \"page-url\": \"\",\n                \"searchable-flag\": true,\n                \"unidadVolumen\": \"\",\n                \"deliveryType\": \"\",\n                \"care\": [],\n                \"unidad-base\": \"\",\n                \"dimWidth2\": null,\n                \"estancias\": [],\n                \"manufacturer-name\": \"\",\n                \"long-description\": \"\",\n                \"page-keywords\": \"\",\n                \"availableForInStorePickup\": true,\n                \"display-name\": \"\",\n                \"short-description\": \"\",\n                \"dimHeight\": \"\",\n                \"style\": [],\n                \"special_price_from\": null\n            },\n            \"sync_request\": \"\",\n            \"sync_status\": \"UNSYNCHRONIZED\",\n            \"local_status\": \"COMPLETE\",\n            \"sync_message\": {},\n            \"local_message\": {},\n            \"is_locked\": false,\n            \"template\": 1,\n            \"view\": 1,\n            \"medias\": [],\n            \"categories\": []\n        }\n    ]\n}"}],"_postman_id":"f935a34d-52d5-44ce-8def-76647e3c6a83"},{"name":"PV02 - Get product view UI data","event":[{"listen":"test","script":{"id":"42676fc4-b783-49f0-ac05-f5d7e958c6e6","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"4fcb208b-3364-4d72-a667-e8271437cb05","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"773f20e8-c3fc-420b-ad42-e1a14badac04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/ui/product-views/product-id/{{product-id}}/view-id/4","urlObject":{"path":["ui","product-views","product-id","{{product-id}}","view-id","4"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"d6a9e8d3-ee75-4878-ae6f-535c094dcb99","name":"PV02 - Get product view UI data","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/ui/product-views/product-id/10/view-id/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 15091,\n    \"main_image\": \"http://localhost:8000/medias/image/c9d1/3048992.jpg\",\n    \"has_any_categories\": false,\n    \"position_in_category\": 0,\n    \"product\": {\n        \"id\": 10,\n        \"product_view_information\": {\n            \"searchable-flag\": true,\n            \"manufacturer-sku\": \"\",\n            \"page-title\": \"\",\n            \"refinementColor\": \"\",\n            \"specifications\": \"\",\n            \"min-order-quantity\": 1.0,\n            \"deliveryType\": \"\",\n            \"special_price\": null,\n            \"measure_of_each_part\": \"\",\n            \"price\": null,\n            \"dimDepth2\": null,\n            \"estancias\": [],\n            \"special_price_to\": null,\n            \"status\": \"\",\n            \"unit\": \"\",\n            \"volumen\": \"\",\n            \"weight_unit\": \"\",\n            \"videoUrl\": \"\",\n            \"coleccion\": \"\",\n            \"collection\": \"\",\n            \"features\": [],\n            \"color\": \"\",\n            \"dimHeight2\": null,\n            \"ventas\": null,\n            \"manufacturer-name\": \"\",\n            \"dimHeight\": \"\",\n            \"brand\": \"\",\n            \"model\": \"\",\n            \"page-description\": \"\",\n            \"packs\": \"\",\n            \"ean\": \"8435304858545\",\n            \"sitemap-included-flag\": true,\n            \"style\": [],\n            \"size\": \"\",\n            \"assembly_instruccions\": \"\",\n            \"care\": [],\n            \"deliveryTime\": 2,\n            \"unidad-base\": \"\",\n            \"page-keywords\": \"\",\n            \"short-description\": \"\",\n            \"productIcons\": [],\n            \"special_price_from\": null,\n            \"material\": \"\",\n            \"page-url\": \"\",\n            \"tax-class-id\": \"\",\n            \"dimWeight2\": null,\n            \"long-description\": \"\",\n            \"product_type\": \"\",\n            \"erp-name\": \"\",\n            \"availableForInStorePickup\": true,\n            \"Marca\": \"\",\n            \"composition\": \"\",\n            \"unidadMedidas\": \"\",\n            \"dimWidth2\": null,\n            \"display-name\": \"\",\n            \"label\": [],\n            \"assembly_time\": \"\",\n            \"searchable-if-unavailable-flag\": true,\n            \"step-quantity\": 1.0,\n            \"unidadVolumen\": \"\",\n            \"temporada\": \"\"\n        },\n        \"sku\": \"3048992\",\n        \"type\": \"SIMPLE\",\n        \"active\": true,\n        \"stocks__quantity\": 0,\n        \"created_at\": \"2021-06-30T14:25:25.854205+02:00\",\n        \"updated_at\": \"2021-08-12T17:05:01.482417+02:00\"\n    },\n    \"template\": {\n        \"id\": 1,\n        \"attributes\": [\n            {\n                \"id\": 103,\n                \"active\": true,\n                \"created_at\": \"2021-06-28T14:15:12.519294Z\",\n                \"updated_at\": \"2021-06-28T14:15:12.519316Z\",\n                \"name\": \"Unidad Base\",\n                \"code\": \"unidad-base\",\n                \"type\": \"TEXT\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 1,\n                \"group\": \"0.Internos\",\n                \"template\": 1,\n                \"attribute\": 103\n            },\n            {\n                \"id\": 102,\n                \"active\": true,\n                \"created_at\": \"2021-06-28T11:52:52.630062Z\",\n                \"updated_at\": \"2021-06-28T11:52:52.630081Z\",\n                \"name\": \"ERP Colección\",\n                \"code\": \"coleccion\",\n                \"type\": \"TEXT\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 2,\n                \"group\": \"0.Internos\",\n                \"template\": 1,\n                \"attribute\": 102\n            },\n            {\n                \"id\": 104,\n                \"active\": true,\n                \"created_at\": \"2021-06-28T14:18:51.480592Z\",\n                \"updated_at\": \"2021-06-28T14:18:51.480609Z\",\n                \"name\": \"Volumen\",\n                \"code\": \"volumen\",\n                \"type\": \"TEXT\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 3,\n                \"group\": \"0.Internos\",\n                \"template\": 1,\n                \"attribute\": 104\n            },\n            {\n                \"id\": 105,\n                \"active\": true,\n                \"created_at\": \"2021-06-28T14:20:59.361266Z\",\n                \"updated_at\": \"2021-06-28T14:20:59.361290Z\",\n                \"name\": \"Medida volumen\",\n                \"code\": \"unidadVolumen\",\n                \"type\": \"TEXT\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 4,\n                \"group\": \"0.Internos\",\n                \"template\": 1,\n                \"attribute\": 105\n            },\n            {\n                \"id\": 106,\n                \"active\": true,\n                \"created_at\": \"2021-06-28T14:26:28.853091Z\",\n                \"updated_at\": \"2021-06-28T14:26:28.853111Z\",\n                \"name\": \"Ventas\",\n                \"code\": \"ventas\",\n                \"type\": \"NUMBER_DECIMAL\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 5,\n                \"group\": \"0.Internos\",\n                \"template\": 1,\n                \"attribute\": 106\n            },\n            {\n                \"id\": 107,\n                \"active\": true,\n                \"created_at\": \"2021-06-28T14:27:14.358569Z\",\n                \"updated_at\": \"2021-06-28T14:27:14.358590Z\",\n                \"name\": \"ERP Status\",\n                \"code\": \"status\",\n                \"type\": \"TEXT\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 6,\n                \"group\": \"0.Internos\",\n                \"template\": 1,\n                \"attribute\": 107\n            },\n            {\n                \"id\": 3,\n                \"active\": true,\n                \"created_at\": \"2021-05-24T11:24:09.010701Z\",\n                \"updated_at\": \"2021-05-24T11:24:09.010724Z\",\n                \"name\": \"Name\",\n                \"code\": \"display-name\",\n                \"type\": \"TEXT\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 1,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 3\n            },\n            {\n                \"id\": 15,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T11:55:09.234925Z\",\n                \"updated_at\": \"2021-06-01T11:55:09.234948Z\",\n                \"name\": \"Id Proveedor\",\n                \"code\": \"manufacturer-sku\",\n                \"type\": \"TEXT\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 2,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 15\n            },\n            {\n                \"id\": 22,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T11:55:09.397353Z\",\n                \"updated_at\": \"2021-06-01T11:55:09.397371Z\",\n                \"name\": \"EAN\",\n                \"code\": \"ean\",\n                \"type\": \"TEXT\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 2,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 22\n            },\n            {\n                \"id\": 16,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T11:55:09.338148Z\",\n                \"updated_at\": \"2021-06-01T11:55:09.338192Z\",\n                \"name\": \"Name proveedor\",\n                \"code\": \"manufacturer-name\",\n                \"type\": \"TEXT\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 3,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 16\n            },\n            {\n                \"id\": 19,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T11:55:09.359918Z\",\n                \"updated_at\": \"2021-06-01T11:55:09.359936Z\",\n                \"name\": \"Descripcion\",\n                \"code\": \"short-description\",\n                \"type\": \"WYSIWYG\",\n                \"options\": {\n                    \"allow_styles\": true\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 4,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 19\n            },\n            {\n                \"id\": 92,\n                \"active\": true,\n                \"created_at\": \"2021-06-09T12:48:25.259912Z\",\n                \"updated_at\": \"2021-06-09T12:48:25.259929Z\",\n                \"name\": \"Precio\",\n                \"code\": \"price\",\n                \"type\": \"NUMBER_DECIMAL\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 24,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 92\n            },\n            {\n                \"id\": 93,\n                \"active\": true,\n                \"created_at\": \"2021-06-09T12:50:34.073978Z\",\n                \"updated_at\": \"2021-06-09T12:50:34.073998Z\",\n                \"name\": \"Precio Oferta\",\n                \"code\": \"special_price\",\n                \"type\": \"NUMBER_DECIMAL\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 25,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 93\n            },\n            {\n                \"id\": 94,\n                \"active\": true,\n                \"created_at\": \"2021-06-09T12:58:27.662695Z\",\n                \"updated_at\": \"2021-06-09T12:58:27.662713Z\",\n                \"name\": \"Precio Oferta desde\",\n                \"code\": \"special_price_from\",\n                \"type\": \"DATE\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 26,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 94\n            },\n            {\n                \"id\": 95,\n                \"active\": true,\n                \"created_at\": \"2021-06-09T12:59:18.031255Z\",\n                \"updated_at\": \"2021-06-09T12:59:18.031271Z\",\n                \"name\": \"Precio Oferta hasta\",\n                \"code\": \"special_price_to\",\n                \"type\": \"DATE\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 27,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 95\n            },\n            {\n                \"id\": 27,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:03:37.217675Z\",\n                \"updated_at\": \"2021-06-01T14:03:37.217696Z\",\n                \"name\": \"IVA\",\n                \"code\": \"tax-class-id\",\n                \"type\": \"SELECT\",\n                \"options\": {\n                    \"with_search\": false\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [\n                    {\n                        \"label\": \"standard\",\n                        \"code\": \"standard\"\n                    },\n                    {\n                        \"label\": \"reduced\",\n                        \"code\": \"reduced\"\n                    },\n                    {\n                        \"label\": \"mini\",\n                        \"code\": \"mini\"\n                    },\n                    {\n                        \"label\": \"exempt\",\n                        \"code\": \"exempt\"\n                    }\n                ],\n                \"template_name\": \"Product template\",\n                \"position\": 28,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 27\n            },\n            {\n                \"id\": 96,\n                \"active\": true,\n                \"created_at\": \"2021-06-10T11:04:22.562479Z\",\n                \"updated_at\": \"2021-06-10T11:04:22.562511Z\",\n                \"name\": \"Visible sin stock\",\n                \"code\": \"searchable-if-unavailable-flag\",\n                \"type\": \"CHECKBOX\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": \"true\",\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 28,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 96\n            },\n            {\n                \"id\": 17,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T11:55:09.352065Z\",\n                \"updated_at\": \"2021-06-01T11:55:09.352111Z\",\n                \"name\": \"Visible\",\n                \"code\": \"searchable-flag\",\n                \"type\": \"CHECKBOX\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": \"true\",\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 30,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 17\n            },\n            {\n                \"id\": 20,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T11:55:09.377347Z\",\n                \"updated_at\": \"2021-06-01T11:55:09.377368Z\",\n                \"name\": \"Marca ERP\",\n                \"code\": \"brand\",\n                \"type\": \"TEXT\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 31,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 20\n            },\n            {\n                \"id\": 24,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T12:06:48.487970Z\",\n                \"updated_at\": \"2021-06-01T12:06:48.487992Z\",\n                \"name\": \"Marca\",\n                \"code\": \"Marca\",\n                \"type\": \"SELECT\",\n                \"options\": {\n                    \"with_search\": false\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [\n                    {\n                        \"label\": \"Bormioli Rocco\",\n                        \"code\": \"bormioli-rocco\"\n                    },\n                    {\n                        \"label\": \"BRA\",\n                        \"code\": \"bra\"\n                    },\n                    {\n                        \"label\": \"blue12\",\n                        \"code\": \"blue\"\n                    },\n                    {\n                        \"label\": \"blue\",\n                        \"code\": \"blue2\"\n                    },\n                    {\n                        \"label\": \"blue\",\n                        \"code\": \"blue5\"\n                    },\n                    {\n                        \"label\": \"blue\",\n                        \"code\": \"blue3\"\n                    },\n                    {\n                        \"label\": \"blue4\",\n                        \"code\": \"blue4\"\n                    },\n                    {\n                        \"label\": \"blue6\",\n                        \"code\": \"blue6\"\n                    }\n                ],\n                \"template_name\": \"Product template\",\n                \"position\": 32,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 24\n            },\n            {\n                \"id\": 28,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:14.598234Z\",\n                \"updated_at\": \"2021-06-18T09:32:33.518549Z\",\n                \"name\": \"Color\",\n                \"code\": \"color\",\n                \"type\": \"SELECT\",\n                \"options\": {\n                    \"with_search\": true\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [\n                    {\n                        \"label\": \"Azul\",\n                        \"code\": \"Azul\"\n                    },\n                    {\n                        \"label\": \"Topo\",\n                        \"code\": \"Topo\"\n                    },\n                    {\n                        \"label\": \"Verde\",\n                        \"code\": \"Verde\"\n                    },\n                    {\n                        \"label\": \"Negro\",\n                        \"code\": \"Negro\"\n                    },\n                    {\n                        \"label\": \"Ocre\",\n                        \"code\": \"Ocre\"\n                    },\n                    {\n                        \"label\": \"Naranja\",\n                        \"code\": \"Naranja\"\n                    },\n                    {\n                        \"label\": \"Lila\",\n                        \"code\": \"Lila\"\n                    },\n                    {\n                        \"label\": \"Gris\",\n                        \"code\": \"Gris\"\n                    },\n                    {\n                        \"label\": \"Cobre\",\n                        \"code\": \"Cobre\"\n                    },\n                    {\n                        \"label\": \"Coral\",\n                        \"code\": \"Coral\"\n                    },\n                    {\n                        \"label\": \"Blanco\",\n                        \"code\": \"Blanco\"\n                    },\n                    {\n                        \"label\": \"Beige\",\n                        \"code\": \"Beige\"\n                    },\n                    {\n                        \"label\": \"Rojo\",\n                        \"code\": \"Rojo\"\n                    },\n                    {\n                        \"label\": \"Plata\",\n                        \"code\": \"Plata\"\n                    },\n                    {\n                        \"label\": \"Dorado\",\n                        \"code\": \"Dorado\"\n                    },\n                    {\n                        \"label\": \"Cromado\",\n                        \"code\": \"Cromado\"\n                    },\n                    {\n                        \"label\": \"Rosa\",\n                        \"code\": \"Rosa\"\n                    },\n                    {\n                        \"label\": \"Trasparente\",\n                        \"code\": \"Trasparente\"\n                    },\n                    {\n                        \"label\": \"Marrón\",\n                        \"code\": \"Marrón\"\n                    },\n                    {\n                        \"label\": \"Metal\",\n                        \"code\": \"Metal\"\n                    },\n                    {\n                        \"label\": \"Blanco roto\",\n                        \"code\": \"Blanco roto\"\n                    },\n                    {\n                        \"label\": \"Multicolor\",\n                        \"code\": \"Multicolor\"\n                    },\n                    {\n                        \"label\": \"Azul claro\",\n                        \"code\": \"Azul claro\"\n                    },\n                    {\n                        \"label\": \"Azul intenso\",\n                        \"code\": \"Azul intenso\"\n                    },\n                    {\n                        \"label\": \"Verde oscuro\",\n                        \"code\": \"Verde oscuro\"\n                    },\n                    {\n                        \"label\": \"Menta\",\n                        \"code\": \"Menta\"\n                    },\n                    {\n                        \"label\": \"Azul cielo\",\n                        \"code\": \"Azul cielo\"\n                    },\n                    {\n                        \"label\": \"Azul oscuro\",\n                        \"code\": \"Azul oscuro\"\n                    },\n                    {\n                        \"label\": \"Fucsia\",\n                        \"code\": \"Fucsia\"\n                    },\n                    {\n                        \"label\": \"Mostaza\",\n                        \"code\": \"Mostaza\"\n                    },\n                    {\n                        \"label\": \"Arena\",\n                        \"code\": \"Arena\"\n                    },\n                    {\n                        \"label\": \"Morado\",\n                        \"code\": \"Morado\"\n                    },\n                    {\n                        \"label\": \"Kaki\",\n                        \"code\": \"Kaki\"\n                    },\n                    {\n                        \"label\": \"Gris claro\",\n                        \"code\": \"Gris claro\"\n                    },\n                    {\n                        \"label\": \"Verde agua\",\n                        \"code\": \"Verde agua\"\n                    },\n                    {\n                        \"label\": \"Lima\",\n                        \"code\": \"Lima\"\n                    },\n                    {\n                        \"label\": \"Burdeos\",\n                        \"code\": \"Burdeos\"\n                    },\n                    {\n                        \"label\": \"Taupe\",\n                        \"code\": \"Taupe\"\n                    },\n                    {\n                        \"label\": \"Granate\",\n                        \"code\": \"Granate\"\n                    },\n                    {\n                        \"label\": \"Teja\",\n                        \"code\": \"Teja\"\n                    },\n                    {\n                        \"label\": \"Terracotta\",\n                        \"code\": \"Terracotta\"\n                    },\n                    {\n                        \"label\": \"Gris oscuro\",\n                        \"code\": \"Gris oscuro\"\n                    },\n                    {\n                        \"label\": \"Frambuesa\",\n                        \"code\": \"Frambuesa\"\n                    },\n                    {\n                        \"label\": \"Verde esmeralda\",\n                        \"code\": \"Verde esmeralda\"\n                    },\n                    {\n                        \"label\": \"Verde lima\",\n                        \"code\": \"Verde lima\"\n                    },\n                    {\n                        \"label\": \"Caldera\",\n                        \"code\": \"Caldera\"\n                    },\n                    {\n                        \"label\": \"Camel\",\n                        \"code\": \"Camel\"\n                    },\n                    {\n                        \"label\": \"Verde oliva\",\n                        \"code\": \"Verde oliva\"\n                    },\n                    {\n                        \"label\": \"Malva\",\n                        \"code\": \"Malva\"\n                    },\n                    {\n                        \"label\": \"Navy\",\n                        \"code\": \"Navy\"\n                    },\n                    {\n                        \"label\": \"Gris perla\",\n                        \"code\": \"Gris perla\"\n                    },\n                    {\n                        \"label\": \"Celeste\",\n                        \"code\": \"Celeste\"\n                    },\n                    {\n                        \"label\": \"Mint\",\n                        \"code\": \"Mint\"\n                    },\n                    {\n                        \"label\": \"Negro mate\",\n                        \"code\": \"Negro mate\"\n                    },\n                    {\n                        \"label\": \"Plateado\",\n                        \"code\": \"Plateado\"\n                    },\n                    {\n                        \"label\": \"Verde menta\",\n                        \"code\": \"Verde menta\"\n                    },\n                    {\n                        \"label\": \"Azul agua\",\n                        \"code\": \"Azul agua\"\n                    },\n                    {\n                        \"label\": \"Transparente\",\n                        \"code\": \"Transparente\"\n                    },\n                    {\n                        \"label\": \"Vino\",\n                        \"code\": \"Vino\"\n                    },\n                    {\n                        \"label\": \"Verde salvia\",\n                        \"code\": \"Verde salvia\"\n                    },\n                    {\n                        \"label\": \"Amarillo\",\n                        \"code\": \"Amarillo\"\n                    },\n                    {\n                        \"label\": \"Rosa claro\",\n                        \"code\": \"Rosa claro\"\n                    },\n                    {\n                        \"label\": \"Azul grisáceo\",\n                        \"code\": \"Azul grisáceo\"\n                    },\n                    {\n                        \"label\": \"Rosa palo\",\n                        \"code\": \"Rosa palo\"\n                    },\n                    {\n                        \"label\": \"Rosa oscuro\",\n                        \"code\": \"Rosa oscuro\"\n                    },\n                    {\n                        \"label\": \"Azul verdoso\",\n                        \"code\": \"Azul verdoso\"\n                    },\n                    {\n                        \"label\": \"Gris ceniza\",\n                        \"code\": \"Gris ceniza\"\n                    },\n                    {\n                        \"label\": \"Gris mate\",\n                        \"code\": \"Gris mate\"\n                    },\n                    {\n                        \"label\": \"Verde gris\",\n                        \"code\": \"Verde gris\"\n                    },\n                    {\n                        \"label\": \"Verde claro\",\n                        \"code\": \"Verde claro\"\n                    },\n                    {\n                        \"label\": \"Marrón oscuro\",\n                        \"code\": \"Marrón oscuro\"\n                    },\n                    {\n                        \"label\": \"Rosa salmón\",\n                        \"code\": \"Rosa salmón\"\n                    },\n                    {\n                        \"label\": \"Marrón claro\",\n                        \"code\": \"Marrón claro\"\n                    },\n                    {\n                        \"label\": \"Berenjena\",\n                        \"code\": \"Berenjena\"\n                    },\n                    {\n                        \"label\": \"Turquesa\",\n                        \"code\": \"Turquesa\"\n                    },\n                    {\n                        \"label\": \"NEGRO\",\n                        \"code\": \"NEGRO\"\n                    },\n                    {\n                        \"label\": \"Gris topo\",\n                        \"code\": \"Gris topo\"\n                    },\n                    {\n                        \"label\": \"Blanco crema\",\n                        \"code\": \"Blanco crema\"\n                    },\n                    {\n                        \"label\": \"Azul marino\",\n                        \"code\": \"Azul marino\"\n                    },\n                    {\n                        \"label\": \"Azul celeste\",\n                        \"code\": \"Azul celeste\"\n                    },\n                    {\n                        \"label\": \"Azul esmeralda\",\n                        \"code\": \"Azul esmeralda\"\n                    },\n                    {\n                        \"label\": \"test-español de españa\",\n                        \"code\": \"Verde kaki\"\n                    }\n                ],\n                \"template_name\": \"Product template\",\n                \"position\": 33,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 28\n            },\n            {\n                \"id\": 33,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:14.722102Z\",\n                \"updated_at\": \"2021-06-01T14:36:14.722122Z\",\n                \"name\": \"Color principal\",\n                \"code\": \"refinementColor\",\n                \"type\": \"SELECT\",\n                \"options\": {\n                    \"with_search\": true\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [\n                    {\n                        \"label\": \"MARRON\",\n                        \"code\": \"MARRON\"\n                    },\n                    {\n                        \"label\": \"TRANSPARENTE\",\n                        \"code\": \"TRANSPARENTE\"\n                    },\n                    {\n                        \"label\": \"CROMADO\",\n                        \"code\": \"CROMADO\"\n                    },\n                    {\n                        \"label\": \"NEGRO\",\n                        \"code\": \"NEGRO\"\n                    },\n                    {\n                        \"label\": \"ROJO\",\n                        \"code\": \"ROJO\"\n                    },\n                    {\n                        \"label\": \"GRIS\",\n                        \"code\": \"GRIS\"\n                    },\n                    {\n                        \"label\": \"LILA\",\n                        \"code\": \"LILA\"\n                    },\n                    {\n                        \"label\": \"BLANCO\",\n                        \"code\": \"BLANCO\"\n                    },\n                    {\n                        \"label\": \"VERDE\",\n                        \"code\": \"VERDE\"\n                    },\n                    {\n                        \"label\": \"MULTICOLOR\",\n                        \"code\": \"MULTICOLOR\"\n                    },\n                    {\n                        \"label\": \"SURTIDO\",\n                        \"code\": \"SURTIDO\"\n                    },\n                    {\n                        \"label\": \"NARANJA\",\n                        \"code\": \"NARANJA\"\n                    },\n                    {\n                        \"label\": \"BEIGE\",\n                        \"code\": \"BEIGE\"\n                    },\n                    {\n                        \"label\": \"ROSA\",\n                        \"code\": \"ROSA\"\n                    },\n                    {\n                        \"label\": \"PLATEADO\",\n                        \"code\": \"PLATEADO\"\n                    },\n                    {\n                        \"label\": \"AMARILLO\",\n                        \"code\": \"AMARILLO\"\n                    },\n                    {\n                        \"label\": \"AZUL\",\n                        \"code\": \"AZUL\"\n                    },\n                    {\n                        \"label\": \"COBRE\",\n                        \"code\": \"COBRE\"\n                    },\n                    {\n                        \"label\": \"DORADO\",\n                        \"code\": \"DORADO\"\n                    },\n                    {\n                        \"label\": \"METAL\",\n                        \"code\": \"METAL\"\n                    },\n                    {\n                        \"label\": \"VIOLETA\",\n                        \"code\": \"VIOLETA\"\n                    },\n                    {\n                        \"label\": \"BLANCA\",\n                        \"code\": \"BLANCA\"\n                    },\n                    {\n                        \"label\": \"SALMON\",\n                        \"code\": \"SALMON\"\n                    },\n                    {\n                        \"label\": \"OCRE\",\n                        \"code\": \"OCRE\"\n                    },\n                    {\n                        \"label\": \"CORAL\",\n                        \"code\": \"CORAL\"\n                    },\n                    {\n                        \"label\": \"SILICONA\",\n                        \"code\": \"SILICONA\"\n                    },\n                    {\n                        \"label\": \"NATURAL\",\n                        \"code\": \"NATURAL\"\n                    },\n                    {\n                        \"label\": \"MORADO\",\n                        \"code\": \"MORADO\"\n                    },\n                    {\n                        \"label\": \"BRONCE\",\n                        \"code\": \"BRONCE\"\n                    },\n                    {\n                        \"label\": \"BLAU\",\n                        \"code\": \"BLAU\"\n                    },\n                    {\n                        \"label\": \"BLANCO Y NEGRO\",\n                        \"code\": \"BLANCO Y NEGRO\"\n                    },\n                    {\n                        \"label\": \"BLANC\",\n                        \"code\": \"BLANC\"\n                    },\n                    {\n                        \"label\": \"BEIG\",\n                        \"code\": \"BEIG\"\n                    }\n                ],\n                \"template_name\": \"Product template\",\n                \"position\": 34,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 33\n            },\n            {\n                \"id\": 30,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:14.701301Z\",\n                \"updated_at\": \"2021-06-18T09:28:24.270297Z\",\n                \"name\": \"Tamaño\",\n                \"code\": \"size\",\n                \"type\": \"SELECT\",\n                \"options\": {\n                    \"with_search\": true\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [\n                    {\n                        \"label\": \"S\",\n                        \"code\": \"S\"\n                    },\n                    {\n                        \"label\": \"M\",\n                        \"code\": \"M\"\n                    },\n                    {\n                        \"label\": \"L\",\n                        \"code\": \"L\"\n                    },\n                    {\n                        \"label\": \"50x70\",\n                        \"code\": \"50x70\"\n                    },\n                    {\n                        \"label\": \"12x12x12 cm\",\n                        \"code\": \"12x12x12 cm\"\n                    },\n                    {\n                        \"label\": \"32x22x20 cm\",\n                        \"code\": \"32x22x20 cm\"\n                    },\n                    {\n                        \"label\": \"15 cl\",\n                        \"code\": \"15 cl\"\n                    },\n                    {\n                        \"label\": \"38x38 cm\",\n                        \"code\": \"38x38 cm\"\n                    },\n                    {\n                        \"label\": \"31x15x28 cm\",\n                        \"code\": \"31x15x28 cm\"\n                    },\n                    {\n                        \"label\": \"14 cm\",\n                        \"code\": \"14 cm\"\n                    },\n                    {\n                        \"label\": \"Ø14 cm \",\n                        \"code\": \"Ø14 cm \"\n                    },\n                    {\n                        \"label\": \"26x32,2x50 cm\",\n                        \"code\": \"26x32,2x50 cm\"\n                    },\n                    {\n                        \"label\": \"Ø8 cm\",\n                        \"code\": \"Ø8 cm\"\n                    },\n                    {\n                        \"label\": \"Ø7,1x8,3 cm\",\n                        \"code\": \"Ø7,1x8,3 cm\"\n                    },\n                    {\n                        \"label\": \"14x14 cm\",\n                        \"code\": \"14x14 cm\"\n                    },\n                    {\n                        \"label\": \"Ø10 cm\",\n                        \"code\": \"Ø10 cm\"\n                    },\n                    {\n                        \"label\": \"Ø20x9 cm\",\n                        \"code\": \"Ø20x9 cm\"\n                    },\n                    {\n                        \"label\": \"16x11x8 cm\",\n                        \"code\": \"16x11x8 cm\"\n                    },\n                    {\n                        \"label\": \"90x140  cm\",\n                        \"code\": \"90x140  cm\"\n                    },\n                    {\n                        \"label\": \"Ø13x27 cm\",\n                        \"code\": \"Ø13x27 cm\"\n                    },\n                    {\n                        \"label\": \"45x45 cm\",\n                        \"code\": \"45x45 cm\"\n                    },\n                    {\n                        \"label\": \"150x200 cm\",\n                        \"code\": \"150x200 cm\"\n                    },\n                    {\n                        \"label\": \"122x85x10 cm\",\n                        \"code\": \"122x85x10 cm\"\n                    },\n                    {\n                        \"label\": \"100x100 cm\",\n                        \"code\": \"100x100 cm\"\n                    },\n                    {\n                        \"label\": \"120x120 cm\",\n                        \"code\": \"120x120 cm\"\n                    },\n                    {\n                        \"label\": \"170x135 cm\",\n                        \"code\": \"170x135 cm\"\n                    },\n                    {\n                        \"label\": \"150x150 cm\",\n                        \"code\": \"150x150 cm\"\n                    },\n                    {\n                        \"label\": \"140x200 cm\",\n                        \"code\": \"140x200 cm\"\n                    },\n                    {\n                        \"label\": \"135x200 cm\",\n                        \"code\": \"135x200 cm\"\n                    },\n                    {\n                        \"label\": \"140x135 cm\",\n                        \"code\": \"140x135 cm\"\n                    },\n                    {\n                        \"label\": \"135x250 cm\",\n                        \"code\": \"135x250 cm\"\n                    },\n                    {\n                        \"label\": \"135x150 cm\",\n                        \"code\": \"135x150 cm\"\n                    },\n                    {\n                        \"label\": \"30x50 cm\",\n                        \"code\": \"30x50 cm\"\n                    },\n                    {\n                        \"label\": \"65x100 cm\",\n                        \"code\": \"65x100 cm\"\n                    },\n                    {\n                        \"label\": \"135x140 cm\",\n                        \"code\": \"135x140 cm\"\n                    },\n                    {\n                        \"label\": \"150x250 cm\",\n                        \"code\": \"150x250 cm\"\n                    },\n                    {\n                        \"label\": \"50x150 cm\",\n                        \"code\": \"50x150 cm\"\n                    },\n                    {\n                        \"label\": \"70x140 cm\",\n                        \"code\": \"70x140 cm\"\n                    },\n                    {\n                        \"label\": \"77,5x32x18 cm\",\n                        \"code\": \"77,5x32x18 cm\"\n                    },\n                    {\n                        \"label\": \"50x30 cm\",\n                        \"code\": \"50x30 cm\"\n                    },\n                    {\n                        \"label\": \"Ø30 cm\",\n                        \"code\": \"Ø30 cm\"\n                    },\n                    {\n                        \"label\": \"50x100 cm\",\n                        \"code\": \"50x100 cm\"\n                    },\n                    {\n                        \"label\": \"0,5 L\",\n                        \"code\": \"0,5 L\"\n                    },\n                    {\n                        \"label\": \"Ø20 cm\",\n                        \"code\": \"Ø20 cm\"\n                    },\n                    {\n                        \"label\": \"25 cl\",\n                        \"code\": \"25 cl\"\n                    },\n                    {\n                        \"label\": \"75x48 cm\",\n                        \"code\": \"75x48 cm\"\n                    },\n                    {\n                        \"label\": \"6 tazas\",\n                        \"code\": \"6 tazas\"\n                    },\n                    {\n                        \"label\": \"3 tazas\",\n                        \"code\": \"3 tazas\"\n                    },\n                    {\n                        \"label\": \"4 tazas\",\n                        \"code\": \"4 tazas\"\n                    },\n                    {\n                        \"label\": \"0,34 L\",\n                        \"code\": \"0,34 L\"\n                    },\n                    {\n                        \"label\": \"7,6x15,2 cm\",\n                        \"code\": \"7,6x15,2 cm\"\n                    },\n                    {\n                        \"label\": \"Ø20x7 cm\",\n                        \"code\": \"Ø20x7 cm\"\n                    },\n                    {\n                        \"label\": \"16 L\",\n                        \"code\": \"16 L\"\n                    },\n                    {\n                        \"label\": \"10 cl\",\n                        \"code\": \"10 cl\"\n                    },\n                    {\n                        \"label\": \"10x10x10 cm\",\n                        \"code\": \"10x10x10 cm\"\n                    },\n                    {\n                        \"label\": \"180x120 cm\",\n                        \"code\": \"180x120 cm\"\n                    },\n                    {\n                        \"label\": \"24x14x12 cm\",\n                        \"code\": \"24x14x12 cm\"\n                    },\n                    {\n                        \"label\": \"24x14x16 cm\",\n                        \"code\": \"24x14x16 cm\"\n                    },\n                    {\n                        \"label\": \"14x14x28 cm\",\n                        \"code\": \"14x14x28 cm\"\n                    },\n                    {\n                        \"label\": \"19,5 cm\",\n                        \"code\": \"19,5 cm\"\n                    },\n                    {\n                        \"label\": \"29x10x23 cm\",\n                        \"code\": \"29x10x23 cm\"\n                    },\n                    {\n                        \"label\": \"Ø18 cm\",\n                        \"code\": \"Ø18 cm\"\n                    },\n                    {\n                        \"label\": \"Ø36 cm\",\n                        \"code\": \"Ø36 cm\"\n                    },\n                    {\n                        \"label\": \"Ø32 cm\",\n                        \"code\": \"Ø32 cm\"\n                    },\n                    {\n                        \"label\": \"Ø24 cm\",\n                        \"code\": \"Ø24 cm\"\n                    },\n                    {\n                        \"label\": \"Ø22 cm\",\n                        \"code\": \"Ø22 cm\"\n                    },\n                    {\n                        \"label\": \"33x20x6 cm\",\n                        \"code\": \"33x20x6 cm\"\n                    },\n                    {\n                        \"label\": \"Ø28 cm\",\n                        \"code\": \"Ø28 cm\"\n                    },\n                    {\n                        \"label\": \"24-32 cm\",\n                        \"code\": \"24-32 cm\"\n                    },\n                    {\n                        \"label\": \"4 L\",\n                        \"code\": \"4 L\"\n                    },\n                    {\n                        \"label\": \"Ø24 cm \",\n                        \"code\": \"Ø24 cm \"\n                    },\n                    {\n                        \"label\": \"27,6x27,6x2,5 cm\",\n                        \"code\": \"27,6x27,6x2,5 cm\"\n                    },\n                    {\n                        \"label\": \"30x20 cm\",\n                        \"code\": \"30x20 cm\"\n                    },\n                    {\n                        \"label\": \"50x14x103 cm\",\n                        \"code\": \"50x14x103 cm\"\n                    },\n                    {\n                        \"label\": \"9x9x22 cm\",\n                        \"code\": \"9x9x22 cm\"\n                    },\n                    {\n                        \"label\": \"8,7x8,7x21,6 cm\",\n                        \"code\": \"8,7x8,7x21,6 cm\"\n                    },\n                    {\n                        \"label\": \"35 cl\",\n                        \"code\": \"35 cl\"\n                    },\n                    {\n                        \"label\": \"36 cl\",\n                        \"code\": \"36 cl\"\n                    },\n                    {\n                        \"label\": \"38x26 cm\",\n                        \"code\": \"38x26 cm\"\n                    },\n                    {\n                        \"label\": \"30x22 cm\",\n                        \"code\": \"30x22 cm\"\n                    },\n                    {\n                        \"label\": \"350 ml\",\n                        \"code\": \"350 ml\"\n                    },\n                    {\n                        \"label\": \"8x8x16 cm\",\n                        \"code\": \"8x8x16 cm\"\n                    },\n                    {\n                        \"label\": \"1,1 L\",\n                        \"code\": \"1,1 L\"\n                    },\n                    {\n                        \"label\": \"80x80x75 cm\",\n                        \"code\": \"80x80x75 cm\"\n                    },\n                    {\n                        \"label\": \"10x10x22 cm\",\n                        \"code\": \"10x10x22 cm\"\n                    },\n                    {\n                        \"label\": \"10x10x14 cm\",\n                        \"code\": \"10x10x14 cm\"\n                    },\n                    {\n                        \"label\": \"13x13x7 cm\",\n                        \"code\": \"13x13x7 cm\"\n                    },\n                    {\n                        \"label\": \"39x22x23 cm\",\n                        \"code\": \"39x22x23 cm\"\n                    },\n                    {\n                        \"label\": \"Ø45 cm \",\n                        \"code\": \"Ø45 cm \"\n                    },\n                    {\n                        \"label\": \"29x20x20 cm\",\n                        \"code\": \"29x20x20 cm\"\n                    },\n                    {\n                        \"label\": \"15,5x15,1x4 cm\",\n                        \"code\": \"15,5x15,1x4 cm\"\n                    },\n                    {\n                        \"label\": \"35x25x16 cm\",\n                        \"code\": \"35x25x16 cm\"\n                    },\n                    {\n                        \"label\": \"15x15x7 cm\",\n                        \"code\": \"15x15x7 cm\"\n                    },\n                    {\n                        \"label\": \"28,5x28,5x5,5 cm\",\n                        \"code\": \"28,5x28,5x5,5 cm\"\n                    },\n                    {\n                        \"label\": \"28x20x10 cm\",\n                        \"code\": \"28x20x10 cm\"\n                    },\n                    {\n                        \"label\": \"29x17,5x9,5 cm\",\n                        \"code\": \"29x17,5x9,5 cm\"\n                    },\n                    {\n                        \"label\": \"19x14x12 cm\",\n                        \"code\": \"19x14x12 cm\"\n                    },\n                    {\n                        \"label\": \"10x8x6 cm\",\n                        \"code\": \"10x8x6 cm\"\n                    },\n                    {\n                        \"label\": \"Ø33 cm \",\n                        \"code\": \"Ø33 cm \"\n                    },\n                    {\n                        \"label\": \"60x60  cm\",\n                        \"code\": \"60x60  cm\"\n                    },\n                    {\n                        \"label\": \"Ø35 cm \",\n                        \"code\": \"Ø35 cm \"\n                    },\n                    {\n                        \"label\": \"20,5x17x2,5 cm\",\n                        \"code\": \"20,5x17x2,5 cm\"\n                    },\n                    {\n                        \"label\": \"10x15 cm\",\n                        \"code\": \"10x15 cm\"\n                    },\n                    {\n                        \"label\": \"19,2x14,2x1,52 cm\",\n                        \"code\": \"19,2x14,2x1,52 cm\"\n                    },\n                    {\n                        \"label\": \"10x2x15 cm\",\n                        \"code\": \"10x2x15 cm\"\n                    },\n                    {\n                        \"label\": \"14,6x1,8x19,6 cm\",\n                        \"code\": \"14,6x1,8x19,6 cm\"\n                    },\n                    {\n                        \"label\": \"27x22 cm\",\n                        \"code\": \"27x22 cm\"\n                    },\n                    {\n                        \"label\": \"13x18 cm\",\n                        \"code\": \"13x18 cm\"\n                    },\n                    {\n                        \"label\": \"20x20x27 cm\",\n                        \"code\": \"20x20x27 cm\"\n                    },\n                    {\n                        \"label\": \"44x44x34 cm\",\n                        \"code\": \"44x44x34 cm\"\n                    },\n                    {\n                        \"label\": \"88x48x40 cm\",\n                        \"code\": \"88x48x40 cm\"\n                    },\n                    {\n                        \"label\": \"19,6x1,8x25,6 cm\",\n                        \"code\": \"19,6x1,8x25,6 cm\"\n                    },\n                    {\n                        \"label\": \"18x18x27 cm\",\n                        \"code\": \"18x18x27 cm\"\n                    },\n                    {\n                        \"label\": \"24x19x16 cm\",\n                        \"code\": \"24x19x16 cm\"\n                    },\n                    {\n                        \"label\": \"30 cl\",\n                        \"code\": \"30 cl\"\n                    },\n                    {\n                        \"label\": \"15x15x6,5 cm\",\n                        \"code\": \"15x15x6,5 cm\"\n                    },\n                    {\n                        \"label\": \"Ø17 cm \",\n                        \"code\": \"Ø17 cm \"\n                    },\n                    {\n                        \"label\": \"8,5x8,5x9,25 cm\",\n                        \"code\": \"8,5x8,5x9,25 cm\"\n                    },\n                    {\n                        \"label\": \"9x9x9,2 cm\",\n                        \"code\": \"9x9x9,2 cm\"\n                    },\n                    {\n                        \"label\": \"23 cl\",\n                        \"code\": \"23 cl\"\n                    },\n                    {\n                        \"label\": \"370 ml \",\n                        \"code\": \"370 ml \"\n                    },\n                    {\n                        \"label\": \"7 cl\",\n                        \"code\": \"7 cl\"\n                    },\n                    {\n                        \"label\": \"7x7x12 cm\",\n                        \"code\": \"7x7x12 cm\"\n                    },\n                    {\n                        \"label\": \"10x10x6 cm\",\n                        \"code\": \"10x10x6 cm\"\n                    },\n                    {\n                        \"label\": \"15,5x13,8x16,5 cm\",\n                        \"code\": \"15,5x13,8x16,5 cm\"\n                    },\n                    {\n                        \"label\": \"12,5x12,5x14 cm\",\n                        \"code\": \"12,5x12,5x14 cm\"\n                    },\n                    {\n                        \"label\": \"9,5x9,5x12 cm\",\n                        \"code\": \"9,5x9,5x12 cm\"\n                    },\n                    {\n                        \"label\": \"14x14x7 cm\",\n                        \"code\": \"14x14x7 cm\"\n                    },\n                    {\n                        \"label\": \"9,5x9,5x6 cm\",\n                        \"code\": \"9,5x9,5x6 cm\"\n                    },\n                    {\n                        \"label\": \"Ø11 cm \",\n                        \"code\": \"Ø11 cm \"\n                    },\n                    {\n                        \"label\": \"12,2x12,2x5,5 cm\",\n                        \"code\": \"12,2x12,2x5,5 cm\"\n                    },\n                    {\n                        \"label\": \"31x31x47 cm\",\n                        \"code\": \"31x31x47 cm\"\n                    },\n                    {\n                        \"label\": \"25x15x11 cm\",\n                        \"code\": \"25x15x11 cm\"\n                    },\n                    {\n                        \"label\": \"22x22x18 cm\",\n                        \"code\": \"22x22x18 cm\"\n                    },\n                    {\n                        \"label\": \"30x30x30 cm\",\n                        \"code\": \"30x30x30 cm\"\n                    },\n                    {\n                        \"label\": \"28x19x12 cm\",\n                        \"code\": \"28x19x12 cm\"\n                    },\n                    {\n                        \"label\": \"31x21x13 cm\",\n                        \"code\": \"31x21x13 cm\"\n                    },\n                    {\n                        \"label\": \"24x24x10 cm\",\n                        \"code\": \"24x24x10 cm\"\n                    },\n                    {\n                        \"label\": \"35x35x16 cm\",\n                        \"code\": \"35x35x16 cm\"\n                    },\n                    {\n                        \"label\": \"29x23x14 cm\",\n                        \"code\": \"29x23x14 cm\"\n                    },\n                    {\n                        \"label\": \"18,5x18,5x22 cm\",\n                        \"code\": \"18,5x18,5x22 cm\"\n                    },\n                    {\n                        \"label\": \"16x16x10 cm\",\n                        \"code\": \"16x16x10 cm\"\n                    },\n                    {\n                        \"label\": \"Ø19 cm \",\n                        \"code\": \"Ø19 cm \"\n                    },\n                    {\n                        \"label\": \"26x16x14 cm\",\n                        \"code\": \"26x16x14 cm\"\n                    },\n                    {\n                        \"label\": \"28x18x15 cm\",\n                        \"code\": \"28x18x15 cm\"\n                    },\n                    {\n                        \"label\": \"22,5x15,5x8 cm\",\n                        \"code\": \"22,5x15,5x8 cm\"\n                    },\n                    {\n                        \"label\": \"30x22x12 cm\",\n                        \"code\": \"30x22x12 cm\"\n                    },\n                    {\n                        \"label\": \"31x21x20 cm\",\n                        \"code\": \"31x21x20 cm\"\n                    },\n                    {\n                        \"label\": \"13x13x9 cm\",\n                        \"code\": \"13x13x9 cm\"\n                    },\n                    {\n                        \"label\": \"19x24,5x14,5 cm\",\n                        \"code\": \"19x24,5x14,5 cm\"\n                    },\n                    {\n                        \"label\": \"Ø25 cm \",\n                        \"code\": \"Ø25 cm \"\n                    },\n                    {\n                        \"label\": \"21x21x11 cm\",\n                        \"code\": \"21x21x11 cm\"\n                    },\n                    {\n                        \"label\": \"17x17x17 cm\",\n                        \"code\": \"17x17x17 cm\"\n                    },\n                    {\n                        \"label\": \"15x15x15 cm\",\n                        \"code\": \"15x15x15 cm\"\n                    },\n                    {\n                        \"label\": \"35x25x18 cm\",\n                        \"code\": \"35x25x18 cm\"\n                    },\n                    {\n                        \"label\": \"46x34x18 cm\",\n                        \"code\": \"46x34x18 cm\"\n                    },\n                    {\n                        \"label\": \"55x55 cm\",\n                        \"code\": \"55x55 cm\"\n                    },\n                    {\n                        \"label\": \"26x13x10 cm\",\n                        \"code\": \"26x13x10 cm\"\n                    },\n                    {\n                        \"label\": \"15x15x5 cm\",\n                        \"code\": \"15x15x5 cm\"\n                    },\n                    {\n                        \"label\": \"140x140 cm\",\n                        \"code\": \"140x140 cm\"\n                    },\n                    {\n                        \"label\": \"14,5x14,5x6 cm\",\n                        \"code\": \"14,5x14,5x6 cm\"\n                    },\n                    {\n                        \"label\": \"14,7x14,7x6,5 cm\",\n                        \"code\": \"14,7x14,7x6,5 cm\"\n                    },\n                    {\n                        \"label\": \"140x150 cm\",\n                        \"code\": \"140x150 cm\"\n                    },\n                    {\n                        \"label\": \"30x45x1 cm\",\n                        \"code\": \"30x45x1 cm\"\n                    },\n                    {\n                        \"label\": \"30x45 cm\",\n                        \"code\": \"30x45 cm\"\n                    },\n                    {\n                        \"label\": \"85 cl\",\n                        \"code\": \"85 cl\"\n                    },\n                    {\n                        \"label\": \"150x135 cm\",\n                        \"code\": \"150x135 cm\"\n                    },\n                    {\n                        \"label\": \"800 ml\",\n                        \"code\": \"800 ml\"\n                    },\n                    {\n                        \"label\": \"38 cl\",\n                        \"code\": \"38 cl\"\n                    },\n                    {\n                        \"label\": \"11x11x16 cm\",\n                        \"code\": \"11x11x16 cm\"\n                    },\n                    {\n                        \"label\": \"15x8x7 cm\",\n                        \"code\": \"15x8x7 cm\"\n                    },\n                    {\n                        \"label\": \"1 L\",\n                        \"code\": \"1 L\"\n                    },\n                    {\n                        \"label\": \"64 cl\",\n                        \"code\": \"64 cl\"\n                    },\n                    {\n                        \"label\": \"37 cl\",\n                        \"code\": \"37 cl\"\n                    },\n                    {\n                        \"label\": \"50 cl \",\n                        \"code\": \"50 cl \"\n                    },\n                    {\n                        \"label\": \"500 ml\",\n                        \"code\": \"500 ml\"\n                    },\n                    {\n                        \"label\": \"Ø10 cm \",\n                        \"code\": \"Ø10 cm \"\n                    },\n                    {\n                        \"label\": \"40 cl\",\n                        \"code\": \"40 cl\"\n                    },\n                    {\n                        \"label\": \"Ø8,5 cm \",\n                        \"code\": \"Ø8,5 cm \"\n                    },\n                    {\n                        \"label\": \"40x40x41 cm\",\n                        \"code\": \"40x40x41 cm\"\n                    },\n                    {\n                        \"label\": \"40x40x40 cm\",\n                        \"code\": \"40x40x40 cm\"\n                    },\n                    {\n                        \"label\": \"78x72x71 cm\",\n                        \"code\": \"78x72x71 cm\"\n                    },\n                    {\n                        \"label\": \"40x40x45 cm\",\n                        \"code\": \"40x40x45 cm\"\n                    },\n                    {\n                        \"label\": \"50x50x40 cm\",\n                        \"code\": \"50x50x40 cm\"\n                    },\n                    {\n                        \"label\": \"56x56x53 cm\",\n                        \"code\": \"56x56x53 cm\"\n                    },\n                    {\n                        \"label\": \"75x38x44 cm\",\n                        \"code\": \"75x38x44 cm\"\n                    },\n                    {\n                        \"label\": \"33x33x40 cm\",\n                        \"code\": \"33x33x40 cm\"\n                    },\n                    {\n                        \"label\": \"35x35 cm\",\n                        \"code\": \"35x35 cm\"\n                    },\n                    {\n                        \"label\": \"40x40x35 cm\",\n                        \"code\": \"40x40x35 cm\"\n                    },\n                    {\n                        \"label\": \"40x33,5x51 cm\",\n                        \"code\": \"40x33,5x51 cm\"\n                    },\n                    {\n                        \"label\": \"60x60x40 cm\",\n                        \"code\": \"60x60x40 cm\"\n                    },\n                    {\n                        \"label\": \"70x35x45 cm\",\n                        \"code\": \"70x35x45 cm\"\n                    },\n                    {\n                        \"label\": \"50x38x40 cm\",\n                        \"code\": \"50x38x40 cm\"\n                    },\n                    {\n                        \"label\": \"11x11x11 cm\",\n                        \"code\": \"11x11x11 cm\"\n                    },\n                    {\n                        \"label\": \"12x12x14 cm\",\n                        \"code\": \"12x12x14 cm\"\n                    },\n                    {\n                        \"label\": \"14x14x12 cm\",\n                        \"code\": \"14x14x12 cm\"\n                    },\n                    {\n                        \"label\": \"11x11x10 cm\",\n                        \"code\": \"11x11x10 cm\"\n                    },\n                    {\n                        \"label\": \"56x56x85 cm\",\n                        \"code\": \"56x56x85 cm\"\n                    },\n                    {\n                        \"label\": \"1-2 personas\",\n                        \"code\": \"1-2 personas\"\n                    },\n                    {\n                        \"label\": \"22x22x27 cm\",\n                        \"code\": \"22x22x27 cm\"\n                    },\n                    {\n                        \"label\": \"100x34x80,5 cm\",\n                        \"code\": \"100x34x80,5 cm\"\n                    },\n                    {\n                        \"label\": \"22x21x0 cm\",\n                        \"code\": \"22x21x0 cm\"\n                    },\n                    {\n                        \"label\": \"60x28x182 cm\",\n                        \"code\": \"60x28x182 cm\"\n                    },\n                    {\n                        \"label\": \"23x20x1 cm\",\n                        \"code\": \"23x20x1 cm\"\n                    },\n                    {\n                        \"label\": \"47 cl\",\n                        \"code\": \"47 cl\"\n                    },\n                    {\n                        \"label\": \"6,5x6,5x19 cm\",\n                        \"code\": \"6,5x6,5x19 cm\"\n                    },\n                    {\n                        \"label\": \"Ø14 cm\",\n                        \"code\": \"Ø14 cm\"\n                    },\n                    {\n                        \"label\": \"25,2x14,7x5,4 cm\",\n                        \"code\": \"25,2x14,7x5,4 cm\"\n                    },\n                    {\n                        \"label\": \"2 plazas\",\n                        \"code\": \"2 plazas\"\n                    },\n                    {\n                        \"label\": \"150x66x105 cm\",\n                        \"code\": \"150x66x105 cm\"\n                    },\n                    {\n                        \"label\": \"90x90x75 cm\",\n                        \"code\": \"90x90x75 cm\"\n                    },\n                    {\n                        \"label\": \"97x97x72 cm\",\n                        \"code\": \"97x97x72 cm\"\n                    },\n                    {\n                        \"label\": \"1-2 raciones\",\n                        \"code\": \"1-2 raciones\"\n                    },\n                    {\n                        \"label\": \"167x87x74 cm\",\n                        \"code\": \"167x87x74 cm\"\n                    },\n                    {\n                        \"label\": \"16x16x16 cm\",\n                        \"code\": \"16x16x16 cm\"\n                    },\n                    {\n                        \"label\": \"50 cl\",\n                        \"code\": \"50 cl\"\n                    },\n                    {\n                        \"label\": \"39x29x19 cm\",\n                        \"code\": \"39x29x19 cm\"\n                    },\n                    {\n                        \"label\": \"28x18x18 cm\",\n                        \"code\": \"28x18x18 cm\"\n                    },\n                    {\n                        \"label\": \"82x42 cm\",\n                        \"code\": \"82x42 cm\"\n                    },\n                    {\n                        \"label\": \"16 cm\",\n                        \"code\": \"16 cm\"\n                    },\n                    {\n                        \"label\": \"Ø6 cm\",\n                        \"code\": \"Ø6 cm\"\n                    },\n                    {\n                        \"label\": \"Ø6x3 cm\",\n                        \"code\": \"Ø6x3 cm\"\n                    },\n                    {\n                        \"label\": \"12,6x36x50 cm\",\n                        \"code\": \"12,6x36x50 cm\"\n                    },\n                    {\n                        \"label\": \"19x19 cm\",\n                        \"code\": \"19x19 cm\"\n                    },\n                    {\n                        \"label\": \"Ø10x22 cm\",\n                        \"code\": \"Ø10x22 cm\"\n                    },\n                    {\n                        \"label\": \"Ø12 cm\",\n                        \"code\": \"Ø12 cm\"\n                    },\n                    {\n                        \"label\": \"16x16x13 cm\",\n                        \"code\": \"16x16x13 cm\"\n                    },\n                    {\n                        \"label\": \"Ø17,5x8 cm\",\n                        \"code\": \"Ø17,5x8 cm\"\n                    },\n                    {\n                        \"label\": \"122x55x10 cm\",\n                        \"code\": \"122x55x10 cm\"\n                    },\n                    {\n                        \"label\": \"250x135 cm\",\n                        \"code\": \"250x135 cm\"\n                    },\n                    {\n                        \"label\": \"140x250 cm\",\n                        \"code\": \"140x250 cm\"\n                    },\n                    {\n                        \"label\": \"200x135 cm\",\n                        \"code\": \"200x135 cm\"\n                    },\n                    {\n                        \"label\": \"60x60 cm\",\n                        \"code\": \"60x60 cm\"\n                    },\n                    {\n                        \"label\": \"65x180 cm\",\n                        \"code\": \"65x180 cm\"\n                    },\n                    {\n                        \"label\": \"135x300 cm\",\n                        \"code\": \"135x300 cm\"\n                    },\n                    {\n                        \"label\": \"150x300 cm\",\n                        \"code\": \"150x300 cm\"\n                    },\n                    {\n                        \"label\": \"100x150 cm\",\n                        \"code\": \"100x150 cm\"\n                    },\n                    {\n                        \"label\": \"112x35x32 cm\",\n                        \"code\": \"112x35x32 cm\"\n                    },\n                    {\n                        \"label\": \"0,75 L\",\n                        \"code\": \"0,75 L\"\n                    },\n                    {\n                        \"label\": \"120x50 cm\",\n                        \"code\": \"120x50 cm\"\n                    },\n                    {\n                        \"label\": \"9 tazas\",\n                        \"code\": \"9 tazas\"\n                    },\n                    {\n                        \"label\": \"12 tazas\",\n                        \"code\": \"12 tazas\"\n                    },\n                    {\n                        \"label\": \"7,6x22,9 cm\",\n                        \"code\": \"7,6x22,9 cm\"\n                    },\n                    {\n                        \"label\": \"Ø27x10 cm\",\n                        \"code\": \"Ø27x10 cm\"\n                    },\n                    {\n                        \"label\": \"0,6 L\",\n                        \"code\": \"0,6 L\"\n                    },\n                    {\n                        \"label\": \"18 L\",\n                        \"code\": \"18 L\"\n                    },\n                    {\n                        \"label\": \"29x19x14 cm\",\n                        \"code\": \"29x19x14 cm\"\n                    },\n                    {\n                        \"label\": \"27 cm\",\n                        \"code\": \"27 cm\"\n                    },\n                    {\n                        \"label\": \"230x160 cm\",\n                        \"code\": \"230x160 cm\"\n                    },\n                    {\n                        \"label\": \"57x10x25 cm\",\n                        \"code\": \"57x10x25 cm\"\n                    },\n                    {\n                        \"label\": \"18x18x38 cm\",\n                        \"code\": \"18x18x38 cm\"\n                    },\n                    {\n                        \"label\": \"Ø26 cm\",\n                        \"code\": \"Ø26 cm\"\n                    },\n                    {\n                        \"label\": \"Ø40 cm\",\n                        \"code\": \"Ø40 cm\"\n                    },\n                    {\n                        \"label\": \"35x22x6 cm\",\n                        \"code\": \"35x22x6 cm\"\n                    },\n                    {\n                        \"label\": \"36-45 cm\",\n                        \"code\": \"36-45 cm\"\n                    },\n                    {\n                        \"label\": \"Ø24x7,3 cm\",\n                        \"code\": \"Ø24x7,3 cm\"\n                    },\n                    {\n                        \"label\": \"6 L\",\n                        \"code\": \"6 L\"\n                    },\n                    {\n                        \"label\": \"36x23 cm\",\n                        \"code\": \"36x23 cm\"\n                    },\n                    {\n                        \"label\": \"Ø28 cm \",\n                        \"code\": \"Ø28 cm \"\n                    },\n                    {\n                        \"label\": \"24x24x2,5 cm\",\n                        \"code\": \"24x24x2,5 cm\"\n                    },\n                    {\n                        \"label\": \"Ø27 cm \",\n                        \"code\": \"Ø27 cm \"\n                    },\n                    {\n                        \"label\": \"50x14x170 cm\",\n                        \"code\": \"50x14x170 cm\"\n                    },\n                    {\n                        \"label\": \"9x9x23 cm\",\n                        \"code\": \"9x9x23 cm\"\n                    },\n                    {\n                        \"label\": \"48 cl\",\n                        \"code\": \"48 cl\"\n                    },\n                    {\n                        \"label\": \"9,5x9,5x23 cm\",\n                        \"code\": \"9,5x9,5x23 cm\"\n                    },\n                    {\n                        \"label\": \" 50x190 cm\",\n                        \"code\": \" 50x190 cm\"\n                    },\n                    {\n                        \"label\": \"45 cl \",\n                        \"code\": \"45 cl \"\n                    },\n                    {\n                        \"label\": \"600 ml\",\n                        \"code\": \"600 ml\"\n                    },\n                    {\n                        \"label\": \"46x31 cm\",\n                        \"code\": \"46x31 cm\"\n                    },\n                    {\n                        \"label\": \"45x30 cm\",\n                        \"code\": \"45x30 cm\"\n                    },\n                    {\n                        \"label\": \"100x100x75 cm\",\n                        \"code\": \"100x100x75 cm\"\n                    },\n                    {\n                        \"label\": \"1,7 L\",\n                        \"code\": \"1,7 L\"\n                    },\n                    {\n                        \"label\": \"9x9x18,5 cm\",\n                        \"code\": \"9x9x18,5 cm\"\n                    },\n                    {\n                        \"label\": \"26x12x12 cm\",\n                        \"code\": \"26x12x12 cm\"\n                    },\n                    {\n                        \"label\": \"14x14x17 cm\",\n                        \"code\": \"14x14x17 cm\"\n                    },\n                    {\n                        \"label\": \"Ø60 cm \",\n                        \"code\": \"Ø60 cm \"\n                    },\n                    {\n                        \"label\": \"23x23x8,9 cm\",\n                        \"code\": \"23x23x8,9 cm\"\n                    },\n                    {\n                        \"label\": \"36x24x20 cm\",\n                        \"code\": \"36x24x20 cm\"\n                    },\n                    {\n                        \"label\": \"44x31x26 cm\",\n                        \"code\": \"44x31x26 cm\"\n                    },\n                    {\n                        \"label\": \"18,5x18,2x5,6 cm\",\n                        \"code\": \"18,5x18,2x5,6 cm\"\n                    },\n                    {\n                        \"label\": \"23x15x7 cm\",\n                        \"code\": \"23x15x7 cm\"\n                    },\n                    {\n                        \"label\": \"32x24x12 cm\",\n                        \"code\": \"32x24x12 cm\"\n                    },\n                    {\n                        \"label\": \"40x30x20 cm\",\n                        \"code\": \"40x30x20 cm\"\n                    },\n                    {\n                        \"label\": \"35,5x35,5x6,5 cm\",\n                        \"code\": \"35,5x35,5x6,5 cm\"\n                    },\n                    {\n                        \"label\": \"37x21x12 cm\",\n                        \"code\": \"37x21x12 cm\"\n                    },\n                    {\n                        \"label\": \"30x20x16 cm\",\n                        \"code\": \"30x20x16 cm\"\n                    },\n                    {\n                        \"label\": \"12x10x6,5 cm\",\n                        \"code\": \"12x10x6,5 cm\"\n                    },\n                    {\n                        \"label\": \"Ø38 cm \",\n                        \"code\": \"Ø38 cm \"\n                    },\n                    {\n                        \"label\": \"90x70 cm\",\n                        \"code\": \"90x70 cm\"\n                    },\n                    {\n                        \"label\": \"24,5x19x2,5 cm\",\n                        \"code\": \"24,5x19x2,5 cm\"\n                    },\n                    {\n                        \"label\": \"22,2x17,2x1,52 cm\",\n                        \"code\": \"22,2x17,2x1,52 cm\"\n                    },\n                    {\n                        \"label\": \"25x20 cm\",\n                        \"code\": \"25x20 cm\"\n                    },\n                    {\n                        \"label\": \"13x2x18 cm\",\n                        \"code\": \"13x2x18 cm\"\n                    },\n                    {\n                        \"label\": \"18x24 cm\",\n                        \"code\": \"18x24 cm\"\n                    },\n                    {\n                        \"label\": \"31,6x1,8x41,6 cm\",\n                        \"code\": \"31,6x1,8x41,6 cm\"\n                    },\n                    {\n                        \"label\": \"15x20 cm\",\n                        \"code\": \"15x20 cm\"\n                    },\n                    {\n                        \"label\": \"13x13x27 cm\",\n                        \"code\": \"13x13x27 cm\"\n                    },\n                    {\n                        \"label\": \"98x60x48 cm\",\n                        \"code\": \"98x60x48 cm\"\n                    },\n                    {\n                        \"label\": \"55x40 cm\",\n                        \"code\": \"55x40 cm\"\n                    },\n                    {\n                        \"label\": \"27x27x30 cm\",\n                        \"code\": \"27x27x30 cm\"\n                    },\n                    {\n                        \"label\": \"20x20x31 cm\",\n                        \"code\": \"20x20x31 cm\"\n                    },\n                    {\n                        \"label\": \"16x11x6 cm\",\n                        \"code\": \"16x11x6 cm\"\n                    },\n                    {\n                        \"label\": \"0,50 L\",\n                        \"code\": \"0,50 L\"\n                    },\n                    {\n                        \"label\": \"36x27x18 cm\",\n                        \"code\": \"36x27x18 cm\"\n                    },\n                    {\n                        \"label\": \"9,5x9,5x10,2 cm\",\n                        \"code\": \"9,5x9,5x10,2 cm\"\n                    },\n                    {\n                        \"label\": \"9x9x12,5 cm\",\n                        \"code\": \"9x9x12,5 cm\"\n                    },\n                    {\n                        \"label\": \"470 ml\",\n                        \"code\": \"470 ml\"\n                    },\n                    {\n                        \"label\": \"10x10x13 cm\",\n                        \"code\": \"10x10x13 cm\"\n                    },\n                    {\n                        \"label\": \"7x7x16 cm\",\n                        \"code\": \"7x7x16 cm\"\n                    },\n                    {\n                        \"label\": \"20,2x17,8x26,2 cm\",\n                        \"code\": \"20,2x17,8x26,2 cm\"\n                    },\n                    {\n                        \"label\": \"7,5x7,5x15 cm\",\n                        \"code\": \"7,5x7,5x15 cm\"\n                    },\n                    {\n                        \"label\": \"Ø15 cm \",\n                        \"code\": \"Ø15 cm \"\n                    },\n                    {\n                        \"label\": \"26x26x13 cm\",\n                        \"code\": \"26x26x13 cm\"\n                    },\n                    {\n                        \"label\": \"9,5x9,5x9,5 cm\",\n                        \"code\": \"9,5x9,5x9,5 cm\"\n                    },\n                    {\n                        \"label\": \"40x40x56 cm\",\n                        \"code\": \"40x40x56 cm\"\n                    },\n                    {\n                        \"label\": \"25x25x10,5 cm\",\n                        \"code\": \"25x25x10,5 cm\"\n                    },\n                    {\n                        \"label\": \"27x27x23,5 cm\",\n                        \"code\": \"27x27x23,5 cm\"\n                    },\n                    {\n                        \"label\": \"28x20x14 cm\",\n                        \"code\": \"28x20x14 cm\"\n                    },\n                    {\n                        \"label\": \"34x34x34 cm\",\n                        \"code\": \"34x34x34 cm\"\n                    },\n                    {\n                        \"label\": \"34x24x14 cm\",\n                        \"code\": \"34x24x14 cm\"\n                    },\n                    {\n                        \"label\": \"37x27x14 cm\",\n                        \"code\": \"37x27x14 cm\"\n                    },\n                    {\n                        \"label\": \"27x27x11 cm\",\n                        \"code\": \"27x27x11 cm\"\n                    },\n                    {\n                        \"label\": \"22,5x22,5x25 cm\",\n                        \"code\": \"22,5x22,5x25 cm\"\n                    },\n                    {\n                        \"label\": \"32x26x18 cm\",\n                        \"code\": \"32x26x18 cm\"\n                    },\n                    {\n                        \"label\": \"20x20x12 cm\",\n                        \"code\": \"20x20x12 cm\"\n                    },\n                    {\n                        \"label\": \"32x21x19 cm\",\n                        \"code\": \"32x21x19 cm\"\n                    },\n                    {\n                        \"label\": \"Ø23 cm \",\n                        \"code\": \"Ø23 cm \"\n                    },\n                    {\n                        \"label\": \"31x21x16 cm\",\n                        \"code\": \"31x21x16 cm\"\n                    },\n                    {\n                        \"label\": \"30,5x22,5x11,5 cm\",\n                        \"code\": \"30,5x22,5x11,5 cm\"\n                    },\n                    {\n                        \"label\": \"35x26x16 cm\",\n                        \"code\": \"35x26x16 cm\"\n                    },\n                    {\n                        \"label\": \"26x13x9 cm\",\n                        \"code\": \"26x13x9 cm\"\n                    },\n                    {\n                        \"label\": \"29,5x23,5x16,5 cm\",\n                        \"code\": \"29,5x23,5x16,5 cm\"\n                    },\n                    {\n                        \"label\": \"34x24x22 cm\",\n                        \"code\": \"34x24x22 cm\"\n                    },\n                    {\n                        \"label\": \"40x30x17 cm\",\n                        \"code\": \"40x30x17 cm\"\n                    },\n                    {\n                        \"label\": \"24x24x13 cm\",\n                        \"code\": \"24x24x13 cm\"\n                    },\n                    {\n                        \"label\": \"32x23x14 cm\",\n                        \"code\": \"32x23x14 cm\"\n                    },\n                    {\n                        \"label\": \"30x14x12 cm\",\n                        \"code\": \"30x14x12 cm\"\n                    },\n                    {\n                        \"label\": \"21x21x21 cm\",\n                        \"code\": \"21x21x21 cm\"\n                    },\n                    {\n                        \"label\": \"20x20x20 cm\",\n                        \"code\": \"20x20x20 cm\"\n                    },\n                    {\n                        \"label\": \"69x39 cm\",\n                        \"code\": \"69x39 cm\"\n                    },\n                    {\n                        \"label\": \"23x23x8 cm\",\n                        \"code\": \"23x23x8 cm\"\n                    },\n                    {\n                        \"label\": \"15,5x15,5x9 cm\",\n                        \"code\": \"15,5x15,5x9 cm\"\n                    },\n                    {\n                        \"label\": \"18,6x18,6x9 cm\",\n                        \"code\": \"18,6x18,6x9 cm\"\n                    },\n                    {\n                        \"label\": \"45x45x1 cm\",\n                        \"code\": \"45x45x1 cm\"\n                    },\n                    {\n                        \"label\": \"1,25 cl\",\n                        \"code\": \"1,25 cl\"\n                    },\n                    {\n                        \"label\": \"197 cl\",\n                        \"code\": \"197 cl\"\n                    },\n                    {\n                        \"label\": \"1100 ml\",\n                        \"code\": \"1100 ml\"\n                    },\n                    {\n                        \"label\": \"1,5 L\",\n                        \"code\": \"1,5 L\"\n                    },\n                    {\n                        \"label\": \"18x11x9 cm\",\n                        \"code\": \"18x11x9 cm\"\n                    },\n                    {\n                        \"label\": \"16x11x16 cm\",\n                        \"code\": \"16x11x16 cm\"\n                    },\n                    {\n                        \"label\": \"1,04 L\",\n                        \"code\": \"1,04 L\"\n                    },\n                    {\n                        \"label\": \"70 cl\",\n                        \"code\": \"70 cl\"\n                    },\n                    {\n                        \"label\": \"90 cl\",\n                        \"code\": \"90 cl\"\n                    },\n                    {\n                        \"label\": \"Ø10x15 cm \",\n                        \"code\": \"Ø10x15 cm \"\n                    },\n                    {\n                        \"label\": \"Ø11,5 cm \",\n                        \"code\": \"Ø11,5 cm \"\n                    },\n                    {\n                        \"label\": \"50x50x44 cm\",\n                        \"code\": \"50x50x44 cm\"\n                    },\n                    {\n                        \"label\": \"55x55x45 cm\",\n                        \"code\": \"55x55x45 cm\"\n                    },\n                    {\n                        \"label\": \"120x70x40 cm\",\n                        \"code\": \"120x70x40 cm\"\n                    },\n                    {\n                        \"label\": \"60x60x55 cm\",\n                        \"code\": \"60x60x55 cm\"\n                    },\n                    {\n                        \"label\": \"48x48x43 cm\",\n                        \"code\": \"48x48x43 cm\"\n                    },\n                    {\n                        \"label\": \"90x46x45,8 cm\",\n                        \"code\": \"90x46x45,8 cm\"\n                    },\n                    {\n                        \"label\": \"40x40 cm\",\n                        \"code\": \"40x40 cm\"\n                    },\n                    {\n                        \"label\": \"100x100x76 cm\",\n                        \"code\": \"100x100x76 cm\"\n                    },\n                    {\n                        \"label\": \"45x45x40 cm\",\n                        \"code\": \"45x45x40 cm\"\n                    },\n                    {\n                        \"label\": \"48x48x61 cm\",\n                        \"code\": \"48x48x61 cm\"\n                    },\n                    {\n                        \"label\": \"80x40x50 cm\",\n                        \"code\": \"80x40x50 cm\"\n                    },\n                    {\n                        \"label\": \"60x45x43 cm\",\n                        \"code\": \"60x45x43 cm\"\n                    },\n                    {\n                        \"label\": \"50x50x45 cm\",\n                        \"code\": \"50x50x45 cm\"\n                    },\n                    {\n                        \"label\": \"18x18x22 cm\",\n                        \"code\": \"18x18x22 cm\"\n                    },\n                    {\n                        \"label\": \"26x26x0 cm\",\n                        \"code\": \"26x26x0 cm\"\n                    },\n                    {\n                        \"label\": \"14x14x14 cm\",\n                        \"code\": \"14x14x14 cm\"\n                    },\n                    {\n                        \"label\": \"14x14x16 cm\",\n                        \"code\": \"14x14x16 cm\"\n                    },\n                    {\n                        \"label\": \"17x17x16 cm\",\n                        \"code\": \"17x17x16 cm\"\n                    },\n                    {\n                        \"label\": \"78x63x108 cm\",\n                        \"code\": \"78x63x108 cm\"\n                    },\n                    {\n                        \"label\": \"27x20x4 cm\",\n                        \"code\": \"27x20x4 cm\"\n                    },\n                    {\n                        \"label\": \"3-4 personas\",\n                        \"code\": \"3-4 personas\"\n                    },\n                    {\n                        \"label\": \"100,5x34,5x151 cm\",\n                        \"code\": \"100,5x34,5x151 cm\"\n                    },\n                    {\n                        \"label\": \"100x35x180 cm\",\n                        \"code\": \"100x35x180 cm\"\n                    },\n                    {\n                        \"label\": \"35x25x1 cm\",\n                        \"code\": \"35x25x1 cm\"\n                    },\n                    {\n                        \"label\": \"1,9 L\",\n                        \"code\": \"1,9 L\"\n                    },\n                    {\n                        \"label\": \"7x7x23,5 cm\",\n                        \"code\": \"7x7x23,5 cm\"\n                    },\n                    {\n                        \"label\": \"Ø80 cm \",\n                        \"code\": \"Ø80 cm \"\n                    },\n                    {\n                        \"label\": \"Ø16 cm\",\n                        \"code\": \"Ø16 cm\"\n                    },\n                    {\n                        \"label\": \"180x85x76 cm\",\n                        \"code\": \"180x85x76 cm\"\n                    },\n                    {\n                        \"label\": \"3 plazas\",\n                        \"code\": \"3 plazas\"\n                    },\n                    {\n                        \"label\": \"160x90x75 cm\",\n                        \"code\": \"160x90x75 cm\"\n                    },\n                    {\n                        \"label\": \"180x95x76 cm\",\n                        \"code\": \"180x95x76 cm\"\n                    },\n                    {\n                        \"label\": \"209x87x74 cm\",\n                        \"code\": \"209x87x74 cm\"\n                    },\n                    {\n                        \"label\": \"180 cm\",\n                        \"code\": \"180 cm\"\n                    },\n                    {\n                        \"label\": \"137x180 cm\",\n                        \"code\": \"137x180 cm\"\n                    },\n                    {\n                        \"label\": \"135x170 cm\",\n                        \"code\": \"135x170 cm\"\n                    },\n                    {\n                        \"label\": \"31x15x15 cm\",\n                        \"code\": \"31x15x15 cm\"\n                    },\n                    {\n                        \"label\": \"26x23 cm\",\n                        \"code\": \"26x23 cm\"\n                    },\n                    {\n                        \"label\": \"140x100 cm\",\n                        \"code\": \"140x100 cm\"\n                    },\n                    {\n                        \"label\": \"33x23 cm\",\n                        \"code\": \"33x23 cm\"\n                    },\n                    {\n                        \"label\": \"13x35 cm\",\n                        \"code\": \"13x35 cm\"\n                    },\n                    {\n                        \"label\": \"ø28x24 cm\",\n                        \"code\": \"ø28x24 cm\"\n                    },\n                    {\n                        \"label\": \"95x95x75 cm\",\n                        \"code\": \"95x95x75 cm\"\n                    },\n                    {\n                        \"label\": \"40x143x45 cm\",\n                        \"code\": \"40x143x45 cm\"\n                    },\n                    {\n                        \"label\": \"200 cm\",\n                        \"code\": \"200 cm\"\n                    },\n                    {\n                        \"label\": \"60 cl\",\n                        \"code\": \"60 cl\"\n                    },\n                    {\n                        \"label\": \"75 cl\",\n                        \"code\": \"75 cl\"\n                    },\n                    {\n                        \"label\": \"24 cm\",\n                        \"code\": \"24 cm\"\n                    },\n                    {\n                        \"label\": \"150x264 cm\",\n                        \"code\": \"150x264 cm\"\n                    },\n                    {\n                        \"label\": \"31x31x15 cm\",\n                        \"code\": \"31x31x15 cm\"\n                    },\n                    {\n                        \"label\": \"31x23x19 cm\",\n                        \"code\": \"31x23x19 cm\"\n                    },\n                    {\n                        \"label\": \"32x28 cm\",\n                        \"code\": \"32x28 cm\"\n                    },\n                    {\n                        \"label\": \"38x28 cm\",\n                        \"code\": \"38x28 cm\"\n                    },\n                    {\n                        \"label\": \"22x22 cm\",\n                        \"code\": \"22x22 cm\"\n                    },\n                    {\n                        \"label\": \"100x33x179 cm\",\n                        \"code\": \"100x33x179 cm\"\n                    },\n                    {\n                        \"label\": \"40x181x45 cm\",\n                        \"code\": \"40x181x45 cm\"\n                    },\n                    {\n                        \"label\": \"36x28x21cm\",\n                        \"code\": \"36x28x21cm\"\n                    },\n                    {\n                        \"label\": \"38x33 cm\",\n                        \"code\": \"38x33 cm\"\n                    },\n                    {\n                        \"label\": \"31x31x31 cm\",\n                        \"code\": \"31x31x31 cm\"\n                    },\n                    {\n                        \"label\": \"ø33x29 cm\",\n                        \"code\": \"ø33x29 cm\"\n                    },\n                    {\n                        \"label\": \"161x95x75 cm\",\n                        \"code\": \"161x95x75 cm\"\n                    },\n                    {\n                        \"label\": \"100x33x106cm\",\n                        \"code\": \"100x33x106cm\"\n                    },\n                    {\n                        \"label\": \"ø38x34 cm\",\n                        \"code\": \"ø38x34 cm\"\n                    },\n                    {\n                        \"label\": \"0,75 cl\",\n                        \"code\": \"0,75 cl\"\n                    },\n                    {\n                        \"label\": \"208x104x75 cm\",\n                        \"code\": \"208x104x75 cm\"\n                    },\n                    {\n                        \"label\": \"100x33x140 cm\",\n                        \"code\": \"100x33x140 cm\"\n                    },\n                    {\n                        \"label\": \"41x33x23 cm\",\n                        \"code\": \"41x33x23 cm\"\n                    },\n                    {\n                        \"label\": \"2 L\",\n                        \"code\": \"2 L\"\n                    },\n                    {\n                        \"label\": \"95x95x95 cm\",\n                        \"code\": \"95x95x95 cm\"\n                    },\n                    {\n                        \"label\": \"20x16 cm\",\n                        \"code\": \"20x16 cm\"\n                    },\n                    {\n                        \"label\": \"9,5x4 cm\",\n                        \"code\": \"9,5x4 cm\"\n                    },\n                    {\n                        \"label\": \"8 cm\",\n                        \"code\": \"8 cm\"\n                    },\n                    {\n                        \"label\": \"40x50 cm\",\n                        \"code\": \"40x50 cm\"\n                    },\n                    {\n                        \"label\": \"20 cl\",\n                        \"code\": \"20 cl\"\n                    },\n                    {\n                        \"label\": \"30x40 cm\",\n                        \"code\": \"30x40 cm\"\n                    },\n                    {\n                        \"label\": \"1000 ml\",\n                        \"code\": \"1000 ml\"\n                    },\n                    {\n                        \"label\": \"23x18 cm\",\n                        \"code\": \"23x18 cm\"\n                    },\n                    {\n                        \"label\": \"11,5x6 cm\",\n                        \"code\": \"11,5x6 cm\"\n                    },\n                    {\n                        \"label\": \"10 cm\",\n                        \"code\": \"10 cm\"\n                    },\n                    {\n                        \"label\": \"28x20 cm\",\n                        \"code\": \"28x20 cm\"\n                    },\n                    {\n                        \"label\": \"50x70 cm\",\n                        \"code\": \"50x70 cm\"\n                    },\n                    {\n                        \"label\": \"1500 ml\",\n                        \"code\": \"1500 ml\"\n                    },\n                    {\n                        \"label\": \"14x7 cm\",\n                        \"code\": \"14x7 cm\"\n                    },\n                    {\n                        \"label\": \"17,5x8 cm\",\n                        \"code\": \"17,5x8 cm\"\n                    },\n                    {\n                        \"label\": \"20x9 cm\",\n                        \"code\": \"20x9 cm\"\n                    },\n                    {\n                        \"label\": \"2000 ml\",\n                        \"code\": \"2000 ml\"\n                    },\n                    {\n                        \"label\": \"350ml\",\n                        \"code\": \"350ml\"\n                    },\n                    {\n                        \"label\": \"500ml\",\n                        \"code\": \"500ml\"\n                    }\n                ],\n                \"template_name\": \"Product template\",\n                \"position\": 35,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 30\n            },\n            {\n                \"id\": 31,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:14.706799Z\",\n                \"updated_at\": \"2021-06-18T09:32:07.127479Z\",\n                \"name\": \"Modelo\",\n                \"code\": \"model\",\n                \"type\": \"SELECT\",\n                \"options\": {\n                    \"with_search\": true\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [\n                    {\n                        \"label\": \"Rombos  \",\n                        \"code\": \"Rombos  \"\n                    },\n                    {\n                        \"label\": \"Muñeco de nieve\",\n                        \"code\": \"Muñeco de nieve\"\n                    },\n                    {\n                        \"label\": \"Animales tropical\",\n                        \"code\": \"Animales tropical\"\n                    },\n                    {\n                        \"label\": \"Carne\",\n                        \"code\": \"Carne\"\n                    },\n                    {\n                        \"label\": \"Gato\",\n                        \"code\": \"Gato\"\n                    },\n                    {\n                        \"label\": \"Café \",\n                        \"code\": \"Café \"\n                    },\n                    {\n                        \"label\": \"Volskwagen \",\n                        \"code\": \"Volskwagen \"\n                    },\n                    {\n                        \"label\": \"Foto de elefante\",\n                        \"code\": \"Foto de elefante\"\n                    },\n                    {\n                        \"label\": \"Mini\",\n                        \"code\": \"Mini\"\n                    },\n                    {\n                        \"label\": \"Martini\",\n                        \"code\": \"Martini\"\n                    },\n                    {\n                        \"label\": \"Flores multicolor\",\n                        \"code\": \"Flores multicolor\"\n                    },\n                    {\n                        \"label\": \"Salero\",\n                        \"code\": \"Salero\"\n                    },\n                    {\n                        \"label\": \"Redondo \",\n                        \"code\": \"Redondo \"\n                    },\n                    {\n                        \"label\": \"Aceitera\",\n                        \"code\": \"Aceitera\"\n                    },\n                    {\n                        \"label\": \"N\",\n                        \"code\": \"N\"\n                    },\n                    {\n                        \"label\": \"Moto\",\n                        \"code\": \"Moto\"\n                    },\n                    {\n                        \"label\": \"Hoja honda\",\n                        \"code\": \"Hoja honda\"\n                    },\n                    {\n                        \"label\": \"Lavanda\",\n                        \"code\": \"Lavanda\"\n                    },\n                    {\n                        \"label\": \"Rinoceronte\",\n                        \"code\": \"Rinoceronte\"\n                    },\n                    {\n                        \"label\": \"Oval\",\n                        \"code\": \"Oval\"\n                    },\n                    {\n                        \"label\": \"Elvis\",\n                        \"code\": \"Elvis\"\n                    },\n                    {\n                        \"label\": \"Cactus\",\n                        \"code\": \"Cactus\"\n                    },\n                    {\n                        \"label\": \"Welcome\",\n                        \"code\": \"Welcome\"\n                    },\n                    {\n                        \"label\": \"Semiesfera\",\n                        \"code\": \"Semiesfera\"\n                    },\n                    {\n                        \"label\": \"My house\",\n                        \"code\": \"My house\"\n                    },\n                    {\n                        \"label\": \"Wifi\",\n                        \"code\": \"Wifi\"\n                    },\n                    {\n                        \"label\": \"Pampille\",\n                        \"code\": \"Pampille\"\n                    },\n                    {\n                        \"label\": \"Canela y naranja\",\n                        \"code\": \"Canela y naranja\"\n                    },\n                    {\n                        \"label\": \"Blanco\",\n                        \"code\": \"Blanco\"\n                    },\n                    {\n                        \"label\": \"Sa\",\n                        \"code\": \"Sa\"\n                    },\n                    {\n                        \"label\": \"Vainilla\",\n                        \"code\": \"Vainilla\"\n                    },\n                    {\n                        \"label\": \"Eo side\",\n                        \"code\": \"Eo side\"\n                    },\n                    {\n                        \"label\": \"Cereza\",\n                        \"code\": \"Cereza\"\n                    },\n                    {\n                        \"label\": \"USA\",\n                        \"code\": \"USA\"\n                    },\n                    {\n                        \"label\": \"Letra O\",\n                        \"code\": \"Letra O\"\n                    },\n                    {\n                        \"label\": \"New York\",\n                        \"code\": \"New York\"\n                    },\n                    {\n                        \"label\": \"Topos\",\n                        \"code\": \"Topos\"\n                    },\n                    {\n                        \"label\": \"Volkswagen\",\n                        \"code\": \"Volkswagen\"\n                    },\n                    {\n                        \"label\": \"Coffe&chocolate morning\",\n                        \"code\": \"Coffe&chocolate morning\"\n                    },\n                    {\n                        \"label\": \"Panda\",\n                        \"code\": \"Panda\"\n                    },\n                    {\n                        \"label\": \"Ancora\",\n                        \"code\": \"Ancora\"\n                    },\n                    {\n                        \"label\": \"Flor rosa\",\n                        \"code\": \"Flor rosa\"\n                    },\n                    {\n                        \"label\": \"Flor primavera\",\n                        \"code\": \"Flor primavera\"\n                    },\n                    {\n                        \"label\": \"Sarabi 1\",\n                        \"code\": \"Sarabi 1\"\n                    },\n                    {\n                        \"label\": \"Dino\",\n                        \"code\": \"Dino\"\n                    },\n                    {\n                        \"label\": \"Mesa auxiliar\",\n                        \"code\": \"Mesa auxiliar\"\n                    },\n                    {\n                        \"label\": \"Respaldo gris\",\n                        \"code\": \"Respaldo gris\"\n                    },\n                    {\n                        \"label\": \"Leisure patchwork s/brazos\",\n                        \"code\": \"Leisure patchwork s/brazos\"\n                    },\n                    {\n                        \"label\": \"Leisure blanca s/brazos\",\n                        \"code\": \"Leisure blanca s/brazos\"\n                    },\n                    {\n                        \"label\": \"Rayas blanco y negro\",\n                        \"code\": \"Rayas blanco y negro\"\n                    },\n                    {\n                        \"label\": \"Mosaico verde agua\",\n                        \"code\": \"Mosaico verde agua\"\n                    },\n                    {\n                        \"label\": \"Tropical\",\n                        \"code\": \"Tropical\"\n                    },\n                    {\n                        \"label\": \"Boc'n roll\",\n                        \"code\": \"Boc'n roll\"\n                    },\n                    {\n                        \"label\": \"Terciopelo verde\",\n                        \"code\": \"Terciopelo verde\"\n                    },\n                    {\n                        \"label\": \"Yoghourtbox 60cl\",\n                        \"code\": \"Yoghourtbox 60cl\"\n                    },\n                    {\n                        \"label\": \"Burdeos dots\",\n                        \"code\": \"Burdeos dots\"\n                    },\n                    {\n                        \"label\": \"Ice cream\",\n                        \"code\": \"Ice cream\"\n                    },\n                    {\n                        \"label\": \"sofá\",\n                        \"code\": \"sofá\"\n                    },\n                    {\n                        \"label\": \"Izquierda\",\n                        \"code\": \"Izquierda\"\n                    },\n                    {\n                        \"label\": \"Taburete\",\n                        \"code\": \"Taburete\"\n                    },\n                    {\n                        \"label\": \"Rayas\",\n                        \"code\": \"Rayas\"\n                    },\n                    {\n                        \"label\": \"Santa Claus\",\n                        \"code\": \"Santa Claus\"\n                    },\n                    {\n                        \"label\": \"Floral\",\n                        \"code\": \"Floral\"\n                    },\n                    {\n                        \"label\": \"Jungla\",\n                        \"code\": \"Jungla\"\n                    },\n                    {\n                        \"label\": \"Pescado\",\n                        \"code\": \"Pescado\"\n                    },\n                    {\n                        \"label\": \"Té\",\n                        \"code\": \"Té\"\n                    },\n                    {\n                        \"label\": \"Perro\",\n                        \"code\": \"Perro\"\n                    },\n                    {\n                        \"label\": \"Gin & Tonic\",\n                        \"code\": \"Gin & Tonic\"\n                    },\n                    {\n                        \"label\": \"Vespa\",\n                        \"code\": \"Vespa\"\n                    },\n                    {\n                        \"label\": \"Foto de tigre\",\n                        \"code\": \"Foto de tigre\"\n                    },\n                    {\n                        \"label\": \"Coca-Cola\",\n                        \"code\": \"Coca-Cola\"\n                    },\n                    {\n                        \"label\": \"Verde \",\n                        \"code\": \"Verde \"\n                    },\n                    {\n                        \"label\": \"Rectangular  \",\n                        \"code\": \"Rectangular  \"\n                    },\n                    {\n                        \"label\": \"Vinagrera\",\n                        \"code\": \"Vinagrera\"\n                    },\n                    {\n                        \"label\": \"Pimentero\",\n                        \"code\": \"Pimentero\"\n                    },\n                    {\n                        \"label\": \"C\",\n                        \"code\": \"C\"\n                    },\n                    {\n                        \"label\": \"Beatles\",\n                        \"code\": \"Beatles\"\n                    },\n                    {\n                        \"label\": \"Hoja larga\",\n                        \"code\": \"Hoja larga\"\n                    },\n                    {\n                        \"label\": \"Orangután\",\n                        \"code\": \"Orangután\"\n                    },\n                    {\n                        \"label\": \"Superman\",\n                        \"code\": \"Superman\"\n                    },\n                    {\n                        \"label\": \"Puerta\",\n                        \"code\": \"Puerta\"\n                    },\n                    {\n                        \"label\": \"Redondo\",\n                        \"code\": \"Redondo\"\n                    },\n                    {\n                        \"label\": \"Botella\",\n                        \"code\": \"Botella\"\n                    },\n                    {\n                        \"label\": \"Liso\",\n                        \"code\": \"Liso\"\n                    },\n                    {\n                        \"label\": \"Estrellas\",\n                        \"code\": \"Estrellas\"\n                    },\n                    {\n                        \"label\": \"Home\",\n                        \"code\": \"Home\"\n                    },\n                    {\n                        \"label\": \"Riad\",\n                        \"code\": \"Riad\"\n                    },\n                    {\n                        \"label\": \"Frutos rojos\",\n                        \"code\": \"Frutos rojos\"\n                    },\n                    {\n                        \"label\": \"Naranja\",\n                        \"code\": \"Naranja\"\n                    },\n                    {\n                        \"label\": \"Am\",\n                        \"code\": \"Am\"\n                    },\n                    {\n                        \"label\": \"Esencia botánica\",\n                        \"code\": \"Esencia botánica\"\n                    },\n                    {\n                        \"label\": \"Manzana\",\n                        \"code\": \"Manzana\"\n                    },\n                    {\n                        \"label\": \"Jazmín\",\n                        \"code\": \"Jazmín\"\n                    },\n                    {\n                        \"label\": \"Peoni\",\n                        \"code\": \"Peoni\"\n                    },\n                    {\n                        \"label\": \"Eo turquoise\",\n                        \"code\": \"Eo turquoise\"\n                    },\n                    {\n                        \"label\": \"Uk\",\n                        \"code\": \"Uk\"\n                    },\n                    {\n                        \"label\": \"Letra I\",\n                        \"code\": \"Letra I\"\n                    },\n                    {\n                        \"label\": \"París\",\n                        \"code\": \"París\"\n                    },\n                    {\n                        \"label\": \"Bulldog\",\n                        \"code\": \"Bulldog\"\n                    },\n                    {\n                        \"label\": \"Coffee&chocolate morning\",\n                        \"code\": \"Coffee&chocolate morning\"\n                    },\n                    {\n                        \"label\": \"Acuarela\",\n                        \"code\": \"Acuarela\"\n                    },\n                    {\n                        \"label\": \"Ballena\",\n                        \"code\": \"Ballena\"\n                    },\n                    {\n                        \"label\": \"Keila 1\",\n                        \"code\": \"Keila 1\"\n                    },\n                    {\n                        \"label\": \"Mickey Mouse\",\n                        \"code\": \"Mickey Mouse\"\n                    },\n                    {\n                        \"label\": \"Mesa centro\",\n                        \"code\": \"Mesa centro\"\n                    },\n                    {\n                        \"label\": \"Base gris\",\n                        \"code\": \"Base gris\"\n                    },\n                    {\n                        \"label\": \"Leisure patchwork c/brazos\",\n                        \"code\": \"Leisure patchwork c/brazos\"\n                    },\n                    {\n                        \"label\": \"Leisure blanca c/brazos\",\n                        \"code\": \"Leisure blanca c/brazos\"\n                    },\n                    {\n                        \"label\": \"Rayas blanco y beige\",\n                        \"code\": \"Rayas blanco y beige\"\n                    },\n                    {\n                        \"label\": \"Azul y blanco\",\n                        \"code\": \"Azul y blanco\"\n                    },\n                    {\n                        \"label\": \"Mosaico azul\",\n                        \"code\": \"Mosaico azul\"\n                    },\n                    {\n                        \"label\": \"Snack' go\",\n                        \"code\": \"Snack' go\"\n                    },\n                    {\n                        \"label\": \"Brunchbox 1,2l\",\n                        \"code\": \"Brunchbox 1,2l\"\n                    },\n                    {\n                        \"label\": \"Azul jaspeado\",\n                        \"code\": \"Azul jaspeado\"\n                    },\n                    {\n                        \"label\": \"Azul\",\n                        \"code\": \"Azul\"\n                    },\n                    {\n                        \"label\": \"Hamburguesa\",\n                        \"code\": \"Hamburguesa\"\n                    },\n                    {\n                        \"label\": \"Taburete alto\",\n                        \"code\": \"Taburete alto\"\n                    },\n                    {\n                        \"label\": \"sofá + mesa\",\n                        \"code\": \"sofá + mesa\"\n                    },\n                    {\n                        \"label\": \"Ruta 66\",\n                        \"code\": \"Ruta 66\"\n                    },\n                    {\n                        \"label\": \"Derecha\",\n                        \"code\": \"Derecha\"\n                    },\n                    {\n                        \"label\": \"Elefantes\",\n                        \"code\": \"Elefantes\"\n                    },\n                    {\n                        \"label\": \"M\",\n                        \"code\": \"M\"\n                    },\n                    {\n                        \"label\": \"Fiat 500\",\n                        \"code\": \"Fiat 500\"\n                    },\n                    {\n                        \"label\": \"Barco\",\n                        \"code\": \"Barco\"\n                    },\n                    {\n                        \"label\": \"Hello Bye\",\n                        \"code\": \"Hello Bye\"\n                    },\n                    {\n                        \"label\": \"Karl \",\n                        \"code\": \"Karl \"\n                    },\n                    {\n                        \"label\": \"Avión\",\n                        \"code\": \"Avión\"\n                    },\n                    {\n                        \"label\": \"Rosa claro\",\n                        \"code\": \"Rosa claro\"\n                    },\n                    {\n                        \"label\": \"Letra E\",\n                        \"code\": \"Letra E\"\n                    },\n                    {\n                        \"label\": \"Rosa\",\n                        \"code\": \"Rosa\"\n                    },\n                    {\n                        \"label\": \"London\",\n                        \"code\": \"London\"\n                    },\n                    {\n                        \"label\": \"Corazones\",\n                        \"code\": \"Corazones\"\n                    },\n                    {\n                        \"label\": \"Oveja\",\n                        \"code\": \"Oveja\"\n                    },\n                    {\n                        \"label\": \"Kellogg's Corn Flakes\",\n                        \"code\": \"Kellogg's Corn Flakes\"\n                    },\n                    {\n                        \"label\": \"Bruma azul\",\n                        \"code\": \"Bruma azul\"\n                    },\n                    {\n                        \"label\": \"Caballito de mar\",\n                        \"code\": \"Caballito de mar\"\n                    },\n                    {\n                        \"label\": \"León\",\n                        \"code\": \"León\"\n                    },\n                    {\n                        \"label\": \"Irene\",\n                        \"code\": \"Irene\"\n                    },\n                    {\n                        \"label\": \"Rayas azul y blanco\",\n                        \"code\": \"Rayas azul y blanco\"\n                    },\n                    {\n                        \"label\": \"Audi\",\n                        \"code\": \"Audi\"\n                    },\n                    {\n                        \"label\": \"Snackbox 1,2l\",\n                        \"code\": \"Snackbox 1,2l\"\n                    },\n                    {\n                        \"label\": \"Flores rosas\",\n                        \"code\": \"Flores rosas\"\n                    },\n                    {\n                        \"label\": \"P\",\n                        \"code\": \"P\"\n                    },\n                    {\n                        \"label\": \"Algodón\",\n                        \"code\": \"Algodón\"\n                    },\n                    {\n                        \"label\": \"Letra R\",\n                        \"code\": \"Letra R\"\n                    },\n                    {\n                        \"label\": \"Unicornio\",\n                        \"code\": \"Unicornio\"\n                    },\n                    {\n                        \"label\": \"Kellogg's the original\",\n                        \"code\": \"Kellogg's the original\"\n                    },\n                    {\n                        \"label\": \"Arco iris\",\n                        \"code\": \"Arco iris\"\n                    },\n                    {\n                        \"label\": \"A\",\n                        \"code\": \"A\"\n                    },\n                    {\n                        \"label\": \"Cuadrados bicolor\",\n                        \"code\": \"Cuadrados bicolor\"\n                    },\n                    {\n                        \"label\": \"Lila\",\n                        \"code\": \"Lila\"\n                    },\n                    {\n                        \"label\": \"Coral\",\n                        \"code\": \"Coral\"\n                    },\n                    {\n                        \"label\": \"Flores\",\n                        \"code\": \"Flores\"\n                    },\n                    {\n                        \"label\": \"Rojo\",\n                        \"code\": \"Rojo\"\n                    },\n                    {\n                        \"label\": \"Verde Tartán\",\n                        \"code\": \"Verde Tartán\"\n                    },\n                    {\n                        \"label\": \"Rectangular\",\n                        \"code\": \"Rectangular\"\n                    },\n                    {\n                        \"label\": \"Cuadrado\",\n                        \"code\": \"Cuadrado\"\n                    },\n                    {\n                        \"label\": \"La Plage III\",\n                        \"code\": \"La Plage III\"\n                    },\n                    {\n                        \"label\": \"Orange\",\n                        \"code\": \"Orange\"\n                    },\n                    {\n                        \"label\": \"G80\",\n                        \"code\": \"G80\"\n                    },\n                    {\n                        \"label\": \"La Plage Profil\",\n                        \"code\": \"La Plage Profil\"\n                    },\n                    {\n                        \"label\": \"Gold\",\n                        \"code\": \"Gold\"\n                    },\n                    {\n                        \"label\": \"Mapa\",\n                        \"code\": \"Mapa\"\n                    },\n                    {\n                        \"label\": \"Oro rosa\",\n                        \"code\": \"Oro rosa\"\n                    },\n                    {\n                        \"label\": \"G\",\n                        \"code\": \"Golondrinas\"\n                    },\n                    {\n                        \"label\": \"Vichy azul\",\n                        \"code\": \"Vichy azul\"\n                    }\n                ],\n                \"template_name\": \"Product template\",\n                \"position\": 36,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 31\n            },\n            {\n                \"id\": 74,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:15.058638Z\",\n                \"updated_at\": \"2021-06-01T14:36:15.058657Z\",\n                \"name\": \"Material principal\",\n                \"code\": \"material\",\n                \"type\": \"SELECT\",\n                \"options\": {\n                    \"with_search\": true\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [\n                    {\n                        \"label\": \"Madera\",\n                        \"code\": \"MADERA\"\n                    },\n                    {\n                        \"label\": \"Cristal\",\n                        \"code\": \"CRISTAL\"\n                    },\n                    {\n                        \"label\": \"Acrilico\",\n                        \"code\": \"ACRILICO\"\n                    },\n                    {\n                        \"label\": \"Acero\",\n                        \"code\": \"ACERO\"\n                    },\n                    {\n                        \"label\": \"Acero inoxidable\",\n                        \"code\": \"ACERO INOXIDABLE\"\n                    },\n                    {\n                        \"label\": \"Abs\",\n                        \"code\": \"ABS\"\n                    },\n                    {\n                        \"label\": \"Vidrio\",\n                        \"code\": \"VIDRIO\"\n                    },\n                    {\n                        \"label\": \"Plastico\",\n                        \"code\": \"PLASTICO\"\n                    },\n                    {\n                        \"label\": \"Algodon\",\n                        \"code\": \"ALGODON\"\n                    },\n                    {\n                        \"label\": \"Aluminio\",\n                        \"code\": \"ALUMINIO\"\n                    },\n                    {\n                        \"label\": \"Metal\",\n                        \"code\": \"METAL\"\n                    },\n                    {\n                        \"label\": \"Porcelana\",\n                        \"code\": \"PORCELANA\"\n                    },\n                    {\n                        \"label\": \"Nylon\",\n                        \"code\": \"NYLON\"\n                    },\n                    {\n                        \"label\": \"Silicona\",\n                        \"code\": \"SILICONA\"\n                    },\n                    {\n                        \"label\": \"Bambú\",\n                        \"code\": \"BAMBU\"\n                    },\n                    {\n                        \"label\": \"Piel\",\n                        \"code\": \"PIEL\"\n                    },\n                    {\n                        \"label\": \"Marmol\",\n                        \"code\": \"MARMOL\"\n                    },\n                    {\n                        \"label\": \"Polipropileno\",\n                        \"code\": \"POLIPROPILENO\"\n                    },\n                    {\n                        \"label\": \"Resina\",\n                        \"code\": \"RESINA\"\n                    },\n                    {\n                        \"label\": \"Poliester\",\n                        \"code\": \"POLIESTER\"\n                    },\n                    {\n                        \"label\": \"Mdf\",\n                        \"code\": \"MDF\"\n                    },\n                    {\n                        \"label\": \"Ceramica\",\n                        \"code\": \"CERAMICA\"\n                    },\n                    {\n                        \"label\": \"Hierro\",\n                        \"code\": \"HIERRO\"\n                    },\n                    {\n                        \"label\": \"Piedra\",\n                        \"code\": \"PIEDRA\"\n                    },\n                    {\n                        \"label\": \"Pizarra\",\n                        \"code\": \"PIZARRA\"\n                    },\n                    {\n                        \"label\": \"Ratan sintetico\",\n                        \"code\": \"RATAN SINTETICO\"\n                    },\n                    {\n                        \"label\": \"Polietileno\",\n                        \"code\": \"POLIETILENO\"\n                    },\n                    {\n                        \"label\": \"Melamina\",\n                        \"code\": \"MELAMINA\"\n                    },\n                    {\n                        \"label\": \"Pvc\",\n                        \"code\": \"PVC\"\n                    },\n                    {\n                        \"label\": \"Aluminio fundido\",\n                        \"code\": \"ALUMINIO FUNDIDO\"\n                    },\n                    {\n                        \"label\": \"Microfibra\",\n                        \"code\": \"MICROFIBRA\"\n                    },\n                    {\n                        \"label\": \"Papel\",\n                        \"code\": \"PAPEL\"\n                    },\n                    {\n                        \"label\": \"Gres\",\n                        \"code\": \"GRES\"\n                    },\n                    {\n                        \"label\": \"Vinilo\",\n                        \"code\": \"VINILO\"\n                    },\n                    {\n                        \"label\": \"Granito\",\n                        \"code\": \"GRANITO\"\n                    },\n                    {\n                        \"label\": \"Borosilicato\",\n                        \"code\": \"BOROSILICATO\"\n                    },\n                    {\n                        \"label\": \"Tritan\",\n                        \"code\": \"TRITAN\"\n                    },\n                    {\n                        \"label\": \"Fibra\",\n                        \"code\": \"FIBRA\"\n                    },\n                    {\n                        \"label\": \"Teflon\",\n                        \"code\": \"TEFLON\"\n                    },\n                    {\n                        \"label\": \"Zinc\",\n                        \"code\": \"ZINC\"\n                    },\n                    {\n                        \"label\": \"Fibra sintetica\",\n                        \"code\": \"FIBRA SINTETICA\"\n                    },\n                    {\n                        \"label\": \"Aluminio forjado\",\n                        \"code\": \"ALUMINIO FORJADO\"\n                    },\n                    {\n                        \"label\": \"Opal\",\n                        \"code\": \"OPAL\"\n                    },\n                    {\n                        \"label\": \"Bone china\",\n                        \"code\": \"BONE CHINA\"\n                    },\n                    {\n                        \"label\": \"Titanio\",\n                        \"code\": \"TITANIO\"\n                    },\n                    {\n                        \"label\": \"Fibra natural\",\n                        \"code\": \"FIBRA NATURAL\"\n                    },\n                    {\n                        \"label\": \"Loza\",\n                        \"code\": \"LOZA\"\n                    },\n                    {\n                        \"label\": \"Vidrio reciclado\",\n                        \"code\": \"VIDRIO RECICLADO\"\n                    },\n                    {\n                        \"label\": \"Poliresina\",\n                        \"code\": \"POLIRESINA\"\n                    },\n                    {\n                        \"label\": \"Mimbre\",\n                        \"code\": \"MIMBRE\"\n                    },\n                    {\n                        \"label\": \"Polipiel\",\n                        \"code\": \"POLIPIEL\"\n                    },\n                    {\n                        \"label\": \"Carton\",\n                        \"code\": \"CARTON\"\n                    },\n                    {\n                        \"label\": \"Poliuretano\",\n                        \"code\": \"POLIURETANO\"\n                    },\n                    {\n                        \"label\": \"Madera teca\",\n                        \"code\": \"MADERA TECA\"\n                    },\n                    {\n                        \"label\": \"Madera acacia\",\n                        \"code\": \"MADERA ACACIA\"\n                    },\n                    {\n                        \"label\": \"Textilene\",\n                        \"code\": \"TEXTILENE\"\n                    },\n                    {\n                        \"label\": \"Tela\",\n                        \"code\": \"TELA\"\n                    },\n                    {\n                        \"label\": \"Lino/algodon\",\n                        \"code\": \"LINO/ALGODON\"\n                    },\n                    {\n                        \"label\": \"Rattan sintetico\",\n                        \"code\": \"RATTAN SINTETICO\"\n                    },\n                    {\n                        \"label\": \"Policarbonato\",\n                        \"code\": \"POLICARBONATO\"\n                    },\n                    {\n                        \"label\": \"Textil sintetico\",\n                        \"code\": \"TEXTIL SINTETICO\"\n                    },\n                    {\n                        \"label\": \"Lienzo\",\n                        \"code\": \"LIENZO\"\n                    },\n                    {\n                        \"label\": \"Yeso\",\n                        \"code\": \"YESO\"\n                    },\n                    {\n                        \"label\": \"Corcho\",\n                        \"code\": \"CORCHO\"\n                    },\n                    {\n                        \"label\": \"Terracota\",\n                        \"code\": \"TERRACOTA\"\n                    },\n                    {\n                        \"label\": \"Fibra de coco\",\n                        \"code\": \"FIBRA DE COCO\"\n                    },\n                    {\n                        \"label\": \"Madera roble\",\n                        \"code\": \"MADERA ROBLE\"\n                    },\n                    {\n                        \"label\": \"Poliester/algodon\",\n                        \"code\": \"POLIESTER/ALGODON\"\n                    },\n                    {\n                        \"label\": \"Rafia\",\n                        \"code\": \"RAFIA\"\n                    },\n                    {\n                        \"label\": \"Goma\",\n                        \"code\": \"GOMA\"\n                    },\n                    {\n                        \"label\": \"Ratan\",\n                        \"code\": \"RATAN\"\n                    },\n                    {\n                        \"label\": \"Rattan\",\n                        \"code\": \"RATTAN\"\n                    },\n                    {\n                        \"label\": \"Cemento\",\n                        \"code\": \"CEMENTO\"\n                    },\n                    {\n                        \"label\": \"Madera mango\",\n                        \"code\": \"MADERA MANGO\"\n                    },\n                    {\n                        \"label\": \"Felpa\",\n                        \"code\": \"FELPA\"\n                    },\n                    {\n                        \"label\": \"Algodon/poliester\",\n                        \"code\": \"ALGODON/POLIESTER\"\n                    },\n                    {\n                        \"label\": \"Poliestireno\",\n                        \"code\": \"POLIESTIRENO\"\n                    },\n                    {\n                        \"label\": \"Fieltro\",\n                        \"code\": \"FIELTRO\"\n                    },\n                    {\n                        \"label\": \"Cera\",\n                        \"code\": \"CERA\"\n                    },\n                    {\n                        \"label\": \"Terciopelo\",\n                        \"code\": \"TERCIOPELO\"\n                    },\n                    {\n                        \"label\": \"Cuero\",\n                        \"code\": \"CUERO\"\n                    },\n                    {\n                        \"label\": \"Vela\",\n                        \"code\": \"VELA\"\n                    },\n                    {\n                        \"label\": \"Franela\",\n                        \"code\": \"FRANELA\"\n                    },\n                    {\n                        \"label\": \"Dolomita\",\n                        \"code\": \"DOLOMITA\"\n                    },\n                    {\n                        \"label\": \"Lana\",\n                        \"code\": \"LANA\"\n                    },\n                    {\n                        \"label\": \"Fibra de bambu\",\n                        \"code\": \"FIBRA DE BAMBU\"\n                    },\n                    {\n                        \"label\": \"Piedra artificial\",\n                        \"code\": \"PIEDRA ARTIFICIAL\"\n                    },\n                    {\n                        \"label\": \"Cuerda\",\n                        \"code\": \"CUERDA\"\n                    },\n                    {\n                        \"label\": \"Fibra acrilica\",\n                        \"code\": \"FIBRA ACRILICA\"\n                    },\n                    {\n                        \"label\": \"Yute\",\n                        \"code\": \"YUTE\"\n                    },\n                    {\n                        \"label\": \"Textil\",\n                        \"code\": \"TEXTIL\"\n                    },\n                    {\n                        \"label\": \"Chenilla\",\n                        \"code\": \"CHENILLA\"\n                    },\n                    {\n                        \"label\": \"Lino\",\n                        \"code\": \"LINO\"\n                    },\n                    {\n                        \"label\": \"Terrazo\",\n                        \"code\": \"TERRAZO\"\n                    },\n                    {\n                        \"label\": \"Poliester/lino\",\n                        \"code\": \"POLIESTER/LINO\"\n                    },\n                    {\n                        \"label\": \"Hueso\",\n                        \"code\": \"HUESO\"\n                    },\n                    {\n                        \"label\": \"Madera sesamo\",\n                        \"code\": \"MADERA SESAMO\"\n                    },\n                    {\n                        \"label\": \"Laton\",\n                        \"code\": \"LATON\"\n                    },\n                    {\n                        \"label\": \"Poliester/yute\",\n                        \"code\": \"POLIESTER/YUTE\"\n                    },\n                    {\n                        \"label\": \"Madera/poliester\",\n                        \"code\": \"MADERA/POLIESTER\"\n                    },\n                    {\n                        \"label\": \"Vidrio borosilicato\",\n                        \"code\": \"VIDRIO BOROSILICATO\"\n                    },\n                    {\n                        \"label\": \"Acero inox\",\n                        \"code\": \"ACERO INOX\"\n                    },\n                    {\n                        \"label\": \"Algodon/lino\",\n                        \"code\": \"ALGODON/LINO\"\n                    },\n                    {\n                        \"label\": \"Aluminio prensado\",\n                        \"code\": \"ALUMINIO PRENSADO\"\n                    },\n                    {\n                        \"label\": \"Estaño\",\n                        \"code\": \"ESTAÑO\"\n                    },\n                    {\n                        \"label\": \"Fibra de vidrio\",\n                        \"code\": \"FIBRA DE VIDRIO\"\n                    },\n                    {\n                        \"label\": \"Hoja maiz\",\n                        \"code\": \"HOJA MAIZ\"\n                    },\n                    {\n                        \"label\": \"Hormigon\",\n                        \"code\": \"HORMIGON\"\n                    },\n                    {\n                        \"label\": \"Lona\",\n                        \"code\": \"LONA\"\n                    },\n                    {\n                        \"label\": \"Madera eucalipto\",\n                        \"code\": \"MADERA EUCALIPTO\"\n                    },\n                    {\n                        \"label\": \"Madera haya\",\n                        \"code\": \"MADERA HAYA\"\n                    },\n                    {\n                        \"label\": \"Madera mdf\",\n                        \"code\": \"MADERA MDF\"\n                    },\n                    {\n                        \"label\": \"Madera nogal\",\n                        \"code\": \"MADERA NOGAL\"\n                    },\n                    {\n                        \"label\": \"Madera pino\",\n                        \"code\": \"MADERA PINO\"\n                    },\n                    {\n                        \"label\": \"Metacrilato\",\n                        \"code\": \"METACRILATO\"\n                    },\n                    {\n                        \"label\": \"Neopreno\",\n                        \"code\": \"NEOPRENO\"\n                    },\n                    {\n                        \"label\": \"Niquel\",\n                        \"code\": \"NIQUEL\"\n                    },\n                    {\n                        \"label\": \"Plastico reciclado\",\n                        \"code\": \"PLASTICO RECICLADO\"\n                    },\n                    {\n                        \"label\": \"Polyester\",\n                        \"code\": \"POLYESTER\"\n                    },\n                    {\n                        \"label\": \"Trigo\",\n                        \"code\": \"TRIGO\"\n                    },\n                    {\n                        \"label\": \"Rojo\",\n                        \"code\": \"ROJO\"\n                    }\n                ],\n                \"template_name\": \"Product template\",\n                \"position\": 38,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 74\n            },\n            {\n                \"id\": 86,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:15.115139Z\",\n                \"updated_at\": \"2021-06-21T13:51:44.319549Z\",\n                \"name\": \"Sellos calidad\",\n                \"code\": \"productIcons\",\n                \"type\": \"MULTISELECT\",\n                \"options\": {\n                    \"with_search\": false\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [\n                    {\n                        \"label\": \"recicled\",\n                        \"code\": \"recicled\"\n                    },\n                    {\n                        \"label\": \"pefc\",\n                        \"code\": \"pefc\"\n                    },\n                    {\n                        \"label\": \"eco\",\n                        \"code\": \"eco\"\n                    },\n                    {\n                        \"label\": \"fsc\",\n                        \"code\": \"fsc\"\n                    },\n                    {\n                        \"label\": \"pfoa\",\n                        \"code\": \"pfoa\"\n                    },\n                    {\n                        \"label\": \"bpa\",\n                        \"code\": \"bpa\"\n                    },\n                    {\n                        \"label\": \"ue\",\n                        \"code\": \"ue\"\n                    }\n                ],\n                \"template_name\": \"Product template\",\n                \"position\": 39,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 86\n            },\n            {\n                \"id\": 97,\n                \"active\": true,\n                \"created_at\": \"2021-06-16T12:55:51.373215Z\",\n                \"updated_at\": \"2021-06-16T13:01:32.079286Z\",\n                \"name\": \"step-quantity\",\n                \"code\": \"step-quantity\",\n                \"type\": \"NUMBER_DECIMAL\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": \"1\",\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 40,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 97\n            },\n            {\n                \"id\": 98,\n                \"active\": true,\n                \"created_at\": \"2021-06-16T12:59:48.829154Z\",\n                \"updated_at\": \"2021-06-16T13:01:04.808241Z\",\n                \"name\": \"min-order-quantity\",\n                \"code\": \"min-order-quantity\",\n                \"type\": \"NUMBER_DECIMAL\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": \"1\",\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 41,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 98\n            },\n            {\n                \"id\": 99,\n                \"active\": true,\n                \"created_at\": \"2021-06-16T13:02:03.859545Z\",\n                \"updated_at\": \"2021-06-16T13:05:54.017447Z\",\n                \"name\": \"unit\",\n                \"code\": \"unit\",\n                \"type\": \"TEXT\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 42,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 99\n            },\n            {\n                \"id\": 100,\n                \"active\": true,\n                \"created_at\": \"2021-06-25T07:21:52.602983Z\",\n                \"updated_at\": \"2021-06-25T07:21:52.603007Z\",\n                \"name\": \"Salesforce product type\",\n                \"code\": \"product_type\",\n                \"type\": \"SELECT\",\n                \"options\": {\n                    \"with_search\": false\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [\n                    {\n                        \"label\": \"BUNDLE\",\n                        \"code\": \"BUNDLE\"\n                    },\n                    {\n                        \"label\": \"SET\",\n                        \"code\": \"SET\"\n                    }\n                ],\n                \"template_name\": \"Product template\",\n                \"position\": 43,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 100\n            },\n            {\n                \"id\": 101,\n                \"active\": true,\n                \"created_at\": \"2021-06-28T11:38:50.661055Z\",\n                \"updated_at\": \"2021-06-28T11:38:50.661075Z\",\n                \"name\": \"ERP Name\",\n                \"code\": \"erp-name\",\n                \"type\": \"TEXT\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 44,\n                \"group\": \"0_InfoBase\",\n                \"template\": 1,\n                \"attribute\": 101\n            },\n            {\n                \"id\": 18,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T11:55:09.359527Z\",\n                \"updated_at\": \"2021-06-01T11:55:09.359552Z\",\n                \"name\": \"Product details\",\n                \"code\": \"long-description\",\n                \"type\": \"WYSIWYG\",\n                \"options\": {\n                    \"allow_styles\": false\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 1,\n                \"group\": \"1_Detalles\",\n                \"template\": 1,\n                \"attribute\": 18\n            },\n            {\n                \"id\": 75,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:15.060789Z\",\n                \"updated_at\": \"2021-06-01T14:36:15.060808Z\",\n                \"name\": \"Materiales\",\n                \"code\": \"composition\",\n                \"type\": \"WYSIWYG\",\n                \"options\": {\n                    \"allow_styles\": true\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 1,\n                \"group\": \"1_Detalles\",\n                \"template\": 1,\n                \"attribute\": 75\n            },\n            {\n                \"id\": 34,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:14.727336Z\",\n                \"updated_at\": \"2021-06-01T14:36:14.727355Z\",\n                \"name\": \"Etiqueta\",\n                \"code\": \"label\",\n                \"type\": \"MULTISELECT\",\n                \"options\": {\n                    \"with_search\": false\n                    },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [\n                    {\n                        \"label\": \"new\",\n                        \"code\": \"new\"\n                    },\n                    {\n                        \"label\": \"exclusivo\",\n                        \"code\": \"exclusivo\"\n                    }\n                ],\n                \"template_name\": \"Product template\",\n                \"position\": 1,\n                \"group\": \"1_Detalles\",\n                \"template\": 1,\n                \"attribute\": 34\n            },\n            {\n                \"id\": 21,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T11:55:09.396654Z\",\n                \"updated_at\": \"2021-06-01T11:55:09.396672Z\",\n                \"name\": \"Video\",\n                \"code\": \"videoUrl\",\n                \"type\": \"TEXT\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 2,\n                \"group\": \"1_Detalles\",\n                \"template\": 1,\n                \"attribute\": 21\n            },\n            {\n                \"id\": 29,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:14.697334Z\",\n                \"updated_at\": \"2021-06-01T14:36:14.697357Z\",\n                \"name\": \"Colección\",\n                \"code\": \"collection\",\n                \"type\": \"SELECT\",\n                \"options\": {\n                    \"with_search\": false\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 2,\n                \"group\": \"1_Detalles\",\n                \"template\": 1,\n                \"attribute\": 29\n            },\n            {\n                \"id\": 25,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T12:31:55.091593Z\",\n                \"updated_at\": \"2021-06-01T12:31:55.091613Z\",\n                \"name\": \"Estilo\",\n                \"code\": \"style\",\n                \"type\": \"MULTISELECT\",\n                \"options\": {\n                    \"with_search\": true\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [\n                    {\n                        \"label\": \"design\",\n                        \"code\": \"design\"\n                    },\n                    {\n                        \"label\": \"classic\",\n                        \"code\": \"classic\"\n                    },\n                    {\n                        \"label\": \"vintage\",\n                        \"code\": \"vintage\"\n                    },\n                    {\n                        \"label\": \"provenzal\",\n                        \"code\": \"provenzal\"\n                    },\n                    {\n                        \"label\": \"natural\",\n                        \"code\": \"natural\"\n                    },\n                    {\n                        \"label\": \"urban\",\n                        \"code\": \"urban\"\n                    },\n                    {\n                        \"label\": \"boho\",\n                        \"code\": \"boho\"\n                    },\n                    {\n                        \"label\": \"nordic\",\n                        \"code\": \"nordic\"\n                    },\n                    {\n                        \"label\": \"scandinavian\",\n                        \"code\": \"scandinavian\"\n                    },\n                    {\n                        \"label\": \"minimalist\",\n                        \"code\": \"minimalist\"\n                    },\n                    {\n                        \"label\": \"bohemian\",\n                        \"code\": \"bohemian\"\n                    },\n                    {\n                        \"label\": \"rustic\",\n                        \"code\": \"rustic\"\n                    },\n                    {\n                        \"label\": \"navy\",\n                        \"code\": \"navy\"\n                    },\n                    {\n                        \"label\": \"ethnic\",\n                        \"code\": \"ethnic\"\n                    },\n                    {\n                        \"label\": \"exotic\",\n                        \"code\": \"exotic\"\n                    },\n                    {\n                        \"label\": \"mediterranean\",\n                        \"code\": \"mediterranean\"\n                    },\n                    {\n                        \"label\": \"japanesse\",\n                        \"code\": \"japanesse\"\n                    },\n                    {\n                        \"label\": \"wabisabi\",\n                        \"code\": \"wabisabi\"\n                    },\n                    {\n                        \"label\": \"tendency\",\n                        \"code\": \"tendency\"\n                    }\n                ],\n                \"template_name\": \"Product template\",\n                \"position\": 2,\n                \"group\": \"1_Detalles\",\n                \"template\": 1,\n                \"attribute\": 25\n            },\n            {\n                \"id\": 35,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:14.727945Z\",\n                \"updated_at\": \"2021-06-01T14:36:14.727964Z\",\n                \"name\": \"Temporada\",\n                \"code\": \"temporada\",\n                \"type\": \"SELECT\",\n                \"options\": {\n                    \"with_search\": false\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [\n                    {\n                        \"label\": \"winter\",\n                        \"code\": \"winter\"\n                    },\n                    {\n                        \"label\": \"summer\",\n                        \"code\": \"summer\"\n                    },\n                    {\n                        \"label\": \"autum\",\n                        \"code\": \"autum\"\n                    },\n                    {\n                        \"label\": \"spring\",\n                        \"code\": \"spring\"\n                    }\n                ],\n                \"template_name\": \"Product template\",\n                \"position\": 2,\n                \"group\": \"1_Detalles\",\n                \"template\": 1,\n                \"attribute\": 35\n            },\n            {\n                \"id\": 77,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:15.077301Z\",\n                \"updated_at\": \"2021-06-01T14:36:15.077322Z\",\n                \"name\": \"Estancias\",\n                \"code\": \"estancias\",\n                \"type\": \"MULTISELECT\",\n                \"options\": {\n                    \"with_search\": false\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [\n                    {\n                        \"label\": \"dormitorio\",\n                        \"code\": \"dormitorio\"\n                    },\n                    {\n                        \"label\": \"salon\",\n                        \"code\": \"salon\"\n                    },\n                    {\n                        \"label\": \"cocina\",\n                        \"code\": \"cocina\"\n                    },\n                    {\n                        \"label\": \"comedor\",\n                        \"code\": \"comedor\"\n                    },\n                    {\n                        \"label\": \"bano\",\n                        \"code\": \"bano\"\n                    },\n                    {\n                        \"label\": \"despacho\",\n                        \"code\": \"despacho\"\n                    },\n                    {\n                        \"label\": \"jardin\",\n                        \"code\": \"jardin\"\n                    },\n                    {\n                        \"label\": \"recibidor\",\n                        \"code\": \"recibidor\"\n                    }\n                ],\n                \"template_name\": \"Product template\",\n                \"position\": 3,\n                \"group\": \"1_Detalles\",\n                \"template\": 1,\n                \"attribute\": 77\n            },\n            {\n                \"id\": 73,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:15.057086Z\",\n                \"updated_at\": \"2021-06-01T14:36:15.057106Z\",\n                \"name\": \"Características\",\n                \"code\": \"features\",\n                \"type\": \"MULTISELECT\",\n                \"options\": {\n                    \"with_search\": false\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [\n                    {\n                        \"label\": \"Ruedas\",\n                        \"code\": \"Ruedas\"\n                    },\n                    {\n                        \"label\": \"Plegable\",\n                        \"code\": \"Plegable\"\n                    },\n                    {\n                        \"label\": \"Apilable\",\n                        \"code\": \"Apilable\"\n                    },\n                    {\n                        \"label\": \"Extensible\",\n                        \"code\": \"Extensible\"\n                    },\n                    {\n                        \"label\": \"Desenfundable\",\n                        \"code\": \"Desenfundable\"\n                    },\n                    {\n                        \"label\": \"Reclinable\",\n                        \"code\": \"Reclinable\"\n                    },\n                    {\n                        \"label\": \"Desmontable\",\n                        \"code\": \"Desmontable\"\n                    },\n                    {\n                        \"label\": \"Pilas\",\n                        \"code\": \"Pilas\"\n                    },\n                    {\n                        \"label\": \"Pasacables\",\n                        \"code\": \"Pasacables\"\n                    },\n                    {\n                        \"label\": \"Regulable\",\n                        \"code\": \"Regulable\"\n                    },\n                    {\n                        \"label\": \"Antiadherente\",\n                        \"code\": \"Antiadherente\"\n                    }\n                ],\n                \"template_name\": \"Product template\",\n                \"position\": 9,\n                \"group\": \"1_Detalles\",\n                \"template\": 1,\n                \"attribute\": 73\n            },\n            {\n                \"id\": 87,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:15.123531Z\",\n                \"updated_at\": \"2021-06-01T14:36:15.123549Z\",\n                \"name\": \"Cuidados\",\n                \"code\": \"care\",\n                \"type\": \"MULTISELECT\",\n                \"options\": {\n                    \"with_search\": false\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [\n                    {\n                        \"label\": \"no-sol\",\n                        \"code\": \"no-sol\"\n                    },\n                    {\n                        \"label\": \"lavar-mano\",\n                        \"code\": \"lavar-mano\"\n                    },\n                    {\n                        \"label\": \"no-suavizantes\",\n                        \"code\": \"no-suavizantes\"\n                    },\n                    {\n                        \"label\": \"no-lejia\",\n                        \"code\": \"no-lejia\"\n                    },\n                    {\n                        \"label\": \"no-planchar\",\n                        \"code\": \"no-planchar\"\n                    },\n                    {\n                        \"label\": \"lavar-seco\",\n                        \"code\": \"lavar-seco\"\n                    },\n                    {\n                        \"label\": \"lavar-frio\",\n                        \"code\": \"lavar-frio\"\n                    },\n                    {\n                        \"label\": \"no-lavavajillas\",\n                        \"code\": \"no-lavavajillas\"\n                    },\n                    {\n                        \"label\": \"no-horno\",\n                        \"code\": \"no-horno\"\n                    },\n                    {\n                        \"label\": \"si-induccion\",\n                        \"code\": \"si-induccion\"\n                    },\n                    {\n                        \"label\": \"si-micro\",\n                        \"code\": \"si-micro\"\n                    },\n                    {\n                        \"label\": \"si-horno\",\n                        \"code\": \"si-horno\"\n                    },\n                    {\n                        \"label\": \"si-lavavajillas\",\n                        \"code\": \"si-lavavajillas\"\n                    },\n                    {\n                        \"label\": \"no-micro\",\n                        \"code\": \"no-micro\"\n                    },\n                    {\n                        \"label\": \"no-induccion\",\n                        \"code\": \"no-induccion\"\n                    },\n                    {\n                        \"label\": \"no-secadora\",\n                        \"code\": \"no-secadora\"\n                    },\n                    {\n                        \"label\": \"no-lavadora\",\n                        \"code\": \"no-lavadora\"\n                    },\n                    {\n                        \"label\": \"no-mojar\",\n                        \"code\": \"no-mojar\"\n                    }\n                ],\n                \"template_name\": \"Product template\",\n                \"position\": 10,\n                \"group\": \"1_Detalles\",\n                \"template\": 1,\n                \"attribute\": 87\n            },\n            {\n                \"id\": 91,\n                \"active\": true,\n                \"created_at\": \"2021-06-02T13:35:28.066337Z\",\n                \"updated_at\": \"2021-06-02T13:35:28.066354Z\",\n                \"name\": \"Especificaciones\",\n                \"code\": \"specifications\",\n                \"type\": \"WYSIWYG\",\n                \"options\": {\n                    \"allow_styles\": true\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 10,\n                \"group\": \"1_Detalles\",\n                \"template\": 1,\n                \"attribute\": 91\n            },\n            {\n                \"id\": 7,\n                \"active\": true,\n                \"created_at\": \"2021-05-24T11:31:25.465358Z\",\n                \"updated_at\": \"2021-05-24T11:31:25.465380Z\",\n                \"name\": \"SEO Page title\",\n                \"code\": \"page-title\",\n                \"type\": \"TEXT\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 1,\n                \"group\": \"2_SEO\",\n                \"template\": 1,\n                \"attribute\": 7\n            },\n            {\n                \"id\": 6,\n                \"active\": true,\n                \"created_at\": \"2021-05-24T11:30:28.534890Z\",\n                \"updated_at\": \"2021-05-24T11:30:28.534918Z\",\n                \"name\": \"Sitemap\",\n                \"code\": \"sitemap-included-flag\",\n                \"type\": \"CHECKBOX\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": \"true\",\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 1,\n                \"group\": \"2_SEO\",\n                \"template\": 1,\n                \"attribute\": 6\n            },\n            {\n                \"id\": 8,\n                \"active\": true,\n                \"created_at\": \"2021-05-24T11:31:56.472635Z\",\n                \"updated_at\": \"2021-05-24T11:31:56.472665Z\",\n                \"name\": \"SEO page description\",\n                \"code\": \"page-description\",\n                \"type\": \"TEXT\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 2,\n                \"group\": \"2_SEO\",\n                \"template\": 1,\n                \"attribute\": 8\n            },\n            {\n                \"id\": 9,\n                \"active\": true,\n                \"created_at\": \"2021-05-24T11:34:27.568057Z\",\n                \"updated_at\": \"2021-05-24T11:34:27.568079Z\",\n                \"name\": \"SEO page keywords\",\n                \"code\": \"page-keywords\",\n                \"type\": \"TEXT\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 3,\n                \"group\": \"2_SEO\",\n                \"template\": 1,\n                \"attribute\": 9\n            },\n            {\n                \"id\": 10,\n                \"active\": true,\n                \"created_at\": \"2021-05-24T11:35:04.842012Z\",\n                \"updated_at\": \"2021-05-24T11:35:04.842042Z\",\n                \"name\": \"Page URL\",\n                \"code\": \"page-url\",\n                \"type\": \"TEXT\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 4,\n                \"group\": \"2_SEO\",\n                \"template\": 1,\n                \"attribute\": 10\n            },\n            {\n                \"id\": 37,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:14.749620Z\",\n                \"updated_at\": \"2021-08-12T14:08:30.800160Z\",\n                \"name\": \"Largo\",\n                \"code\": \"dimDepth2\",\n                \"type\": \"NUMBER_DECIMAL\",\n                \"options\": null,\n                \"tooltip_message\": \"\",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 1,\n                \"group\": \"Dimensiones\",\n                \"template\": 1,\n                \"attribute\": 37\n            },\n            {\n                \"id\": 40,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:14.760765Z\",\n                \"updated_at\": \"2021-08-12T14:08:21.837494Z\",\n                \"name\": \"Ancho\",\n                \"code\": \"dimWidth2\",\n                \"type\": \"NUMBER_DECIMAL\",\n                \"options\": null,\n                \"tooltip_message\": \"\",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 2,\n                \"group\": \"Dimensiones\",\n                \"template\": 1,\n                \"attribute\": 40\n            },\n            {\n                \"id\": 41,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:14.766426Z\",\n                \"updated_at\": \"2021-08-12T14:08:10.274325Z\",\n                \"name\": \"Alto\",\n                \"code\": \"dimHeight2\",\n                \"type\": \"NUMBER_DECIMAL\",\n                \"options\": null,\n                \"tooltip_message\": \"\",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 3,\n                \"group\": \"Dimensiones\",\n                \"template\": 1,\n                \"attribute\": 41\n            },\n            {\n                \"id\": 42,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:14.775927Z\",\n                \"updated_at\": \"2021-06-01T14:36:14.775944Z\",\n                \"name\": \"Unidad de Medida Longitud\",\n                \"code\": \"unidadMedidas\",\n                \"type\": \"TEXT\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 4,\n                \"group\": \"Dimensiones\",\n                \"template\": 1,\n                \"attribute\": 42\n            },\n            {\n                \"id\": 43,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:14.782575Z\",\n                \"updated_at\": \"2021-08-12T14:07:48.285777Z\",\n                \"name\": \"Peso\",\n                \"code\": \"dimWeight2\",\n                \"type\": \"NUMBER_DECIMAL\",\n                \"options\": null,\n                \"tooltip_message\": \"\",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 5,\n                \"group\": \"Dimensiones\",\n                \"template\": 1,\n                \"attribute\": 43\n            },\n            {\n                \"id\": 44,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:14.784906Z\",\n                \"updated_at\": \"2021-06-01T14:36:14.784924Z\",\n                \"name\": \"Unidad de Peso\",\n                \"code\": \"weight_unit\",\n                \"type\": \"TEXT\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 5,\n                \"group\": \"Dimensiones\",\n                \"template\": 1,\n                \"attribute\": 44\n            },\n            {\n                \"id\": 52,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:14.832003Z\",\n                \"updated_at\": \"2021-06-02T13:28:31.832441Z\",\n                \"name\": \"Medidas de cada parte\",\n                \"code\": \"measure_of_each_part\",\n                \"type\": \"WYSIWYG\",\n                \"options\": {\n                    \"allow_styles\": true\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 10,\n                \"group\": \"Dimensiones\",\n                \"template\": 1,\n                \"attribute\": 52\n            },\n            {\n                \"id\": 201,\n                \"active\": true,\n                \"created_at\": \"2021-08-12T14:40:40.285664Z\",\n                \"updated_at\": \"2021-08-12T14:40:40.285685Z\",\n                \"name\": \"Alto\",\n                \"code\": \"dimHeight\",\n                \"type\": \"TEXT\",\n                \"options\": null,\n                \"tooltip_message\": \"\",\n                \"default\": \"\",\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 11,\n                \"group\": \"Dimensiones\",\n                \"template\": 1,\n                \"attribute\": 201\n            },\n            {\n                \"id\": 80,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:15.083715Z\",\n                \"updated_at\": \"2021-06-10T13:29:13.883160Z\",\n                \"name\": \"Tiempo de montaje\",\n                \"code\": \"assembly_time\",\n                \"type\": \"SELECT\",\n                \"options\": {\n                    \"with_search\": false\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [\n                    {\n                        \"label\": \"15\",\n                        \"code\": \"15\"\n                    },\n                    {\n                        \"label\": \"25\",\n                        \"code\": \"25\"\n                    },\n                    {\n                        \"label\": \"30\",\n                        \"code\": \"30\"\n                    },\n                    {\n                        \"label\": \"45\",\n                        \"code\": \"45\"\n                    },\n                    {\n                        \"label\": \"60\",\n                        \"code\": \"60\"\n                    },\n                    {\n                        \"label\": \"90\",\n                        \"code\": \"90\"\n                    },\n                    {\n                        \"label\": \"120\",\n                        \"code\": \"120\"\n                    }\n                ],\n                \"template_name\": \"Product template\",\n                \"position\": 1,\n                \"group\": \"MontajeYTransporte\",\n                \"template\": 1,\n                \"attribute\": 80\n            },\n            {\n                \"id\": 23,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T11:55:09.409735Z\",\n                \"updated_at\": \"2021-06-01T11:55:09.409754Z\",\n                \"name\": \"Entrega tienda\",\n                \"code\": \"availableForInStorePickup\",\n                \"type\": \"CHECKBOX\",\n                \"options\": null,\n                \"tooltip_message\": \" \",\n                \"default\": \"true\",\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 1,\n                \"group\": \"MontajeYTransporte\",\n                \"template\": 1,\n                \"attribute\": 23\n            },\n            {\n                \"id\": 32,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:14.711702Z\",\n                \"updated_at\": \"2021-06-01T14:36:14.711748Z\",\n                \"name\": \"TipoEntrega\",\n                \"code\": \"deliveryType\",\n                \"type\": \"SELECT\",\n                \"options\": {\n                    \"with_search\": false\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [\n                    {\n                        \"label\": \"calle\",\n                        \"code\": \"calle\"\n                    },\n                    {\n                        \"label\": \"subida\",\n                        \"code\": \"subida\"\n                    }\n                ],\n                \"template_name\": \"Product template\",\n                \"position\": 1,\n                \"group\": \"MontajeYTransporte\",\n                \"template\": 1,\n                \"attribute\": 32\n            },\n            {\n                \"id\": 26,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T13:32:26.100857Z\",\n                \"updated_at\": \"2021-07-05T10:54:12.950205Z\",\n                \"name\": \"Días de entrega\",\n                \"code\": \"deliveryTime\",\n                \"type\": \"NUMBER_INT\",\n                \"options\": null,\n                \"tooltip_message\": \"only number\",\n                \"default\": \"2\",\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 1,\n                \"group\": \"MontajeYTransporte\",\n                \"template\": 1,\n                \"attribute\": 26\n            },\n            {\n                \"id\": 81,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:15.095369Z\",\n                \"updated_at\": \"2021-06-01T14:36:15.095389Z\",\n                \"name\": \"Instrucciones de montaje\",\n                \"code\": \"assembly_instruccions\",\n                \"type\": \"WYSIWYG\",\n                \"options\": {\n                    \"allow_styles\": true\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 2,\n                \"group\": \"MontajeYTransporte\",\n                \"template\": 1,\n                \"attribute\": 81\n            },\n            {\n                \"id\": 36,\n                \"active\": true,\n                \"created_at\": \"2021-06-01T14:36:14.734045Z\",\n                \"updated_at\": \"2021-06-02T13:36:33.734523Z\",\n                \"name\": \"Paquete\",\n                \"code\": \"packs\",\n                \"type\": \"WYSIWYG\",\n                \"options\": {\n                    \"allow_styles\": true\n                },\n                \"tooltip_message\": \" \",\n                \"default\": null,\n                \"show_in_filters\": true,\n                \"is_editable\": true,\n                \"list_values\": [],\n                \"template_name\": \"Product template\",\n                \"position\": 3,\n                \"group\": \"MontajeYTransporte\",\n                \"template\": 1,\n                \"attribute\": 36\n            },\n            {\n                \"id\": null,\n                \"active\": true,\n                \"created_at\": null,\n                \"updated_at\": null,\n                \"name\": \"Updated at\",\n                \"code\": \"updated_at\",\n                \"type\": \"DATE_AND_TIME\",\n                \"options\": null,\n                \"tooltip_message\": \"\",\n                \"default\": \"\",\n                \"show_in_filters\": true,\n                \"is_editable\": false,\n                \"list_values\": null,\n                \"template_name\": \"\",\n                \"position\": 7,\n                \"group\": \"ProductView\",\n                \"template\": null,\n                \"attribute\": null\n            },\n            {\n                \"id\": null,\n                \"active\": true,\n                \"created_at\": null,\n                \"updated_at\": null,\n                \"name\": \"Stock\",\n                \"code\": \"stocks__quantity\",\n                \"type\": \"NUMBER_INT\",\n                \"options\": null,\n                \"tooltip_message\": \"\",\n                \"default\": \"\",\n                \"show_in_filters\": true,\n                \"is_editable\": false,\n                \"list_values\": null,\n                \"template_name\": \"\",\n                \"position\": 1,\n                \"group\": \"Product\",\n                \"template\": null,\n                \"attribute\": null\n            },\n            {\n                \"id\": null,\n                \"active\": true,\n                \"created_at\": null,\n                \"updated_at\": null,\n                \"name\": \"Sync status\",\n                \"code\": \"sync_status\",\n                \"type\": \"SELECT\",\n                \"options\": {\n                    \"with_search\": false\n                },\n                \"tooltip_message\": \"\",\n                \"default\": \"\",\n                \"show_in_filters\": true,\n                \"is_editable\": false,\n                \"list_values\": [\n                    {\n                        \"code\": \"UNSYNCHRONIZED\",\n                        \"label\": \"Not synchronized\"\n                    },\n                    {\n                        \"code\": \"UNPUBLISHED\",\n                        \"label\": \"Unpublished\"\n                    },\n                    {\n                        \"code\": \"PUBLISHED\",\n                        \"label\": \"Published\"\n                    }\n                ],\n                \"template_name\": \"\",\n                \"position\": 2,\n                \"group\": \"ProductView\",\n                \"template\": null,\n                \"attribute\": null\n            },\n            {\n                \"id\": null,\n                \"active\": true,\n                \"created_at\": null,\n                \"updated_at\": null,\n                \"name\": \"Created at\",\n                \"code\": \"created_at\",\n                \"type\": \"DATE_AND_TIME\",\n                \"options\": null,\n                \"tooltip_message\": \"\",\n                \"default\": \"\",\n                \"show_in_filters\": true,\n                \"is_editable\": false,\n                \"list_values\": null,\n                \"template_name\": \"\",\n                \"position\": 6,\n                \"group\": \"ProductView\",\n                \"template\": null,\n                \"attribute\": null\n            },\n            {\n                \"id\": null,\n                \"active\": true,\n                \"created_at\": null,\n                \"updated_at\": null,\n                \"name\": \"Sync request\",\n                \"code\": \"sync_request\",\n                \"type\": \"SELECT\",\n                \"options\": {\n                    \"with_search\": false\n                },\n                \"tooltip_message\": \"\",\n                \"default\": \"\",\n                \"show_in_filters\": true,\n                \"is_editable\": false,\n                \"list_values\": [\n                    {\n                        \"code\": \"UNPUBLISH\",\n                        \"label\": \"Unpublish\"\n                    },\n                    {\n                        \"code\": \"PUBLISH\",\n                        \"label\": \"Publish\"\n                    }\n                ],\n                \"template_name\": \"\",\n                \"position\": 1,\n                \"group\": \"ProductView\",\n                \"template\": null,\n                \"attribute\": null\n            },\n            {\n                \"id\": null,\n                \"active\": false,\n                \"created_at\": null,\n                \"updated_at\": null,\n                \"name\": \"Local message\",\n                \"code\": \"local_message\",\n                \"type\": \"JSON\",\n                \"options\": null,\n                \"tooltip_message\": \"\",\n                \"default\": \"\",\n                \"show_in_filters\": true,\n                \"is_editable\": false,\n                \"list_values\": null,\n                \"template_name\": \"\",\n                \"position\": 4,\n                \"group\": \"ProductView\",\n                \"template\": null,\n                \"attribute\": null\n            },\n            {\n                \"id\": null,\n                \"active\": true,\n                \"created_at\": null,\n                \"updated_at\": null,\n                \"name\": \"Main Image\",\n                \"code\": \"main_image\",\n                \"type\": \"IMAGE\",\n                \"options\": null,\n                \"tooltip_message\": \"\",\n                \"default\": \"\",\n                \"show_in_filters\": true,\n                \"is_editable\": false,\n                \"list_values\": null,\n                \"template_name\": \"\",\n                \"position\": 5,\n                \"group\": \"ProductView\",\n                \"template\": null,\n                \"attribute\": null\n            },\n            {\n                \"id\": null,\n                \"active\": true,\n                \"created_at\": null,\n                \"updated_at\": null,\n                \"name\": \"Is locked\",\n                \"code\": \"is_locked\",\n                \"type\": \"CHECKBOX\",\n                \"options\": null,\n                \"tooltip_message\": \"\",\n                \"default\": \"\",\n                \"show_in_filters\": true,\n                \"is_editable\": false,\n                \"list_values\": null,\n                \"template_name\": \"\",\n                \"position\": 10,\n                \"group\": \"ProductView\",\n                \"template\": null,\n                \"attribute\": null\n            },\n            {\n                \"id\": null,\n                \"active\": true,\n                \"created_at\": null,\n                \"updated_at\": null,\n                \"name\": \"Position\",\n                \"code\": \"position_in_category\",\n                \"type\": \"NUMBER_INT\",\n                \"options\": null,\n                \"tooltip_message\": \"\",\n                \"default\": \"\",\n                \"show_in_filters\": true,\n                \"is_editable\": false,\n                \"list_values\": null,\n                \"template_name\": \"\",\n                \"position\": 9,\n                \"group\": \"ProductView\",\n                \"template\": null,\n                \"attribute\": null\n            },\n            {\n                \"id\": null,\n                \"active\": true,\n                \"created_at\": null,\n                \"updated_at\": null,\n                \"name\": \"Local status\",\n                \"code\": \"local_status\",\n                \"type\": \"SELECT\",\n                \"options\": {\n                    \"with_search\": false\n                },\n                \"tooltip_message\": \"\",\n                \"default\": \"\",\n                \"show_in_filters\": true,\n                \"is_editable\": false,\n                \"list_values\": [\n                    {\n                        \"code\": \"COMPLETE\",\n                        \"label\": \"Complete\"\n                    },\n                    {\n                        \"code\": \"ERROR\",\n                        \"label\": \"Error\"\n                    }\n                ],\n                \"template_name\": \"\",\n                \"position\": 3,\n                \"group\": \"ProductView\",\n                \"template\": null,\n                \"attribute\": null\n            },\n            {\n                \"id\": null,\n                \"active\": true,\n                \"created_at\": null,\n                \"updated_at\": null,\n                \"name\": \"Smartie type\",\n                \"code\": \"type\",\n                \"type\": \"SELECT\",\n                \"options\": {\n                    \"with_search\": false\n                },\n                \"tooltip_message\": \"\",\n                \"default\": \"\",\n                \"show_in_filters\": true,\n                \"is_editable\": false,\n                \"list_values\": [\n                    {\n                        \"code\": \"ABSTRACT\",\n                        \"label\": \"Abstract\"\n                    },\n                    {\n                        \"code\": \"SIMPLE\",\n                        \"label\": \"Simple\"\n                    }\n                ],\n                \"template_name\": \"\",\n                \"position\": 2,\n                \"group\": \"Product\",\n                \"template\": null,\n                \"attribute\": null\n            },\n            {\n                \"id\": null,\n                \"active\": true,\n                \"created_at\": null,\n                \"updated_at\": null,\n                \"name\": \"Sku\",\n                \"code\": \"sku\",\n                \"type\": \"TEXT\",\n                \"options\": null,\n                \"tooltip_message\": \"\",\n                \"default\": \"\",\n                \"show_in_filters\": true,\n                \"is_editable\": false,\n                \"list_values\": null,\n                \"template_name\": \"\",\n                \"position\": 1,\n                \"group\": \"Product\",\n                \"template\": null,\n                \"attribute\": null\n            },\n            {\n                \"id\": null,\n                \"active\": true,\n                \"created_at\": null,\n                \"updated_at\": null,\n                \"name\": \"Product has any categories\",\n                \"code\": \"has_any_categories\",\n                \"type\": \"CHECKBOX\",\n                \"options\": null,\n                \"tooltip_message\": \"\",\n                \"default\": \"\",\n                \"show_in_filters\": true,\n                \"is_editable\": false,\n                \"list_values\": null,\n                \"template_name\": \"\",\n                \"position\": 8,\n                \"group\": \"ProductView\",\n                \"template\": null,\n                \"attribute\": null\n            }\n        ],\n        \"created_at\": \"2021-05-24T13:04:29.192268+02:00\",\n        \"updated_at\": \"2021-05-24T13:04:29.192294+02:00\",\n        \"name\": \"Product template\",\n        \"type\": \"PRODUCT\",\n        \"is_default\": true,\n        \"channel\": 1,\n        \"validations\": []\n    },\n    \"categories\": [],\n    \"active\": true,\n    \"created_at\": \"2022-02-11T14:33:00.190439+01:00\",\n    \"updated_at\": \"2022-02-11T14:42:08.453372+01:00\",\n    \"information\": {\n        \"searchable-flag\": true,\n        \"manufacturer-sku\": \"\",\n        \"page-title\": \"\",\n        \"refinementColor\": \"\",\n        \"specifications\": \"\",\n        \"min-order-quantity\": 1.0,\n        \"deliveryType\": \"\",\n        \"special_price\": null,\n        \"measure_of_each_part\": \"\",\n        \"price\": null,\n        \"dimDepth2\": null,\n        \"estancias\": [],\n        \"special_price_to\": null,\n        \"status\": \"\",\n        \"unit\": \"\",\n        \"volumen\": \"\",\n        \"weight_unit\": \"\",\n        \"videoUrl\": \"\",\n        \"coleccion\": \"\",\n        \"collection\": \"\",\n        \"features\": [],\n        \"color\": \"\",\n        \"dimHeight2\": null,\n        \"ventas\": null,\n        \"manufacturer-name\": \"\",\n        \"dimHeight\": \"\",\n        \"brand\": \"\",\n        \"model\": \"\",\n        \"page-description\": \"\",\n        \"packs\": \"\",\n        \"ean\": \"8435304858545\",\n        \"sitemap-included-flag\": true,\n        \"style\": [],\n        \"size\": \"\",\n        \"assembly_instruccions\": \"\",\n        \"care\": [],\n        \"deliveryTime\": 2,\n        \"unidad-base\": \"\",\n        \"page-keywords\": \"\",\n        \"short-description\": \"\",\n        \"productIcons\": [],\n        \"special_price_from\": null,\n        \"material\": \"\",\n        \"page-url\": \"\",\n        \"tax-class-id\": \"\",\n        \"dimWeight2\": null,\n        \"long-description\": \"\",\n        \"product_type\": \"\",\n        \"erp-name\": \"\",\n        \"availableForInStorePickup\": true,\n        \"Marca\": \"\",\n        \"composition\": \"\",\n        \"unidadMedidas\": \"\",\n        \"dimWidth2\": null,\n        \"display-name\": \"\",\n        \"label\": [],\n        \"assembly_time\": \"\",\n        \"searchable-if-unavailable-flag\": true,\n        \"step-quantity\": 1.0,\n        \"unidadVolumen\": \"\",\n        \"temporada\": \"\"\n    },\n    \"sync_request\": \"\",\n    \"sync_status\": \"UNSYNCHRONIZED\",\n    \"local_status\": \"COMPLETE\",\n    \"sync_message\": {},\n    \"local_message\": {},\n    \"is_locked\": false,\n    \"view\": 2,\n    \"medias\": []\n}"}],"_postman_id":"773f20e8-c3fc-420b-ad42-e1a14badac04"},{"name":"PV02.1 - Get product view with filters","event":[{"listen":"test","script":{"id":"13d971b4-9615-41a4-958c-88f385b59d5e","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"118c99a3-c0a5-4cc5-bb33-9f05b90bc966","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"e1398e5a-00e4-4d8f-825b-2fa739542f26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/product-views/?product__sku={{sku}}&view_id=4","description":"<p>if there is a media/file type attribute on <em>information</em> field, it would be shown as an object id (see response example). To download the file you have to use <a href=\"https://apidocs.smartie.io/#6cb83771-0ec0-4ad9-833f-2bd198ba9aba\">M06 - Download media file</a> request with that id.</p>\n<p>Also, if you want to download the product images, you have the ids on field <em>medias</em>, and the main image id on main_image field, and use the request <a href=\"https://apidocs.smartie.io/#6cb83771-0ec0-4ad9-833f-2bd198ba9aba\">M06 - Download media file</a></p>\n","urlObject":{"path":["v1","product-views",""],"host":["https://demo.smartie.io/api"],"query":[{"key":"product__sku","value":"{{sku}}"},{"key":"view_id","value":"4"}],"variable":[]}},"response":[{"id":"69cb29bc-3826-4a59-9e88-5aae34b6cd15","name":"PV02.1 - Get product view with filters","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://demo.smartie.io/api/v1/product-views/?product__sku=SG-6114&view_id=1","host":["https://demo.smartie.io/api"],"path":["v1","product-views",""],"query":[{"key":"product__sku","value":"SG-6114"},{"key":"view_id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 10,\n            \"active\": true,\n            \"created_at\": \"2021-06-30T14:25:27.420817+02:00\",\n            \"updated_at\": \"2021-08-12T17:05:02.230702+02:00\",\n            \"information\": {\n                \"searchable-flag\": true,\n                \"manufacturer-sku\": \"\",\n                \"page-title\": \"\",\n                \"refinementColor\": \"MULTICOLOR\",\n                \"specifications\": \"\",\n                \"min-order-quantity\": 1.0,\n                \"deliveryType\": \"\",\n                \"page-keywords\": \"\",\n                \"measure_of_each_part\": \"\",\n                \"price\": 4.95,\n                \"dimDepth2\": null,\n                \"estancias\": [],\n                \"special_price_to\": null,\n                \"status\": \"Z8\",\n                \"unit\": \"\",\n                \"volumen\": \"24.300\",\n                \"weight_unit\": \"G\",\n                \"videoUrl\": \"\",\n                \"coleccion\": \"TERRACOTTA\",\n                \"collection\": \"\",\n                \"features\": [],\n                \"color\": \"\",\n                \"dimHeight2\": null,\n                \"ventas\": 0.0,\n                \"manufacturer-name\": \"\",\n                \"dimHeight\": \"0.300\",\n                \"brand\": \"\",\n                \"model\": \"\",\n                \"dimDepth\": 9.0,\n                \"page-description\": \"\",\n                \"packs\": \"\",\n                \"ean\": \"5028250798848\",\n                \"sitemap-included-flag\": true,\n                \"style\": [],\n                \"size\": \"\",\n                \"assembly_instruccions\": \"\",\n                \"care\": [],\n                \"deliveryTime\": \"2\",\n                \"dimWidth\": 9.0,\n                \"unidad-base\": \"ST\",\n                \"short-description\": \"\",\n                \"productIcons\": [],\n                \"special_price_from\": null,\n                \"material\": \"CERAMICA\",\n                \"page-url\": \"\",\n                \"tax-class-id\": \"standard\",\n                \"dimWeight2\": null,\n                \"long-description\": \"\",\n                \"product_type\": \"\",\n                \"erp-name\": \"Posavasos Cerámica Terracotta Geo 9x9\",\n                \"availableForInStorePickup\": true,\n                \"step-quantity\": 1.0,\n                \"composition\": \"\",\n                \"special_price\": 3.99,\n                \"unidadMedidas\": \"CM\",\n                \"dimWidth2\": null,\n                \"display-name\": \"Posavasos cerámica Terracotta Geo 9x9cm\",\n                \"dimWeight\": 98.0,\n                \"label\": [],\n                \"assembly_time\": \"\",\n                \"searchable-if-unavailable-flag\": true,\n                \"Marca\": \"\",\n                \"unidadVolumen\": \"CCM\",\n                \"temporada\": \"\"\n            },\n            \"sync_request\": \"\",\n            \"sync_status\": \"UNSYNCHRONIZED\",\n            \"local_status\": \"COMPLETE\",\n            \"sync_message\": {},\n            \"local_message\": {},\n            \"is_locked\": false,\n            \"product\": 10,\n            \"template\": 1,\n            \"view\": 1,\n            \"main_image\": 5768,\n            \"medias\": [\n                5768,\n                9742\n            ],\n            \"categories\": []\n        }\n    ]\n}"},{"id":"cd384ffc-0363-49f5-a32c-c689caec0f09","name":"PV02.1 - Get product view with filters list of skus","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://demo.smartie.io/api/v1/product-views/?product__sku__in=test,3029481,2020195&view_id=1","host":["https://demo.smartie.io/api"],"path":["v1","product-views",""],"query":[{"key":"product__sku__in","value":"test,3029481,2020195"},{"key":"view_id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"count\": 3,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 15090,\n            \"active\": true,\n            \"created_at\": \"2021-10-01T11:15:43.124839+02:00\",\n            \"updated_at\": \"2021-10-01T11:15:43.124914+02:00\",\n            \"information\": {\n                \"attachment_file\": 555,\n                \"brand\": \"\",\n                \"videoUrl\": \"\",\n                \"coleccion\": \"\",\n                \"page-description\": \"\",\n                \"unidadMedidas\": \"\",\n                \"size\": \"\",\n                \"ventas\": null,\n                \"refinementColor\": \"\",\n                \"composition\": \"\",\n                \"packs\": \"\",\n                \"ean\": \"\",\n                \"features\": [],\n                \"Marca\": \"\",\n                \"manufacturer-sku\": \"\",\n                \"collection\": \"\",\n                \"volumen\": \"\",\n                \"color\": \"\",\n                \"product_type\": \"\",\n                \"sitemap-included-flag\": true,\n                \"min-order-quantity\": 1.0,\n                \"assembly_time\": \"\",\n                \"weight_unit\": \"\",\n                \"productIcons\": [],\n                \"searchable-if-unavailable-flag\": true,\n                \"model\": \"\",\n                \"label\": [],\n                \"temporada\": \"\",\n                \"specifications\": \"\",\n                \"deliveryTime\": 2,\n                \"dimDepth2\": null,\n                \"erp-name\": \"\",\n                \"measure_of_each_part\": \"\",\n                \"assembly_instruccions\": \"\",\n                \"page-title\": \"\",\n                \"step-quantity\": 1.0,\n                \"special_price\": null,\n                \"dimWeight2\": null,\n                \"special_price_to\": null,\n                \"tax-class-id\": \"\",\n                \"material\": \"\",\n                \"price\": null,\n                \"status\": \"\",\n                \"dimHeight2\": null,\n                \"unit\": \"\",\n                \"page-url\": \"\",\n                \"searchable-flag\": true,\n                \"unidadVolumen\": \"\",\n                \"deliveryType\": \"\",\n                \"care\": [],\n                \"unidad-base\": \"\",\n                \"dimWidth2\": null,\n                \"estancias\": [],\n                \"manufacturer-name\": \"\",\n                \"long-description\": \"\",\n                \"page-keywords\": \"\",\n                \"availableForInStorePickup\": true,\n                \"display-name\": \"\",\n                \"short-description\": \"\",\n                \"dimHeight\": \"\",\n                \"style\": [],\n                \"special_price_from\": null\n            },\n            \"sync_request\": \"\",\n            \"sync_status\": \"UNSYNCHRONIZED\",\n            \"local_status\": \"COMPLETE\",\n            \"sync_message\": {},\n            \"local_message\": {},\n            \"is_locked\": false,\n            \"product\": 15090,\n            \"template\": 1,\n            \"view\": 1,\n            \"medias\": [],\n            \"main_image\": null,\n            \"categories\": []\n        },\n        {\n            \"id\": 15087,\n            \"active\": true,\n            \"created_at\": \"2021-08-12T17:03:43.755928+02:00\",\n            \"updated_at\": \"2021-08-12T17:03:43.755945+02:00\",\n            \"information\": {\n                \"brand\": \"\",\n                \"videoUrl\": \"\",\n                \"coleccion\": \"\",\n                \"page-description\": \"\",\n                \"unidadMedidas\": \"\",\n                \"size\": \"\",\n                \"ventas\": 30.0,\n                \"refinementColor\": \"NEGRO\",\n                \"composition\": \"\",\n                \"packs\": \"\",\n                \"ean\": \"719812019611\",\n                \"features\": [],\n                \"Marca\": \"\",\n                \"manufacturer-sku\": \"\",\n                \"collection\": \"\",\n                \"volumen\": \"0.000\",\n                \"color\": \"\",\n                \"product_type\": \"\",\n                \"sitemap-included-flag\": true,\n                \"min-order-quantity\": 1.0,\n                \"assembly_time\": \"\",\n                \"weight_unit\": \"KG\",\n                \"productIcons\": [],\n                \"searchable-if-unavailable-flag\": true,\n                \"model\": \"\",\n                \"label\": [],\n                \"temporada\": \"\",\n                \"specifications\": \"\",\n                \"deliveryTime\": 2,\n                \"dimDepth2\": null,\n                \"erp-name\": \"Tijeras Cocina\",\n                \"measure_of_each_part\": \"\",\n                \"assembly_instruccions\": \"\",\n                \"page-title\": \"\",\n                \"step-quantity\": 1.0,\n                \"special_price\": 0.0,\n                \"dimWeight2\": null,\n                \"special_price_to\": null,\n                \"tax-class-id\": \"standard\",\n                \"material\": \"ACERO INOXIDABLE\",\n                \"price\": 19.95,\n                \"status\": \"Z3\",\n                \"dimHeight2\": null,\n                \"unit\": \"\",\n                \"page-url\": \"\",\n                \"searchable-flag\": true,\n                \"unidadVolumen\": \"\",\n                \"deliveryType\": \"\",\n                \"care\": [],\n                \"unidad-base\": \"ST\",\n                \"dimWidth2\": null,\n                \"estancias\": [],\n                \"manufacturer-name\": \"\",\n                \"long-description\": \"\",\n                \"page-keywords\": \"\",\n                \"availableForInStorePickup\": true,\n                \"display-name\": \"\",\n                \"short-description\": \"\",\n                \"dimHeight\": \"0.000\",\n                \"style\": [],\n                \"special_price_from\": null\n            },\n            \"sync_request\": \"\",\n            \"sync_status\": \"UNSYNCHRONIZED\",\n            \"local_status\": \"COMPLETE\",\n            \"sync_message\": {},\n            \"local_message\": {},\n            \"is_locked\": false,\n            \"product\": 15087,\n            \"template\": 1,\n            \"view\": 1,\n            \"main_image\": null,\n            \"medias\": [],\n            \"categories\": []\n        },\n        {\n            \"id\": 15084,\n            \"active\": true,\n            \"created_at\": \"2021-08-12T17:03:40.661479+02:00\",\n            \"updated_at\": \"2021-08-12T17:03:40.661485+02:00\",\n            \"information\": {\n                \"brand\": \"\",\n                \"videoUrl\": \"\",\n                \"coleccion\": \"Alice\",\n                \"page-description\": \"\",\n                \"unidadMedidas\": \"CM\",\n                \"size\": \"\",\n                \"ventas\": 0.0,\n                \"refinementColor\": \"ROSA\",\n                \"composition\": \"\",\n                \"packs\": \"\",\n                \"ean\": \"8414061468198\",\n                \"features\": [],\n                \"Marca\": \"\",\n                \"manufacturer-sku\": \"\",\n                \"collection\": \"\",\n                \"volumen\": \"1.983\",\n                \"color\": \"\",\n                \"product_type\": \"\",\n                \"sitemap-included-flag\": true,\n                \"min-order-quantity\": 1.0,\n                \"assembly_time\": \"\",\n                \"weight_unit\": \"KG\",\n                \"productIcons\": [],\n                \"searchable-if-unavailable-flag\": true,\n                \"model\": \"\",\n                \"label\": [],\n                \"temporada\": \"\",\n                \"specifications\": \"\",\n                \"deliveryTime\": 2,\n                \"dimDepth2\": null,\n                \"erp-name\": \"Silla plástico rosa Alice 47x52cm\",\n                \"measure_of_each_part\": \"\",\n                \"assembly_instruccions\": \"\",\n                \"page-title\": \"\",\n                \"step-quantity\": 1.0,\n                \"special_price\": 49.99,\n                \"dimWeight2\": null,\n                \"special_price_to\": null,\n                \"tax-class-id\": \"standard\",\n                \"material\": \"POLIPROPILENO\",\n                \"price\": 59.99,\n                \"status\": \"Z1\",\n                \"dimHeight2\": null,\n                \"unit\": \"\",\n                \"page-url\": \"\",\n                \"searchable-flag\": true,\n                \"unidadVolumen\": \"HL\",\n                \"deliveryType\": \"\",\n                \"care\": [],\n                \"unidad-base\": \"ST\",\n                \"dimWidth2\": null,\n                \"estancias\": [],\n                \"manufacturer-name\": \"\",\n                \"long-description\": \"\",\n                \"page-keywords\": \"\",\n                \"availableForInStorePickup\": true,\n                \"display-name\": \"\",\n                \"short-description\": \"\",\n                \"dimHeight\": \"82.000\",\n                \"style\": [],\n                \"special_price_from\": null\n            },\n            \"sync_request\": \"\",\n            \"sync_status\": \"UNSYNCHRONIZED\",\n            \"local_status\": \"COMPLETE\",\n            \"sync_message\": {},\n            \"local_message\": {},\n            \"is_locked\": false,\n            \"product\": 15084,\n            \"template\": 1,\n            \"view\": 1,\n            \"main_image\": null,\n            \"medias\": [],\n            \"categories\": []\n        }\n    ]\n}"}],"_postman_id":"e1398e5a-00e4-4d8f-825b-2fa739542f26"},{"name":"PV03 - Create product view","event":[{"listen":"test","script":{"id":"c000ee17-9adb-48fa-8375-0383f47489e2","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"19423651-d058-428e-a6fa-703b41a44676","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"6aa4f44f-ef90-4039-8422-f51fb363a16a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"view\": 4,\n    \"template\": {{template_id}},\n    \"product\": {{product_id}},\n    \"active\": true\n}"},"url":"https://demo.smartie.io/api/v1/product-views","urlObject":{"path":["v1","product-views"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"69465e0c-b0d7-4d0d-88e4-cd74bf10d3d7","name":"PV03 - Create product view","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"view\": 2,\n    \"template\": 1,\n    \"product\": 10,\n    \"information\":{\n        \"CodArticle\":\"test 2\",\n        \"MarketingDescription\":\"test desc\"\n    },\n    \"active\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/product-views"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 15091,\n    \"active\": true,\n    \"created_at\": \"2022-02-11T14:33:00.190439+01:00\",\n    \"updated_at\": \"2022-02-11T14:33:00.190476+01:00\",\n    \"information\": {\n        \"CodArticle\":\"test 2\",\n        \"MarketingDescription\":\"test desc\",\n        \"searchable-flag\": true,\n        \"assembly_time\": \"\",\n        \"page-title\": \"\",\n        \"refinementColor\": \"\",\n        \"features\": [],\n        \"availableForInStorePickup\": true,\n        \"dimWidth2\": null,\n        \"deliveryType\": \"\",\n        \"special_price\": null,\n        \"measure_of_each_part\": \"\",\n        \"price\": null,\n        \"dimDepth2\": null,\n        \"estancias\": [],\n        \"display-name\": \"\",\n        \"status\": \"\",\n        \"unit\": \"\",\n        \"volumen\": \"\",\n        \"weight_unit\": \"\",\n        \"videoUrl\": \"\",\n        \"coleccion\": \"\",\n        \"unidadVolumen\": \"\",\n        \"specifications\": \"\",\n        \"color\": \"\",\n        \"page-url\": \"\",\n        \"ventas\": null,\n        \"min-order-quantity\": 1.0,\n        \"dimHeight\": \"\",\n        \"brand\": \"\",\n        \"model\": \"\",\n        \"page-description\": \"\",\n        \"packs\": \"\",\n        \"ean\": \"\",\n        \"style\": [],\n        \"special_price_to\": null,\n        \"assembly_instruccions\": \"\",\n        \"care\": [],\n        \"deliveryTime\": 2,\n        \"unidad-base\": \"\",\n        \"page-keywords\": \"\",\n        \"short-description\": \"\",\n        \"productIcons\": [],\n        \"special_price_from\": null,\n        \"material\": \"\",\n        \"manufacturer-name\": \"\",\n        \"tax-class-id\": \"\",\n        \"dimWeight2\": null,\n        \"long-description\": \"\",\n        \"product_type\": \"\",\n        \"erp-name\": \"\",\n        \"dimHeight2\": null,\n        \"Marca\": \"\",\n        \"composition\": \"\",\n        \"unidadMedidas\": \"\",\n        \"size\": \"\",\n        \"manufacturer-sku\": \"\",\n        \"label\": [],\n        \"sitemap-included-flag\": true,\n        \"searchable-if-unavailable-flag\": true,\n        \"step-quantity\": 1.0,\n        \"collection\": \"\",\n        \"temporada\": \"\"\n    },\n    \"sync_request\": \"\",\n    \"sync_status\": \"UNSYNCHRONIZED\",\n    \"local_status\": \"COMPLETE\",\n    \"sync_message\": {},\n    \"local_message\": {},\n    \"is_locked\": false,\n    \"product\": 10,\n    \"template\": 1,\n    \"view\": 2,\n    \"medias\": [],\n    \"categories\": []\n}"}],"_postman_id":"6aa4f44f-ef90-4039-8422-f51fb363a16a"},{"name":"PV04 - Update product view","event":[{"listen":"test","script":{"id":"70e261f5-e0fa-48b0-9cfa-40ef57d29d34","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"108d2f97-7bcb-4b1e-8585-636e09ff7c87","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"01ca8c93-8a20-41da-8f5a-56031d8ad41a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"information\":{\n        {{dictionary with attributes to update}}\n    }\n}"},"url":"https://demo.smartie.io/api/ui/product-views/{{product_view_id}}","urlObject":{"path":["ui","product-views","{{product_view_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"c12f310c-797c-471f-afdd-417a9eae34f6","name":"PV04 - Update product view","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"information\":{\n        \"name\":\"test name\",\n        \"short_description\":\"Test short_description\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/ui/product-views/{{product_view_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 15091,\n    \"main_image\": \"http://localhost:8000/medias/image/c9d1/3048992.jpg\",\n    \"has_any_categories\": false,\n    \"position_in_category\": 0,\n    \"product\": {\n        \"id\": 10,\n        \"product_view_information\": null,\n        \"sku\": \"3048992\",\n        \"type\": \"SIMPLE\",\n        \"active\": true,\n        \"stocks__quantity\": 0,\n        \"created_at\": \"2021-06-30T14:25:25.854205+02:00\",\n        \"updated_at\": \"2021-08-12T17:05:01.482417+02:00\"\n    },\n    \"active\": true,\n    \"created_at\": \"2022-02-11T14:33:00.190439+01:00\",\n    \"updated_at\": \"2022-02-11T14:39:57.318298+01:00\",\n    \"information\": {\n        \"name\":\"test name\",\n        \"short_description\":\"Test short_description\",\n        \"searchable-flag\": true,\n        \"assembly_time\": \"\",\n        \"page-title\": \"\",\n        \"refinementColor\": \"\",\n        \"features\": [],\n        \"availableForInStorePickup\": true,\n        \"dimWidth2\": null,\n        \"deliveryType\": \"\",\n        \"special_price\": null,\n        \"measure_of_each_part\": \"\",\n        \"price\": null,\n        \"dimDepth2\": null,\n        \"estancias\": [],\n        \"display-name\": \"\",\n        \"status\": \"\",\n        \"unit\": \"\",\n        \"volumen\": \"\",\n        \"weight_unit\": \"\",\n        \"videoUrl\": \"\",\n        \"coleccion\": \"\",\n        \"unidadVolumen\": \"\",\n        \"specifications\": \"\",\n        \"color\": \"\",\n        \"page-url\": \"\",\n        \"ventas\": null,\n        \"min-order-quantity\": 1.0,\n        \"dimHeight\": \"\",\n        \"brand\": \"\",\n        \"model\": \"\",\n        \"page-description\": \"\",\n        \"packs\": \"\",\n        \"ean\": \"\",\n        \"style\": [],\n        \"special_price_to\": null,\n        \"assembly_instruccions\": \"\",\n        \"care\": [],\n        \"deliveryTime\": 2,\n        \"unidad-base\": \"\",\n        \"page-keywords\": \"\",\n        \"short-description\": \"\",\n        \"productIcons\": [],\n        \"special_price_from\": null,\n        \"material\": \"\",\n        \"manufacturer-name\": \"\",\n        \"tax-class-id\": \"\",\n        \"dimWeight2\": null,\n        \"long-description\": \"\",\n        \"product_type\": \"\",\n        \"erp-name\": \"\",\n        \"dimHeight2\": null,\n        \"Marca\": \"\",\n        \"composition\": \"\",\n        \"unidadMedidas\": \"\",\n        \"size\": \"\",\n        \"manufacturer-sku\": \"\",\n        \"label\": [],\n        \"sitemap-included-flag\": true,\n        \"searchable-if-unavailable-flag\": true,\n        \"step-quantity\": 1.0,\n        \"collection\": \"\",\n        \"temporada\": \"\"\n    },\n    \"sync_request\": \"\",\n    \"sync_status\": \"UNSYNCHRONIZED\",\n    \"local_status\": \"COMPLETE\",\n    \"sync_message\": {},\n    \"local_message\": {},\n    \"is_locked\": false,\n    \"template\": 1,\n    \"view\": 2,\n    \"medias\": [],\n    \"categories\": []\n}"}],"_postman_id":"01ca8c93-8a20-41da-8f5a-56031d8ad41a"},{"name":"PV05 - Duplicate product","event":[{"listen":"test","script":{"id":"344c5830-2956-4fa3-a6a1-b7b342d4e884","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"cf0c069d-b2d7-4775-bdfd-c3cf2adb07bb","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"f4cd532d-c5c9-4b5f-992c-627349368df6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"target_sku\": \"S03245251\"\n}"},"url":"https://demo.smartie.io/api/v1/products/{{product_id}}/duplicate","urlObject":{"path":["v1","products","{{product_id}}","duplicate"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f4cd532d-c5c9-4b5f-992c-627349368df6"},{"name":"PV06 -Update product view with sku","event":[{"listen":"test","script":{"id":"4a4e578b-b743-4446-86e2-7a3c356e1525","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"4dfc8674-f82e-4879-b5e3-2fb14c7034da","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"dd8ba91f-8b8a-4e14-be57-1fc4f379b5d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sku\": {{product_sku}},\n    \"view\": 4,\n    \"information\":{\n        {{dictionary with attributes to update}}\n    }\n}"},"url":"https://demo.smartie.io/api/v1/product-views/update_sku_view","urlObject":{"path":["v1","product-views","update_sku_view"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"bb162000-1bca-4664-b520-91386a35a98d","name":"PV06 -Update product view with sku","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sku\": 3048992,\n    \"view\": 2,\n    \"information\":{\n        \"name\":\"test name\",\n        \"short_description\":\"Test short_description\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/product-views/update_sku_view"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 15091,\n    \"active\": true,\n    \"created_at\": \"2022-02-11T14:33:00.190439+01:00\",\n    \"updated_at\": \"2022-02-11T14:42:08.453372+01:00\",\n    \"information\": {\n        \"name\":\"test name\",\n        \"short_description\":\"Test short_description\",\n        \"searchable-flag\": true,\n        \"assembly_time\": \"\",\n        \"page-title\": \"\",\n        \"refinementColor\": \"\",\n        \"features\": [],\n        \"availableForInStorePickup\": true,\n        \"dimWidth2\": null,\n        \"deliveryType\": \"\",\n        \"special_price\": null,\n        \"measure_of_each_part\": \"\",\n        \"price\": null,\n        \"dimDepth2\": null,\n        \"estancias\": [],\n        \"display-name\": \"\",\n        \"status\": \"\",\n        \"unit\": \"\",\n        \"volumen\": \"\",\n        \"weight_unit\": \"\",\n        \"videoUrl\": \"\",\n        \"coleccion\": \"\",\n        \"unidadVolumen\": \"\",\n        \"specifications\": \"\",\n        \"color\": \"\",\n        \"page-url\": \"\",\n        \"ventas\": null,\n        \"min-order-quantity\": 1.0,\n        \"dimHeight\": \"\",\n        \"brand\": \"\",\n        \"model\": \"\",\n        \"page-description\": \"\",\n        \"packs\": \"\",\n        \"ean\": \"8435304858545\",\n        \"style\": [],\n        \"special_price_to\": null,\n        \"assembly_instruccions\": \"\",\n        \"care\": [],\n        \"deliveryTime\": 2,\n        \"unidad-base\": \"\",\n        \"page-keywords\": \"\",\n        \"short-description\": \"\",\n        \"productIcons\": [],\n        \"special_price_from\": null,\n        \"material\": \"\",\n        \"manufacturer-name\": \"\",\n        \"tax-class-id\": \"\",\n        \"dimWeight2\": null,\n        \"long-description\": \"\",\n        \"product_type\": \"\",\n        \"erp-name\": \"\",\n        \"dimHeight2\": null,\n        \"Marca\": \"\",\n        \"composition\": \"\",\n        \"unidadMedidas\": \"\",\n        \"size\": \"\",\n        \"manufacturer-sku\": \"\",\n        \"label\": [],\n        \"sitemap-included-flag\": true,\n        \"searchable-if-unavailable-flag\": true,\n        \"step-quantity\": 1.0,\n        \"collection\": \"\",\n        \"temporada\": \"\"\n    },\n    \"sync_request\": \"\",\n    \"sync_status\": \"UNSYNCHRONIZED\",\n    \"local_status\": \"COMPLETE\",\n    \"sync_message\": {},\n    \"local_message\": {},\n    \"is_locked\": false,\n    \"product\": 10,\n    \"template\": 1,\n    \"view\": 2,\n    \"medias\": [],\n    \"categories\": []\n}"}],"_postman_id":"dd8ba91f-8b8a-4e14-be57-1fc4f379b5d0"},{"name":"PV07 - Lock product views","id":"d9c325a1-b5c0-43a7-ba5c-0e675e8c7182","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"is_locked\": true, \n    \"item_ids\": [1, 3]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/product-views/lock-bulk","urlObject":{"path":["v1","product-views","lock-bulk"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d9c325a1-b5c0-43a7-ba5c-0e675e8c7182"},{"name":"PV08 - Lock product view","id":"733e7fa0-22f5-42b8-a9e9-18798178d2d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"is_locked","value":"True","type":"text"}]},"url":"https://demo.smartie.io/api/v1/product-views/{{product_view_id}}/lock","urlObject":{"path":["v1","product-views","{{product_view_id}}","lock"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"733e7fa0-22f5-42b8-a9e9-18798178d2d6"},{"name":"PV09 - v2 - Import product view row","event":[{"listen":"test","script":{"id":"4a4e578b-b743-4446-86e2-7a3c356e1525","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"4dfc8674-f82e-4879-b5e3-2fb14c7034da","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"d5e83c74-46ba-4458-804a-14584057247c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sku\": \"{{sku}}\",\n    \"type\": \"{{type}}\", // required if new product in view\n    \"view\": \"{{view_name}}\",\n    \"channel\": \"{{channel_name}}\",\n    \"template\": \"{{template_name}}\"\n    // attributes to update as key:value, see example\n}"},"url":"https://demo.smartie.io/api/v2/product-views/import_with_sku","description":"<p>This endpoint follows the same logic as the product import with JSON files. Check the <a href=\"https://ayuda.onestic.com/space/MANSMAR/2154463536/V2+-+Actualizaci%C3%B3n/Creaci%C3%B3n+de+productos+mediante+json\">manual</a> for more details.</p>\n<p>List of multiple rows allowed with limit=50. See examples. It just return new products or products with some updated attribute value. The product won't be returned if it's already updated (It has no changes in attribute values).</p>\n<p>See examples. All cases can be combined in the same row.</p>\n","urlObject":{"path":["v2","product-views","import_with_sku"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"268f8368-87ca-44b7-945c-fa5df3aed9b8","name":"PV09 - v2 - Multiple Import product view with sku","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"sku\": \"11223344\",\n        \"type\": \"SIMPLE\",\n        \"view\": \"es\",\n        \"channel\": \"Magento2\",\n        \"template\": \"MAGENTO_template_default\",\n        \"name\": \"test name\",\n        \"short_description\": \"Test short_description\"\n    },\n    {\n        \"sku\": \"55667788\",\n        \"type\": \"ABSTRACT\",\n        \"view\": \"es\",\n        \"channel\": \"Magento2\",\n        \"template\": \"MAGENTO_template_default\",\n        \"name\": \"test name\",\n        \"short_description\": \"Test short_description\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/product-views/import_with_sku"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"items\": [\n    {\n      \"id\": 15091,\n      \"sku\": \"11223344\",\n      \"view_name\": \"es\",\n      \"channel_name\": \"Magento2\",\n      \"active\": true,\n      \"created_at\": \"2022-02-11T14:33:00.190439+01:00\",\n      \"updated_at\": \"2022-02-11T14:42:08.453372+01:00\",\n      \"information\": {\n        \"name\": \"test name\",\n        \"short_description\": \"Test short_description\"\n      },\n      \"sync_request\": \"\",\n      \"sync_status\": \"UNSYNCHRONIZED\",\n      \"local_status\": \"COMPLETE\",\n      \"sync_message\": {},\n      \"local_message\": {},\n      \"is_locked\": false,\n      \"product\": 10,\n      \"template\": 1,\n      \"view\": 2,\n      \"medias\": [],\n      \"categories\": []\n    },\n    {\n      \"id\": 15091,\n      \"sku\": \"55667788\",\n      \"view_name\": \"es\",\n      \"channel_name\": \"Magento2\",\n      \"active\": true,\n      \"created_at\": \"2022-02-11T14:33:00.190439+01:00\",\n      \"updated_at\": \"2022-02-11T14:42:08.453372+01:00\",\n      \"information\": {\n        \"name\": \"test name\",\n        \"short_description\": \"Test short_description\"\n      },\n      \"sync_request\": \"\",\n      \"sync_status\": \"UNSYNCHRONIZED\",\n      \"local_status\": \"COMPLETE\",\n      \"sync_message\": {},\n      \"local_message\": {},\n      \"is_locked\": false,\n      \"product\": 10,\n      \"template\": 1,\n      \"view\": 2,\n      \"medias\": [],\n      \"categories\": []\n    }\n  ],\n  \"errors\": []\n}"},{"id":"6b9fd911-3269-4af1-8d74-15c3e10ee615","name":"PV09 - v2 - Multiple Import product view with sku with errors","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"sku\": \"11223344\",\n        \"type\": \"SIMPLE\",\n        \"view\": \"es\",\n        \"channel\": \"Magento2\",\n        \"template\": \"MAGENTO_template_default\",\n        \"name\": \"test name\",\n        \"short_description\": \"Test short_description\"\n    },\n    {\n        \"sku\": \"55667788\",\n        \"type\": \"ABSTRACT\",\n        \"view\": \"usa\",\n        \"channel\": \"Magento2\",\n        \"template\": \"MAGENTO_template_default\",\n        \"name\": \"test name\",\n        \"short_description\": \"Test short_description\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/product-views/import_with_sku"},"status":"Multi-Status (WebDAV) (RFC 4918)","code":207,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"items\": [\n    {\n      \"id\": 15091,\n      \"sku\": \"11223344\",\n      \"view_name\": \"es\",\n      \"channel_name\": \"Magento2\",\n      \"active\": true,\n      \"created_at\": \"2022-02-11T14:33:00.190439+01:00\",\n      \"updated_at\": \"2022-02-11T14:42:08.453372+01:00\",\n      \"information\": {\n        \"name\": \"test name\",\n        \"short_description\": \"Test short_description\"\n      },\n      \"sync_request\": \"\",\n      \"sync_status\": \"UNSYNCHRONIZED\",\n      \"local_status\": \"COMPLETE\",\n      \"sync_message\": {},\n      \"local_message\": {},\n      \"is_locked\": false,\n      \"product\": 10,\n      \"template\": 1,\n      \"view\": 2,\n      \"medias\": [],\n      \"categories\": []\n    }\n  ],\n  \"errors\": [\n        {\n            \"identifier\": \"55667788\",\n            \"error\": \"Product view not created or updated for 55667788. Error: No view found with name 'usa' in channel 'Magento2'.\"\n        }\n    ]\n}"},{"id":"4c74e758-a5b9-4c79-b7c1-a6184407fa95","name":"PV09 - v2 - Multiple Import product view with sku and categorization","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"sku\": \"11223344\",\n        \"view\": \"es\",\n        \"channel\": \"Magento2\",\n        \"name\": \"test name\",\n        \"short_description\": \"Test short_description\",\n        \"category_tree\": \"Default category\",\n        \"category_paths\": \"CAT 1,CAT 1/CAT 2\",\n        \"position\": \"5,1\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/product-views/import_with_sku"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"items\": [\n    {\n      \"id\": 15091,\n      \"sku\": \"11223344\",\n      \"view_name\": \"es\",\n      \"channel_name\": \"Magento2\",\n      \"active\": true,\n      \"created_at\": \"2022-02-11T14:33:00.190439+01:00\",\n      \"updated_at\": \"2022-02-11T14:42:08.453372+01:00\",\n      \"information\": {\n        \"name\": \"test name\",\n        \"short_description\": \"Test short_description\"\n      },\n      \"sync_request\": \"\",\n      \"sync_status\": \"UNSYNCHRONIZED\",\n      \"local_status\": \"COMPLETE\",\n      \"sync_message\": {},\n      \"local_message\": {},\n      \"is_locked\": false,\n      \"product\": 10,\n      \"template\": 1,\n      \"view\": 2,\n      \"medias\": [],\n      \"categories\": []\n    }\n  ],\n  \"errors\": []\n}"},{"id":"3ac762f2-16e2-48ba-863c-3fe198187faa","name":"PV09 - v2 - Multiple Import product view with existing sku and parent sku","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"sku\": \"11223344\",\n        \"view\": \"es\",\n        \"channel\": \"Ecommerce\",\n        \"name\": \"test name\",\n        \"short_description\": \"Test short_description\",\n        \"parent_sku\": \"sku-parent-1\",\n        \"relation_type\": \"VARIATION\",\n        \"variation_criteria_names\": \"color\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/product-views/import_with_sku"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"items\": [\n    {\n      \"id\": 15091,\n      \"sku\": \"11223344\",\n      \"view_name\": \"es\",\n      \"channel_name\": \"Magento2\",\n      \"active\": true,\n      \"created_at\": \"2022-02-11T14:33:00.190439+01:00\",\n      \"updated_at\": \"2022-02-11T14:42:08.453372+01:00\",\n      \"information\": {\n        \"name\": \"test name\",\n        \"short_description\": \"Test short_description\"\n      },\n      \"sync_request\": \"\",\n      \"sync_status\": \"UNSYNCHRONIZED\",\n      \"local_status\": \"COMPLETE\",\n      \"sync_message\": {},\n      \"local_message\": {},\n      \"is_locked\": false,\n      \"product\": 10,\n      \"template\": 1,\n      \"view\": 2,\n      \"medias\": [],\n      \"categories\": []\n    }\n  ],\n  \"errors\": []\n}"},{"id":"611ae6d8-af9a-4757-9f1e-44243740ddc0","name":"PV09 - v2 - Multiple Import product view with sku and stock","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"sku\": \"11223344\",\n        \"view\": \"es\",\n        \"channel\": \"Ecommerce\",\n        \"name\": \"test name\",\n        \"short_description\": \"Test short_description\",\n        \"stocks\": [\n            {\n                \"sku\": \"11223344\",\n                \"warehouse\": \"warehouse 1\",\n                \"quantity\": 10\n            },\n            {\n                \"sku\": \"11223344\",\n                \"warehouse\": \"warehouse 2\",\n                \"quantity\": 5\n            }\n        ]\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/product-views/import_with_sku"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"items\": [\n    {\n      \"id\": 15091,\n      \"sku\": \"11223344\",\n      \"view_name\": \"es\",\n      \"channel_name\": \"Magento2\",\n      \"active\": true,\n      \"created_at\": \"2022-02-11T14:33:00.190439+01:00\",\n      \"updated_at\": \"2022-02-11T14:42:08.453372+01:00\",\n      \"information\": {\n        \"name\": \"test name\",\n        \"short_description\": \"Test short_description\"\n      },\n      \"sync_request\": \"\",\n      \"sync_status\": \"UNSYNCHRONIZED\",\n      \"local_status\": \"COMPLETE\",\n      \"sync_message\": {},\n      \"local_message\": {},\n      \"is_locked\": false,\n      \"product\": 10,\n      \"template\": 1,\n      \"view\": 2,\n      \"medias\": [],\n      \"categories\": []\n    }\n  ],\n  \"errors\": []\n}"},{"id":"9eb13bdd-b2ce-4c9f-b137-ba676a6f1ec6","name":"PV09 - v2 - Import product view with sku non existing","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sku\": \"3048992\",\n    \"type\": \"SIMPLE\",\n    \"view\": \"es\",\n    \"channel\": \"Magento2\",\n    \"template\": \"MAGENTO_template_default\",\n    \"name\":\"test name\",\n    \"short_description\":\"Test short_description\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/product-views/import_with_sku"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"true\": {\n        \"3048992\": \"es\"\n    }\n}"},{"id":"ddf83d20-3e06-4cee-826b-a5ce3f42a390","name":"PV09 - v2 - Import product view with existing sku and categorization","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sku\": \"3048992\",\n    \"view\": \"es\",\n    \"channel\": \"Magento2\",\n    \"name\":\"test name\",\n    \"short_description\":\"Test short_description\",\n    \"category_tree\": \"Default category\",\n    \"category_paths\": \"CAT 1,CAT 1/CAT 2\",\n    \"position\": \"5,1\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/product-views/import_with_sku"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"true\": {\n        \"3048992\": \"es\"\n    }\n}"},{"id":"08035d49-b2d8-4e23-89c2-62fe51995bde","name":"PV09 - v2 - Import product view with existing sku and parent sku data","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sku\": \"3048992\",\n    \"view\": \"es\",\n    \"channel\": \"Ecommerce\",\n    \"name\":\"test name\",\n    \"short_description\":\"Test short_description\",\n    \"parent_sku\": \"sku-parent-1\",\n    \"relation_type\": \"VARIATION\",\n    \"variation_criteria_names\": \"Proveedor\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/product-views/import_with_sku"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"true\": {\n        \"3048992\": \"es\"\n    }\n}"},{"id":"7ee2bdee-d24a-453c-accc-ac42318cacc1","name":"PV09 - v2 - Import product view returns validation error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sku\": 3048992,\n    \"name\":\"test name\",\n    \"short_description\":\"Test short_description\",\n    \"category_tree\": \"Default category\",\n    \"category_paths\": \"CAT 1,CAT 1/CAT 2\",\n    \"position\": \"5,1\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/product-views/import_with_sku"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"detail\": \"View or channel are mandatory.\"\n}"},{"id":"27b773d0-9565-4490-998d-90f584d63a1c","name":"PV09 - v2 - Import product view returns parsing data error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"sku\": 3048992,\n    \"view\": \"es\",\n    \"name\":\"test name\",\n    \"price\": \"adasdas\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/product-views/import_with_sku"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"detail\": \"Product view not created or updated for 3048992. Error: Something was wrong creating product 3048992 for view es: Value \\\"aaaaa\\\" cannot be casted for attribute \\\"price\\\": could not convert string to float: 'aaaaa'\"\n}"}],"_postman_id":"d5e83c74-46ba-4458-804a-14584057247c"},{"name":"PV10 - v2 - Get product ids from view and filters","event":[{"listen":"test","script":{"id":"4a4e578b-b743-4446-86e2-7a3c356e1525","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"4dfc8674-f82e-4879-b5e3-2fb14c7034da","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"72f0374d-812b-4dc8-a934-9fe8183589f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"filters\": {\n        \"view_id\": {{view id (mandatory)}}\n        {{more filters}}\n    }\n}"},"url":"https://demo.smartie.io/api/v2/product-views/get-product-ids","description":"<p>This endpoint follows the same logic as the product import with JSON files. Check the <a href=\"https://ayuda.onestic.com/space/MANSMAR/2154463536/V2+-+Actualizaci%C3%B3n/Creaci%C3%B3n+de+productos+mediante+json\">manual</a> for more details.</p>\n","urlObject":{"path":["v2","product-views","get-product-ids"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"22dd2d9e-c727-40f2-b25e-b0ba970e6e99","name":"PV10 - v2 - Get product ids from view and filters","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"filters\": {\n        \"product__stocks__quantity__gt\": 0,\n        \"view_id\": 1\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/product-views/get-product-ids"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    251,\n    2026,\n    264,\n    2024,\n    1070,\n    1350,\n    1209,\n    496,\n    1101,\n    276,\n    599,\n    1083,\n    1789,\n    1820,\n    437,\n    1283,\n    2148,\n    847,\n    1314,\n    359,\n    1060,\n    1478,\n    1543,\n    1229,\n    1662,\n    136,\n    2150,\n    196,\n    1741,\n    1726,\n    1171,\n    414,\n    1116,\n    2206,\n    449,\n    1146,\n    667,\n    1487,\n    899,\n    1108,\n    1120,\n    1600,\n    786,\n    1665,\n    149,\n    307,\n    1289,\n    706,\n    1009,\n    541,\n    1582,\n    1897,\n    1100,\n    1408,\n    1065,\n    252,\n    537,\n    489,\n    131,\n    974,\n    1757,\n    1320,\n    241,\n    357,\n    958,\n    325,\n    1021,\n    142,\n    1999,\n    861,\n    816,\n    1333,\n    1783,\n    1079,\n    109,\n    1740,\n    914,\n    524,\n    1129,\n    644,\n    296,\n    282,\n    1364,\n    1389,\n    655,\n    617,\n    2019,\n    167,\n    995,\n    1416,\n    1569,\n    1275,\n    478,\n    1488\n]"}],"_postman_id":"72f0374d-812b-4dc8-a934-9fe8183589f3"},{"name":"PV11 - v2 - Get product ids and sku from view and filters","event":[{"listen":"test","script":{"id":"4a4e578b-b743-4446-86e2-7a3c356e1525","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"4dfc8674-f82e-4879-b5e3-2fb14c7034da","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"710acf8b-f6a5-4ec5-937b-aaf9913dfe35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"filters\": {\n        \"view_id\": {{view id (mandatory)}}\n        {{more filters}}\n    }\n}"},"url":"https://demo.smartie.io/api/v2/product-views/get-product-ids","description":"<p>This endpoint follows the same logic as the product import with JSON files. Check the <a href=\"https://ayuda.onestic.com/space/MANSMAR/2154463536/V2+-+Actualizaci%C3%B3n/Creaci%C3%B3n+de+productos+mediante+json\">manual</a> for more details.</p>\n","urlObject":{"path":["v2","product-views","get-product-ids"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"037729d1-3205-4224-b2e3-c08a87809bb5","name":"PV11 - v2 - Get product ids and sku from view and filters","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"filters\": {\n        \"product__stocks__quantity__gt\": 0,\n        \"view_id\": 1\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v2/product-views/get-product-id"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"product_id\": 993,\n        \"sku\": \"651637081087\"\n    },\n    {\n        \"product_id\": 681,\n        \"sku\": \"000008116\"\n    },\n    {\n        \"product_id\": 697,\n        \"sku\": \"000008132\"\n    },\n    {\n        \"product_id\": 723,\n        \"sku\": \"00000815C\"\n    }\n]"}],"_postman_id":"710acf8b-f6a5-4ec5-937b-aaf9913dfe35"},{"name":"PV12 - Delete product view","event":[{"listen":"test","script":{"id":"70e261f5-e0fa-48b0-9cfa-40ef57d29d34","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"108d2f97-7bcb-4b1e-8585-636e09ff7c87","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"fc61ede5-4e7e-413d-8716-a7273afcc63c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/product-views/{{product_view_id}}","urlObject":{"path":["v1","product-views","{{product_view_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"204e0721-f216-47ba-b435-438f81dd5548","name":"PV10 - Delete product view","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"information\":{\n        \"name\":\"test name\",\n        \"short_description\":\"Test short_description\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/product-views/{{product_view_id}}"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":""}],"_postman_id":"fc61ede5-4e7e-413d-8716-a7273afcc63c"}],"id":"2cea15db-c4cc-4076-8c6c-8eba9dfe02ae","_postman_id":"2cea15db-c4cc-4076-8c6c-8eba9dfe02ae","description":""},{"name":"Price Matrix","item":[{"name":"PM01 - Get prices matrix","event":[{"listen":"test","script":{"id":"b0f79c69-ce65-49c9-9574-167765657726","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"13afc5cb-3bd5-407d-beba-8e4b284c8dd9","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"e779b7ed-a8d5-42c7-ba42-6961feda34bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/price-matrix","urlObject":{"path":["v1","price-matrix"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e779b7ed-a8d5-42c7-ba42-6961feda34bd"},{"name":"PM02 - Create price matrix","event":[{"listen":"test","script":{"id":"6106f2da-6d7b-4bca-8044-d33157527bb4","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"5092cb35-90dc-43fe-aa43-be4651a4d140","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"29fa61dc-8ba3-4003-9757-7f3c01ad22a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"price\": 99999.99,\n    \"quantity\": 1,\n    \"from_date\": \"2000-01-01T00:00:00\",\n    \"to_date\": \"2030-12-31T00:00:00\",\n    \"price_books\": [\n        2\n    ],\n    \"product\": 1,\n    \"type\": \"fixed\"\n}"},"url":"https://demo.smartie.io/api/v1/price-matrix","urlObject":{"path":["v1","price-matrix"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"29fa61dc-8ba3-4003-9757-7f3c01ad22a0"},{"name":"PM03 - Update price matrix with PATCH","event":[{"listen":"test","script":{"id":"c356a420-a29b-4385-ba58-bef9df17d808","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"93a9f0ad-2888-46a0-a196-826f1df40c0f","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"9ac77d3c-cf55-4b9a-92a0-8b560f2c0215","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"price\": 288.99,\n    \"quantity\": 1,\n    \"from_date\": \"2000-01-01T00:00:00\",\n    \"to_date\": \"2030-12-31T00:00:00\",\n    \"price_books\": [\n        2\n    ],\n    \"product\": 1,\n    \"type\": \"fixed\"\n}"},"url":"https://demo.smartie.io/api/v1/price-matrix/{{price_matrix_id}}","urlObject":{"path":["v1","price-matrix","{{price_matrix_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9ac77d3c-cf55-4b9a-92a0-8b560f2c0215"},{"name":"PM04 - Update price matrix with PUT","event":[{"listen":"test","script":{"id":"4fd2b395-2b91-4ec3-b860-3c8e16a9f109","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"3aa289b0-7237-4cba-89a4-c0f141a7c945","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"b8959224-20b8-4e6d-89b2-2b5d672b5c21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"price\": 288,\n    \"quantity\": 1,\n    \"from_date\": \"2000-01-01T00:00:00\",\n    \"to_date\": \"2030-12-31T00:00:00\",\n    \"price_books\": [\n        2\n    ],\n    \"product\": 1,\n    \"type\": \"fixed\"\n}"},"url":"https://demo.smartie.io/api/v1/price-matrix/{{price_matrix_id}}","urlObject":{"path":["v1","price-matrix","{{price_matrix_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b8959224-20b8-4e6d-89b2-2b5d672b5c21"},{"name":"PM05 - Delete price matrix","event":[{"listen":"test","script":{"id":"46f58585-c82c-42c8-9b2c-fd40dc3d9d59","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"fe7b8473-9b55-45ba-a558-c9b33c60e5eb","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"6be830a4-7e37-438c-9ec3-8a6135af4050","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/price-matrix/{{price_matrix_id}}","urlObject":{"path":["v1","price-matrix","{{price_matrix_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6be830a4-7e37-438c-9ec3-8a6135af4050"}],"id":"b5bb7279-022a-4448-91cb-6abeab3a23fa","_postman_id":"b5bb7279-022a-4448-91cb-6abeab3a23fa","description":""},{"name":"Price Books","item":[{"name":"PB01 - Get price books","event":[{"listen":"test","script":{"id":"b210454d-0302-48ce-a56b-63c4b6094192","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"e51d1966-ee43-4265-8011-a220cb0aa7b3","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"3a81a0f3-8367-4cd4-aaa3-73603ae0a77d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/price-books","urlObject":{"path":["v1","price-books"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3a81a0f3-8367-4cd4-aaa3-73603ae0a77d"},{"name":"PB02 - Create price book","event":[{"listen":"test","script":{"id":"81cba8dc-e01c-400a-8f3f-d5d11070b9e3","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"cb8204ad-2762-49d7-97f0-6995279932c4","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"72ea1629-e022-4ed2-82da-e93791006ddb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"Sample price book Euro\",\n    \"code\": \"sample-price-book-global-eur\",\n    \"currency\": 1,\n    \"views\": [\n        1\n    ],\n    \"position\": 1\n}"},"url":"https://demo.smartie.io/api/v1/price-books","urlObject":{"path":["v1","price-books"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"72ea1629-e022-4ed2-82da-e93791006ddb"},{"name":"PB03 - Update price book with PATCH","event":[{"listen":"test","script":{"id":"dd820676-b0f8-4a7a-9210-0e1177dcd20d","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"089cb1ec-3cd7-48ab-993f-6fdb7306cd86","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"979dae7f-f6a6-4854-ac01-9d1b642e6c54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"Sample price book Euro\",\n    \"code\": \"sample-price-book-global-eur\",\n    \"currency\": 1,\n    \"views\": [\n        1\n    ],\n    \"position\": 1\n}"},"url":"https://demo.smartie.io/api/v1/price-books/{{price_book_id}}","urlObject":{"path":["v1","price-books","{{price_book_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"979dae7f-f6a6-4854-ac01-9d1b642e6c54"},{"name":"PB04 - Update price book with PUT","event":[{"listen":"test","script":{"id":"1247b002-5228-4d4c-9fa4-ec04ea567dad","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"9256a084-bb94-4f04-9393-27c0562af0f8","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"23154088-9ddb-4ceb-bfe8-a22f12554269","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"Sample price book Euro\",\n    \"code\": \"sample-price-book-global-eur\",\n    \"currency\": 1,\n    \"views\": [\n        1\n    ],\n    \"position\": 1\n}"},"url":"https://demo.smartie.io/api/v1/price-books/{{price_book_id}}","urlObject":{"path":["v1","price-books","{{price_book_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"23154088-9ddb-4ceb-bfe8-a22f12554269"},{"name":"PB05 - Delete price book","event":[{"listen":"test","script":{"id":"6120aa42-70bd-4f47-8289-727866e8144b","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"1771ae9f-914f-4a07-b32a-da5bfe6e9c75","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"7363a35f-c7ea-4683-85f4-2b97871a7d2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/price-books/{{price_book_id}}","urlObject":{"path":["v1","price-books","{{price_book_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"7363a35f-c7ea-4683-85f4-2b97871a7d2e"}],"id":"cdf9896b-f245-49b2-bf8d-3856850651e8","_postman_id":"cdf9896b-f245-49b2-bf8d-3856850651e8","description":""},{"name":"Additional identifiers","item":[{"name":"AI01 - Create additional identifier","event":[{"listen":"test","script":{"id":"6442776f-2f9b-4cb1-b712-c81fd3c2ce30","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"ea329676-3626-4e4f-b7f9-34e4c898a40c","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"9e0e4303-d52e-4906-9639-4f2911eec6c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product\": \"{{product}}\",\n    \"code\": \"{{additional identifier code}}\",\n    \"additional_identifier_type\": \"{{additional identifier type}}\"\n}"},"url":"https://demo.smartie.io/api/v1/additional-identifier","urlObject":{"path":["v1","additional-identifier"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9e0e4303-d52e-4906-9639-4f2911eec6c2"},{"name":"AI02 - Get single additional identifier","event":[{"listen":"test","script":{"id":"6442776f-2f9b-4cb1-b712-c81fd3c2ce30","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"ea329676-3626-4e4f-b7f9-34e4c898a40c","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"2015b438-386c-4ba1-aa27-1116aad3054d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/additional-identifier/{{additional_identifier_id}}","urlObject":{"path":["v1","additional-identifier","{{additional_identifier_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"2015b438-386c-4ba1-aa27-1116aad3054d"},{"name":"AI03 - Delete additional identifier","event":[{"listen":"test","script":{"id":"6442776f-2f9b-4cb1-b712-c81fd3c2ce30","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"ea329676-3626-4e4f-b7f9-34e4c898a40c","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"db656b16-7614-459e-8dd7-90fa8a9f2f7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/additional-identifier/{{additional_identifier_id}}","urlObject":{"path":["v1","additional-identifier","{{additional_identifier_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"db656b16-7614-459e-8dd7-90fa8a9f2f7e"},{"name":"AI04 - List additional identifiers","event":[{"listen":"test","script":{"id":"6442776f-2f9b-4cb1-b712-c81fd3c2ce30","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"ea329676-3626-4e4f-b7f9-34e4c898a40c","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"dfa01a8d-3b8a-4222-8e3a-523b2e5a595e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/additional-identifier","urlObject":{"path":["v1","additional-identifier"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"dfa01a8d-3b8a-4222-8e3a-523b2e5a595e"}],"id":"9a8d04a1-e494-432c-b928-541631e87267","_postman_id":"9a8d04a1-e494-432c-b928-541631e87267","description":""},{"name":"Additional identifier types","item":[{"name":"AIT01 - Create additional identifier type","event":[{"listen":"test","script":{"id":"6442776f-2f9b-4cb1-b712-c81fd3c2ce30","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"ea329676-3626-4e4f-b7f9-34e4c898a40c","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"e39deb00-7195-45ce-9767-3d0adea67b53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"{{type}}\",\n    \"code\": \"{{code}}\"\n}"},"url":"https://demo.smartie.io/api/v1/additional-identifier-type","urlObject":{"path":["v1","additional-identifier-type"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e39deb00-7195-45ce-9767-3d0adea67b53"},{"name":"AIT02 - Get single additional identifier type","event":[{"listen":"test","script":{"id":"6442776f-2f9b-4cb1-b712-c81fd3c2ce30","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"ea329676-3626-4e4f-b7f9-34e4c898a40c","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"06c6b684-ccf0-43f3-a5a4-b400e0b18892","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/additional-identifier-type/{{additional_identifier_type_id}}","urlObject":{"path":["v1","additional-identifier-type","{{additional_identifier_type_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"06c6b684-ccf0-43f3-a5a4-b400e0b18892"},{"name":"AIT03 - Delete additional identifier type","event":[{"listen":"test","script":{"id":"6442776f-2f9b-4cb1-b712-c81fd3c2ce30","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"ea329676-3626-4e4f-b7f9-34e4c898a40c","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"079102ee-d05e-466f-9288-98df5d9dcf89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/additional-identifier-type/{{additional_identifier_type_id}}","urlObject":{"path":["v1","additional-identifier-type","{{additional_identifier_type_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"079102ee-d05e-466f-9288-98df5d9dcf89"},{"name":"AIT04 - List additional identifier types","event":[{"listen":"test","script":{"id":"6442776f-2f9b-4cb1-b712-c81fd3c2ce30","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"ea329676-3626-4e4f-b7f9-34e4c898a40c","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"6cfed320-4683-4ac3-9936-752e971b7f22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/additional-identifier-type","urlObject":{"path":["v1","additional-identifier-type"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6cfed320-4683-4ac3-9936-752e971b7f22"}],"id":"1f0a8863-74fd-4d18-9842-e5aac722f271","_postman_id":"1f0a8863-74fd-4d18-9842-e5aac722f271","description":""}],"id":"8003edd7-36d1-4a8d-9538-74772a850d99","_postman_id":"8003edd7-36d1-4a8d-9538-74772a850d99","description":""},{"name":"Dynamic Entities","item":[{"name":"Export","item":[{"name":"DE01 - Export dynamic entities types","event":[{"listen":"prerequest","script":{"exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'v1/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","id":"378d1476-2f9f-457b-b3f0-4eb24db61306"}}],"id":"35a25dac-d8e7-40be-9720-45e07fbd5ebb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Exportar 2 archivos a csv\",\n    \"filters\": {\n        \"id__in\": [\n            \"2\",\n            \"3\"\n        ]\n    },\n    \"format\": \"csv\"\n}"},"url":"https://demo.smartie.io/api/v1/dynamic-entities-types/export","urlObject":{"path":["v1","dynamic-entities-types","export"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"35a25dac-d8e7-40be-9720-45e07fbd5ebb"},{"name":"DE02 - Export dynamic entities","event":[{"listen":"prerequest","script":{"id":"b8304191-755d-456d-935e-f90d9d52004a","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'v1/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"e999107a-457e-4bde-817f-554406c91023","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"    {\n        \"fields_to_export\": [\"entity_code\", \"reference\", \"name\", \"size\", \"weight\"],\n        \"filters\": {\n            \"id__in\": [\n                10,\n                12\n            ]\n        },  \n        \"format\": \"csv\"\n    }"},"url":"https://demo.smartie.io/api/v1/dynamic-entities/1/export","urlObject":{"path":["v1","dynamic-entities","1","export"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e999107a-457e-4bde-817f-554406c91023"}],"id":"8f8814c4-606d-4fe1-ac33-88ba82f10b40","_postman_id":"8f8814c4-606d-4fe1-ac33-88ba82f10b40","description":""},{"name":"Import","item":[{"name":"DE01 - Import dynamic entities types","event":[{"listen":"prerequest","script":{"exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'v1/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","id":"498d3cfc-b3cf-4af9-8641-71e90b51ad20"}}],"id":"b046aa1f-d9ff-4ad0-bb64-2175debebce5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Importar tipos de entidades dinámicas","type":"text"},{"key":"action_type","value":"dynamic_entity_type_import_file","type":"text"},{"key":"input_file","type":"file","src":"/home/david.garcia/Documentos/Importar entidades dinámicas/dynamic_entities_type.csv"},{"key":"description","value":"Importar tipos de entidad","type":"text"},{"key":"active","value":"True","type":"text"}]},"url":"https://demo.smartie.io/api/v1/processes","urlObject":{"path":["v1","processes"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b046aa1f-d9ff-4ad0-bb64-2175debebce5"},{"name":"DE02 - Import dynamic entities","event":[{"listen":"prerequest","script":{"exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'v1/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","id":"8f0be0b9-2338-4f98-a755-b539cd276d81"}}],"id":"89b06cfe-1cb1-4749-ac17-0643d858a34f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"dynamic_entities","type":"text"},{"key":"action_type","value":"dynamic_entity_import_file","type":"text"},{"key":"input_file","type":"file","src":"/home/david.garcia/Documentos/Importar entidades dinámicas/dynamic_entities.csv"},{"key":"description","value":"Importar entidades dinámicas","type":"text"},{"key":"active ","value":"True","type":"text"}]},"url":"https://demo.smartie.io/api/v1/processes","urlObject":{"path":["v1","processes"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"89b06cfe-1cb1-4749-ac17-0643d858a34f"}],"id":"b3f93b22-ebf0-4ec5-b000-78dd1b1d50ec","_postman_id":"b3f93b22-ebf0-4ec5-b000-78dd1b1d50ec","description":""},{"name":"DE01 - Get objets from dynamic entity","event":[{"listen":"prerequest","script":{"id":"2ae1b517-abff-450b-8bd8-177e8787c9e6","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'v1/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"b26dc63f-505e-4955-b108-bf27d1f64f45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n    \"filters\": {}\n}"},"url":"https://demo.smartie.io/api/v1/dynamic-entities/1","urlObject":{"path":["v1","dynamic-entities","1"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b26dc63f-505e-4955-b108-bf27d1f64f45"},{"name":"DE02 - Get dynamic entities","event":[{"listen":"prerequest","script":{"exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'v1/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","id":"36f38713-c2ea-45fa-93a9-ff977b22d685"}}],"id":"5426a817-0751-47b0-9cae-2cf2b5a20143","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/dynamic-entities-types","urlObject":{"path":["v1","dynamic-entities-types"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"5426a817-0751-47b0-9cae-2cf2b5a20143"},{"name":"DE03 - Create dynamic entity type","event":[{"listen":"prerequest","script":{"exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'v1/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","id":"e81fb1fa-dcf2-420e-90ec-cb77dea44db8"}}],"id":"b557aaf3-863e-4bfd-98ee-0d71bc0f9063","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n    \"code\": \"test_56\",\n    \"name\": \"test\",\n    \"template\": 1\n}"},"url":"https://demo.smartie.io/api/v1/dynamic-entities-types","urlObject":{"path":["v1","dynamic-entities-types"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b557aaf3-863e-4bfd-98ee-0d71bc0f9063"},{"name":"DE04 - Create object of dynamic entity","event":[{"listen":"prerequest","script":{"id":"a835b13e-a746-4cb2-befe-50f92c681f32","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'v1/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"123eea6f-ac6e-4fbc-b7cc-9285e06d5e5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n    \"reference\": \"EXAMPLE-08\",\n    \"position\": null,\n        \"information\": {\n            \"name\": \"Test 4\",\n            \"size\": \"303\",\n            \"weight\": 1.0,\n            \"description\": \"\"\n            }\n        }"},"url":"https://demo.smartie.io/api/v1/dynamic-entities/1","urlObject":{"path":["v1","dynamic-entities","1"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"123eea6f-ac6e-4fbc-b7cc-9285e06d5e5b"},{"name":"DE05 - Update data of dynamic entity","event":[{"listen":"prerequest","script":{"id":"f2a40adf-537c-4efb-9687-8b3064533619","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'v1/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"842771bf-b302-4b63-926b-d4b3da30eace","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n    \"information\":{\"name\": \"test\"}\n}"},"url":"https://demo.smartie.io/apiv1/dynamic-entities/1/1","urlObject":{"path":["dynamic-entities","1","1"],"host":["https://demo.smartie.io/apiv1"],"query":[],"variable":[]}},"response":[],"_postman_id":"842771bf-b302-4b63-926b-d4b3da30eace"},{"name":"DE06 - Delete dynamic entities","event":[{"listen":"prerequest","script":{"id":"d4cfffe6-9cac-4a3b-8b4e-8e1d13ac7ad3","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'v1/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"8dad26ff-0ed0-4e9f-b37b-612abc126c5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n    \"ids\": [\n        8,\n        7,\n        6\n    ]\n}"},"url":"https://demo.smartie.io/api/v1/dynamic-entities/1/delete-bulk","urlObject":{"path":["v1","dynamic-entities","1","delete-bulk"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"8dad26ff-0ed0-4e9f-b37b-612abc126c5b"},{"name":"DE07 - Delete dynamic entity","event":[{"listen":"prerequest","script":{"id":"2a0b32ea-4cfc-4f22-9faa-8838aa9774d7","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'v1/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"ca917dfd-7dc1-4c4b-8d6e-d4ecb9c9404f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/dynamic-entities-types/1","urlObject":{"path":["v1","dynamic-entities-types","1"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"ca917dfd-7dc1-4c4b-8d6e-d4ecb9c9404f"},{"name":"DE08 - Delete object of dynamic entity","event":[{"listen":"prerequest","script":{"id":"bdafe255-a110-4d83-b2f0-de82c01e1466","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'v1/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","pm.environment.set('access_token', \"test\")","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"a893ef33-d38c-4e3d-9c4c-c83e69be3ca4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/dynamic-entities/1/1","urlObject":{"path":["v1","dynamic-entities","1","1"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a893ef33-d38c-4e3d-9c4c-c83e69be3ca4"}],"id":"3f1bc4ef-20a8-436f-9ea7-ca33af78e498","_postman_id":"3f1bc4ef-20a8-436f-9ea7-ca33af78e498","description":""},{"name":"Medias","item":[{"name":"Tags","item":[{"name":"T01 - Get tags","event":[{"listen":"prerequest","script":{"id":"06fe7759-faba-4516-a268-db9da8c75676","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"1b613048-3990-439d-ab5d-7e815499fe4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/tags/","urlObject":{"path":["v1","tags",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"1b613048-3990-439d-ab5d-7e815499fe4c"},{"name":"T02 - Get tag","event":[{"listen":"prerequest","script":{"id":"0e4add6a-b1b7-4ef2-9aab-143f17d3b9b3","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"13ac9da7-754f-4dae-af92-3d130865b9a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/apiv1/tags/{{tag_id}}/","urlObject":{"path":["tags","{{tag_id}}",""],"host":["https://demo.smartie.io/apiv1"],"query":[],"variable":[]}},"response":[],"_postman_id":"13ac9da7-754f-4dae-af92-3d130865b9a6"},{"name":"T03 - Create tag","event":[{"listen":"prerequest","script":{"id":"15f8bf57-5a93-4e3d-bb4d-e0f878a79885","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"f7f26ce5-88d9-4dfb-9ab6-8de96ac11d26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/tags/","urlObject":{"path":["v1","tags",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f7f26ce5-88d9-4dfb-9ab6-8de96ac11d26"},{"name":"T04 - Update tag","event":[{"listen":"prerequest","script":{"id":"2791a965-12a1-4a3f-bc88-acbbd94f9687","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"e17bd60f-69dd-44b0-8d73-b135a453c783","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/tags/{{tag_id}}/","urlObject":{"path":["v1","tags","{{tag_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e17bd60f-69dd-44b0-8d73-b135a453c783"},{"name":"T05 - Delete tag","event":[{"listen":"prerequest","script":{"id":"d5c58281-52e3-4a49-a174-38394229d9d6","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"406b4804-4631-4ce2-8d9a-8cff15ccb319","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/tags/{{tag_id}}/","urlObject":{"path":["v1","tags","{{tag_id}}",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"406b4804-4631-4ce2-8d9a-8cff15ccb319"},{"name":"T06 - Duplicate tag","event":[{"listen":"prerequest","script":{"id":"2791a965-12a1-4a3f-bc88-acbbd94f9687","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});"],"type":"text/javascript"}}],"id":"f11479b5-6a15-40d8-888d-6294702a705a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"https://demo.smartie.io/api/v1/tags/{{tag_id}}/duplicate/","urlObject":{"path":["v1","tags","{{tag_id}}","duplicate",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f11479b5-6a15-40d8-888d-6294702a705a"}],"id":"9a8a1ff8-3e83-4dd2-9498-b697124a4688","_postman_id":"9a8a1ff8-3e83-4dd2-9498-b697124a4688","description":""},{"name":"M01 - Get Medias","event":[{"listen":"test","script":{"id":"d21ebf64-be87-4778-ac7b-d03f44d22eac","exec":["var jsonData = pm.response.json();","pm.environment.set(\"access_token\", jsonData.access_token);"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"27eb1e31-9bb3-46ae-94ce-f294e17acda7","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"898c1a7f-24b0-40b3-854d-e3eef9b215a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/medias","urlObject":{"path":["v1","medias"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"898c1a7f-24b0-40b3-854d-e3eef9b215a4"},{"name":"M02 - Get media information","event":[{"listen":"test","script":{"id":"f0bad515-c41a-4b12-9cf1-32c7936ca277","exec":["var jsonData = pm.response.json();","pm.environment.set(\"access_token\", jsonData.access_token);"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"b1ec1c2d-5ff8-40dc-a9b6-c238d6d9bc06","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"b2bea95c-0d57-4b27-9250-d5a4d257f267","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/medias/{{media_id}}","urlObject":{"path":["v1","medias","{{media_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b2bea95c-0d57-4b27-9250-d5a4d257f267"},{"name":"M03 - Get media information","event":[{"listen":"test","script":{"id":"d5d5c6a4-e2ea-4531-b79d-f9302c5de9a3","exec":["var jsonData = pm.response.json();","pm.environment.set(\"access_token\", jsonData.access_token);"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"b2be957a-d505-4e31-8b9e-f18075128f15","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"b183c237-b529-4d95-8c7b-f4f24bf2bc4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/medias/{{media_id}}","urlObject":{"path":["v1","medias","{{media_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b183c237-b529-4d95-8c7b-f4f24bf2bc4c"},{"name":"M04 - Upload media","event":[{"listen":"test","script":{"id":"04c48e2e-cb0a-4383-bbf7-4ee997f9ff53","exec":["var jsonData = pm.response.json();","pm.environment.set(\"access_token\", jsonData.access_token);"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"a82cfe1d-4a1f-46b7-aa14-f5b60f89aacd","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"c2ba337b-c854-4ac0-94d9-ce25d815289f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/Users/vahuir/Downloads/file-sample_100kB.doc"},{"key":"name","value":"file-sample_100kB.doc","type":"text"}]},"url":"https://demo.smartie.io/api/v1/medias","urlObject":{"path":["v1","medias"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c2ba337b-c854-4ac0-94d9-ce25d815289f"},{"name":"M05 - Get medias by view","event":[{"listen":"test","script":{"id":"46ed573e-8290-431a-a7b0-c38d67d8dd06","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"6d6395da-2c3b-45f1-9666-a1e00cd5dd83","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"5eb2bbb5-4559-4e7d-b89e-a06e45c7fe42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/medias?page_size=1000&page=1&product_view_medias__product_view__view=4","urlObject":{"path":["v1","medias"],"host":["https://demo.smartie.io/api"],"query":[{"key":"page_size","value":"1000"},{"key":"page","value":"1"},{"key":"product_view_medias__product_view__view","value":"4"}],"variable":[]}},"response":[],"_postman_id":"5eb2bbb5-4559-4e7d-b89e-a06e45c7fe42"},{"name":"M06 - Download media file","event":[{"listen":"prerequest","script":{"id":"267a7c3b-b308-4a0d-a36f-5fa7393473f0","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"6cb83771-0ec0-4ad9-833f-2bd198ba9aba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://demo.smartie.io/api/v1/files/{{media_id}}","urlObject":{"path":["v1","files","{{media_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6cb83771-0ec0-4ad9-833f-2bd198ba9aba"}],"id":"67f4908f-ab61-40fd-a1b4-79951ddd8966","_postman_id":"67f4908f-ab61-40fd-a1b4-79951ddd8966","description":""},{"name":"Versions","item":[{"name":"V01 - Get API, customer and domain versions","event":[{"listen":"test","script":{"id":"67b3d0a1-c1db-4b18-b094-5662d3038914","exec":["var jsonData = pm.response.json();","pm.environment.set(\"access_token\", jsonData.access_token);"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"498f1a6c-b55f-4139-a711-6a581421427a","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/v1/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript","packages":{}}}],"id":"02a2bae7-e6ce-49c9-9f88-c7d5a15b0e1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://demo.smartie.io/api/v1/versions","urlObject":{"path":["v1","versions"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"02a2bae7-e6ce-49c9-9f88-c7d5a15b0e1e"}],"id":"ada68c74-ffcc-43d2-b221-2ab4ff1bf1a9","_postman_id":"ada68c74-ffcc-43d2-b221-2ab4ff1bf1a9","description":""},{"name":"Login","item":[{"name":"L01 - Login","event":[{"listen":"test","script":{"id":"3acf63b0-5a14-4af5-a4c0-ca402fb442b7","exec":["var jsonData = pm.response.json();","pm.environment.set(\"access_token\", jsonData.access);"],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"prerequest","script":{"id":"ba50a3d6-1933-457e-9249-ba9e1b8ade85","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"bfd77541-6dd3-4158-867b-6062410f2ce7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\":\"{{username}}\",\n    \"password\":\"{{password}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/auth","urlObject":{"path":["v1","auth"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"61ab1d10-9439-457a-aa55-9b7b1f26726b","name":"L01 - Login with valid credentials","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\":\"USER\",\n    \"password\":\"ANY_PASSWORD\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/auth"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"","value":"","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"access\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIdsfsdfsfsfdsf2ZWQzMjEwNzIwYTFlNiIsInVzZXJfaWQiOjQ4LCJleHAiOjE2NTU4MDY5NzcsInRva2VuX3R5cGUiOiJhY2Nlc3MifQ.uui3mGDEv6QMnlujnpqUbRGEcYWt5rIAf73obOec2lA\",\n    \"refresh\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJsfdsdshfdhdgfhfghfghMGQ2MiIsInVzZXJfaWQiOjQ4LCJleHAiOjE2NTc3OTQxNzcsInRva2VuX3R5cGUiOiJyZWZyZXNoIn0.hx5ZC6qq6i0UKg1_-MiqO2Z6ztDjDYwf21H7AS0akeo\"\n}"},{"id":"9965420f-b6e1-47e5-a235-617e714b6e40","name":"L01 - Login with invalid credentials","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\":\"INVALID_USER\",\n    \"password\":\"ANY_PASSWORD\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/auth"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"","value":"","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"non_field_errors\": [\n        \"No active account found with the given credentials\"\n    ]\n}"}],"_postman_id":"bfd77541-6dd3-4158-867b-6062410f2ce7"},{"name":"L02 - Password reset","event":[{"listen":"prerequest","script":{"id":"10f4367c-80c5-4f99-b382-8bf27628c4f1","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"4f807706-c306-42bb-ae07-ebd2f595419c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"test@email.com","type":"text"}]},"url":"https://demo.smartie.io/api/v1/password-reset/","urlObject":{"path":["v1","password-reset",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"4f807706-c306-42bb-ae07-ebd2f595419c"},{"name":"L03 - Password reset confirm","event":[{"listen":"prerequest","script":{"id":"e839c814-0bdd-4337-94dc-6bdc4488781c","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"68b5a25b-e1df-4a1c-9daf-8ed1ae9cb5da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"token","value":"9453fa0421d8f8a22664a471c809266693baba9477ce7","type":"text"},{"key":"password","value":"test_password","type":"text"}]},"url":"https://demo.smartie.io/api/v1/password-reset/confirm/","urlObject":{"path":["v1","password-reset","confirm",""],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"68b5a25b-e1df-4a1c-9daf-8ed1ae9cb5da"},{"name":"L04 - Password token validate","event":[{"listen":"prerequest","script":{"id":"641c1877-cb90-4138-96d9-dddcd41b4820","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"6e626ed0-3bad-403e-9048-6695c6a1d3b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"token","value":"9453fa0421d8f8a22664a471c809266693baba9477ce7","type":"text"}]},"url":"https://demo.smartie.io/api/v1/password-reset/validate_token/","urlObject":{"path":["v1","password-reset","validate_token",""],"host":["https://demo.smartie.io/api"],"query":[{"disabled":true,"key":"token","value":"d4f890f2d2116f5faca"}],"variable":[]}},"response":[],"_postman_id":"6e626ed0-3bad-403e-9048-6695c6a1d3b7"},{"name":"L05 - Google Oauth2","event":[{"listen":"prerequest","script":{"id":"80dd877d-f670-476d-869e-3f2138ab5378","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"460d1ee7-6aa0-4e8f-b40f-8aeaff9d8215","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"provider","value":"google-oauth2","type":"default"},{"key":"token","value":"{{login_social_token_provider}}","type":"default"}]},"url":"https://demo.smartie.io/api/v1/api-google-oauth2","urlObject":{"path":["v1","api-google-oauth2"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"460d1ee7-6aa0-4e8f-b40f-8aeaff9d8215"},{"name":"L06 - Refresh token","event":[{"listen":"test","script":{"id":"3acf63b0-5a14-4af5-a4c0-ca402fb442b7","exec":["var jsonData = pm.response.json();","pm.environment.set(\"access_token\", jsonData.access_token);"],"type":"text/javascript"}}],"id":"8e056a10-8ff4-49a2-9c0f-3533af290180","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"refresh\": \"{{refresh_token}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/auth-refresh","urlObject":{"path":["v1","auth-refresh"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[{"id":"5437b8ce-65b0-4d83-aec8-4b14604857bd","name":"L06 - Refresh with valid token","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"refresh\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTY4OTg2MTE1OCwianRpIjoiOWIyNTk0NmY3ZGFhNDExMDgzYWI3ZGFlMWVlYWM1YmUiLCJ1c2aif89fs9dfs087.SAZpaTcGMx5ASgbfmB6cnholPndzMicxG4O2jDiJxYY\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/auth-refresh"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"","value":"","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"access\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjg3ODc0MDA0LCJqdGkiOiI3MDRkOTMyZmU4Nzc0ZjY5YWI3ZWJhMTA2YjVjZWYzNyIsInVzZX892fhs89gyr3480.XOgxR8_YdCC8_UYIVVs3jPvhgq4ClgN_XI_xFAF2Cyg\"\n}"},{"id":"3fa1c8ae-491d-4246-829c-2874b77c862a","name":"L06 - Refresh with invalid token","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"refresh\": \"invalid_token\"\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/auth-refresh"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"","value":"","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Token is invalid or expired\",\n    \"code\": \"token_not_valid\"\n}"}],"_postman_id":"8e056a10-8ff4-49a2-9c0f-3533af290180"}],"id":"4da12ad5-31d8-449a-a339-a65032e97e22","_postman_id":"4da12ad5-31d8-449a-a339-a65032e97e22","description":""},{"name":"Import/export data from file","item":[{"name":"Export data to json file","event":[{"listen":"test","script":{"id":"0a65b3c3-33a8-4fd8-ae23-d7b59b7f3203","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"e1d8b66a-0833-40f3-aa76-9bd3aa5224c6","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"1bff45d6-0396-4f6b-94d9-a3c99ccf1205","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"entities\": [\n        \"notifier_profile\",\n        \"variation_criteria\",\n        \"stock\",\n        \"channel\",\n        \"order\",\n        \"transformation_profile\",\n        \"return_order_line\",\n        \"view\",\n        \"action\",\n        \"marketing_relation_type\",\n        \"transformation\",\n        \"grid_profile\",\n        \"crontab_description\",\n        \"category_view\",\n        \"translation\",\n        \"media\",\n        \"category\",\n        \"import_export_profile\",\n        \"price_matrix_price_book\",\n        \"product_relation\",\n        \"price_book\",\n        \"shipment_line\",\n        \"product_view_media\",\n        \"sync\",\n        \"list_value\",\n        \"setting\",\n        \"warehouse\",\n        \"integration_system\",\n        \"job_profile\",\n        \"currency\",\n        \"propagation_rule\",\n        \"variation_criteria_attribute\",\n        \"profile_template\",\n        \"attribute\",\n        \"channel_configuration\",\n        \"order_line\",\n        \"list_value_validation\",\n        \"connection_profile\",\n        \"price_matrix\",\n        \"product_view_category\",\n        \"data_dumper\",\n        \"marketing_relation\",\n        \"swatch_value\",\n        \"dashboard\",\n        \"validation\",\n        \"action_button\",\n        \"return_order\",\n        \"category_tree\",\n        \"process\",\n        \"product\",\n        \"locale\",\n        \"address\",\n        \"import_export_profile_configuration\",\n        \"customer\",\n        \"carrier\",\n        \"tag\",\n        \"dashboard_kpi\",\n        \"propagation_rule_transformation\",\n        \"user_event\",\n        \"shipment\",\n        \"price_book_view\",\n        \"dashboard_template_item\",\n        \"product_view_tag\",\n        \"template_attribute\",\n        \"category_media\",\n        \"warehouse_view\",\n        \"validation_profile\",\n        \"product_view\",\n        \"dashboard_template\",\n        \"template\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.smartie.io/api/v1/processes/export/fixture","urlObject":{"path":["v1","processes","export","fixture"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"1bff45d6-0396-4f6b-94d9-a3c99ccf1205"},{"name":"Import data from json file","event":[{"listen":"test","script":{"id":"e89795cc-409b-4bfb-9f08-218ae6b29c00","exec":[""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"1baf6d3c-feda-460e-bbce-e8bf8f390ccb","exec":["const echoPostRequest = {","  url: pm.environment.get('api_url')+'/auth',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","        \t'username': pm.environment.get('user'),","        \t'password': pm.environment.get('password')","        })","  }","};","","pm.sendRequest(echoPostRequest, function (err, res) {","console.log(err ? err : res.json());","    if (err === null) {","        console.log('Saving the token')","        var responseJson = res.json();","        pm.environment.set('access_token', responseJson.access)","    }","});",""],"type":"text/javascript"}}],"id":"e704ebdf-d6c2-49c2-97a5-062fc912fe83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"input_file","type":"file","value":null}]},"url":"https://demo.smartie.io/api/v1/processes/import/fixture","urlObject":{"path":["v1","processes","import","fixture"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e704ebdf-d6c2-49c2-97a5-062fc912fe83"}],"id":"23c7cfb0-4097-4dbc-9620-653f9397f121","_postman_id":"23c7cfb0-4097-4dbc-9620-653f9397f121","description":""},{"name":"Companies","item":[{"name":"C01 - Get companies","id":"1294134d-7787-48b9-b30b-9d586a47b087","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://demo.smartie.io/api/v1/companies","description":"<p>Currently in development.</p>\n","urlObject":{"path":["v1","companies"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"1294134d-7787-48b9-b30b-9d586a47b087"},{"name":"C02 - Create company","id":"65bab522-00ac-4aaa-8f93-0265ae48bb86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"code\": \"code\",\n    \"external_reference\": \"EXT123\",\n    \"extra\": \"{}\",\n    \"name\": \"Name\",\n    \"status\": \"status\",\n    \"users\": [\n        1\n    ]\n}"},"url":"https://demo.smartie.io/api/v1/companies","description":"<p>Currently in development.</p>\n","urlObject":{"path":["v1","companies"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"65bab522-00ac-4aaa-8f93-0265ae48bb86"},{"name":"C03 - Update company","id":"2d20cb6c-09ae-4856-bf24-0fba50026247","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Name\"\n}"},"url":"https://demo.smartie.io/api/v1/companies/{{company_id}}","description":"<p>Currently in development.</p>\n","urlObject":{"path":["v1","companies","{{company_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"2d20cb6c-09ae-4856-bf24-0fba50026247"},{"name":"C04 - Delete company","id":"624a9bf5-14c9-46f6-93cb-d31786e0ea0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://demo.smartie.io/api/v1/companies/{{company_id}}","description":"<p>Currently in development.</p>\n","urlObject":{"path":["v1","companies","{{company_id}}"],"host":["https://demo.smartie.io/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"624a9bf5-14c9-46f6-93cb-d31786e0ea0a"}],"id":"c9f1b18b-c9a5-4854-8e86-4ace8b9a354c","_postman_id":"c9f1b18b-c9a5-4854-8e86-4ace8b9a354c","description":""}],"id":"b08f9e11-6f08-4942-b4aa-308c54b6d396","_postman_id":"b08f9e11-6f08-4942-b4aa-308c54b6d396","description":""},{"name":"Developer guide","item":[{"name":"Orders","item":[{"name":"Order synchronization","item":[],"id":"1df93e6e-80af-45c1-ae26-dc34b9a79f58","description":"<p>Smartie se encarga de sincronizar los pedidos de varias formas dependiendo el origen del pedido, una vez sincronizado el pedido en Smartie, hay 3 casos posibles.</p>\n<ul>\n<li><p>El ERP consulta Smartie para sincronizar los pedidos</p>\n</li>\n<li><p>Smartie sincroniza los pedidos con el ERP conforme se descargan a Smartie</p>\n</li>\n<li><p>Smartie sincroniza los pedidos con el ERP cada X tiempo</p>\n</li>\n</ul>\n<h3 id=\"ejemplos\">Ejemplos</h3>\n<h5 id=\"el-erp-consulta-smartie-para-sincronizar-los-pedidos\">El ERP consulta Smartie para sincronizar los pedidos</h5>\n<ul>\n<li><p><strong>Paso 1</strong>: Smartie lee el pedido del origen y cambia el <code>channel_status</code> a <code>exported_to_smartie</code> y <code>local_status</code> <code>PENDING</code></p>\n</li>\n<li><p><strong>Paso 2</strong>: El ERP sincroniza los pedidos en <code>local_status</code> <code>PENDING</code> y les cambia el <code>local_status</code> a <code>PROCESSING</code> y <code>channel_status</code> a <code>exported_to_erp</code> una vez han sido procesados</p>\n</li>\n<li><p><strong>Paso 3</strong>: Smartie notifica al origen que el pedido ha sido procesado por el ERP</p>\n</li>\n</ul>\n<h5 id=\"smartie-sincroniza-los-pedidos-con-el-erp-conforme-se-descargan-a-smartie\">Smartie sincroniza los pedidos con el ERP conforme se descargan a Smartie</h5>\n<ul>\n<li><p><strong>Paso 1</strong>: Smartie lee el pedido del origen y cambia el <code>channel_status</code> a <code>exported_to_smartie</code> y <code>local_status</code> <code>PENDING</code></p>\n</li>\n<li><p><strong>Paso 2</strong>: Smartie sincroniza el pedido mediante el método acordado y cambia el <code>local_status</code> a <code>PROCESSING</code> y <code>channel_status</code> a <code>exported_to_erp</code>.</p>\n</li>\n<li><p><strong>Paso 3</strong>: Smartie notifica al origen que el pedido ha sido procesado por el ERP</p>\n</li>\n</ul>\n<h5 id=\"smartie-sincroniza-los-pedidos-con-el-erp-cada-x-tiempo\">Smartie sincroniza los pedidos con el ERP cada X tiempo</h5>\n<ul>\n<li><p><strong>Paso 1</strong>: Smartie lee el pedido del origen y cambia el <code>channel_status</code> a <code>exported_to_smartie</code> y <code>local_status</code> <code>PENDING</code></p>\n</li>\n<li><p><strong>Paso 2</strong>: Smartie sincroniza los pedidos nuevos desde la última ejecución mediante el método acordado y cambia el <code>local_status</code> a <code>PROCESSING</code> y <code>channel_status</code> a <code>exported_to_erp</code>.</p>\n</li>\n<li><p><strong>Paso 3</strong>: Smartie notifica al origen que el pedido ha sido procesado por el ERP</p>\n</li>\n</ul>\n","_postman_id":"1df93e6e-80af-45c1-ae26-dc34b9a79f58"},{"name":"Order status update and shipment creation","item":[],"id":"deb69112-af70-494a-a22c-1e598164639b","description":"<h3 id=\"actualización-de-estados\">Actualización de estados</h3>\n<ul>\n<li>Endpoint:<ul>\n<li>Usos y ejemplos: <a href=\"https://apidocs.smartie.io/#0d2ed0d2-d8de-4717-9f1a-346d06dd4328\">Actualizar pedidos con Smartie - API</a></li>\n</ul>\n</li>\n<li>En el payload de este endpoint hay que indicar el <code>channel_status</code> y el <code>local_status</code>. El flujo de estados varia en cada proyecto al igual que el <code>channel_status</code>. Para el <code>local_status</code> hay unos valores fijos disponibles (<a href=\"https://onestic.atlassian.net/wiki/spaces/MANSMAR/pages/1890058362/Pedidos+-+Flujo+de+integraci+n#Estados-de-un-pedido\">local_status disponibles</a>)</li>\n</ul>\n<h3 id=\"notificación-de-envíos-para-los-pedidos\">Notificación de envíos para los pedidos</h3>\n<ul>\n<li>Hay dos formas de notificar que un pedido ha sido enviado, dependiendo de la integración que se haya llevado a cabo en el proyecto, mediante actualización de <code>channel_status</code> o mediante la creación de un envío.<ul>\n<li>Para la actualización del pedido a un estado enviado, consultar la documentación del punto anterior.</li>\n<li>Si se crea el envío en Smartie no es necesario hacer una actualización de <code>channel_status</code> ya que se puede configurar dicho estado en el <code>integration_system</code> para que se haga de forma automática.<ul>\n<li><a href=\"https://apidocs.smartie.io/#cc8eeda7-b0d5-4507-9681-73dd9011c0c2\">Documentación para la creación de envíos</a></li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"flujos-de-ejemplo\">Flujos de ejemplo</h3>\n<p>Para los ejemplos partimos de la base de que el pedido ya esta en Smartie. Si su caso no esta contemplado en los ejemplos, consulte el manual de Smartie o contacte con el equipo de soporte.</p>\n<h5 id=\"pedido-enviado-a-domicilio\">Pedido enviado a domicilio</h5>\n<ul>\n<li><p><strong>Paso 1</strong>: El ERP sincroniza el pedido y cambia el <code>local_status</code> a <code>PROCESSING</code> y <code>channel_status</code> a <code>exported_to_erp</code>. Smartie se encarga de notificar el cambio de estado al origen.</p>\n</li>\n<li><p><strong>Paso 2</strong>: El ERP procesa el pedido y esta listo para notificar el envío. Hay 2 opciones, notificar el cambio de <code>channel_status</code> a <code>erp_sent</code> y <code>local_status</code> <code>PROCESSED</code> o crear el envío y que se notifique automáticamente al destino. Smartie se encarga de notificar el cambio de estado al origen.</p>\n</li>\n<li><p><strong>Paso 3</strong>: El ERP, o el transportista si hubiera integración, notifica el estado entregado mediante la actualización de <code>channel_status</code> a <code>erp_delivered</code>. Smartie se encarga de notificar el cambio de estado al origen.</p>\n</li>\n</ul>\n<h5 id=\"pedido-enviado-a-tienda-física\">Pedido enviado a tienda física</h5>\n<ul>\n<li><p><strong>Paso 1</strong>: El ERP sincroniza el pedido y cambia el <code>local_status</code> a <code>PROCESSING</code> y <code>channel_status</code> a <code>exported_to_erp</code>. Smartie se encarga de notificar el cambio de estado al origen.</p>\n</li>\n<li><p><strong>Paso 2</strong>: El ERP procesa el pedido y esta listo para notificar el envío. Hay 2 opciones, notificar el cambio de <code>channel_status</code> a <code>erp_sent</code> y local_status <code>PROCESSED</code> o crear el envío y que se notifique automáticamente al destino. Smartie se encarga de notificar el cambio de estado al origen.</p>\n</li>\n<li><p><strong>Paso 3</strong>: El ERP notifica que el pedido esta listo para recoger en tienda mediante una actualización de <code>channel_status</code> a <code>erp_ready_to_pickup</code>. Smartie se encarga de notificar el cambio de estado al origen.</p>\n</li>\n<li><p><strong>Paso 4</strong>: El ERP, o el transportista si hubiera integración, notifica el estado entregado mediante la actualización de <code>channel_status</code> a <code>erp_delivered</code>. Smartie se encarga de notificar el cambio de estado al origen.</p>\n</li>\n</ul>\n","_postman_id":"deb69112-af70-494a-a22c-1e598164639b"}],"id":"e0a9c59d-2ba6-47ba-876e-fdeecb6bd9ff","description":"<p><a href=\"https://ayuda.onestic.com/space/MANSMAR/1890058362/Pedidos+-+Flujo+de+integraci%C3%B3n\">Manual de Smartie</a></p>\n","_postman_id":"e0a9c59d-2ba6-47ba-876e-fdeecb6bd9ff"},{"name":"Return Orders","item":[{"name":"Return order synchronization","item":[],"id":"80242660-3fbf-48b2-914d-44d5e4451537","description":"<p>Smartie se encarga de sincronizar las devoluciones de varias formas dependiendo el origen de la devolución, una vez sincronizada la devolución en Smartie, hay 3 casos posibles.</p>\n<ul>\n<li>El ERP consulta Smartie para sincronizar las devoluciones</li>\n<li>Smartie sincroniza las devoluciones con el ERP conforme se descargan a Smartie</li>\n<li>Smartie sincroniza las devoluciones con el ERP cada X tiempo</li>\n</ul>\n<p><strong>Nota</strong>: No todos los origenes permiten sincronizar devoluciones</p>\n<h3 id=\"ejemplos\">Ejemplos</h3>\n<h5 id=\"el-erp-consulta-smartie-para-sincronizar-las-devoluciones\">El ERP consulta Smartie para sincronizar las devoluciones</h5>\n<ul>\n<li><strong>Paso 1</strong>: Smartie lee la devolución del origen y la marca como sincronizada en origen. El <code>local_status</code> en Smartie será <code>ACCEPTED</code></li>\n<li><strong>Paso 2</strong>: El ERP sincroniza las devoluciones con <code>local_status</code> <code>ACCEPTED</code> y les cambia el <code>local_status</code> a <code>PROCESSING</code> una vez han sido procesadas</li>\n</ul>\n<h5 id=\"smartie-sincroniza-los-pedidos-con-el-erp-conforme-se-descargan-a-smartie\">Smartie sincroniza los pedidos con el ERP conforme se descargan a Smartie</h5>\n<ul>\n<li><strong>Paso 1</strong>: Smartie lee la devolución del origen y la marca como sincronizada en origen. El <code>local_status</code> en Smartie será <code>ACCEPTED</code></li>\n<li><strong>Paso 2</strong>: Smartie sincroniza la devolución mediante el método acordado y cambia el <code>local_status</code> a <code>PROCESSING</code>.</li>\n</ul>\n<h5 id=\"smartie-sincroniza-los-pedidos-con-el-erp-cada-x-tiempo\">Smartie sincroniza los pedidos con el ERP cada X tiempo</h5>\n<ul>\n<li><strong>Paso 1</strong>: Smartie lee la devolución del origen y la marca como sincronizada en origen. El <code>local_status</code> en Smartie será <code>ACCEPTED</code></li>\n<li><strong>Paso 2</strong>: Smartie sincroniza las devoluciones nuevas desde la última ejecución mediante el método acordado y cambia el <code>local_status</code> a <code>PROCESSING</code></li>\n</ul>\n","_postman_id":"80242660-3fbf-48b2-914d-44d5e4451537"},{"name":"Return Order status update","item":[],"id":"93333781-855e-4c17-bfc6-2d1764bd593d","description":"<h2 id=\"order-status-update-and-shipment-creation\">Order status update and shipment creation</h2>\n<h3 id=\"actualización-de-estados\">Actualización de estados</h3>\n<ul>\n<li>Endpoint:<ul>\n<li>Usos y ejemplos: <a href=\"https://apidocs.smartie.io/#5b1f0cd6-58e8-4db0-8f42-845cc29d5119\">Actualizar devoluciones con Smartie - API</a></li>\n</ul>\n</li>\n<li>En el payload de este endpoint hay que indicar el <code>channel_status</code> y el <code>local_status</code>. El flujo de estados varia en cada proyecto al igual que el <code>channel_status</code>. Para el <code>local_status</code> hay unos valores fijos disponibles (<a href=\"https://onestic.atlassian.net/wiki/spaces/MANSMAR/pages/1889730714/Devoluciones+-+Flujo+de+integraci+n#Estados\">local_status disponibles</a>)</li>\n</ul>\n<h3 id=\"flujos-de-ejemplo\">Flujos de ejemplo</h3>\n<p>Para los ejemplos partimos de la base de que la devolución ya esta en Smartie. Si su caso no esta contemplado en los ejemplos, consulte el manual de Smartie o contacte con el equipo de soporte.</p>\n<h5 id=\"devolución-aceptada\">Devolución aceptada</h5>\n<ul>\n<li><strong>Paso 1</strong>: El ERP sincroniza la devolución y cambia el <code>local_status</code> a <code>PROCESSING</code></li>\n<li><strong>Paso 2</strong>: El ERP recibe la mercancia devuelta y acepta la devolución. El ERP notifica el cambio de <code>channel_status</code> a <code>REFUND</code> y <code>local_status</code> <code>PROCESSED</code>. Smartie se encarga de notificar el cambio de estado al origen.</li>\n</ul>\n<h5 id=\"devolución-rechazada\">Devolución rechazada</h5>\n<ul>\n<li><strong>Paso 1</strong>: El ERP sincroniza la devolución y cambia el <code>local_status</code> a <code>PROCESSING</code></li>\n<li><strong>Paso 2</strong>: El ERP recibe la mercancia devuelta y rechaza la devolución. El ERP notifica el cambio de <code>channel_status</code> a <code>CANCELED</code> y <code>local_status</code> <code>CANCELED</code>. Smartie se encarga de notificar el cambio de estado al origen.</li>\n</ul>\n","_postman_id":"93333781-855e-4c17-bfc6-2d1764bd593d"},{"name":"Create credit memos","item":[],"id":"26ef0911-be83-4a06-95f2-cf4914dd654f","description":"<p>Los credit memos son devoluciones económicas que vienen dadas por una cancelación del pedido, ya sea por parte del cliente o por parte de la empresa, o por la aceptación de un RMA.</p>\n<p>El endpoint para crear un credit memo es el mismo que para los RMAs pero cambian algunos campos. <a href=\"https://apidocs.smartie.io/#d34e1138-bc3c-4000-b655-de69cacbbfa0\">Return Orders - Smartie API</a> Ver ejemplo RO01 - Create creditmemo</p>\n<p>Los credit memos no tienen actualizaciones de estado por lo que el estado con el que se crea, es el estado definitivo.</p>\n<p>Dependiendo del origen del pedido y la configuración, cuando Smartie notifica la creación de un credit memo al origen, puede gestionar la devolución del dinero al cliente automáticamente con el TPV.</p>\n","_postman_id":"26ef0911-be83-4a06-95f2-cf4914dd654f"}],"id":"18e8a3bd-3a69-4bfb-9987-8c9c3035bbf2","description":"<p>En Smartie la entidad Return Orders tiene 2 tipologias, RMA y CREDITMEMO (devoluciones económicas). Según el tipo de Return Order se <a href=\"https://apidocs.smartie.io/#d34e1138-bc3c-4000-b655-de69cacbbfa0\">necesitan unos datos u otros</a> y siguen flujos distintos a la hora de sincronizarse con el origen.</p>\n<p><a href=\"https://ayuda.onestic.com/space/MANSMAR/1889730714/Devoluciones+-+Flujo+de+integraci%C3%B3n\">Manual de Smartie</a></p>\n","_postman_id":"18e8a3bd-3a69-4bfb-9987-8c9c3035bbf2"},{"name":"Shipments","item":[{"name":"Manage shipments","item":[],"id":"cc8eeda7-b0d5-4507-9681-73dd9011c0c2","description":"<p>A continuación se nombran los diferentes casos de uso. En este punto se indicará el nombre del ejemplo, el cual se puede consultar en la documentación de cada endpoint.</p>\n<p><strong>Notas a tener en cuenta:</strong></p>\n<ul>\n<li>Cuando se referencia a order, return_order o carrier, siempre será a la ID interna de Smartie.</li>\n<li>Para envíos parciales indicarlo con el flag is_partial = true. Si no se mandan líneas en la creación del envío Smartie considerará el envío como completo (is_partial= false).</li>\n<li>Si no se indica dirección al crear el envío, cogerá la dirección de envío del pedido/devolución</li>\n<li>Si no se indica tracking_url al crear/actualizar un envío lo introducirá Smartie concatenando la URL configurada en el carrier de Smartie con el número de seguimiento (tracking_number indicado).</li>\n</ul>\n<h3 id=\"listar-envíos\">Listar envíos</h3>\n<ol>\n<li>Listar envíos filtrando por estado<ol>\n<li>Ejemplo: “S02 - Get shipments with PENDING status”</li>\n</ol>\n</li>\n<li>Obtener un envío filtrando por la referencia<ol>\n<li>Ejemplo: “S02 - Get shipment by reference”</li>\n</ol>\n</li>\n<li>Obtener los envíos de un pedido<ol>\n<li>Ejemplo: “S02 - Get shipments by order_id”</li>\n</ol>\n</li>\n<li>Ejemplo de respuesta de envío con etiqueta<ol>\n<li>Ejemplo: “S02 - Get shipment with label”<ol>\n<li>El campo shipping_label contiene la información de la etiqueta, incluyendo el enlace para su descarga.</li>\n<li>El campo shipping_label_2 es la etiqueta secundaria que se utiliza en algunos casos como el “Click and collect” de un market.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<h3 id=\"listar-transportistas\">Listar transportistas</h3>\n<ol>\n<li>Listar todos los transportistas<ol>\n<li>Ejemplo: “S04 - Get carriers“</li>\n</ol>\n</li>\n<li>Obtener un transportista filtrando por nombre<ol>\n<li>Ejemplo: “S04 - Get carrier by name“</li>\n</ol>\n</li>\n</ol>\n<h3 id=\"creación-de-envíos\">Creación de envíos</h3>\n<ol>\n<li>Crear envío de un pedido indicando las líneas a enviar<ol>\n<li>Ejemplo: “S03 - Create shipment with lines”</li>\n</ol>\n</li>\n<li>Crear envío de un pedido sin indicar las líneas a enviar (envío completo)<ol>\n<li>Ejemplo: “S03 - Create shipment without lines”</li>\n</ol>\n</li>\n<li>Crear envío de un pedido con dirección distinta a la del pedido<ol>\n<li>Ejemplo: “S03 - Create shipment with different address”</li>\n</ol>\n</li>\n<li>Crear envío de una devolución indicando las líneas e devolver.<ol>\n<li>Ejemplo “S03 - Create shipment with lines for return order”</li>\n</ol>\n</li>\n<li>Crear envío de una devolución sin indicar las líneas a devolver (devolución completa)<ol>\n<li>Ejemplo: “S03 - Create shipment without lines for return order”</li>\n</ol>\n</li>\n<li>Crear envío de una devolución con dirección distinta a la de la devolución<ol>\n<li>Ejemplo: “S03 - Create shipment with different address for return order”</li>\n</ol>\n</li>\n</ol>\n<h3 id=\"actualización-de-un-envío\">Actualización de un envío</h3>\n<p>Para actualizar un envío se necesita la ID interna del mismo en Smartie, para ello realizaremos el paso previo:</p>\n<p>Ejemplo: “S02 - Get shipment by reference” → Se obtiene la información del envío, la cual incluye la ID del mismo. Con la ID ya se pueden hacer las siguientes peticiones:</p>\n<ol>\n<li>Actualización de estado<ol>\n<li>Ejemplo: “S01 - Update shipment status“</li>\n</ol>\n</li>\n<li>Actualización del número y URL de seguimiento<ol>\n<li>Ejemplo: “S01 - Update tracking number and tracking url“</li>\n</ol>\n</li>\n</ol>\n","_postman_id":"cc8eeda7-b0d5-4507-9681-73dd9011c0c2"}],"id":"97848ddf-3646-4645-ae75-52e7942b5155","description":"<p><a href=\"https://ayuda.onestic.com/space/MANSMAR/1889730727/Envios+-+Flujo+de+integraci%C3%B3n\">Manual de Smartie</a></p>\n","_postman_id":"97848ddf-3646-4645-ae75-52e7942b5155"},{"name":"New Request","id":"e610acaf-4420-4065-8596-ca04cfffe7cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"e610acaf-4420-4065-8596-ca04cfffe7cb"}],"id":"c2909d7d-544b-4ca0-b4a8-3cc18856ece9","_postman_id":"c2909d7d-544b-4ca0-b4a8-3cc18856ece9","description":""},{"name":"EKS Marbella","id":"a195c06b-10ce-4144-9c52-733a32adf6de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"a195c06b-10ce-4144-9c52-733a32adf6de"}],"event":[{"listen":"prerequest","script":{"id":"862d5327-ad47-4544-9e23-22627c7ad94b","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"4208ec58-7175-4c81-8d17-2c1277d79e09","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"view_id","value":"4"},{"key":"api_url","value":"https://demo.smartie.io/api"},{"key":"dynamic_entity_type_id","value":"1"},{"key":"dynamic_entity_id","value":"1"}]}