{
  "info": {
    "_postman_id": "codex-yep-rest-1778005596432",
    "name": "Yep REST API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "8758075"
  },
  "item": [
    {
      "name": "AUTH",
      "item": [
        {
          "name": "NEW TOKEN",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/x-www-form-urlencoded"
              }
            ],
            "body": {
              "mode": "urlencoded",
              "urlencoded": [
                {
                  "key": "client_id",
                  "value": "{{client_id}}",
                  "type": "text"
                },
                {
                  "key": "client_secret",
                  "value": "{{client_secret}}",
                  "type": "text"
                },
                {
                  "key": "grant_type",
                  "value": "client_credentials",
                  "type": "text"
                }
              ]
            },
            "url": {
              "raw": "{{route}}/api2/oauth/token",
              "host": [
                "{{route}}"
              ],
              "path": [
                "api2",
                "oauth",
                "token"
              ]
            }
          },
          "response": []
        },
        {
          "name": "REFRESH TOKEN",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/x-www-form-urlencoded"
              }
            ],
            "body": {
              "mode": "urlencoded",
              "urlencoded": [
                {
                  "key": "client_id",
                  "value": "{{client_id}}",
                  "type": "text"
                },
                {
                  "key": "client_secret",
                  "value": "{{client_secret}}",
                  "type": "text"
                },
                {
                  "key": "grant_type",
                  "value": "refresh_token",
                  "type": "text"
                },
                {
                  "key": "refresh_token",
                  "value": "{{refresh_token}}",
                  "type": "text"
                }
              ]
            },
            "url": {
              "raw": "{{route}}/api2/oauth/token",
              "host": [
                "{{route}}"
              ],
              "path": [
                "api2",
                "oauth",
                "token"
              ]
            }
          },
          "response": []
        },
        {
          "name": "HEALTH API",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{route}}/api2/oauth/health",
              "host": [
                "{{route}}"
              ],
              "path": [
                "api2",
                "oauth",
                "health"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Products",
      "item": [
        {
          "name": "Product CRUD",
          "item": [
            {
              "name": "SEARCH PRODUCT",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"id\": 24404, //OPTIONAL - SEARCH INDIVIDUAL\n  \"page\": 1\n}\n",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/products/",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "products"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "NEW PRODUCT SIMPLE",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"type_id\": \"simple\",\n    \"attribute_set_id\": 4,\n    \"sku\": \"produto_teste\",\n    \"store_id\": 1,\n    \"name\": \"Produto teste\",\n    \"meta_title\": \"produto teste\",\n    \"meta_description\": \"Novo produto teste\",\n    \"url_key\": \"novo-produto\",\n    \"custom_design\": \"enterprise/default\",\n    \"page_layout\": \"one_column\",\n    \"options_container\": \"container2\",\n    \"country_of_manufacture\": \"AD\",\n    \"msrp_enabled\": 1,\n    \"msrp_display_actual_price_type\": 2,\n    \"gift_message_available\": 1,\n    \"categories\": [\n        54,\n        59,\n        128\n    ],\n    \"website_id\": [\n        1\n    ],\n    \"price\": \"2000\",\n    \"special_price\": \"150\",\n    \"weight\": \"0.5\",\n    \"msrp\": \"140\",\n    \"status\": 1,\n    \"visibility\": 4,\n    \"enable_googlecheckout\": 1,\n    \"tax_class_id\": 2,\n    \"description\": \"Descricao do novo produto.\",\n    \"short_description\": \"Short descricao de novo produto.\",\n    \"meta_keyword\": \"new\",\n    \"custom_layout_update\": \"<xml>XML body</xml>\",\n    \"special_from_date\": \"2012-03-15 00:00:00\",\n    \"special_to_date\": \"2012-03-15 00:00:00\",\n    \"news_from_date\": \"2012-03-15 00:00:00\",\n    \"news_to_date\": \"2012-03-15 00:00:00\",\n    \"custom_design_from\": \"2012-03-15 00:00:00\",\n    \"custom_design_to\": \"2012-03-15 00:00:00\",\n    \"group_price\": [\n        {\n            \"website_id\": 1,\n            \"cust_group\": 1,\n            \"price\": \"140\"\n        }\n    ],\n    \"tier_price\": [\n        {\n            \"website_id\": 1,\n            \"cust_group\": 1,\n            \"price\": \"120\",\n            \"price_qty\": \"10\"\n        }\n    ],\n    \"stock_data\": {\n        \"qty\": \"99\",\n        \"min_qty\": \"5\",\n        \"use_config_min_qty\": 1,\n        \"is_qty_decimal\": 1,\n        \"backorders\": 0,\n        \"use_config_backorders\": 1,\n        \"min_sale_qty\": \"10\",\n        \"use_config_min_sale_qty\": 1,\n        \"max_sale_qty\": \"50\",\n        \"use_config_max_sale_qty\": 1,\n        \"is_in_stock\": 1,\n        \"notify_stock_qty\": \"5\",\n        \"use_config_notify_stock_qty\": 1,\n        \"manage_stock\": 1,\n        \"use_config_manage_stock\": 1,\n        \"use_config_qty_increments\": 1,\n        \"qty_increments\": \"3\",\n        \"use_config_enable_qty_inc\": 1,\n        \"enable_qty_increments\": 0,\n        \"is_decimal_divided\": 0\n    },\n    \"additional_attributes\": {\n        \"single_data\": [\n            {\n                \"key\": \"leadtime\",\n                \"value\": \"0\"\n            },\n            {\n                \"key\": \"tamanho_\",\n                \"value\": \" 25m\"\n            },\n            {\n                \"key\": \"color\",\n                \"value\": \"AZUL\"\n            },\n            {\n                \"key\": \"ncm\",\n                \"value\": \"4779\"\n            },\n            {\n                \"key\": \"gtin_ean\",\n                \"value\": \"7898917563540\"\n            },\n            {\n                \"key\": \"origem_f\",\n                \"value\": \"Nacional, exceto as indicadas nos códigos 3 a 5\"\n            },\n            {\n                \"key\": \"cfop\",\n                \"value\": \"1\"\n            },\n            {\n                \"key\": \"manufacturer\",\n                \"value\": \"TECNODENT\"\n            },\n            {\n                \"key\": \"marca\",\n                \"value\": \"TECNODENT\"\n            },\n            {\n                \"key\": \"modelo_2\",\n                \"value\": \"ESQUERDA\"\n            },\n            {\n                \"key\": \"venda_restrita\",\n                \"value\": \"sim\"\n            },\n            {\n                \"key\": \"cest\",\n                \"value\": \"11\"\n            }\n        ],\n        \"multi_data\": [\n            {\n                \"key\": \"product_payment_methods\",\n                \"value\": [\n                    \"Cheque / Ordem de pagamento (checkmo)\",\n                    \"Parcelado em até 12x (paypal_plus)\"\n                ]\n            }\n        ]\n    }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/products/",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "products"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "NEW PRODUCT CONFIGURABLE",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"attribute_set_id\": 4,\n    \"type_id\": \"configurable\",\n    \"visibility\": 4,\n    \"store_id\": 1,\n    \"sku\": \"novo_configuravel\",\n    \"name\": \"novo configuravel\",\n    \"description\": \"Descrição do produto configurável\",\n    \"short_description\": \"Curta descrição\",\n    \"price\": 99.90,\n    \"status\": 1,\n    \"tax_class_id\": 2,\n    \"categories\": [\n        54,\n        59,\n        128\n    ],\n    \"website_id\": [\n        1\n    ],\n    \"additional_attributes\": {\n        \"single_data\": [\n            {\n                \"key\": \"leadtime\",\n                \"value\": \"0\"\n            },\n            {\n                \"key\": \"color\",\n                \"value\": \"AZUL\"\n            },\n            {\n                \"key\": \"ncm\",\n                \"value\": \"4779\"\n            },\n            {\n                \"key\": \"gtin_ean\",\n                \"value\": \"7898917563540\"\n            },\n            {\n                \"key\": \"origem_f\",\n                \"value\": \"Nacional, exceto as indicadas nos códigos 3 a 5\"\n            },\n            {\n                \"key\": \"cfop\",\n                \"value\": \"1\"\n            },\n            {\n                \"key\": \"manufacturer\",\n                \"value\": \"TECNODENT\"\n            },\n            {\n                \"key\": \"marca\",\n                \"value\": \"TECNODENT\"\n            },\n            {\n                \"key\": \"venda_restrita\",\n                \"value\": \"sim\"\n            },\n            {\n                \"key\": \"cest\",\n                \"value\": \"11\"\n            }\n        ],\n        \"multi_data\": [\n            {\n                \"key\": \"product_payment_methods\",\n                \"value\": [\n                    \"Cheque / Ordem de pagamento (checkmo)\",\n                    \"Parcelado em até 12x (paypal_plus)\"\n                ]\n            }\n        ]\n    },\n    \"configurable_attributes\": [\n        335, 92\n    ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/products/",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "products"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "UPDATE PRODUCT",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"type\": \"sku\",\n    \"id\": \"27.9364ss\",\n    \"name\": \"Kit Luva para Procedimento de L\\u00e1tex com P\\u00f3 - Medix\",\n    \"meta_title\": \"Kit Luva para Procedimento de L\\u00e1tex com P\\u00f3 Medix G, prote\\u00e7\\u00e3o, conforto e sensibilidade t\\u00e1til para procedimentos cl\\u00ednicos di\\u00e1rios. Seguran\\u00e7a profissional!\",\n    \"meta_description\": \"Embalagem com 10 caixas de 100 unidades cada. Escolha o tamanho.\",\n    \"visibility\": 1,\n    \"status\": 1,\n    \"weight\": \"6.900000\",\n    \"short_description\": \"Embalagem com 10 caixas de 100 unidades cada. Escolha o tamanho.\",\n    \"meta_keyword\": \"luva l\\u00e1tex com p\\u00f3 medix, luva para procedimento tamanho g, luva descart\\u00e1vel l\\u00e1tex g, luva odontol\\u00f3gica medix, kit luva procedimento\",\n    \"special_from_date\": \"2026-01-29\",\n    \"special_to_date\": \"2026-02-08\",\n    \"group_price\": [\n        {\n            \"website_id\": 1,\n            \"cust_group\": 1,\n            \"price\": \"239.900000\"\n        }\n    ],\n    \"stock_data\": {\n        \"qty\": 17,\n        \"is_in_stock\": 1\n    },\n    \"additional_attributes\": {\n        \"single_data\": [\n            \n            {\n                \"key\": \"venda_restrita\",\n                \"value\": \"n\\u00e3o\"\n            },\n            {\n                \"key\": \"searchindex_weight\",\n                \"value\": \"\"\n            },\n            {\n                \"key\": \"leadtime\",\n                \"value\": \"\"\n            },\n            {\n                \"key\": \"marca\",\n                \"value\": \"Medix\"\n            },\n            {\n                \"key\": \"garantia\",\n                \"value\": \"\"\n            },\n            {\n                \"key\": \"garantia_texto\",\n                \"value\": \"\"\n            },\n            {\n                \"key\": \"volume_altura\",\n                \"value\": 20\n            },\n            {\n                \"key\": \"volume_comprimento\",\n                \"value\": 36\n            },\n            {\n                \"key\": \"volume_largura\",\n                \"value\": 22\n            },\n            {\n                \"key\": \"ncm\",\n                \"value\": 5064\n            },\n            {\n                \"key\": \"cfop\",\n                \"value\": 1\n            },\n            {\n                \"key\": \"gtin_ean\",\n                \"value\": \"17898947170043\"\n            },\n            {\n                \"key\": \"origem_f\",\n                \"value\": \"22\"\n            },\n            {\n                \"key\": \"cest\",\n                \"value\": \"\"\n            },\n            {\n                \"key\": \"quotation\",\n                \"value\": \"0\"\n            },\n            {\n                \"key\": \"min_quotation\",\n                \"value\": \"0\"\n            },\n            {\n                \"key\": \"only_quotation\",\n                \"value\": \"0\"\n            },\n            {\n                \"key\": \"quotation_noprice\",\n                \"value\": \"0\"\n            },\n            {\n                \"key\": \"desconto_boleto\",\n                \"value\": 3\n            },\n            {\n                \"key\": \"tax_google\",\n                \"value\": \"\"\n            },\n            {\n                \"key\": \"size\",\n                \"value\": \"G\"\n            }\n        ]\n    }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/products/",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "products"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "DELETE PRODUCT",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"id\": 24406\n}\n",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/products/",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "products"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Images",
          "item": [
            {
              "name": "IMAGE PRODUCT",
              "request": {
                "auth": {
                  "type": "noauth"
                },
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"product_id\":\"novo_produto\",\n    \"position\": 3,\n    \"label\": \"AA\",\n    \"file_name\": \"minha_imagem.png\",\n    \"file_mime_type\": \"image/png\",\n    \"file_content\": \"iVBORw0KGgoAAAANSUhEUgAAAMkAAAEJCAYAAAA+WQMFAAAABHNCSVQICAgIfAhkiAAAABl0RVh0U29mdHdhcmUAZ25vbWUtc2NyZWVuc2hvdO8Dvz4AAAAmdEVYdENyZWF0aW9uIFRpbWUAc2VnIDA4IHNldCAyMDI1IDEwOjEzOjAxL71CEgAAArlJREFUeJzt0zERwDAQwLAkTJ4/yAZBz2M7SAi8eM/Ms4BX5+sA+DuTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0AwCQSTQDAJBJNAMAkEk0C4l/gDdKHb1BgAAAAASUVORK5CYII=\",\n    \"types\": [\n        \"image\"\n    ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/products/imagem",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "products",
                    "imagem"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Links",
          "item": [
            {
              "name": "LINK PRODUCT",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"configurable_id\": 24403,\n  \"simples\": [24413]\n}\n",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/products/vincular",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "products",
                    "vincular"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Custom Options",
          "item": [
            {
              "name": "NEW CUSTOM OPTION",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"sku\": \"PRODUTO-001\",\n  \"title\": \"Nome para gravação\",\n  \"type\": \"field\",\n  \"is_require\": 1,\n  \"sort_order\": 0,\n  \"config\": {\n    \"price\": 5,\n    \"price_type\": \"fixed\",\n    \"sku\": \"GRAVACAO\",\n    \"max_characters\": 30,\n    \"file_extension\": null,\n    \"image_size_x\": null,\n    \"image_size_y\": null\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/products/customOption",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "products",
                    "customOption"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "NEW CUSTOM OPTION SELECT",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"sku\": \"PRODUTO-001\",\n  \"title\": \"Escolha o Tamanho\",\n  \"type\": \"drop_down\",\n  \"is_require\": 1,\n  \"sort_order\": 0,\n  \"values\": [\n    {\n      \"title\": \"Pequeno\",\n      \"price\": 0,\n      \"price_type\": \"fixed\",\n      \"sku\": \"TAM-P\",\n      \"sort_order\": 0\n    },\n    {\n      \"title\": \"Médio\",\n      \"price\": 10,\n      \"price_type\": \"fixed\",\n      \"sku\": \"TAM-M\",\n      \"sort_order\": 1\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/products/customOption",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "products",
                    "customOption"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "UPDATE CUSTOM OPTION",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"option_id\": 18,\n  \"title\": \"Novo Título\",\n  \"is_require\": 0,\n  \"sort_order\": 2\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/products/customOption",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "products",
                    "customOption"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "UPDATE  CUSTOM OPTION SELECT",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"option_id\": 19,\n    \"values\": [\n        {\n            \"option_type_id\": 26,\n            \"title\": \"Pequeno Atualizado\",\n            \"price\": 5,\n            \"price_type\": \"fixed\",\n            \"sku\": \"TAM-P\",\n            \"sort_order\": 0\n        },\n        {\n            \"option_type_id\": 27,\n            \"title\": \"Grande3\",\n            \"price\": 20,\n            \"price_type\": \"fixed\",\n            \"sku\": \"TAM-G\",\n            \"sort_order\": 2\n        }\n    ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/products/customOption",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "products",
                    "customOption"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "SEARCH  OPTION",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"option_id\": 19,\n  \"values\": [\n    {\n      \"option_type_id\": 44,\n      \"title\": \"Pequeno Atualizado\",\n      \"price\": 5,\n      \"price_type\": \"fixed\",\n      \"sku\": \"TAM-P\",\n      \"sort_order\": 0\n    },\n    {\n      \"title\": \"Grande\",\n      \"price\": 20,\n      \"price_type\": \"fixed\",\n      \"sku\": \"TAM-G\",\n      \"sort_order\": 2\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/products/customOption?option_id=19",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "products",
                    "customOption"
                  ],
                  "query": [
                    {
                      "key": "option_id",
                      "value": "19"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "DELETE CUSTOM OPTION",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"option_id\": 19\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/products/customOption",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "products",
                    "customOption"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "DELETE CUSTOM OPTION VALUE",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"option_type_id\": 44\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/products/customValue",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "products",
                    "customValue"
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Stock",
      "item": [
        {
          "name": "STOCK PRODUCT",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"type\": \"sku\",\n    \"sku\": \"produto_teste34\",\n    \"qty\": 0,\n    \"stock_id\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{route}}/api2/stock/",
              "host": [
                "{{route}}"
              ],
              "path": [
                "api2",
                "stock"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Price",
      "item": [
        {
          "name": "PRICE PRODUCT",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "[\n {\"sku\":\"PRODUTO-004\",\"price\":10,\"type\":\"sku\"},\n {\"sku\":\"PRODUTO-005\",\"price\":20,\"type\":\"sku\"},\n {\"sku\":\"PRODUTO-006\",\"price\":30,\"type\":\"sku\"}\n]",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{route}}/api2/price/",
              "host": [
                "{{route}}"
              ],
              "path": [
                "api2",
                "price"
              ]
            }
          },
          "response": []
        },
        {
          "name": "GROUP PRODUCT",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"sku\": \"novoproduto\",\n  \"group_prices\": [\n    { \"cust_group\": 0, \"price\": 1800.00 },  \n    { \"cust_group\": 1, \"price\": 1700.00 },  \n    { \"cust_group\": 2, \"price\": 1500.00 }   \n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{route}}/api2/price/group",
              "host": [
                "{{route}}"
              ],
              "path": [
                "api2",
                "price",
                "group"
              ]
            }
          },
          "response": []
        },
        {
          "name": "SPECIAL PRODUCT",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"sku\": \"novoproduto\",\n  \"special_price\": 2333.99,\n  \"special_from_date\": \"2025-09-10\",\n  \"special_to_date\": \"2025-10-01\"\n}\n",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{route}}/api2/price/special",
              "host": [
                "{{route}}"
              ],
              "path": [
                "api2",
                "price",
                "special"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Catalog",
      "item": [
        {
          "name": "Attributes",
          "item": [
            {
              "name": "LIST ATTRIBUTES",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"page\": 1,\n  \"limit\": 20,\n  \"include_pagination\": true,\n  \"frontend_input\": [\"select\", \"multiselect\"]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/attribute",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "attribute"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET ATTRIBUTE BY CODE",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"attribute_code\": \"tipo_material\",\n  \"store_id\": 0\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/attribute",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "attribute"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "NEW ATTRIBUTE",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"attribute_code\": \"codigo_fabricante\",\n  \"frontend_input\": \"text\",\n  \"frontend_label\": \"Código do Fabricante\",\n  \"is_global\": 1,\n  \"is_required\": 0,\n  \"is_unique\": 0,\n  \"default_value\": null,\n  \"position\": 0,\n  \"is_searchable\": 1,\n  \"is_visible\": 1,\n  \"is_visible_on_front\": 1,\n  \"is_visible_in_advanced_search\": 0,\n  \"is_comparable\": 0,\n  \"is_filterable\": 0,\n  \"is_filterable_in_search\": 0,\n  \"is_filterable_in_grid\": 0,\n  \"is_used_in_grid\": 0,\n  \"is_visible_in_grid\": 0,\n  \"is_used_for_promo_rules\": 0,\n  \"used_in_product_listing\": 1,\n  \"used_for_sort_by\": 0,\n  \"is_html_allowed_on_front\": 0,\n  \"is_wysiwyg_enabled\": 0,\n\n  \"apply_to\": [\"simple\", \"configurable\"]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/attribute",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "attribute"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "NEW ATTRIBUTE OPTIONS",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"attribute_code\": \"tipo_material\",\n  \"frontend_input\": \"select\",\n  \"frontend_label\": \"Tipo de Material\",\n  \"is_global\": 1,\n  \"is_required\": 1,\n  \"is_configurable\": 1,\n  \"is_filterable\": 1,\n  \"is_searchable\": 1,\n  \"used_in_product_listing\": 1,\n  \"options\": [\n    {\n      \"admin\": \"Resina\",\n      \"position\": 0,\n      \"default\": 1\n    },\n    {\n      \"admin\": \"Cerâmica\",\n      \"position\": 1\n    },\n    {\n      \"admin\": \"Zircônia\",\n      \"position\": 2\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/attribute",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "attribute"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "UPDATE ATTRIBUTE",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"attribute_code\": \"tipo_material\",\n  \"is_required\": 1,\n  \"is_filterable\": 0,\n  \"used_for_sort_by\": 1\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/attribute",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "attribute"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "UPDATE ATTRIBUTE OPTIONS",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"attribute_code\": \"tipo_material\",\n  \"options\": [\n    {\n      \"admin\": \"Resina\",\n      \"position\": 0\n    },\n    {\n      \"admin\": \"Cerâmica Premium\",\n      \"position\": 1,\n      \"default\": 1\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/attribute",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "attribute"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "ADD ATTRIBUTE OPTION",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"attribute_code\": \"tipo_material\",\n  \"admin\": \"Metal\",\n  \"position\": 3,\n  \"default\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/attribute/option",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "attribute",
                    "option"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "UPDATE ATTRIBUTE OPTION",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"attribute_code\": \"tipo_material\",\n  \"option_id\": \"{{attribute_option_id}}\",\n  \"admin\": \"Metal Premium\",\n  \"position\": 4,\n  \"default\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/attribute/option",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "attribute",
                    "option"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "DELETE ATTRIBUTE OPTION",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"attribute_code\": \"tipo_material\",\n  \"option_id\": \"{{attribute_option_id}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/attribute/option",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "attribute",
                    "option"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "DELETE ATTRIBUTE",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"attribute_code\": \"tipo_material\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/attribute",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "attribute"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Categories",
          "item": [
            {
              "name": "LIST CATEGORIES",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"page\": 1,\n  \"limit\": 20,\n  \"include_pagination\": true,\n  \"store_id\": 0,\n  \"parent_id\": 2,\n  \"is_active\": 1\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/category",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "category"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "NEW CATEGORY",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Especialidades\",\n  \"parent_name\": \"Materiais Odontológicos\",\n  \"after_id\": null\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/category",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "category"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "UPDATE CATEGORY",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"parent_id\": 2,\n    \"name\": \"Especialidades\",\n    \"position\": 5,\n    \"is_active\": 1,\n    \"is_anchor\": 1,\n    \"include_in_menu\": 1,\n    \"description\": \"Categoria de especialidades odontológicas\",\n    \"display_mode\": \"PRODUCTS\",\n    \"url_key\": \"especialidades\",\n    \"meta_title\": \"Especialidades Odontológicas\",\n    \"meta_keywords\": \"odontologia, especialidades\",\n    \"meta_description\": \"Produtos por especialidade\",\n    \"available_sort_by\": [\n        \"position\",\n        \"created_at\"\n    ],\n    \"default_sort_by\": \"position\",\n    \"page_layout\": \"two_columns_left\",\n    \"custom_design\": null,\n    \"custom_apply_to_products\": 0,\n    \"custom_design_from\": null,\n    \"custom_design_to\": null,\n    \"custom_layout_update\": null,\n    \"landing_page\": null,\n    \"filter_price_range\": null,\n    \"custom_use_parent_settings\": 0\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/category",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "category"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "DELETE CATEGORY",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"category_id\": 546\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/category",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "category"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET CATEGORY BY ID",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"id\": 61\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/category",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "category"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "SEARCH CATEGORY ATTRIBUTE INFO",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"category_id\": 61\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/category/attributelist",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "category",
                    "attributelist"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "SEARCH CATEGORY ATTRIBUTE  LIST",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"category_id\": 61\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/category/attributeoptions?attribute=is_active",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "category",
                    "attributeoptions"
                  ],
                  "query": [
                    {
                      "key": "attribute",
                      "value": "is_active"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "MOVE CATEGORY",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"parent_id\": 2,\n    \"name\": \"Especialidades\",\n    \"position\": 5,\n    \"is_active\": 1,\n    \"is_anchor\": 1,\n    \"include_in_menu\": 1,\n    \"description\": \"Categoria de especialidades odontológicas\",\n    \"display_mode\": \"PRODUCTS\",\n    \"url_key\": \"especialidades\",\n    \"meta_title\": \"Especialidades Odontológicas\",\n    \"meta_keywords\": \"odontologia, especialidades\",\n    \"meta_description\": \"Produtos por especialidade\",\n    \"available_sort_by\": [\n        \"position\",\n        \"created_at\"\n    ],\n    \"default_sort_by\": \"position\",\n    \"page_layout\": \"two_columns_left\",\n    \"custom_design\": null,\n    \"custom_apply_to_products\": 0,\n    \"custom_design_from\": null,\n    \"custom_design_to\": null,\n    \"custom_layout_update\": null,\n    \"landing_page\": null,\n    \"filter_price_range\": null,\n    \"custom_use_parent_settings\": 0\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/category/categoryMove",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "category",
                    "categoryMove"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Attribute Sets",
          "item": [
            {
              "name": "NEW ATTRIBUTE SET",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"attribute_set_name\": \"Equipamentos Odontológicos\",\n  \"skeleton_set_id\": 4\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/catalog/attributeSet",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "catalog",
                    "attributeSet"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "DELETE ATTRIBUTE SET",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"attribute_set_name\": \"Equipamentos Odontológicos\",\n  \"force_products_remove\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/catalog/attributeSet",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "catalog",
                    "attributeSet"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Attribute Groups",
          "item": [
            {
              "name": "NEW ATTRIBUTE GROUP",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"attribute_set_id\": 10,\n  \"group_name\": \"Dados Técnicos\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/catalog/attributegroup",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "catalog",
                    "attributegroup"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "DELETE ATTRIBUTE GROUP",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"attribute_set_id\": 10,\n  \"group_name\": \"Informações Técnicas\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/catalog/attributegroup",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "catalog",
                    "attributegroup"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "RENAME ATTRIBUTE GROUP",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"attribute_set_id\": 10,\n  \"group_name\": \"Dados Técnicos\",\n  \"new_group_name\": \"Informações Técnicas\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/catalog/attributegroup",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "catalog",
                    "attributegroup"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "VINCULAR ATTRIBUTE AO GROUP",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"attribute_code\": \"codigo_fabricante\",\n  \"attribute_set_id\": 10,\n  \"attribute_group_name\": \"Informações Técnicas\",\n  \"sort_order\": 10\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/catalog/attribute",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "catalog",
                    "attribute"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "DELETE ATTRIBUTE DO GROUP",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"attribute_code\": \"codigo_fabricante\",\n  \"attribute_set_id\": 10\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/catalog/attribute",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "catalog",
                    "attribute"
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Customers & Addresses",
      "item": [
        {
          "name": "Customers",
          "item": [
            {
              "name": "LIST CUSTOMERS",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/customers?page=1&limit=50&include_pagination=1",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "customers"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "50"
                    },
                    {
                      "key": "include_pagination",
                      "value": "1"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET CUSTOMER BY ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/customers?id={{customer_id}}",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "customers"
                  ],
                  "query": [
                    {
                      "key": "id",
                      "value": "{{customer_id}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "SEARCH CUSTOMER BY EMAIL",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/customers?email={{customer_email}}",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "customers"
                  ],
                  "query": [
                    {
                      "key": "email",
                      "value": "{{customer_email}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "SEARCH CUSTOMER BY CPF/CNPJ",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/customers?taxvat={{customer_taxvat}}",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "customers"
                  ],
                  "query": [
                    {
                      "key": "taxvat",
                      "value": "{{customer_taxvat}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "SEARCH CUSTOMER BY ATTRIBUTE",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/customers?attribute=celular&value={{customer_phone}}",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "customers"
                  ],
                  "query": [
                    {
                      "key": "attribute",
                      "value": "celular"
                    },
                    {
                      "key": "value",
                      "value": "{{customer_phone}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "SEARCH CUSTOMER BY CUSTOM FIELD",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/customers?celular={{customer_phone}}",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "customers"
                  ],
                  "query": [
                    {
                      "key": "celular",
                      "value": "{{customer_phone}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "UPDATE CUSTOMER",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/customers",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "customers"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"id\": \"{{customer_id}}\",\n  \"firstname\": \"Cliente\",\n  \"lastname\": \"Teste\",\n  \"taxvat\": \"{{customer_taxvat}}\",\n  \"custom_attributes\": {\n    \"celular\": \"{{customer_phone}}\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "DELETE CUSTOMER",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/customers",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "customers"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"id\": \"{{customer_id}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Addresses",
          "item": [
            {
              "name": "LIST CUSTOMER ADDRESSES",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/customers/addresses/{{customer_id}}",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "customers",
                    "addresses",
                    "{{customer_id}}"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "LIST ADDRESSES BY CUSTOMER",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/address?customer_id={{customer_id}}",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "address"
                  ],
                  "query": [
                    {
                      "key": "customer_id",
                      "value": "{{customer_id}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET ADDRESS BY ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/address?address_id={{address_id}}",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "address"
                  ],
                  "query": [
                    {
                      "key": "address_id",
                      "value": "{{address_id}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "CREATE ADDRESS",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/address",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "address"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer_id\": \"{{customer_id}}\",\n  \"firstname\": \"Cliente\",\n  \"lastname\": \"Teste\",\n  \"street\": [\n    \"Rua Teste\",\n    \"123\",\n    \"Sala 4\",\n    \"Centro\"\n  ],\n  \"city\": \"São Paulo\",\n  \"region\": \"São Paulo\",\n  \"region_id\": 508,\n  \"postcode\": \"01001-000\",\n  \"country_id\": \"BR\",\n  \"telephone\": \"{{customer_phone}}\",\n  \"is_default_billing\": true,\n  \"is_default_shipping\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "UPDATE ADDRESS",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/address",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "address"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"address_id\": \"{{address_id}}\",\n  \"street\": [\n    \"Rua Teste Atualizada\",\n    \"456\",\n    \"Conjunto 10\"\n  ],\n  \"telephone\": \"{{customer_phone}}\",\n  \"is_default_shipping\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "DELETE ADDRESS",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/address",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "address"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"address_id\": \"{{address_id}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Orders",
      "item": [
        {
          "name": "Orders",
          "item": [
            {
              "name": "LIST ORDERS",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/order?page=1&limit=50&include_pagination=1&sort=created_at&direction=desc",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "order"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "50"
                    },
                    {
                      "key": "include_pagination",
                      "value": "1"
                    },
                    {
                      "key": "sort",
                      "value": "created_at"
                    },
                    {
                      "key": "direction",
                      "value": "desc"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "LIST ORDERS FILTERED",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/order?status=pending,processing&customer_email={{customer_email}}&created_from=2026-01-01&created_to=2026-12-31&sort=created_at&direction=desc&include_pagination=1",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "order"
                  ],
                  "query": [
                    {
                      "key": "status",
                      "value": "pending,processing"
                    },
                    {
                      "key": "customer_email",
                      "value": "{{customer_email}}"
                    },
                    {
                      "key": "created_from",
                      "value": "2026-01-01"
                    },
                    {
                      "key": "created_to",
                      "value": "2026-12-31"
                    },
                    {
                      "key": "sort",
                      "value": "created_at"
                    },
                    {
                      "key": "direction",
                      "value": "desc"
                    },
                    {
                      "key": "include_pagination",
                      "value": "1"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET ORDER BY ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/order?id={{order_id}}",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "order"
                  ],
                  "query": [
                    {
                      "key": "id",
                      "value": "{{order_id}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET ORDER BY INCREMENT ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/order?increment_id={{order_increment_id}}",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "order"
                  ],
                  "query": [
                    {
                      "key": "increment_id",
                      "value": "{{order_increment_id}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "LIST ORDERS - PLURAL ALIAS",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/orders?page=1&limit=50",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "orders"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "50"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "LIST ORDERS FILTERED BODY",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"page\": 1,\n  \"limit\": 50,\n  \"include_pagination\": 1,\n  \"status\": [\n    \"pending\",\n    \"processing\"\n  ],\n  \"customer_email\": \"{{customer_email}}\",\n  \"created_from\": \"2026-01-01\",\n  \"created_to\": \"2026-12-31\",\n  \"sort\": \"created_at\",\n  \"direction\": \"desc\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/order",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "order"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "CANCEL ORDER",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"order_increment_id\": \"{{order_increment_id}}\",\n  \"comment\": \"Cancelado pela integração.\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/order/cancel",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "order",
                    "cancel"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "HOLD ORDER",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"order_id\": \"{{order_id}}\",\n  \"comment\": \"Pedido em análise.\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/order/hold",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "order",
                    "hold"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "UNHOLD ORDER",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"order_id\": \"{{order_id}}\",\n  \"comment\": \"Análise concluída.\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/order/unhold",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "order",
                    "unhold"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Invoices",
          "item": [
            {
              "name": "LIST INVOICES",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/invoice?page=1&limit=50&include_pagination=1",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "invoice"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "50"
                    },
                    {
                      "key": "include_pagination",
                      "value": "1"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "LIST INVOICES BY ORDER ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/invoice?order_id={{order_id}}",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "invoice"
                  ],
                  "query": [
                    {
                      "key": "order_id",
                      "value": "{{order_id}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "LIST INVOICES BY ORDER INCREMENT ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/invoice?order_increment_id={{order_increment_id}}",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "invoice"
                  ],
                  "query": [
                    {
                      "key": "order_increment_id",
                      "value": "{{order_increment_id}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET INVOICE BY ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/invoice?id={{invoice_id}}",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "invoice"
                  ],
                  "query": [
                    {
                      "key": "id",
                      "value": "{{invoice_id}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET INVOICE BY INCREMENT ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/invoice?increment_id={{invoice_increment_id}}",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "invoice"
                  ],
                  "query": [
                    {
                      "key": "increment_id",
                      "value": "{{invoice_increment_id}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "LIST INVOICES - PLURAL ALIAS",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/invoices?page=1&limit=50",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "invoices"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "50"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "LIST INVOICES FILTERED BODY",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"page\": 1,\n  \"limit\": 50,\n  \"include_pagination\": 1,\n  \"order_increment_id\": \"{{order_increment_id}}\",\n  \"created_from\": \"2026-01-01\",\n  \"created_to\": \"2026-12-31\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/invoice",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "invoice"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "CREATE INVOICE",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"order_increment_id\": \"{{order_increment_id}}\",\n  \"capture\": \"offline\",\n  \"send_email\": true,\n  \"comment\": \"Invoice criada pela integração.\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/invoice/create",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "invoice",
                    "create"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "CREATE INVOICE PARTIAL",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"order_id\": \"{{order_id}}\",\n  \"items\": [\n    {\n      \"order_item_id\": \"{{order_item_id}}\",\n      \"qty\": 1\n    },\n    {\n      \"sku\": \"{{product_sku}}\",\n      \"qty\": 1\n    }\n  ],\n  \"capture\": \"no_capture\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/invoice/create",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "invoice",
                    "create"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "SEND INVOICE EMAIL",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"invoice_id\": \"{{invoice_id}}\",\n  \"comment\": \"Reenvio solicitado pela integração.\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/invoice/email",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "invoice",
                    "email"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Shipments",
          "item": [
            {
              "name": "LIST SHIPMENTS",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/shipment?page=1&limit=50&include_pagination=1",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "shipment"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "50"
                    },
                    {
                      "key": "include_pagination",
                      "value": "1"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "LIST SHIPMENTS BY ORDER ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/shipment?order_id={{order_id}}",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "shipment"
                  ],
                  "query": [
                    {
                      "key": "order_id",
                      "value": "{{order_id}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "LIST SHIPMENTS BY ORDER INCREMENT ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/shipment?order_increment_id={{order_increment_id}}",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "shipment"
                  ],
                  "query": [
                    {
                      "key": "order_increment_id",
                      "value": "{{order_increment_id}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET SHIPMENT BY ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/shipment?id={{shipment_id}}",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "shipment"
                  ],
                  "query": [
                    {
                      "key": "id",
                      "value": "{{shipment_id}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET SHIPMENT BY INCREMENT ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/shipment?increment_id={{shipment_increment_id}}",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "shipment"
                  ],
                  "query": [
                    {
                      "key": "increment_id",
                      "value": "{{shipment_increment_id}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "CREATE SHIPMENT TRACK",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"order_increment_id\": \"{{order_increment_id}}\",\n  \"carrier_code\": \"custom\",\n  \"title\": \"Transportadora\",\n  \"track_number\": \"{{track_number}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/shipment/track",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "shipment",
                    "track"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "LIST SHIPMENTS - PLURAL ALIAS",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/shipments?page=1&limit=50",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "shipments"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "50"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "LIST SHIPMENTS - TYPO ALIAS",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/shippments?page=1&limit=50",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "shippments"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "50"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "LIST SHIPMENTS FILTERED BODY",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"page\": 1,\n  \"limit\": 50,\n  \"include_pagination\": 1,\n  \"order_increment_id\": \"{{order_increment_id}}\",\n  \"created_from\": \"2026-01-01\",\n  \"created_to\": \"2026-12-31\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/shipment",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "shipment"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "CREATE SHIPMENT TRACK BY SHIPMENT",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"shipment_id\": \"{{shipment_id}}\",\n  \"carrier_code\": \"custom\",\n  \"title\": \"Transportadora\",\n  \"track_number\": \"{{track_number}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/shipment/track",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "shipment",
                    "track"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "CREATE SHIPMENT",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"order_increment_id\": \"{{order_increment_id}}\",\n  \"send_email\": true,\n  \"comment\": \"Shipment criado pela integração.\",\n  \"carrier_code\": \"custom\",\n  \"title\": \"Transportadora\",\n  \"track_number\": \"{{track_number}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/shipment/create",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "shipment",
                    "create"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "CREATE SHIPMENT PARTIAL",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"order_id\": \"{{order_id}}\",\n  \"items\": [\n    {\n      \"order_item_id\": \"{{order_item_id}}\",\n      \"qty\": 1\n    },\n    {\n      \"sku\": \"{{product_sku}}\",\n      \"qty\": 1\n    }\n  ],\n  \"tracks\": [\n    {\n      \"carrier_code\": \"custom\",\n      \"title\": \"Transportadora\",\n      \"track_number\": \"{{track_number}}\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/shipment/create",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "shipment",
                    "create"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "SEND SHIPMENT EMAIL",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"shipment_id\": \"{{shipment_id}}\",\n  \"comment\": \"Reenvio solicitado pela integração.\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/shipment/email",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "shipment",
                    "email"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "History",
          "item": [
            {
              "name": "LIST ORDER HISTORY BY ORDER ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/history?order_id={{order_id}}",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "history"
                  ],
                  "query": [
                    {
                      "key": "order_id",
                      "value": "{{order_id}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "LIST ORDER HISTORY BY INCREMENT ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/history?increment_id={{order_increment_id}}",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "history"
                  ],
                  "query": [
                    {
                      "key": "increment_id",
                      "value": "{{order_increment_id}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "CREATE ORDER HISTORY",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/history",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "history"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"order_id\": \"{{order_id}}\",\n  \"comment\": \"Comentário criado pela API.\",\n  \"status\": \"processing\",\n  \"is_customer_notified\": false,\n  \"is_visible_on_front\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Creditmemo",
          "item": [
            {
              "name": "CREATE CREDITMEMO BY INVOICE",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"invoice_id\": \"{{invoice_id}}\",\n  \"refund_type\": \"offline\",\n  \"send_email\": true,\n  \"comment\": \"Estorno criado pela integração.\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/creditmemo",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "creditmemo"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "CREATE CREDITMEMO BY ORDER",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"order_increment_id\": \"{{order_increment_id}}\",\n  \"refund_type\": \"offline\",\n  \"shipping_amount\": 0,\n  \"adjustment_positive\": 0,\n  \"adjustment_negative\": 0,\n  \"items\": [\n    {\n      \"order_item_id\": \"{{order_item_id}}\",\n      \"qty\": 1\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{route}}/api2/creditmemo/create",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "creditmemo",
                    "create"
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Multiinventory",
      "item": [
        {
          "name": "Products",
          "item": [
            {
              "name": "GET PRODUCT DETAIL WITH WAREHOUSES",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/products?type=sku&id=%7B%7Bproduct_sku%7D%7D",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "products"
                  ],
                  "query": [
                    {
                      "key": "type",
                      "value": "sku"
                    },
                    {
                      "key": "id",
                      "value": "{{product_sku}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "LIST PRODUCTS WITH WAREHOUSES",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/products?page=1&limit=50&include_pagination=1",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "products"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "50"
                    },
                    {
                      "key": "include_pagination",
                      "value": "1"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Warehouses",
          "item": [
            {
              "name": "LIST WAREHOUSES",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/warehouses?page=1&limit=50&include_pagination=1",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "warehouses"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "50"
                    },
                    {
                      "key": "include_pagination",
                      "value": "1"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET WAREHOUSE BY CODE",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/warehouses?code=%7B%7Bwarehouse_code%7D%7D",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "warehouses"
                  ],
                  "query": [
                    {
                      "key": "code",
                      "value": "{{warehouse_code}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET WAREHOUSE BY ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/warehouses?id=%7B%7Bwarehouse_id%7D%7D",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "warehouses"
                  ],
                  "query": [
                    {
                      "key": "id",
                      "value": "{{warehouse_id}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "LIST WAREHOUSES BY STORE",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/warehouses?store_id=1&include_inactive=true",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "warehouses"
                  ],
                  "query": [
                    {
                      "key": "store_id",
                      "value": "1"
                    },
                    {
                      "key": "include_inactive",
                      "value": "true"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Stockitems",
          "item": [
            {
              "name": "LIST STOCKITEMS",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/stockitems?page=1&limit=50&include_pagination=1",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "stockitems"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "50"
                    },
                    {
                      "key": "include_pagination",
                      "value": "1"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET STOCKITEM BY ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/stockitems?id=%7B%7Bstock_item_id%7D%7D",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "stockitems"
                  ],
                  "query": [
                    {
                      "key": "id",
                      "value": "{{stock_item_id}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET STOCKITEM BY SKU",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/stockitems?sku=%7B%7Bproduct_sku%7D%7D",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "stockitems"
                  ],
                  "query": [
                    {
                      "key": "sku",
                      "value": "{{product_sku}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET STOCKITEM BY PRODUCT ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/stockitems?product_id=%7B%7Bproduct_id%7D%7D",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "stockitems"
                  ],
                  "query": [
                    {
                      "key": "product_id",
                      "value": "{{product_id}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "LIST STOCKITEMS BODY FILTER",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/stockitems",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "stockitems"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"sku\": [\n        \"{{product_sku}}\"\n    ],\n    \"include_pagination\": true,\n    \"limit\": 50\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "PATCH STOCKITEM WAREHOUSES BY ID",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/stockitems",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "stockitems"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"id\": \"{{stock_item_id}}\",\n    \"warehouses\": {\n        \"{{warehouse_code}}\": \"{{warehouse_qty}}\"\n    }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "PATCH STOCKITEM WAREHOUSES BY SKU",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/stockitems",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "stockitems"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"sku\": \"{{product_sku}}\",\n    \"warehouses\": {\n        \"{{warehouse_code}}\": \"{{warehouse_qty}}\"\n    }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "PATCH STOCKITEM STOCK DATA WAREHOUSES",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/stockitems",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "stockitems"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"product_id\": \"{{product_id}}\",\n    \"stock_data\": {\n        \"is_in_stock\": 1,\n        \"manage_stock\": 1,\n        \"warehouses\": {\n            \"{{warehouse_code}}\": \"{{warehouse_qty}}\"\n        }\n    }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "PATCH STOCKITEMS BATCH",
              "request": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/stockitems",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "stockitems"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "[\n    {\n        \"id\": \"{{stock_item_id}}\",\n        \"warehouses\": {\n            \"{{warehouse_code}}\": \"{{warehouse_qty}}\"\n        }\n    },\n    {\n        \"sku\": \"{{product_sku}}\",\n        \"warehouses\": {\n            \"{{warehouse_code}}\": \"{{warehouse_qty}}\"\n        }\n    },\n    {\n        \"product_id\": \"{{product_id}}\",\n        \"warehouses\": [\n            {\n                \"code\": \"{{warehouse_code}}\",\n                \"qty\": \"{{warehouse_qty}}\"\n            }\n        ]\n    }\n]",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            },
            {
              "name": "POST STOCKITEM WAREHOUSES BY SKU",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/stockitems",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "stockitems"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"sku\": \"{{product_sku}}\",\n    \"warehouses\": {\n        \"{{warehouse_code}}\": \"{{warehouse_qty}}\"\n    }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Orders",
          "item": [
            {
              "name": "GET ORDER DETAIL WITH WAREHOUSES",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{token}}"
                  }
                ],
                "url": {
                  "raw": "{{route}}/api2/order?id=%7B%7Border_id%7D%7D",
                  "host": [
                    "{{route}}"
                  ],
                  "path": [
                    "api2",
                    "order"
                  ],
                  "query": [
                    {
                      "key": "id",
                      "value": "{{order_id}}"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    }
  ],
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "packages": [],
        "requests": [],
        "exec": [
          ""
        ]
      }
    },
    {
      "listen": "test",
      "script": {
        "type": "text/javascript",
        "packages": [],
        "requests": [],
        "exec": [
          "function setVar(key, value) {",
          "  if (value === undefined || value === null || value === '') {",
          "    return;",
          "  }",
          "",
          "  pm.collectionVariables.set(key, String(value));",
          "}",
          "",
          "function firstArrayItem(value) {",
          "  return Array.isArray(value) && value.length ? value[0] : null;",
          "}",
          "",
          "function parseResponseJson() {",
          "  try {",
          "    return pm.response.json();",
          "  } catch (e) {",
          "    return null;",
          "  }",
          "}",
          "",
          "var json = parseResponseJson();",
          "if (!json || typeof json !== 'object') {",
          "  return;",
          "}",
          "",
          "setVar('token', json.access_token || json.token);",
          "setVar('refresh_token', json.refresh_token);",
          "",
          "var product = json.product || firstArrayItem(json.products);",
          "if (product) {",
          "  setVar('product_id', product.product_id || product.entity_id || product.id);",
          "  setVar('product_sku', product.sku);",
          "}",
          "",
          "var customer = json.customer || firstArrayItem(json.customers);",
          "if (customer) {",
          "  setVar('customer_id', customer.customer_id || customer.entity_id || customer.id);",
          "  setVar('customer_email', customer.email);",
          "  setVar('customer_taxvat', customer.taxvat || customer.cpf);",
          "  setVar('customer_phone', customer.celular || customer.telephone || customer.phone || customer.mobile);",
          "}",
          "",
          "var address = json.address || firstArrayItem(json.addresses);",
          "if (address) {",
          "  setVar('address_id', address.address_id || address.entity_id || address.id);",
          "  setVar('customer_id', address.customer_id);",
          "}",
          "",
          "var order = json.order || firstArrayItem(json.orders);",
          "if (order) {",
          "  setVar('order_id', order.order_id || order.entity_id || order.id);",
          "  setVar('order_increment_id', order.increment_id);",
          "  setVar('customer_id', order.customer_id);",
          "  setVar('customer_email', order.customer_email);",
          "}",
          "",
          "var sourceItems = product && product.items ? product.items : null;",
          "sourceItems = sourceItems || (order && order.items ? order.items : null);",
          "sourceItems = sourceItems || (json.invoice && json.invoice.items ? json.invoice.items : null);",
          "sourceItems = sourceItems || (json.shipment && json.shipment.items ? json.shipment.items : null);",
          "var sourceItem = firstArrayItem(sourceItems);",
          "if (sourceItem) {",
          "  setVar('order_item_id', sourceItem.order_item_id || sourceItem.item_id);",
          "  setVar('product_sku', sourceItem.sku);",
          "}",
          "",
          "var invoice = json.invoice || firstArrayItem(json.invoices);",
          "if (invoice) {",
          "  setVar('invoice_id', invoice.invoice_id || invoice.entity_id || invoice.id);",
          "  setVar('invoice_increment_id', invoice.increment_id);",
          "  setVar('order_id', invoice.order_id);",
          "}",
          "",
          "var shipment = json.shipment || firstArrayItem(json.shipments);",
          "if (shipment) {",
          "  setVar('shipment_id', shipment.shipment_id || shipment.entity_id || shipment.id);",
          "  setVar('shipment_increment_id', shipment.increment_id);",
          "  setVar('order_id', shipment.order_id);",
          "",
          "  var shipmentTrack = firstArrayItem(shipment.tracks);",
          "  if (shipmentTrack) {",
          "    setVar('track_id', shipmentTrack.track_id || shipmentTrack.entity_id || shipmentTrack.id);",
          "    setVar('track_number', shipmentTrack.track_number || shipmentTrack.number);",
          "  }",
          "}",
          "",
          "var track = json.track;",
          "if (track) {",
          "  setVar('track_id', track.track_id || track.entity_id || track.id);",
          "  setVar('track_number', track.track_number || track.number);",
          "}",
          "",
          "var history = json.history;",
          "if (Array.isArray(history)) {",
          "  history = firstArrayItem(history);",
          "}",
          "",
          "if (history) {",
          "  setVar('history_id', history.history_id || history.entity_id || history.id);",
          "  setVar('order_id', history.parent_id || json.order_id);",
          "}",
          "",
          "setVar('order_increment_id', json.increment_id);",
          "setVar('customer_id', json.customer_id);",
          "setVar('address_id', json.address_id);",
          "setVar('order_id', json.order_id);",
          "setVar('invoice_id', json.invoice_id);",
          "setVar('shipment_id', json.shipment_id);",
          "",
          "var creditmemo = json.creditmemo || firstArrayItem(json.creditmemos);",
          "if (creditmemo) {",
          "  setVar('creditmemo_id', creditmemo.creditmemo_id || creditmemo.entity_id || creditmemo.id);",
          "  setVar('creditmemo_increment_id', creditmemo.increment_id);",
          "  setVar('order_id', creditmemo.order_id);",
          "  setVar('invoice_id', creditmemo.invoice_id);",
          "}",
          "setVar('creditmemo_id', json.creditmemo_id);",
          "",
          "",
          "var attribute = json.attribute || firstArrayItem(json.attributes);",
          "if (attribute) {",
          "  setVar('attribute_id', attribute.attribute_id || attribute.entity_id || attribute.id);",
          "  setVar('attribute_code', attribute.attribute_code || attribute.code);",
          "  var attributeOption = firstArrayItem(attribute.options);",
          "  if (attributeOption) {",
          "    setVar('attribute_option_id', attributeOption.option_id || attributeOption.value || attributeOption.id);",
          "  }",
          "}",
          "",
          "var option = json.option;",
          "if (option) {",
          "  setVar('attribute_option_id', option.option_id || option.value || option.id);",
          "}",
          "setVar('attribute_id', json.attribute_id);",
          "setVar('attribute_option_id', json.option_id);",
          "var warehouse = json.warehouse || firstArrayItem(json.warehouses);",
          "if (warehouse) {",
          "  setVar('warehouse_id', warehouse.warehouse_id || warehouse.id);",
          "  setVar('warehouse_code', warehouse.code);",
          "}",
          "",
          "var stockitem = json.stockitem || firstArrayItem(json.stockitems);",
          "if (stockitem) {",
          "  setVar('stock_item_id', stockitem.stock_item_id || stockitem.item_id || stockitem.id);",
          "  setVar('product_id', stockitem.product_id);",
          "  setVar('product_sku', stockitem.sku);",
          "  setVar('stock_qty', stockitem.qty);",
          "  if (stockitem.warehouses) {",
          "    var warehouseKeys = Object.keys(stockitem.warehouses);",
          "    if (warehouseKeys.length) {",
          "      setVar('warehouse_code', warehouseKeys[0]);",
          "      setVar('warehouse_qty', stockitem.warehouses[warehouseKeys[0]]);",
          "    }",
          "  }",
          "}"
        ]
      }
    }
  ],
  "variable": [
    {
      "key": "route",
      "value": ""
    },
    {
      "key": "token",
      "value": ""
    },
    {
      "key": "client_id",
      "value": ""
    },
    {
      "key": "client_secret",
      "value": ""
    },
    {
      "key": "refresh_token",
      "value": ""
    },
    {
      "key": "customer_id",
      "value": "34"
    },
    {
      "key": "customer_email",
      "value": "cliente@example.com"
    },
    {
      "key": "customer_taxvat",
      "value": "12345678909"
    },
    {
      "key": "customer_phone",
      "value": "11999999999"
    },
    {
      "key": "address_id",
      "value": "1"
    },
    {
      "key": "order_id",
      "value": "1"
    },
    {
      "key": "order_increment_id",
      "value": "100000001"
    },
    {
      "key": "invoice_id",
      "value": "1"
    },
    {
      "key": "invoice_increment_id",
      "value": "100000001"
    },
    {
      "key": "shipment_id",
      "value": "1"
    },
    {
      "key": "shipment_increment_id",
      "value": "100000001"
    },
    {
      "key": "track_number",
      "value": "BR123456789"
    },
    {
      "key": "product_id",
      "value": ""
    },
    {
      "key": "product_sku",
      "value": ""
    },
    {
      "key": "track_id",
      "value": ""
    },
    {
      "key": "history_id",
      "value": ""
    },
    {
      "key": "order_item_id",
      "value": ""
    },
    {
      "key": "creditmemo_id",
      "value": ""
    },
    {
      "key": "creditmemo_increment_id",
      "value": ""
    },
    {
      "key": "warehouse_id",
      "value": "1"
    },
    {
      "key": "warehouse_code",
      "value": "deposito_padrão"
    },
    {
      "key": "warehouse_qty",
      "value": "10"
    },
    {
      "key": "stock_qty",
      "value": "10"
    },
    {
      "key": "stock_item_id",
      "value": "1"
    },
    {
      "key": "attribute_id",
      "value": ""
    },
    {
      "key": "attribute_code",
      "value": ""
    },
    {
      "key": "attribute_option_id",
      "value": ""
    }
  ]
}